/* ==========================================================================
   MDC Lashes – single product page (owner: single)
   Mobile first. Breakpoints: 640 / 768 / 1024 / 1280. Tokens from tokens.css.
   ========================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.site-main--product { padding-bottom: 0; }
.anhdo-product { position: relative; }
.pdp-notices:empty { display: none; }
.pdp-notices .woocommerce-message,
.pdp-notices .woocommerce-info,
.pdp-notices .woocommerce-error {
  margin: 16px 0 0;
  padding: 14px 18px;
  list-style: none;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-clay);
  font-size: var(--t-small);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
}
.pdp-notices .woocommerce-error { border-color: var(--c-danger); color: var(--c-danger); }
.pdp-notices .woocommerce-message .button { order: 2; font-weight: 600; color: var(--c-blush-dark); text-decoration: underline; }

/* Breadcrumb --------------------------------------------------------------- */
.pdp-breadcrumb,
.woocommerce .pdp-breadcrumb { margin: 0; padding: 16px 0 14px; font-size: var(--t-xs); color: var(--c-muted); }
@media (min-width: 1024px) {
  .pdp-breadcrumb,
  .woocommerce .pdp-breadcrumb { padding: 20px 0 18px; font-size: 13px; }
}
.pdp-breadcrumb ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  white-space: nowrap;
}
/* Earlier crumbs keep their width; only the current page name shrinks with an
   ellipsis (shrinking every flex item made the crumbs overlap on phones). */
.pdp-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pdp-breadcrumb li:last-child {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--c-text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-breadcrumb li + li::before { content: "›"; color: var(--c-border); font-size: 14px; }
.pdp-breadcrumb li:last-child::before { margin-right: 6px; }
.pdp-breadcrumb a { color: var(--c-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.pdp-breadcrumb a:hover { color: var(--c-text); }

/* Layout ------------------------------------------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 32px;
}
.pdp__left { display: contents; }
.pdp__gallery { order: 1; min-width: 0; }
.pdp__summary { order: 2; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pdp__info { order: 3; min-width: 0; }

@media (min-width: 1024px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
    padding-bottom: 48px;
  }
  .pdp__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    align-self: start;
  }
  .pdp__summary { gap: 16px; }
}

/* Gallery ------------------------------------------------------------------ */
.pdp-gallery { display: flex; flex-direction: column; gap: 10px; }
.pdp-gallery__main {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-clay);
}
.pdp-gallery__track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.pdp-gallery__track::-webkit-scrollbar { display: none; }
.pdp-gallery__track:focus-visible { outline: 2px solid var(--c-blush); outline-offset: -4px; }
.pdp-gallery__slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
}
.pdp-gallery__slide .ph { width: 100%; height: 100%; border-radius: 0; }
.pdp-gallery__zoom,
.pdp-gallery__embed {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
.pdp-gallery__embed { cursor: pointer; }
.pdp-gallery__img,
.pdp-gallery__zoom img,
.pdp-gallery__embed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
  will-change: transform;
}
.pdp-gallery__zoom.is-zooming { cursor: crosshair; }
.pdp-gallery__zoom.is-zooming img { transform: scale(1.9); transition-duration: .15s; }
.pdp-gallery__video,
.pdp-gallery__iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; background: var(--c-text); }
.pdp-gallery__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: var(--r-pill);
  background: var(--c-glass);
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-elevated);
  transition: transform var(--dur) var(--ease);
}
.pdp-gallery__play svg { fill: currentColor; margin-left: 4px; }
.pdp-gallery__embed:hover .pdp-gallery__play { transform: scale(1.06); }
.pdp-gallery__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.pdp-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-glass);
  color: var(--c-text);
  box-shadow: var(--sh-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pdp-gallery__nav--prev { left: 12px; }
.pdp-gallery__nav--next { right: 12px; }
.pdp-gallery__main:hover .pdp-gallery__nav,
.pdp-gallery__nav:focus-visible { opacity: 1; }
.pdp-gallery__nav:hover { transform: scale(1.06); }
.pdp-gallery__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--c-glass);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--c-text);
  pointer-events: none;
}
.pdp-gallery__hint {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--c-glass);
  color: var(--c-text-2);
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
@media (hover: none) {
  .pdp-gallery__nav { opacity: 1; width: 34px; height: 34px; margin-top: -17px; }
}
@media (hover: hover) and (min-width: 1024px) {
  .pdp-gallery__hint { display: flex; }
}

.pdp-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.pdp-gallery__thumbs::-webkit-scrollbar { display: none; }
.pdp-gallery__thumb {
  position: relative;
  flex: 0 0 calc((100% - 5 * 8px) / 6);
  min-width: 52px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-surface);
  cursor: pointer;
  opacity: .72;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pdp-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery__thumb:hover { opacity: 1; }
.pdp-gallery__thumb.is-active { border-color: var(--c-blush); opacity: 1; }
.pdp-gallery__thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-on-dark);
  background: rgba(41, 40, 39, .28);
}
.pdp-gallery__thumb-play svg { fill: currentColor; }
@media (min-width: 768px) {
  .pdp-gallery__thumb { flex-basis: calc((100% - 7 * 8px) / 8); }
}

