/* ========================================
   Product Detail – 迋斯生技 Figma 產品內頁
   ======================================== */

.pd-main {
  margin-top: var(--header-height);
  background: #f6f0dc;
}

#product-detail-main {
  padding-bottom: 0;
}

/* ---------- Breadcrumb ---------- */
.pd-breadcrumb {
  min-height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #eeb65a 0%, #efbf82 48%, #f2c8a6 100%);
}

.pd-breadcrumb__inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 52px;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100% !important;
}

.pd-breadcrumb__text {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #fff;
  margin: 0;
  text-align: left;
}

.pd-breadcrumb__text a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.pd-breadcrumb__text a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-breadcrumb__current {
  color: #fff;
}

/* ---------- Body ---------- */
.pd-body {
  background: #fff;
  padding: 0;
}

.pd-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Primary (Gallery + Info) ---------- */
.pd-primary {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(320px, 360px);
  justify-content: center;
  gap: 28px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 0 48px;
}

.pd-gallery {
  width: 100%;
  max-width: 500px;
}

.pd-gallery__main {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}

.pd-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.pd-gallery__main-img.is-switching {
  opacity: 0.6;
}

.pd-gallery__main-img:hover {
  transform: scale(1.02);
}

.pd-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.pd-gallery__thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  border: 1px solid #e2d8cd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-gallery__thumb.is-active,
.pd-gallery__thumb:hover {
  border-color: var(--color-wants-accent);
  box-shadow: 0 0 0 1px rgba(90, 138, 148, 0.12);
}

.pd-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* ---------- Product Info ---------- */
.pd-info {
  max-width: 360px;
  padding-top: 0;
}

.pd-info__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 28px;
  padding: 0 15px;
  background: var(--color-wants-accent);
  color: #fff;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 6px;
}

.pd-info__title {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
  color: #595757;
  margin: 0 0 8px;
}

.pd-info__rating {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.pd-info__stars {
  width: 106px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  background-color: #FBC02D;
  -webkit-mask-image: url('../images/product-detail/stars.svg');
  mask-image: url('../images/product-detail/stars.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.pd-info__rating-count {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 400;
  color: #888;
  line-height: normal;
}

.pd-info__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  color: var(--color-brand-orange);
  margin: 0 0 16px;
}

.pd-info__price .woocommerce-Price-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.pd-info__price ins {
  text-decoration: none;
  color: var(--color-brand-orange);
  font-size: inherit;
  font-weight: inherit;
}

.pd-info__price ins .woocommerce-Price-amount {
  color: inherit;
}

.pd-info__price del {
  text-decoration: line-through;
  color: #e8a898;
  opacity: 1;
  font-size: 22px;
  font-weight: 700;
  margin-right: 0;
}

.pd-info__price del .woocommerce-Price-amount {
  color: inherit;
  text-decoration: line-through;
}

.pd-info__desc {
  margin-bottom: 22px;
}

.pd-info__desc p {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #595757;
  margin: 0 0 4px;
}

.pd-info__desc p:last-child {
  margin-bottom: 0;
}

.pd-info__label {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: #595757;
  margin: 0 0 8px;
}

.pd-info__options,
.pd-info__quantity {
  margin-bottom: 18px;
}

.pd-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-option {
  cursor: pointer;
}

.pd-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pd-option__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--color-brand-orange);
  border-radius: 999px;
  background: #FFF;
  color: var(--color-brand-orange);
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  transition: all 0.2s ease;
}

