@charset "UTF-8";
/*--------------------------------------------------
PREDGE 商品一覧（プロトナ寄せ・3列）
--------------------------------------------------*/
body.predge-shop.post-type-archive-product #primary.content-area,
body.predge-shop.tax-product_cat #primary.content-area,
body.predge-shop.tax-product_tag #primary.content-area,
body.predge-shop.post-type-archive-product .woocommerce,
body.predge-shop.tax-product_cat .woocommerce,
body.predge-shop.tax-product_tag .woocommerce {
  width: min(1000px, 96%);
  margin: 0 auto;
  padding: 0 0 4rem;
}

/* カテゴリ切替（テキストリンク） */
.predge-cat-nav {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.2rem 0 1.8rem;
}

.predge-cat-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.predge-cat-nav__item {
  display: flex;
  align-items: center;
}

.predge-cat-nav__item:not(:last-child)::after {
  content: "|";
  display: inline-block;
  margin: 0 1.1em;
  color: #111;
  font-weight: 400;
  line-height: 1;
}

.predge-cat-nav__link {
  color: #111;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.predge-cat-nav__link:hover {
  text-decoration: underline;
}

.predge-cat-nav__item.is-active .predge-cat-nav__link {
  color: #054496;
  text-decoration: underline;
}

/* 並び替え・件数は非表示 */
body.predge-shop .woocommerce-result-count,
body.predge-shop .woocommerce-ordering {
  display: none !important;
}

body.predge-shop ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 2%;
  list-style: none;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100%;
}

body.predge-shop ul.products::before,
body.predge-shop ul.products::after {
  display: none !important;
  content: none !important;
}

body.predge-shop ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

body.predge-shop ul.products li.product a img {
  width: 100%;
  height: auto;
  margin: 0 0 0.8rem;
  border: 1px solid #efefef;
}

body.predge-shop ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(15px, 1.05rem, 18px);
  padding: 0.6rem 0 0.5rem !important;
  margin: 0 0 0.4rem;
  color: #054496;
  font-weight: 700;
  line-height: 1.4;
  background: none;
  border: none;
}

body.predge-shop ul.products li.product .price {
  display: block;
  padding: 0 0 10px;
  margin: 0;
}

body.predge-shop ul.products li.product .price p {
  margin: 0;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.35em;
}

body.predge-shop ul.products li.product .price .predge-price-label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

body.predge-shop ul.products li.product .price .amount {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

body.predge-shop ul.products li.product .price .predge-tax-label,
body.predge-shop ul.products li.product .price small {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

/* 一覧のカートボタンは非表示 */
body.predge-shop ul.products li.product .button,
body.predge-shop ul.products li.product a.button,
body.predge-shop a.button.product_type_simple.add_to_cart_button,
body.predge-shop a.added_to_cart {
  display: none !important;
}

body.predge-shop ul.products li.product .star-rating {
  display: none !important;
}

@media screen and (max-width: 640px) {
  .predge-cat-nav {
    padding: 1.6rem 0 1.2rem;
  }

  .predge-cat-nav__item:not(:last-child)::after {
    margin: 0 0.55em;
  }

  .predge-cat-nav__link {
    font-size: 13px;
  }

  body.predge-shop ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 4%;
  }

  body.predge-shop ul.products li.product .price .amount {
    font-size: 18px;
  }
}