/* Lightbox */
.pdp-lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.pdp-lightbox::backdrop { background: rgba(41, 40, 39, .88); }
.pdp-lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  pointer-events: none;
}
.pdp-lightbox__inner > * { pointer-events: auto; }
.pdp-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); background: var(--c-surface); }
.pdp-lightbox__close,
.pdp-lightbox__nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-glass);
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pdp-lightbox__close { top: 12px; right: 12px; }
.pdp-lightbox__nav { top: 50%; margin-top: -22px; }
.pdp-lightbox__nav--prev { left: 12px; }
.pdp-lightbox__nav--next { right: 12px; }
.pdp-lightbox__counter { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: var(--c-on-dark); font-size: var(--t-small); font-weight: 600; }
html.pdp-lightbox-open { overflow: hidden; }

/* Summary: title, subline, trust ------------------------------------------ */
.pdp__summary .product_title {
  margin: 0;
  font-family: var(--f-sans);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--ls-heading);
  color: var(--c-text);
}
.pdp-subline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: -6px;
  font-size: var(--t-xs);
  color: var(--c-muted);
}
.pdp-subline a { color: inherit; text-decoration: none; }
.pdp-subline__cat:hover { color: var(--c-text); }
.pdp-subline__rating { display: inline-flex; align-items: center; gap: 4px; }
.pdp-subline__rating:hover .stars__count { color: var(--c-text); text-decoration: underline; }

.pdp-trust {
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: var(--sh-clay);
  overflow: hidden;
}
.pdp-trust__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--c-petal), var(--c-surface) 75%);
}
.pdp-trust__top p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--c-text-2); }
.pdp-trust__stat { font-size: 17px; font-weight: 700; letter-spacing: var(--ls-heading); color: var(--c-text); }
.pdp-trust__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  color: var(--c-blush-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-trust__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 8px 14px;
  border-top: 1px solid var(--c-border-light);
  font-size: var(--t-xs);
  color: var(--c-muted);
}
.pdp-trust__item { display: inline-flex; align-items: center; gap: 4px; }
.pdp-trust__item + .pdp-trust__item::before { content: "•"; color: var(--c-border); margin-right: 6px; font-size: 10px; }
.pdp-trust__item strong { color: var(--c-text); font-weight: 600; }
.pdp-trust__star { color: var(--c-star); font-size: 13px; }
.pdp-trust__item .icon { color: var(--c-blush-dark); }

/* Price -------------------------------------------------------------------- */
.pdp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pdp-price__amount {
  margin: 0;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  line-height: .95;
  color: var(--c-text);
}
.pdp-price__amount del {
  font-size: .45em;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0;
  margin-right: 6px;
  vertical-align: middle;
}
.pdp-price__amount ins { text-decoration: none; }
.pdp-price__from {
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--c-muted);
  vertical-align: middle;
  margin-right: 2px;
}
.pdp-price__cur {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: 4px;
  padding: 3px 6px;
}
.pdp-sticky .pdp-price__from { font-size: 11px; }

.pdp-notes { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pdp-pill,
.pdp-installment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: var(--t-xs);
  line-height: 1.4;
}
.pdp-pill { background: var(--c-petal); border: 1px solid var(--c-rose); color: var(--c-text); box-shadow: var(--sh-clay); }
.pdp-pill .icon { color: var(--c-blush-dark); flex: none; }
.pdp-installment { background: var(--c-surface); border: 1px solid var(--c-border-light); color: var(--c-text-2); }
.pdp-installment .icon { flex: none; color: var(--c-muted); }

.pdp-dispatch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-light);
  background: var(--c-surface);
  font-size: 13px;
  color: var(--c-text-2);
}
.pdp-dispatch .icon { flex: none; color: var(--c-muted); }

.pdp-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--c-petal), transparent);
  border: 1px solid var(--c-border-light);
  font-size: 13px;
  color: var(--c-text-2);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease);
}
.pdp-pair:hover { border-color: var(--c-blush); }
.pdp-pair .icon { flex: none; color: var(--c-blush-dark); }
.pdp-pair > span:first-of-type { flex: 1; min-width: 0; }
.pdp-pair strong { color: var(--c-text); font-weight: 500; }
.pdp-pair__arrow { color: var(--c-blush-dark); font-weight: 600; transition: transform var(--dur) var(--ease); }
.pdp-pair:hover .pdp-pair__arrow { transform: translateX(3px); }

.pdp__summary .woocommerce-product-details__short-description { font-size: var(--t-small); color: var(--c-text-2); line-height: var(--lh-body); }
.pdp__summary .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
.pdp__summary .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }

.pdp__summary .stock { margin: 0; font-size: var(--t-small); font-weight: 600; }
.pdp__summary .stock.in-stock { color: var(--c-success); }
.pdp__summary .stock.out-of-stock { color: var(--c-danger); }
.pdp__summary .stock.available-on-backorder { color: var(--c-text-2); }

/* Add to cart form ---------------------------------------------------------- */
.pdp__summary form.cart { margin: 0; }
.pdp__summary form.cart:not(.variations_form),
.pdp__summary .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.pdp__summary form.cart .pdp-tiers { flex: 1 1 100%; }