.pd-option.is-active .pd-option__btn,
.pd-option input:checked + .pd-option__btn {
  background: var(--color-brand-orange);
  color: #fff;
  border-color: var(--color-brand-orange);
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pd-qty__btn {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #D7CCC8;
  border-radius: 4px;
  background: #fff;
  color: #595757;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.pd-qty__btn:hover {
  background-color: rgba(215, 204, 200, 0.16);
}

.pd-qty__input {
  width: 60px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #D7CCC8;
  border-radius: 4px;
  background: #fff;
  color: #595757;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.pd-qty__btn:focus-visible,
.pd-qty__input:focus-visible {
  outline: 2px solid rgba(85, 85, 85, 0.35);
  outline-offset: 2px;
}

.pd-qty__input::-webkit-outer-spin-button,
.pd-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.pd-btn--cart {
  min-width: 188px;
  background: var(--color-wants-accent);
  color: #fff;
  font-size: 17px;
}

.pd-btn--wishlist {
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--color-wants-accent);
  color: var(--color-wants-accent);
  font-weight: 400;
  font-size: 16px;
  gap: 6px;
}

.pd-btn__icon {
  display: inline-flex;
  line-height: 1;
}

.pd-info__actions--secondary {
  margin-top: 12px;
}

.pd-cart-form {
  margin: 0;
}

.pd-wc-cart {
  margin-bottom: 20px;
}

.pd-wc-cart .variations {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
}

.pd-wc-cart .variations th,
.pd-wc-cart .variations td {
  padding: 0 0 12px;
  border: none;
  vertical-align: middle;
}

.pd-wc-cart .variations label {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 700;
  color: #595757;
}

.pd-wc-cart .variations select {
  min-width: 180px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #D7CCC8;
  border-radius: 4px;
  background: #fff;
  color: #595757;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 13px;
}

.pd-wc-cart .quantity {
  display: none;
}

.pd-wc-cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  height: 44px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background: var(--color-wants-accent);
  color: #fff;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-wc-cart .single_add_to_cart_button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.pd-wc-cart .reset_variations {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

/* ---- 組合商品（Grouped product）原生表格 ----
 * 上面的 .pd-wc-cart .quantity{display:none} 是為了「簡單／變化型」商品隱藏原生單一數量框
 * （改用自訂的 .pd-qty）。但組合商品每個子商品的數量框也在 .quantity 內，會被一起藏掉，
 * 導致子商品無法設定數量、加不進購物車。這裡替組合商品重新顯示並排版。 */
.pd-wc-cart .group_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.pd-wc-cart .group_table td {
  padding: 12px 6px;
  border: none;
  border-bottom: 1px solid #EFE9E5;
  vertical-align: middle;
}

.pd-wc-cart .group_table tr:last-child td {
  border-bottom: none;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__quantity {
  width: 1%;
  white-space: nowrap;
}

/* 子商品數量沿用一般商品的 −／＋ 步進器外觀（−／＋ 按鈕由 product-detail.js 動態插入）。 */
.pd-wc-cart .woocommerce-grouped-product-list-item__quantity .quantity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__quantity .pd-qty__btn {
  flex: 0 0 auto;
  width: 42px;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #D7CCC8;
  border-radius: 4px;
  background: #fff;
  color: #595757;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__quantity .pd-qty__btn:hover {
  background-color: rgba(215, 204, 200, 0.16);
}

.pd-wc-cart .woocommerce-grouped-product-list-item__quantity input.qty {
  width: 58px;
  min-width: 58px;
  height: 44px;
  box-sizing: border-box;
  padding: 4px;
  text-align: center;
  border: 1px solid #D7CCC8;
  border-radius: 4px;
  background: #fff;
  color: #595757;
  font-size: 16px;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* 移除數字框內建的上下增減箭頭（改用 −／＋ 按鈕）。 */
.pd-wc-cart .woocommerce-grouped-product-list-item__quantity input.qty::-webkit-outer-spin-button,
.pd-wc-cart .woocommerce-grouped-product-list-item__quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__label {
  padding-left: 4px;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__label a {
  color: #595757;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__label a:hover {
  color: var(--color-wants-accent);
}

.pd-wc-cart .woocommerce-grouped-product-list-item__price {
  text-align: right;
  white-space: nowrap;
  font-size: 13px;
  color: #8a807a;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__price .amount {
  font-size: 14px;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__price del {
  opacity: 0.6;
  margin-right: 4px;
}

.pd-wc-cart .woocommerce-grouped-product-list-item__price .stock {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #b0a8a2;
}

/* 組合商品在手機上把步進器與字級縮小，避免子商品列擠爆。 */
@media (max-width: 768px) {
  .pd-wc-cart .group_table td {
    padding: 10px 3px;
  }

  .pd-wc-cart .woocommerce-grouped-product-list-item__quantity .pd-qty__btn {
    width: 38px;
    height: 42px;
    font-size: 17px;
  }

  .pd-wc-cart .woocommerce-grouped-product-list-item__quantity input.qty {
    width: 48px;
    min-width: 48px;
    height: 42px;
    font-size: 15px;
  }

  .pd-wc-cart .woocommerce-grouped-product-list-item__label a {
    font-size: 13px;
  }

  .pd-wc-cart .woocommerce-grouped-product-list-item__price {
    font-size: 12px;
  }
}

.pd-tab-panel__rich {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-wants-dark);
  margin-bottom: 8px;
}

.pd-tab-panel__rich p {
  margin: 0 0 8px;
}

.pd-review-card--empty {
  justify-content: center;
}

.pd-info__shipping {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #888;
  margin: 0;
}

/* ---------- Tabs ---------- */
.pd-details {
  margin-top: 8px;
}

/* ---------- Content section (tabs + reviews) ---------- */
.pd-content-section {
  position: relative;
  overflow: hidden;
  background-color: #f6f0dc;
  background-image: url('../images/product-detail/detail-info-reviews-bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  min-height: 63.5417vw;
}

.pd-content-section__bg {
  display: none;
}

.pd-content-section__inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .pd-content-section .pd-container {
    padding-top: 48px;
  }

  .pd-details {
    margin-top: 0;
  }

  .pd-content-section .pd-reviews {
    background: transparent;
    padding-top: 56px;
    padding-bottom: 96px;
  }
}

@media (max-width: 768px) {
  .pd-content-section {
    background-color: #f9f4e8;
    background-image: none;
    min-height: 0;
  }

  .pd-content-section .pd-container {
    padding-top: clamp(8px, 2.7vw, 12px);
    padding-bottom: 40px;
  }

  .pd-content-section .pd-reviews {
    padding-top: 36px;
  }
}

.pd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.pd-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--color-brand-orange);
  border-radius: 8px;
  background: #fff;
  color: #3f3f3f;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.pd-tab + .pd-tab {
  margin-left: -1px;
}

.pd-tab.is-active {
  background: var(--color-brand-orange);
  color: #fff;
  border-color: var(--color-brand-orange);
}

.pd-tab-panels {
  margin-top: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  padding: 32px 36px 40px;
  min-height: 280px;
  overflow: hidden;
}

.pd-tab-panel {
  display: none;
}

.pd-tab-panel.is-active {
  display: block;
}

.pd-tab-panel__heading {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  color: var(--color-wants-dark);
  margin: 0 0 12px;
}

.pd-tab-panel__heading + .pd-tab-panel__heading,
.pd-feature-list + .pd-tab-panel__heading {
  margin-top: 28px;
}

.pd-feature-list,
.pd-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-feature-list li,
.pd-spec-list li,
.pd-tab-panel__text {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-wants-dark);
  margin: 0 0 8px;
}

.pd-feature-list li:last-child,
.pd-spec-list li:last-child {
  margin-bottom: 0;
}

/* ---------- Reviews ---------- */
.pd-reviews {
  position: relative;
  background: transparent;
  padding: 72px 20px 96px;
  overflow: hidden;
}

.pd-reviews__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.pd-reviews__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pd-reviews__title {
  color: var(--0003, #D77350);
  text-align: center;
  font-family: Georgia, serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.pd-reviews__underline {
  display: block;
  width: 40px;
  height: 5px;
}

.pd-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pd-review-card {
  display: flex;
  flex-direction: column;
  gap: 21px;
  min-height: 150px;
  padding: 21px 30px;
  background: #fff;
  border: 1px solid #eee;
}

.pd-review-card__stars {
  width: 106px;
  height: 18px;
  display: block;
}

.pd-review-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 520px;
}

.pd-review-card__title {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--color-wants-dark);
  margin: 0;
}

.pd-review-card__text {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-wants-dark);
  margin: 0;
}