/* Variations (table turned into stacked groups) */
.pdp__summary table.variations,
.pdp__summary table.variations tbody,
.pdp__summary table.variations tr,
.pdp__summary table.variations th,
.pdp__summary table.variations td { display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; }
.pdp__summary table.variations { margin: 0 0 14px; border-collapse: collapse; }
.pdp__summary table.variations tr + tr { margin-top: 14px; }
.pdp__summary table.variations th.label { margin-bottom: 6px; line-height: 1.2; }
.pdp__summary table.variations th.label label {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pdp-var-current {
  margin-left: 6px;
  color: var(--c-text);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.pdp-var-current:empty { display: none; }
.pdp__summary table.variations td.value { position: relative; }
.pdp__summary table.variations select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font: inherit;
  color: var(--c-text);
}
.anhdo-swatch-field { position: relative; }
.anhdo-swatch-field select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.anhdo-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
/* Woo sets bold labels, 2em line-height and a bottom margin on .variations. */
.woocommerce div.product .pdp__summary form.cart .variations { margin-bottom: 14px; }
.woocommerce div.product .pdp__summary form.cart .variations th,
.woocommerce div.product .pdp__summary form.cart .variations td { line-height: 1.3; }
.woocommerce div.product .pdp__summary form.cart .variations label { font-weight: 500; }
.swatch {
  min-width: 44px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
  font-size: var(--t-small);
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.swatch:hover { border-color: var(--c-blush); }
.swatch.is-selected {
  border-color: var(--c-blush-dark);
  background: var(--c-blush-dark);
  color: var(--c-on-dark);
  font-weight: 600;
}
.swatch.is-oos:not(.is-selected) { color: var(--c-muted); background: var(--c-bg); border-style: dashed; }
.swatch.is-unavailable:not(.is-selected) {
  color: var(--c-muted);
  background: var(--c-bg);
  border-color: var(--c-border-light);
  text-decoration: line-through;
  opacity: .6;
}
.swatch.is-unavailable:hover { opacity: .9; }
.pdp__summary .reset_variations {
  display: inline-block;
  margin-top: 10px;
  font-size: var(--t-xs);
  color: var(--c-muted);
  text-decoration: underline;
}
.pdp__summary .single_variation_wrap { display: block; }
.pdp__summary .woocommerce-variation { margin-bottom: 10px; font-size: var(--t-small); color: var(--c-text-2); }
.pdp__summary .woocommerce-variation:empty { display: none; }
.pdp__summary .woocommerce-variation-price { display: none; }
.pdp__summary .woocommerce-variation-description p { margin: 0 0 6px; }
.pdp__summary .wc-no-matching-variations { margin: 0 0 10px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--c-petal); font-size: var(--t-small); list-style: none; }

/* Tier cards */
.pdp-tiers {
  padding: 20px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-light);
  background: var(--c-bg);
  margin-bottom: 4px;
}
.pdp-tiers__title {
  margin: 0;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: var(--ls-heading);
  color: var(--c-text);
}
.pdp-tiers__desc { margin: 4px 0 18px; text-align: center; font-size: var(--t-small); color: var(--c-muted); }
.pdp-tiers__list { display: flex; flex-direction: column; gap: 12px; }
.pdp-tier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 2px solid var(--c-border-light);
  border-radius: var(--r-md);
  background: var(--c-surface);
  font: inherit;
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pdp-tier.has-flag { margin-top: 6px; }
.pdp-tier:hover { border-color: var(--c-border); }
.pdp-tier.is-active { border-color: var(--c-blush-dark); background: var(--c-petal); box-shadow: var(--sh-clay); }
.pdp-tier:disabled { opacity: .45; cursor: not-allowed; }
.pdp-tier__radio {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  border: 2px solid var(--c-border);
  background: var(--c-surface);
  position: relative;
}
.pdp-tier.is-active .pdp-tier__radio { border-color: var(--c-blush-dark); }
.pdp-tier.is-active .pdp-tier__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: var(--r-pill);
  background: var(--c-blush-dark);
}
.pdp-tier__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pdp-tier__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pdp-tier__name { font-size: var(--t-small); font-weight: 700; }
.pdp-tier__save {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--c-rose);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pdp-tier__sub { font-size: var(--t-xs); color: var(--c-muted); }
.pdp-tier__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pdp-tier__now { font-size: var(--t-body); font-weight: 700; white-space: nowrap; }
.pdp-tier__was { font-size: var(--t-xs); color: var(--c-muted); white-space: nowrap; }
.pdp-tier__flag {
  position: absolute;
  top: -11px;
  right: 12px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--c-blush);
  color: var(--c-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: var(--sh-clay);
  white-space: nowrap;
}
.pdp-tiers__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--c-border-light);
  font-size: var(--t-small);
  font-weight: 600;
}
.pdp-tiers__total strong { font-size: 18px; color: var(--c-blush-dark); }
@media (min-width: 640px) {
  .pdp-tiers { padding: 20px; }
  .pdp-tier { padding: 16px; }
}

/* Quantity + button */
.pdp__summary .quantity { flex: 0 0 auto; display: flex; align-items: stretch; margin: 0; }
.pdp__summary .quantity .qty {
  width: 56px;
  min-height: 52px;
  padding: 0 4px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  font: inherit;
  font-weight: 600;
  text-align: center;
  color: var(--c-text);
  -moz-appearance: textfield;
  appearance: textfield;
}
.pdp__summary .quantity .qty::-webkit-outer-spin-button,
.pdp__summary .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__summary .pdp-qty {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
}
.pdp__summary .pdp-qty .qty { border: 0; border-radius: 0; width: 44px; }
.pdp-qty-btn {
  width: 40px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--c-text);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.pdp-qty-btn:hover { background: var(--c-petal); }

.pdp__summary .single_add_to_cart_button {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-blush);
  color: var(--c-on-dark);
  font: inherit;
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--sh-button);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pdp__summary .single_add_to_cart_button:hover { background: var(--c-blush-dark); }
.pdp__summary .single_add_to_cart_button:active { transform: translateY(1px); }
.pdp__summary .single_add_to_cart_button.disabled,
.pdp__summary .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.pdp__summary .single_add_to_cart_button.loading { opacity: .7; }
.pdp__summary .single_add_to_cart_button,
.woocommerce .pdp__summary button.single_add_to_cart_button {
  flex-wrap: wrap;
  column-gap: 4px;
  row-gap: 0;
  min-height: 52px;
  padding: 12px 24px;
  font-size: var(--t-body);
  text-align: center;
}
.pdp-atc__total { font-weight: 600; white-space: nowrap; }
@media (min-width: 480px) {
  .pdp-atc__label { white-space: nowrap; }
}
/* Narrow phones: label + live total do not fit next to the stepper (the label
   broke into 4 lines). The total is still shown in the tier box / sticky bar. */
@media (max-width: 479px) {
  .pdp-atc__total { display: none; }
  .pdp__summary .single_add_to_cart_button,
  .woocommerce .pdp__summary button.single_add_to_cart_button { padding-left: 14px; padding-right: 14px; font-size: 15px; }
}

/* Grouped / external basics */
.pdp__summary .group_table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: var(--t-small); }
.pdp__summary .group_table td { padding: 8px 4px; border-bottom: 1px solid var(--c-border-light); vertical-align: middle; }
.pdp__summary form.grouped_form { display: block; }

/* Perks + payments */
.pdp-perks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pdp-perks li { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--c-muted); }
.pdp-perks .icon { flex: none; color: var(--c-blush-dark); }
@media (min-width: 640px) {
  .pdp-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pdp-pay ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pdp-pay li {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--c-border-light);
  background: var(--c-surface);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--c-text-2);
  white-space: nowrap;
}

/* Frequently bought together ---------------------------------------------- */
.pdp-fbt { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--c-border-light); }
.pdp-fbt__title { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: var(--ls-heading); }
.pdp-fbt__desc { margin: 6px 0 18px; font-size: var(--t-small); color: var(--c-text-2); }
.pdp-fbt__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.pdp-fbt__item { position: relative; display: flex; flex-direction: column; gap: 8px; transition: opacity var(--dur) var(--ease); }
.pdp-fbt__item:not(:last-child)::after {
  content: "+";
  position: absolute;
  top: calc(50% - 30px);
  right: -21px;
  width: 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--c-muted);
}
.pdp-fbt__item:nth-child(2n)::after { display: none; }
.pdp-fbt__item.is-off { opacity: .45; }
.pdp-fbt__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border-light);
  background: var(--c-surface);
}
.pdp-fbt__media > a { display: block; width: 100%; height: 100%; }
.pdp-fbt__media img,
.pdp-fbt__media .ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-fbt__pick { position: absolute; top: 8px; left: 8px; z-index: 1; cursor: pointer; }
.pdp-fbt__check { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.pdp-fbt__box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--c-border);
  background: var(--c-surface);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pdp-fbt__check:checked + .pdp-fbt__box { background: var(--c-blush-dark); border-color: var(--c-blush-dark); color: var(--c-on-dark); }
.pdp-fbt__check:focus-visible + .pdp-fbt__box { outline: 2px solid var(--c-blush); outline-offset: 2px; }
.pdp-fbt__body { display: flex; flex-direction: column; gap: 4px; }
.pdp-fbt__name {
  font-size: 13px;
  line-height: 1.35;
  color: var(--c-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-fbt__name:hover { text-decoration: underline; }
.pdp-fbt__price { font-size: var(--t-small); font-weight: 700; }
.pdp-fbt__price del { font-weight: 400; color: var(--c-muted); margin-right: 4px; }
.pdp-fbt__price ins { text-decoration: none; }
.pdp-fbt__choose { font-size: var(--t-xs); font-weight: 600; color: var(--c-blush-dark); text-decoration: none; }
.pdp-fbt__choose:hover { text-decoration: underline; }
.pdp-fbt__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-clay);
}
.pdp-fbt__sum { display: flex; flex-direction: column; gap: 2px; }
.pdp-fbt__label { font-size: 10px; font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-muted); }
.pdp-fbt__total { font-size: 26px; font-weight: 700; letter-spacing: var(--ls-heading); }
.pdp-fbt__btn { gap: 8px; }
.pdp-fbt__btn.is-loading { opacity: .7; cursor: progress; }
.pdp-fbt__msg { margin: 10px 0 0; font-size: var(--t-small); color: var(--c-success); }
.pdp-fbt__msg:empty { display: none; }
.pdp-fbt__msg.is-error { color: var(--c-danger); }
@media (min-width: 640px) {
  .pdp-fbt__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-fbt__item:nth-child(2n)::after { display: block; }
  .pdp-fbt__item:last-child::after { display: none; }
}
/* The product name is printed under the thumbnail: the placeholder caption
   inside it was a truncated duplicate. */
.pdp-fbt__media .ph__label { display: none; }
@media (max-width: 639px) {
  .pdp-fbt__btn { width: 100%; justify-content: center; }
  /* Phones: compact rows (thumb + name + price) instead of a 2-col grid that
     left the third product orphaned at full card size. */
  .pdp-fbt__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pdp-fbt__item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--r-md);
    border: 1px solid var(--c-border-light);
    background: var(--c-surface);
  }
  .pdp-fbt__list .pdp-fbt__item:not(:last-child)::after { display: none; }
  .pdp-fbt__media { flex: 0 0 84px; width: 84px; border-radius: var(--r-sm); }
  .pdp-fbt__pick { top: 4px; left: 4px; }
  .pdp-fbt__body { flex: 1; min-width: 0; }
  .pdp-fbt__name { font-size: var(--t-small); }
}