.pd-review-card__meta {
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #999;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pd-primary {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
  }

  .pd-gallery {
    max-width: 500px;
  }

  .pd-gallery__main {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .pd-info {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .pd-breadcrumb {
    min-height: 52px;
    padding: 0;
  }

  .pd-breadcrumb__inner {
    min-height: 52px;
    padding: 0 45px;
  }

  .pd-breadcrumb__text {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 13px;
  }

  .pd-body {
    background: #fdf9f2;
  }

  .pd-body > .pd-container {
    padding-left: clamp(24px, 8.2vw, 32px);
    padding-right: clamp(24px, 8.2vw, 32px);
  }

  .pd-content-section .pd-container,
  .pd-reviews__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pd-primary {
    max-width: none;
    gap: clamp(20px, 6.4vw, 24px);
    padding: clamp(20px, 6.4vw, 24px) 0 clamp(28px, 8.2vw, 32px);
  }

  .pd-gallery,
  .pd-info {
    max-width: none;
    width: 100%;
  }

  .pd-info {
    --pd-mobile-control-width: 100%;
    padding: 0;
  }

  .pd-info__badge {
    min-width: clamp(72px, 20.5vw, 80px);
    height: clamp(22px, 6.4vw, 24px);
    padding: 0 clamp(10px, 3.2vw, 12px);
    margin-bottom: clamp(6px, 2.1vw, 8px);
    background: #5a8a94;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(10px, 2.8vw, 11px);
    font-weight: 600;
    line-height: 1;
  }

  .pd-info__title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(18px, 5.1vw, 20px);
    font-weight: 700;
    line-height: 1.3;
    color: #3a3f3b;
    margin-bottom: clamp(6px, 2.1vw, 8px);
  }

  .pd-info__rating {
    align-items: center;
    gap: clamp(5px, 1.6vw, 6px);
    margin-bottom: clamp(8px, 2.7vw, 10px);
  }

  .pd-info__stars {
    width: clamp(88px, 27.2vw, 106px);
    height: clamp(15px, 4.6vw, 18px);
  }

  .pd-info__rating-count {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(11px, 3.2vw, 12px);
    line-height: 1;
    color: #888;
  }

  .pd-info__price {
    font-family: Georgia, 'Noto Sans TC', serif;
    font-size: clamp(24px, 7.2vw, 28px);
    font-weight: 700;
    line-height: 1.1;
    color: #d77350;
    margin-bottom: clamp(10px, 3.2vw, 12px);
    gap: clamp(6px, 2.1vw, 8px);
  }

  .pd-info__price del {
    font-size: clamp(18px, 5.1vw, 20px);
    font-weight: 700;
    color: #e8a898;
    text-decoration: line-through;
  }

  .pd-info__price del .woocommerce-Price-amount {
    text-decoration: line-through;
  }

  .pd-info__price ins {
    color: #d77350;
    font-size: clamp(24px, 7.2vw, 28px);
    font-weight: 700;
  }

  .pd-info__desc {
    margin-bottom: clamp(16px, 4.8vw, 18px);
  }

  .pd-info__desc p {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(12px, 3.5vw, 13px);
    font-weight: 400;
    line-height: 1.5;
    color: #595757;
  }

  .pd-info__label {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(12px, 3.5vw, 13px);
    font-weight: 700;
    line-height: 1.2;
    color: #3a3f3b;
    margin-bottom: clamp(6px, 2.1vw, 8px);
  }

  .pd-info__options,
  .pd-info__quantity {
    margin-bottom: clamp(14px, 4.3vw, 16px);
  }

  .pd-options {
    gap: clamp(6px, 2.1vw, 8px);
  }

  .pd-option__btn {
    min-width: clamp(78px, 22.9vw, 86px);
    height: clamp(34px, 9.6vw, 36px);
    padding: 0 clamp(14px, 4.3vw, 16px);
    border: 1px solid #d77350;
    border-radius: 999px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(12px, 3.5vw, 13px);
    font-weight: 400;
    line-height: 1;
    color: #d77350;
  }

  .pd-option.is-active .pd-option__btn,
  .pd-option input:checked + .pd-option__btn {
    background: #d77350;
    border-color: #d77350;
    color: #fff;
  }

  .pd-qty {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2.4vw, 10px);
    width: var(--pd-mobile-control-width);
    margin-left: auto;
    margin-right: auto;
  }

  .pd-qty__btn {
    flex: 0 0 clamp(38px, 10.8vw, 42px);
    width: clamp(38px, 10.8vw, 42px);
    height: clamp(36px, 10.2vw, 38px);
    border: 1px solid #d7ccc8;
    border-radius: 0;
    background: #fff;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(18px, 5.1vw, 20px);
    font-weight: 400;
    line-height: 1;
    color: #595757;
  }

  .pd-qty__input {
    flex: 1 1 auto;
    width: clamp(128px, 40vw, 168px);
    min-width: clamp(128px, 40vw, 168px);
    height: clamp(36px, 10.2vw, 38px);
    border: 1px solid #d7ccc8;
    border-radius: 0;
    background: #fff;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(14px, 4.1vw, 15px);
    font-weight: 400;
    color: #595757;
  }

  .pd-info__actions {
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2.7vw, 10px);
    padding: 0;
    margin-bottom: clamp(12px, 3.7vw, 14px);
  }

  .pd-info__actions--secondary {
    padding: 0;
  }

  .pd-btn {
    box-sizing: border-box;
    width: var(--pd-mobile-control-width);
    max-width: none;
    min-width: 0;
    height: clamp(40px, 11.2vw, 42px);
    padding: 0 clamp(18px, 5.6vw, 22px);
    border-radius: 999px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(13px, 3.7vw, 14px);
    font-weight: 700;
    line-height: 1;
  }

  .pd-btn:hover {
    transform: none;
    opacity: 0.92;
  }

  .pd-btn--cart {
    background: #5a8a94;
    border: none;
    color: #fff;
    font-size: clamp(13px, 3.7vw, 14px);
    font-weight: 700;
  }

  .pd-btn--wishlist {
    background: #fff;
    border: 1px solid #5a8a94;
    color: #5a8a94;
    font-size: clamp(12px, 3.5vw, 13px);
    font-weight: 400;
    gap: clamp(4px, 1.6vw, 6px);
  }

  .pd-btn__icon {
    font-size: clamp(13px, 3.7vw, 14px);
    line-height: 1;
  }

  .pd-wc-cart .single_add_to_cart_button {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: var(--pd-mobile-control-width);
    max-width: none;
    min-width: 0;
    height: clamp(40px, 11.2vw, 42px);
    padding: 0 clamp(18px, 5.6vw, 22px);
    border: none;
    border-radius: 999px;
    background: #5a8a94;
    color: #fff;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(13px, 3.7vw, 14px);
    font-weight: 700;
  }

  .pd-cart-form .pd-info__actions,
  .pd-info__actions--secondary {
    align-items: center;
  }

  .pd-wc-cart {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: clamp(8px, 2.7vw, 10px);
  }

  .pd-info__shipping {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(10px, 2.9vw, 11px);
    font-weight: 400;
    line-height: 1.5;
    color: #888;
    text-align: center;
    width: 100%;
  }

  .pd-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(16px, 5.3vw, 20px);
  }

  .pd-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    width: min(100%, clamp(250px, 73.3vw, 286px));
    border: 1px solid #d77350;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
  }

  .pd-tab {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: clamp(30px, 8.5vw, 32px);
    padding: 0 clamp(4px, 1.3vw, 6px);
    border: none;
    border-radius: 0;
    background: #fff;
    color: #3a3f3b;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(11px, 3.2vw, 12px);
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
  }

  .pd-tab.is-active {
    background: #d77350;
    color: #fff;
    border-color: transparent;
    font-weight: 400;
    z-index: 1;
  }

  .pd-tab + .pd-tab {
    margin-left: 0;
    margin-top: 0;
    box-shadow: inset 1px 0 0 #d77350;
  }

  .pd-tab.is-active + .pd-tab,
  .pd-tab + .pd-tab.is-active {
    box-shadow: none;
  }

  .pd-tab-panels {
    width: min(100%, clamp(268px, 78.7vw, 308px));
    margin-top: clamp(10px, 3.2vw, 12px);
    margin-left: auto;
    margin-right: auto;
    border: none;
    border-radius: clamp(14px, 4.8vw, 16px);
    background: #fff;
    padding: clamp(18px, 5.6vw, 22px) clamp(16px, 4.8vw, 18px) clamp(22px, 6.9vw, 26px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    min-height: 0;
  }

  .pd-tab-panel__heading {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(14px, 4.1vw, 15px);
    font-weight: 700;
    line-height: 1.3;
    color: #3a3f3b;
    margin: 0 0 clamp(10px, 3.2vw, 12px);
  }

  .pd-tab-panel__heading + .pd-tab-panel__heading,
  .pd-feature-list + .pd-tab-panel__heading {
    margin-top: clamp(20px, 6.4vw, 24px);
  }

  .pd-feature-list li,
  .pd-spec-list li,
  .pd-tab-panel__text {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(12px, 3.5vw, 13px);
    font-weight: 400;
    line-height: 1.6;
    color: #595757;
    margin: 0 0 clamp(6px, 2.1vw, 8px);
  }

  .pd-feature-list li:last-child,
  .pd-spec-list li:last-child,
  .pd-tab-panel__text:last-child {
    margin-bottom: 0;
  }
}

/* ---------- Lightbox ---------- */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pd-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pd-lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.pd-lightbox.is-open .pd-lightbox__content {
  transform: scale(1);
}

.pd-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #fff;
}

.pd-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.pd-lightbox__close:hover {
  opacity: 1;
}

/* 收藏鈕：已收藏狀態 */
.pd-wishlist-toggle.is-active {
  border-color: var(--color-wants-orange);
  color: var(--color-wants-orange);
}
.pd-wishlist-toggle.is-active .pd-btn__icon {
  color: var(--color-wants-orange);
}

/* 組合／變化型商品購買按鈕：手機上讓「加入購物車」與「加入收藏」等寬、置中、對齊。
 * （wc_default 分支的 .pd-wc-cart 與 .pd-info__actions--secondary 兩個容器原本有
 *   負邊距／置中差異，導致兩鈕寬度不一，這裡統一。用 #product-detail-main 提高權重。） */
@media (max-width: 768px) {
  #product-detail-main .pd-wc-cart,
  #product-detail-main .pd-info__actions--secondary {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  #product-detail-main .pd-wc-cart .single_add_to_cart_button,
  #product-detail-main .pd-info__actions--secondary .pd-btn--wishlist {
    flex: 0 1 auto;
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }
}

/* ============ 商品評價表單 ============ */
.pd-review-form-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #ece4dd;
}