/* Info accordions ----------------------------------------------------------- */
.pdp-acc {
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
}
.pdp-acc__item + .pdp-acc__item { border-top: 1px solid var(--c-border-light); }
.pdp-acc__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
}
.pdp-acc__trigger:hover { background: var(--c-bg); }
.pdp-acc__icon { flex: none; display: inline-flex; color: var(--c-blush-dark); }
.pdp-acc__title { flex: 1; }
.pdp-acc .accordion__icon { margin-left: auto; }
.pdp-acc__content { padding: 2px 18px 20px; font-size: var(--t-small); line-height: var(--lh-body); color: var(--c-text-2); }
.pdp-acc__content > :first-child { margin-top: 0; }
.pdp-acc__content > :last-child { margin-bottom: 0; }
.pdp-acc__content h2,
.pdp-acc__content h3,
.pdp-acc__content h4 { color: var(--c-text); font-size: 15px; font-weight: 600; margin: 18px 0 6px; letter-spacing: 0; line-height: 1.35; }
.pdp-acc__content ul,
.pdp-acc__content ol { padding-left: 20px; }
.pdp-acc__content a:not(.link-arrow) { color: var(--c-blush-dark); }
.pdp-acc__content img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.pdp-desc__body { position: relative; }
.pdp-desc.is-clamped:not(.is-open) .pdp-desc__body { max-height: 9.6em; overflow: hidden; }
.pdp-desc.is-clamped:not(.is-open) .pdp-desc__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  background: linear-gradient(to bottom, transparent, var(--c-surface));
  pointer-events: none;
}
.pdp-desc__more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--c-blush-dark);
  cursor: pointer;
}
.pdp-meta,
.pdp-acc__content .pdp-meta { margin: 16px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--c-border-light); font-size: var(--t-xs); color: var(--c-muted); }
.pdp-meta li + li { margin-top: 4px; }
.pdp-meta span { font-weight: 600; color: var(--c-text-2); }
.pdp-meta a { color: inherit; }
.pdp-acc .woocommerce-product-attributes,
.pdp-bulk-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.pdp-acc .woocommerce-product-attributes th,
.pdp-acc .woocommerce-product-attributes td,
.pdp-bulk-table th,
.pdp-bulk-table td { padding: 9px 0; border-bottom: 1px solid var(--c-border-light); text-align: left; vertical-align: top; }
.pdp-acc .woocommerce-product-attributes th { width: 40%; font-weight: 600; color: var(--c-text); padding-right: 12px; }
.pdp-acc .woocommerce-product-attributes td p { margin: 0; }
.pdp-bulk-table thead th { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 600; }
.pdp-bulk-table td:last-child,
.pdp-bulk-table th:last-child { text-align: right; }
.pdp-bulk-table strong { color: var(--c-blush-dark); }
.pdp-note { font-size: var(--t-xs); color: var(--c-muted); }
/* Fallback if the shared accordion icon is not styled. */
.pdp-acc .accordion__icon:empty { position: relative; width: 12px; height: 12px; flex: none; }
.pdp-acc .accordion__icon:empty::before,
.pdp-acc .accordion__icon:empty::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.pdp-acc .accordion__icon:empty::after { transform: rotate(90deg); }
.pdp-acc [aria-expanded="true"] .accordion__icon:empty::after { transform: rotate(0deg); }

/* Comparison table --------------------------------------------------------- */
.pdp-compare { border-top: 1px solid var(--c-border-light); }
.pdp-compare__head { margin-bottom: 24px; max-width: 720px; }
.pdp-compare__head .section-title { margin: 0; }
.pdp-compare__head .section-desc { margin: 6px 0 0; }
.pdp-compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 4px;
}
.pdp-compare__scroll:focus-visible { outline: 2px solid var(--c-blush); outline-offset: -2px; }
.pdp-compare__table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  background: var(--c-surface);
  border-radius: var(--r-md);
}
.pdp-compare__table th,
.pdp-compare__table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--c-border-light);
  text-align: center;
  vertical-align: middle;
  color: var(--c-text-2);
}
.pdp-compare__table thead th { padding: 18px 12px; vertical-align: bottom; font-weight: 500; }
.pdp-compare__table .pdp-compare__feature {
  text-align: left;
  font-weight: 500;
  color: var(--c-text);
  width: 30%;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--c-surface);
}
.pdp-compare__table thead .pdp-compare__feature { font-size: 10px; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-muted); }
.pdp-compare__feature small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--c-muted); }
.pdp-compare__col { display: block; font-size: var(--t-small); color: var(--c-text-2); }
.pdp-compare__colsub { display: block; margin-top: 2px; font-size: 10px; color: var(--c-muted); }
.pdp-compare__table .is-us {
  background: var(--c-petal);
  border-left: 2px solid var(--c-blush);
  border-right: 2px solid var(--c-blush);
  color: var(--c-text);
  font-weight: 600;
}
.pdp-compare__table thead .is-us { border-top: 2px solid var(--c-blush); border-radius: var(--r-md) var(--r-md) 0 0; }
.pdp-compare__table thead .is-us .pdp-compare__col { color: var(--c-text); font-weight: 700; font-size: 15px; }
.pdp-compare__table thead .is-us .pdp-compare__colsub { color: var(--c-blush-dark); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pdp-compare__table .pdp-compare__gpad { padding: 0; background: var(--c-bg); }
.pdp-compare__group th {
  padding: 18px 12px 8px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-muted);
  background: var(--c-bg);
  position: static;
}
.pdp-compare__cta td { border-bottom: 0; padding-top: 18px; padding-bottom: 18px; }
.pdp-compare__cta td.is-us { border-bottom: 2px solid var(--c-blush); border-radius: 0 0 var(--r-md) var(--r-md); }
.pdp-compare__cta td:first-child { position: sticky; left: 0; background: var(--c-surface); }
.pdp-compare__cta .btn { gap: 6px; }
.pdp-compare__yes,
.pdp-compare__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--r-pill);
}
.pdp-compare__yes { background: var(--c-text); color: var(--c-on-dark); }
.pdp-compare__yes.is-us { background: var(--c-blush-dark); color: var(--c-on-dark); }
.pdp-compare__no { background: var(--c-petal); color: var(--c-blush-dark); opacity: .8; }
.pdp-compare__text { display: inline-block; line-height: 1.35; }
@media (min-width: 1024px) {
  .pdp-compare__scroll { margin: 0; padding: 12px 0 0; overflow: visible; }
  /* Equal rival columns: auto layout gave "us" twice the width of the others. */
  .pdp-compare__table { min-width: 0; table-layout: fixed; }
  .pdp-compare__table thead .pdp-compare__feature { width: 28%; }
  .pdp-compare__table th,
  .pdp-compare__table td { padding: 14px 16px; }
}