.pd-review-form__title {
  display: block;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 20px;
  font-weight: 700;
  color: #595757;
  margin-bottom: 18px;
}

.pd-review-form {
  max-width: 640px;
}

.pd-review-form .pd-review-form__row,
.pd-review-form .comment-form-comment,
.pd-review-form .comment-form-author,
.pd-review-form .comment-form-email {
  margin: 0 0 16px;
}

.pd-review-form label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #595757;
}

.pd-review-form input[type="text"],
.pd-review-form input[type="email"],
.pd-review-form select,
.pd-review-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #D7CCC8;
  border-radius: 6px;
  background: #fff;
  color: #595757;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.pd-review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.pd-review-form input:focus,
.pd-review-form select:focus,
.pd-review-form textarea:focus {
  outline: none;
  border-color: var(--color-wants-accent);
  box-shadow: 0 0 0 2px rgba(90, 138, 148, 0.14);
}

.pd-review-form .required {
  color: #d0651f;
}

.pd-review-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 46px;
  padding: 0 30px;
  border: none;
  border-radius: 999px;
  background: var(--color-wants-accent);
  color: #fff;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-review-form__submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.pd-review-form__note {
  font-size: 14px;
  color: #8a807a;
  margin-top: 18px;
  line-height: 1.7;
}