/* Reviews ------------------------------------------------------------------ */
.pdp-reviews { border-top: 1px solid var(--c-border-light); }
.pdp-reviews__title { margin: 0 0 28px; }
.pdp-reviews__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
}
.pdp-reviews__score { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pdp-reviews__avg { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: var(--ls-display); color: var(--c-text); }
.pdp-reviews__score .stars { font-size: 20px; }
.pdp-reviews__based { margin: 0; font-size: var(--t-small); color: var(--c-muted); }
.pdp-reviews__bars { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pdp-reviews__bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--c-text-2); }
.pdp-reviews__bar-label span { color: var(--c-star); }
.pdp-reviews__bar-track { height: 8px; border-radius: var(--r-pill); background: var(--c-border-light); overflow: hidden; }
.pdp-reviews__bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--c-star); }
.pdp-reviews__bar-count { text-align: right; font-variant-numeric: tabular-nums; color: var(--c-muted); }
.pdp-reviews__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pdp-reviews__cta p { margin: 0; font-size: var(--t-small); color: var(--c-text-2); }
@media (min-width: 768px) {
  .pdp-reviews__summary { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 28px 32px; }
  .pdp-reviews__score { align-items: flex-start; text-align: left; }
  .pdp-reviews__cta { align-items: flex-end; text-align: right; max-width: 260px; }
}

/* No reviews yet: one calm row instead of "0,0" and five empty bars. */
.pdp-reviews__empty { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pdp-reviews__empty-stars { font-size: 22px; letter-spacing: 2px; color: var(--c-border); line-height: 1; }
.pdp-reviews__empty-title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: var(--ls-heading); color: var(--c-text); }
@media (min-width: 768px) {
  .pdp-reviews__summary--empty { grid-template-columns: auto minmax(0, 1fr); }
  .pdp-reviews__summary--empty .pdp-reviews__empty { align-items: flex-start; text-align: left; }
  .pdp-reviews__summary--empty .pdp-reviews__cta { max-width: none; flex-direction: row; align-items: center; justify-content: flex-end; gap: 20px; }
  .pdp-reviews__summary--empty .pdp-reviews__cta p { max-width: 360px; }
  .pdp-reviews__summary--empty .pdp-reviews__cta .btn { flex: none; }
}
/* The empty summary already says it; hide Woo's duplicate "There are no reviews yet." */
.pdp-reviews__summary--empty ~ .pdp-reviews__body .woocommerce-noreviews { display: none; }
.pdp-reviews__summary--empty ~ .pdp-reviews__body #review_form_wrapper { margin-top: 0; }

/* WooCommerce review list + form (single-product-reviews.php) */
.pdp-reviews .woocommerce-Reviews-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pdp-reviews .woocommerce-noreviews { padding: 20px 0; color: var(--c-muted); font-size: var(--t-small); }
.pdp-reviews .commentlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pdp-reviews .commentlist li.review,
.pdp-reviews .commentlist li.comment {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
}
.pdp-reviews .comment_container { display: flex; gap: 14px; align-items: flex-start; }
.pdp-reviews .comment_container img.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--c-petal);
  object-fit: cover;
}
.pdp-reviews .comment-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pdp-reviews .comment-text .star-rating { order: -1; align-self: flex-end; margin-bottom: -18px; }
.pdp-reviews .comment-text .meta { margin: 0 90px 8px 0; font-size: var(--t-xs); color: var(--c-muted); }
.pdp-reviews .woocommerce-review__author { font-size: var(--t-small); font-weight: 600; color: var(--c-text); font-style: normal; }
.pdp-reviews .woocommerce-review__verified { color: var(--c-success); font-style: normal; font-weight: 600; }
.pdp-reviews .woocommerce-review__dash { color: var(--c-border); }
.pdp-reviews .woocommerce-review__published-date { display: block; margin-top: 2px; }
.pdp-reviews .description { font-size: var(--t-small); line-height: var(--lh-body); color: var(--c-text-2); }
.pdp-reviews .description p { margin: 0 0 6px; }
.pdp-reviews .commentlist .children { margin: 12px 0 0 54px; padding: 0; list-style: none; }
.pdp-reviews .woocommerce-pagination,
.pdp-reviews nav.woocommerce-pagination { margin-top: 24px; text-align: center; }
.pdp-reviews .woocommerce-pagination ul,
.pdp-reviews .page-numbers:not(a):not(span) { display: inline-flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pdp-reviews .page-numbers a,
.pdp-reviews .page-numbers span,
.pdp-reviews a.page-numbers,
.pdp-reviews span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border-light);
  background: var(--c-surface);
  font-size: var(--t-small);
  color: var(--c-text);
  text-decoration: none;
}
.pdp-reviews span.page-numbers.current,
.pdp-reviews .page-numbers .current { background: var(--c-blush); border-color: var(--c-blush); color: var(--c-on-dark); font-weight: 700; }