.pd-review-form__note a {
  color: var(--color-wants-accent);
  font-weight: 700;
}

/* 蜜罐：對使用者完全隱藏，僅機器人會填 */
.pd-review-form__hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 名稱 + 信箱 兩欄並排（較寬螢幕） */
@media (min-width: 560px) {
  .pd-review-form .comment-form-author,
  .pd-review-form .comment-form-email {
    display: inline-block;
    width: calc(50% - 8px);
    vertical-align: top;
  }
  .pd-review-form .comment-form-author {
    margin-right: 12px;
  }
}

/* ---- 評分星星（純 CSS，可點選 / 可鍵盤操作） ---- */
.pd-review-form__rating-label {
  display: block;
  margin-bottom: 8px;
}

.pd-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  font-size: 32px;
  line-height: 1;
}

.pd-stars__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.pd-stars__label {
  margin: 0;
  padding: 0 1px;
  cursor: pointer;
  color: #ded0b6;
  line-height: 1;
  transition: color 0.15s ease, transform 0.1s ease;
}

.pd-stars__label::before {
  content: '\2605'; /* ★ */
}

/* 已選：填滿被選星與其左側各星 */
.pd-stars__input:checked ~ .pd-stars__label {
  color: #f0a500;
}

/* 滑鼠移入整組時先清空，改由 hover 預覽正確星數 */
.pd-stars:hover .pd-stars__label {
  color: #ded0b6;
}

.pd-stars .pd-stars__label:hover,
.pd-stars .pd-stars__label:hover ~ .pd-stars__label {
  color: #f5b301;
}

.pd-stars__label:hover {
  transform: scale(1.08);
}

/* 鍵盤 focus 視覺 */
.pd-stars__input:focus-visible + .pd-stars__label {
  outline: 2px solid rgba(90, 138, 148, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 星星的無障礙文字隱藏（不依賴 WooCommerce 樣式） */
.pd-stars .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 修正：星星 label 需蓋過 .pd-review-form label 的字級/顏色（提高權重） */
.pd-stars .pd-stars__label {
  font-size: 32px;
  margin: 0;
  padding: 0 1px;
  font-weight: 400;
  color: #ded0b6;
}
.pd-stars .pd-stars__input:checked ~ .pd-stars__label {
  color: #f0a500;
}
.pd-stars:hover .pd-stars__label {
  color: #ded0b6;
}
.pd-stars .pd-stars__label:hover,
.pd-stars .pd-stars__label:hover ~ .pd-stars__label {
  color: #f5b301;
}

/* 非簡單商品（變化型等）未選規格時，加入購物車膠囊鈕的停用狀態 */
.pd-btn--cart.disabled,
.pd-btn--cart:disabled,
.pd-btn.disabled,
.pd-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 修正：變化型等商品在手機時 .pd-info（grid item）不肯縮到欄位寬、造成整頁橫向溢出。
   讓 grid 欄位可縮、grid item min-width:0，內容就會正常回流到視窗內。 */
@media (max-width: 768px) {
  .pd-primary {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-info {
    min-width: 0;
    max-width: 100%;
  }
}

/* 變化型「口味組合」等變化選項：標籤在上、下拉在下、下拉滿寬
   （WooCommerce 原生是表格 label | select 並排，改成堆疊）。 */
.pd-wc-cart .variations,
.pd-wc-cart .variations tbody,
.pd-wc-cart .variations tr {
  display: block;
  width: 100%;
}

.pd-wc-cart .variations td,
.pd-wc-cart .variations th {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.pd-wc-cart .variations tr + tr {
  margin-top: 14px;
}

.pd-wc-cart .variations td.label,
.pd-wc-cart .variations th.label {
  margin-bottom: 6px;
}

.pd-wc-cart .variations label {
  display: block;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 14px;
  font-weight: 700;
  color: #595757;
}

.pd-wc-cart .variations td.value select,
.pd-wc-cart .variations select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* 變化型表單滿寬，讓「口味組合」下拉與「數量」列同寬、左對齊 */
.pd-wc-cart .variations_form,
.pd-wc-cart form.cart {
  width: 100%;
}

/* 主圖左右切換箭頭 */
.pd-gallery__main {
  position: relative;
}

.pd-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #595757;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  z-index: 2;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pd-gallery__nav:hover {
  background: #fff;
}

.pd-gallery__nav:active {
  transform: translateY(-50%) scale(0.94);
}

.pd-gallery__nav--prev {
  left: 10px;
}

.pd-gallery__nav--next {
  right: 10px;
}

.pd-gallery__nav span {
  margin-top: -2px;
}

/* 預覽縮圖縮小一點且維持正方形；縮圖多時縮圖列可橫向捲動（不壓扁成長方形） */
.pd-gallery__thumbs {
  overflow-x: auto;
  scrollbar-width: thin;
}

.pd-gallery__thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  .pd-gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }
}

/* 變化型下拉選單優化：自訂箭頭、圓角、hover/focus，與主題輸入框一致 */
.pd-wc-cart .variations select {
  width: 100%;
  height: 48px;
  padding: 0 50px 0 16px;
  border: 1px solid #D7CCC8;
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23595757' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #595757;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 15px;
  line-height: 48px;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-wc-cart .variations select:hover {
  border-color: var(--color-wants-accent);
}

.pd-wc-cart .variations select:focus {
  outline: none;
  border-color: var(--color-wants-accent);
  box-shadow: 0 0 0 2px rgba(90, 138, 148, 0.14);
}

/* 「清除選擇」連結（選了變化後才出現） */
.pd-wc-cart .reset_variations {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #8a807a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pd-wc-cart .reset_variations:hover {
  color: var(--color-wants-accent);
}

/* 原生「加入購物車」鈕：用 CSS 直接套主題膠囊樣式，讓第一次繪製就正確，
   不再靠 JS 換 class（避免載入瞬間閃一下 WooCommerce 原生灰色方角按鈕）。
   權重用 #product-detail-main 壓過 .woocommerce button.button.alt。 */
#product-detail-main .pd-wc-cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  height: 44px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background-color: var(--color-wants-accent);
  background-image: none;
  color: #fff;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#product-detail-main .pd-wc-cart .single_add_to_cart_button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

#product-detail-main .pd-wc-cart .single_add_to_cart_button.disabled,
#product-detail-main .pd-wc-cart .single_add_to_cart_button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  #product-detail-main .pd-wc-cart .single_add_to_cart_button {
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    min-width: 0;
    height: clamp(40px, 11.2vw, 42px);
    padding: 0 clamp(18px, 5.6vw, 22px);
    background-color: #5a8a94;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(13px, 3.7vw, 14px);
  }
}