/* Woo star rating (does not rely on WooCommerce's star font) */
.pdp-reviews .star-rating {
  position: relative;
  display: inline-block;
  width: 78px;
  height: 16px;
  overflow: hidden;
  font-size: 0;
  line-height: 16px;
}
.pdp-reviews .star-rating::before {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--c-border);
}
.pdp-reviews .star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; font-size: 0; }
.pdp-reviews .star-rating span::before {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--c-star);
}

#review_form_wrapper { margin-top: 32px; }
.pdp-reviews #review_form {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
}
.pdp-reviews .comment-reply-title { display: block; margin-bottom: 12px; font-size: 18px; font-weight: 600; color: var(--c-text); }
.pdp-reviews .comment-form { display: flex; flex-direction: column; gap: 14px; }
.pdp-reviews .comment-form p { margin: 0; }
.pdp-reviews .comment-notes,
.pdp-reviews .comment-form-cookies-consent { font-size: var(--t-xs); color: var(--c-muted); }
.pdp-reviews .comment-form label { display: block; margin-bottom: 6px; font-size: var(--t-small); font-weight: 600; color: var(--c-text); }
.pdp-reviews .comment-form-cookies-consent label { display: inline; font-weight: 400; color: var(--c-muted); }
.pdp-reviews .comment-form input[type="text"],
.pdp-reviews .comment-form input[type="email"],
.pdp-reviews .comment-form textarea,
.pdp-reviews .comment-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font: inherit;
  color: var(--c-text);
}
.pdp-reviews .comment-form textarea { min-height: 120px; resize: vertical; }
.pdp-reviews .comment-form input:focus-visible,
.pdp-reviews .comment-form textarea:focus-visible { outline: 2px solid var(--c-blush); outline-offset: 1px; border-color: var(--c-blush); }
.pdp-reviews .form-submit input[type="submit"],
.pdp-reviews .form-submit .submit {
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-blush);
  color: var(--c-on-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--sh-button);
  transition: background-color var(--dur) var(--ease);
}
.pdp-reviews .form-submit input[type="submit"]:hover { background: var(--c-blush-dark); }
@media (min-width: 768px) {
  .pdp-reviews .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .pdp-reviews .comment-form > p,
  .pdp-reviews .comment-form > div { grid-column: 1 / -1; }
  .pdp-reviews .comment-form .comment-form-author { grid-column: 1; }
  .pdp-reviews .comment-form .comment-form-email { grid-column: 2; }
}

/* Interactive rating input created by WooCommerce JS (p.stars) */
.pdp-reviews .comment-form-rating p.stars {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  font-size: inherit;
  line-height: 1;
  color: inherit;
}
.pdp-reviews p.stars > span { display: inline-flex; gap: 4px; }
.pdp-reviews p.stars a {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  text-indent: -9999px;
  text-decoration: none;
}
.pdp-reviews p.stars a::before {
  content: "★";
  position: absolute;
  inset: 0;
  text-indent: 0;
  font-size: 26px;
  line-height: 28px;
  text-align: center;
  color: var(--c-border);
  transition: color var(--dur) var(--ease);
}
.pdp-reviews p.stars:hover a::before,
.pdp-reviews p.stars.selected a::before { color: var(--c-star); }
.pdp-reviews p.stars a:hover ~ a::before,
.pdp-reviews p.stars.selected a.active ~ a::before { color: var(--c-border); }
.pdp-reviews p.stars.selected:hover a:hover ~ a::before { color: var(--c-border); }
.pdp-reviews p.stars.selected:hover a::before { color: var(--c-star); }
.pdp-reviews p.stars a:focus-visible { outline: 2px solid var(--c-blush); outline-offset: 2px; border-radius: 4px; }

/* Related rail -------------------------------------------------------------- */
.pdp-related { border-top: 1px solid var(--c-border-light); }