/* 變化型選好規格後會出現的原生數量框：本主題已有自訂「數量」步進器（值會同步過去），
   隱藏這個重複又突兀的小數字框。 */
/* WooCommerce 的變化型 JS 會用 jQuery .show() 設 inline style，必須用 !important 才蓋得掉。 */
#product-detail-main .pd-wc-cart .woocommerce-variation-add-to-cart .quantity,
#product-detail-main .pd-wc-cart .single_variation_wrap .quantity {
  display: none !important;
}

/* 選好規格後出現的「本規格價格 / 庫存」：套主題樣式，
   與上方的價格區間形成「NT$650 – NT$720 → 本規格 NT$650」的對照。 */
#product-detail-main .pd-wc-cart .single_variation {
  margin-bottom: 14px;
}

#product-detail-main .pd-wc-cart .woocommerce-variation-price .price {
  display: block;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-brand-orange);
}

#product-detail-main .pd-wc-cart .woocommerce-variation-price .price del {
  color: #e8a898;
  opacity: 1;
  margin-right: 6px;
}

#product-detail-main .pd-wc-cart .woocommerce-variation-price .price ins {
  text-decoration: none;
  color: var(--color-brand-orange);
}

#product-detail-main .pd-wc-cart .woocommerce-variation-availability p,
#product-detail-main .pd-wc-cart .woocommerce-variation-availability .stock {
  margin: 6px 0 0;
  font-family: 'Georgia', 'Noto Sans TC', serif;
  font-size: 13px;
  font-weight: 400;
  color: #8a807a;
}

/* 數量步進器已搬進變化型的加入購物車區塊（規格下拉之後），補上與上方的間距。 */
#product-detail-main .pd-wc-cart .woocommerce-variation-add-to-cart .pd-info__quantity {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  #product-detail-main .pd-wc-cart .woocommerce-variation-price .price {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(20px, 5.6vw, 22px);
  }

  #product-detail-main .pd-wc-cart .woocommerce-variation-availability p,
  #product-detail-main .pd-wc-cart .woocommerce-variation-availability .stock {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(11px, 3.2vw, 12px);
  }
}