/* Mobile sticky add-to-cart bar ------------------------------------------- */
.pdp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--c-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-border-light);
  box-shadow: 0 -8px 24px #0000000f;
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s var(--ease), visibility 0s linear .25s;
}
.pdp-sticky.is-visible { transform: translateY(0); visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
.pdp-sticky__inner { display: flex; align-items: center; gap: 10px; max-width: var(--w-content); margin: 0 auto; }
.pdp-sticky__thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border-light); }
.pdp-sticky__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-sticky__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pdp-sticky__name { font-size: var(--t-xs); color: var(--c-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky__price { font-size: var(--t-body); font-weight: 700; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky__price del { font-size: var(--t-xs); font-weight: 400; color: var(--c-muted); }
.pdp-sticky__price ins { text-decoration: none; }
.pdp-sticky__btn { flex: none; gap: 6px; min-height: 46px; white-space: nowrap; }
body.pdp-sticky-on { padding-bottom: 76px; }
@media (min-width: 1024px) {
  .pdp-sticky { display: none; }
  body.pdp-sticky-on { padding-bottom: 0; }
}

/* Cart / mini cart bulk note (cart_item_price filter) ---------------------- */
.anhdo-bulk-was { color: var(--c-muted); font-size: .9em; margin-right: 4px; }
.anhdo-bulk-now { text-decoration: none; }
.anhdo-bulk-note { display: block; font-size: 11px; font-weight: 600; color: var(--c-blush-dark); }

/* Course products: calmer buy box ------------------------------------------ */
.anhdo-product--course .pdp-tiers,
.anhdo-product--course .pdp-pair,
.anhdo-product--course .pdp-dispatch { display: none; }

/* Focus ring ---------------------------------------------------------------- */
.anhdo-product :focus-visible,
.pdp-sticky :focus-visible,
.pdp-lightbox :focus-visible { outline: 2px solid var(--c-blush); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .pdp-gallery__img,
  .pdp-gallery__zoom img,
  .pdp-sticky,
  .pdp-tier,
  .swatch { transition: none !important; }
  .pdp-gallery__track { scroll-behavior: auto; }
}

/* Overrides for WooCommerce default CSS (woocommerce.css) ------------------- */
/* Woo floats div.summary right at 48%; our grid already sizes the column. */
.woocommerce div.product .pdp__summary.summary,
.woocommerce div.product .pdp__gallery,
.woocommerce div.product .pdp__gallery .images {
  float: none;
  width: auto;
  max-width: none;
}
/* Woo colours every product price olive (#958e09). */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .pdp-price__amount,
.woocommerce div.product .woocommerce-variation-price .price {
  color: var(--c-text);
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins { text-decoration: none; color: var(--c-blush-dark); }
.woocommerce div.product p.price del,
.woocommerce div.product span.price del { color: var(--c-muted); opacity: 1; }
/* Woo shrinks p.price to 1.25em: keep the big buy-box price. */
.woocommerce div.product .pdp-price p.pdp-price__amount {
  margin: 0;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  line-height: .95;
}
/* Woo's clearfix ::before/::after on form.cart become flex items in our flex
   rows (an empty 10px gap before the quantity box and after the button). */
.woocommerce div.product .pdp__summary form.cart::before,
.woocommerce div.product .pdp__summary form.cart::after,
.woocommerce div.product .pdp__summary .woocommerce-variation-add-to-cart::before,
.woocommerce div.product .pdp__summary .woocommerce-variation-add-to-cart::after { content: none; display: none; }
.woocommerce div.product .pdp__summary form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product .pdp__summary form.cart .button { float: none; vertical-align: middle; }
/* Review submit: Woo styles #respond input#submit (2 ids) as a grey button. */
.woocommerce .pdp-reviews #respond input#submit,
.woocommerce .pdp-reviews #respond .form-submit .submit {
  min-height: 48px;
  padding: 12px 32px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-blush);
  color: var(--c-on-dark);
  font: inherit;
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: var(--sh-button);
  transition: background-color var(--dur) var(--ease);
}
.woocommerce .pdp-reviews #respond input#submit:hover,
.woocommerce .pdp-reviews #respond input#submit:focus-visible { background: var(--c-blush-dark); color: var(--c-on-dark); }
@media (max-width: 639px) {
  .woocommerce .pdp-reviews #respond input#submit { width: 100%; }
}
/* Woo's own star picker spacing / required star colour. */
.woocommerce .pdp-reviews #review_form #respond p { margin: 0; }
.woocommerce .pdp-reviews #review_form #respond textarea { box-sizing: border-box; width: 100%; }
.pdp-reviews .comment-form .required { color: var(--c-blush-dark); text-decoration: none; }

/* Comparison table on phones: keep Feature / Us / Other brands only so it fits
   the screen (a 640px table inside a scroller still made mobile Chrome zoom out). */
@media (max-width: 639px) {
  .pdp-compare__scroll { margin: 0; padding: 8px 0 0; overflow-x: visible; }
  .pdp-compare__table { min-width: 0; table-layout: fixed; font-size: 13px; }
  .pdp-compare__table tr > :nth-child(n+4),
  .pdp-compare__table .pdp-compare__gpad { display: none; }
  .pdp-compare__table th,
  .pdp-compare__table td { padding: 12px 8px; }
  .pdp-compare__table .pdp-compare__feature,
  .pdp-compare__table thead .pdp-compare__feature { width: 40%; position: static; }
  .pdp-compare__table thead th { padding: 14px 8px; }
  .pdp-compare__table thead .is-us .pdp-compare__col { font-size: var(--t-small); }
  .pdp-compare__colsub,
  .pdp-compare__table thead .is-us .pdp-compare__colsub { letter-spacing: .02em; text-transform: none; }
  .pdp-compare__group th { padding: 14px 8px 6px; }
  .pdp-compare__cta td { padding-left: 6px; padding-right: 6px; }
  .pdp-compare__cta .btn { padding-left: 8px; padding-right: 8px; font-size: var(--t-xs); white-space: normal; line-height: 1.25; }
  .pdp-compare__cta .btn svg { display: none; }
}
