/* =========================================================================================
   ASSURION LABS (wellness edition) - product.css
   Owner: B3 product+commerce.  Single product page (+ the reviews block, which lazy-loads on other pages that call
   do_action('al_reviews_section')).  The quantity stepper, cart drawer and checkout live in checkout.css.
   Contents
     1 page + top grid          6 supplement facts / ingredient list     11 recently viewed rail
     2 gallery                  7 details + warnings                     12 reviews
     3 buy panel                8 frequently bought together             13 sticky add-to-cart bar
     4 purchase options         9 guides                                 14 motion + small screens
     5 sections + highlights   10 related rail
   Tokens only (var(--x)); tints via color-mix(). No transition:all. Mobile-first (base = phone, min-width for larger).
   ========================================================================================= */

/* ---------- 1. page + top grid ---------------------------------------------------------- */
.pdp-page [hidden] { display: none !important; }
.pdp-container { padding-top: 24px; padding-bottom: 72px; }
.pdp-page .breadcrumb { flex-wrap: wrap; margin-bottom: 20px; }
.pdp-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.pdp-eyebrow a { color: inherit; }
.pdp-eyebrow a:hover { color: var(--white); }

.pdp-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 40px; }
@media (min-width: 901px) {
  .pdp-container { padding-top: 32px; padding-bottom: 96px; }
  .pdp-top { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; padding-bottom: 72px; }
  /* Both columns can stick; the shorter one stays in view while the taller one scrolls. */
  .pdp-media,
  .pdp-buy { position: sticky; top: calc(var(--header-h, 90px) + 24px); align-self: start; }
}
@media (min-width: 1100px) { .pdp-top { gap: 72px; } }

/* ---------- 2. gallery -------------------------------------------------------------------- */
.pdp-gallery { display: grid; gap: 12px; }
.pdp-stage {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  isolation: isolate;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pdp-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(62% 52% at 50% 40%, var(--cyan-dim), transparent 72%);
  pointer-events: none;
}
.pdp-slide {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
.pdp-slide.is-active { opacity: 1; visibility: visible; transition: opacity .28s ease; }
.pdp-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-slide img { outline: 1px solid color-mix(in srgb, var(--white) 6%, transparent); outline-offset: -1px; }

.pdp-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(6px);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .12s ease;
}
.pdp-nav svg { width: 20px; height: 20px; }
.pdp-nav--prev { left: 12px; }
.pdp-nav--next { right: 12px; }
.pdp-nav:hover { color: var(--cyan); border-color: var(--border-cyan); }
.pdp-nav:active { transform: scale(.96); }
.pdp-nav:focus-visible,
.pdp-thumb:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pdp-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
}
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.pdp-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 4px;                                   /* 10px outer radius = 6px inner + 4px */
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .18s ease, transform .12s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.pdp-thumb:hover { border-color: var(--border-cyan); }
.pdp-thumb:active { transform: scale(.96); }
.pdp-thumb[aria-current="true"] { border-color: var(--cyan); }

/* ---------- 3. buy panel ------------------------------------------------------------------- */
.pdp-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.pdp-wish {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -8px -10px 0;
  color: var(--text-2);
  border-radius: var(--r-md);
  transition: color .16s ease, background-color .16s ease, transform .12s ease;
}
.pdp-wish svg { width: 22px; height: 22px; transition: fill .16s ease; }
.pdp-wish:hover { color: var(--cyan); background: var(--cyan-dim); }
.pdp-wish:active { transform: scale(.96); }
.pdp-wish[aria-pressed="true"] { color: var(--cyan); }
.pdp-wish[aria-pressed="true"] svg { fill: currentColor; }
.pdp-wish:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pdp-badge,
.pdp-chip {
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: var(--r-xs);
}
.pdp-badge { color: var(--bg); background: var(--cyan); font-weight: 700; }
.pdp-chip { color: var(--text-2); background: var(--cyan-dim); border: 1px solid var(--border-cyan); }

.pdp-title {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--white);
  text-wrap: balance;
}
.pdp-benefit { margin: 0; font-size: 19px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.pdp-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.pdp-rating-link { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.pdp-rating-link:hover { color: var(--cyan); }

.pdp-price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.pdp-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
.pdp-price .price,
.pdp-price .pc-price { display: inline; }
.pdp-price del,
.pdp-price .pc-price-was { margin-right: 10px; font-size: .58em; font-weight: 400; color: var(--text-3); text-decoration: line-through; }
.pdp-price ins { text-decoration: none; background: none; }
.pdp-price .pc-price-from { margin-right: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pdp-page .shop-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pdp-price .woocommerce-price-suffix { font-size: .4em; color: var(--text-3); font-weight: 400; }
.pdp-save {
  align-self: center;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xs);
}
.pdp-size { flex: 1 0 100%; margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.pdp-size span { margin-right: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pdp-short { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* form: WooCommerce's own markup, restyled (the theme dequeues WC's CSS) */
.pdp-form { margin-top: 22px; }
.pdp-page .pdp-form form.cart { display: block; margin: 0; }
.pdp-page .pdp-form form.cart:not(.variations_form),
.pdp-page .pdp-form .woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
:where(.pdp-page .pdp-form form.cart > *, .pdp-page .pdp-form .woocommerce-variation-add-to-cart > *) { grid-column: 1 / -1; min-width: 0; }
.pdp-page .pdp-form .quantity { grid-column: 1; width: auto; min-height: 54px; }
.pdp-page .pdp-form .quantity .al-qty-btn { min-height: 54px; }
.pdp-page .pdp-form .quantity input.qty { min-height: 54px; height: auto; }
.pdp-page .pdp-form .single_add_to_cart_button {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease, opacity .18s ease;
}
.pdp-page .pdp-form .single_add_to_cart_button:hover:not(:disabled):not(.disabled) { color: var(--bg); background: var(--white); border-color: var(--white); box-shadow: 0 0 28px var(--cyan-glow); transform: none; }
.pdp-page .pdp-form .single_add_to_cart_button:active:not(:disabled):not(.disabled) { transform: scale(.96); }
.pdp-page .pdp-form .single_add_to_cart_button:focus-visible,
.pdp-page .pdp-form .al-buy-now:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pdp-page .pdp-form .single_add_to_cart_button.loading { opacity: .6; pointer-events: none; }
.pdp-page .pdp-form .single_add_to_cart_button.added { background: var(--success); border-color: var(--success); }
.pdp-page .pdp-form .single_add_to_cart_button.disabled,
.pdp-page .pdp-form .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.pdp-page .pdp-form .al-buy-now {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 16px 24px;
  font-size: 13px;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .12s ease, opacity .18s ease;
}
.pdp-page .pdp-form .al-buy-now:active:not(:disabled) { transform: scale(.96); }
.pdp-page .pdp-form .al-buy-now:disabled,
.pdp-page .pdp-form .al-buy-now[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.pdp-page .pdp-form p.stock { margin: 0 0 14px; }
.pdp-page .pdp-form .woocommerce-variation-price { display: none; }
.pdp-page .pdp-form .woocommerce-variation { margin: 0 0 12px; font-size: 15px; color: var(--text-2); }
.pdp-page .pdp-form .woocommerce-variation-description p { margin: 0 0 8px; }
.pdp-page .pdp-form .reset_variations_alert { position: absolute; }

/* variations: selects become option buttons (product.js keeps the select in sync; without JS the select is styled) */
.pdp-page .pdp-form table.variations { display: block; width: 100%; margin: 0 0 6px; border: 0; }
.pdp-page .pdp-form table.variations tbody,
.pdp-page .pdp-form table.variations tr { display: block; }
.pdp-page .pdp-form table.variations th.label,
.pdp-page .pdp-form table.variations td.value { display: block; padding: 0; text-align: left; }
.pdp-page .pdp-form table.variations th.label { padding-bottom: 8px; }
.pdp-page .pdp-form table.variations th.label label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); font-weight: 400; }
.pdp-page .pdp-form table.variations td.value { padding-bottom: 12px; }
.pdp-page .pdp-form table.variations select {
  width: 100%;
  min-height: 50px;
  padding: 0 40px 0 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.pdp-page .pdp-form select.pdp-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.pdp-page .pdp-form a.reset_variations { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.pdp-page .pdp-form a.reset_variations:hover { color: var(--cyan); }
.pdp-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 10px; }
.pdp-swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 12px 14px;
  text-align: left;
  color: var(--text-2);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .12s ease, opacity .18s ease;
}
.pdp-swatch-label { font-family: var(--font-mono); font-size: 13px; line-height: 1.3; color: var(--white); }
.pdp-swatch-price { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pdp-swatch-flag { position: absolute; top: 8px; right: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pdp-swatch:hover:not(:disabled) { border-color: var(--border-cyan); }
.pdp-swatch:active:not(:disabled) { transform: scale(.96); }
.pdp-swatch.is-selected { background: var(--cyan-dim); border-color: var(--cyan); }
.pdp-swatch.is-selected .pdp-swatch-label { color: var(--cyan); }
.pdp-swatch:disabled,
.pdp-swatch[data-soldout] { opacity: .45; cursor: not-allowed; }
.pdp-swatch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* shipping + returns summary */
.pdp-assure { display: grid; gap: 12px; margin: 24px 0 0; padding: 18px; list-style: none; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); }
.pdp-assure li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.pdp-assure svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: var(--cyan); }
.pdp-assure a { margin-left: 4px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.pdp-assure a:hover { color: var(--cyan); }

/* ---------- 4. purchase options (Subscribe & Save) ----------------------------------------- */
.pdp-purchase { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0 0 4px; padding: 0; border: 0; }
.pdp-purchase-legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pdp-purchase-legend + * { clear: both; }
.pdp-purchase-opts { display: grid; gap: 10px; }
.pdp-opt {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .18s ease, background-color .18s ease;
}
.pdp-opt input { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.pdp-opt:hover { border-color: var(--border-cyan); }
.pdp-opt.is-selected,
.pdp-opt:has(input:checked) { background: var(--cyan-dim); border-color: var(--cyan); }
.pdp-opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pdp-opt-radio { display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--text-3); border-radius: 50%; transition: border-color .18s ease; }
.pdp-opt-radio::after { content: ''; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; transform: scale(0); transition: transform .18s cubic-bezier(.2, 0, 0, 1); }
.pdp-opt.is-selected .pdp-opt-radio,
.pdp-opt:has(input:checked) .pdp-opt-radio { border-color: var(--cyan); }
.pdp-opt.is-selected .pdp-opt-radio::after,
.pdp-opt:has(input:checked) .pdp-opt-radio::after { transform: scale(1); }
.pdp-opt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pdp-opt-title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--white); }
.pdp-opt-tag { margin-left: 6px; padding: 2px 7px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--bg); background: var(--cyan); border-radius: var(--r-xs); vertical-align: 1px; }
.pdp-opt-sub { font-size: 13px; color: var(--text-3); }
.pdp-opt-price { font-family: var(--font-mono); font-size: 14px; color: var(--white); font-variant-numeric: tabular-nums; }
.pdp-opt-price .woocommerce-Price-amount { font-weight: 400; }
.pdp-freq { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 16px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-md); }
.pdp-purchase:has(input[value="once"]:checked) .pdp-freq { display: none; }
.pdp-freq-label { flex: 0 0 auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.pdp-page .pdp-freq-select { flex: 1; width: auto; min-width: 120px; min-height: 42px; padding: 8px 38px 8px 12px; background-color: var(--bg-2); }
.pdp-purchase-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.pdp-purchase-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.pdp-purchase-note a:hover { color: var(--cyan); }

/* ---------- 5. jump links + sections + highlights ----------------------------------------- */
.pdp-jump { margin: 0 0 4px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pdp-jump ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pdp-jump ul::-webkit-scrollbar { display: none; }
.pdp-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.pdp-jump a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.pdp-jump a:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }

.pdp-section,
.pdp-fbt,
.pdp-rail { scroll-margin-top: calc(var(--header-h, 90px) + 16px); }
.pdp-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 44px 0; border-bottom: 1px solid var(--border); }
.pdp-section-head { min-width: 0; }
.pdp-h2 { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -.005em; color: var(--white); text-wrap: balance; }
.pdp-h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.pdp-section-body { min-width: 0; }
@media (min-width: 901px) {
  .pdp-section { grid-template-columns: 240px minmax(0, 1fr); gap: 24px 64px; padding: 60px 0; }
  .pdp-section-head { position: sticky; top: calc(var(--header-h, 90px) + 24px); align-self: start; }
}
.pdp-prose p { max-width: 68ch; margin: 0 0 1em; font-size: 17px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.pdp-prose p:last-child { margin-bottom: 0; }
.pdp-prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.pdp-prose ul, .pdp-prose ol { margin: 0 0 1em 1.2em; color: var(--text-2); }
.pdp-prose ul { list-style: disc; }
.pdp-prose ol { list-style: decimal; }
.pdp-prose strong { color: var(--white); font-weight: 600; }
.pdp-overview { display: grid; gap: 28px; }
@media (min-width: 1100px) { .pdp-overview:has(.pdp-prose):has(.pdp-highlights) { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: start; } }
.pdp-highlights { display: grid; gap: 14px; margin: 0; padding: 22px; list-style: none; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); }
.pdp-highlights li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.pdp-check { display: grid; place-items: center; width: 24px; height: 24px; color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--border-cyan); border-radius: var(--r-sm); }
.pdp-check svg { width: 13px; height: 13px; }

.pdp-keying { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pdp-keying-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .2s ease; }
.pdp-keying-card:hover { border-color: var(--border-cyan); }
.pdp-keying-name { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--white); }
.pdp-keying-note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.pdp-keying-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--cyan); }
.pdp-keying-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.pdp-keying-link:hover { color: var(--white); }
.pdp-keying-link:hover svg { transform: translateX(3px); }

/* ---------- 6. supplement facts + ingredient list ----------------------------------------- */
.pdp-facts-wrap { display: grid; gap: 28px; }
@media (min-width: 1100px) { .pdp-facts-wrap { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; } }
/* A label on paper: near-white surface, near-black ink, heavy rules like the FDA panel. */
.pdp-facts {
  max-width: 440px;
  padding: 12px 16px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  color: var(--bg);
  background: var(--text);
  border: 2px solid var(--bg-2);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-card);
}
.pdp-facts-title { margin: 0 0 4px; padding-bottom: 4px; font-family: var(--font-body); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--bg); border-bottom: 1px solid var(--bg); }
.pdp-facts-serving { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 3px 0; font-size: 15px; }
.pdp-facts-serving span { font-weight: 500; }
.pdp-facts-serving strong { font-weight: 700; text-align: right; }
.pdp-facts-table { width: 100%; margin-top: 4px; border-collapse: collapse; border-top: 8px solid var(--bg); }
.pdp-facts-table th,
.pdp-facts-table td { padding: 4px 0; text-align: left; vertical-align: top; font-size: 15px; color: var(--bg); background: transparent; border: 0; }
.pdp-facts-table thead th { padding: 4px 0; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--bg); }
.pdp-facts-table tbody tr { border-top: 1px solid color-mix(in srgb, var(--bg) 55%, transparent); }
.pdp-facts-table tbody tr:first-child { border-top: 0; }
.pdp-facts-table tbody th { font-weight: 600; padding-right: 10px; }
.pdp-facts-amt { margin-left: 4px; font-weight: 400; }
.pdp-facts-table .pdp-facts-dv { width: 5.5em; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pdp-facts-foot { display: grid; gap: 2px; margin: 0; padding-top: 6px; border-top: 8px solid var(--bg); }
.pdp-facts-note { font-size: 12.5px; line-height: 1.35; }
.pdp-facts-other { margin: 8px 0 0; padding-top: 8px; font-size: 13.5px; line-height: 1.4; border-top: 1px solid var(--bg); }
.pdp-facts-other + .pdp-facts-other { margin-top: 6px; padding-top: 0; border-top: 0; }
.pdp-facts-other strong { font-weight: 700; }
.pdp-facts-side { min-width: 0; }
.pdp-inci { max-width: 72ch; margin: 0; padding: 22px; font-size: 16px; line-height: 1.75; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); overflow-wrap: anywhere; }
.pdp-inci-note { max-width: 72ch; margin: 12px 0 0; font-size: 13px; color: var(--text-3); }
.pdp-admin-note { display: flex; align-items: flex-start; gap: 10px; max-width: 72ch; margin: 18px 0 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--text-2); border: 1px dashed var(--border-cyan); border-radius: var(--r-md); }
.pdp-admin-note svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }

/* ---------- 7. details + warnings ----------------------------------------------------------- */
.pdp-details { width: 100%; max-width: 720px; border-collapse: collapse; }
.pdp-details th,
.pdp-details td { padding: 14px 0; text-align: left; vertical-align: top; font-size: 16px; border-bottom: 1px solid var(--border); }
.pdp-details th { width: 38%; padding-right: 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pdp-details td { color: var(--white); }
.pdp-warn { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; max-width: 78ch; padding: 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); }
.pdp-warn-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 28%, transparent); border-radius: var(--r-md); }
.pdp-warn-icon svg { width: 20px; height: 20px; }
.pdp-warn-text { min-width: 0; }
.pdp-warn-text .pdp-prose p { font-size: 16px; }
.pdp-warn-text .al-disclaimer { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.pdp-warn-text > :last-child { margin-bottom: 0; }

/* ---------- 8. frequently bought together -------------------------------------------------- */
.pdp-fbt { padding: 48px 0; border-bottom: 1px solid var(--border); }
.pdp-rail-head { margin-bottom: 26px; }
.pdp-rail-title { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; color: var(--white); text-wrap: balance; }
.pdp-fbt-grid { display: grid; gap: 20px; }
@media (min-width: 901px) { .pdp-fbt-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; } }
.pdp-fbt-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pdp-fbt-item { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pdp-fbt-plus { display: none; }
@media (min-width: 901px) {
  .pdp-fbt-plus { position: absolute; top: 50%; left: -20px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -22px; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); border-radius: 50%; }
  .pdp-fbt-plus svg { width: 12px; height: 12px; }
}
.pdp-fbt-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  height: 100%;
  padding: 10px;                                  /* 16px outer radius = 6px inner + 10px */
  cursor: pointer;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s ease, background-color .2s ease;
}
.pdp-fbt-item.is-main .pdp-fbt-card { cursor: default; }
.pdp-fbt-card.is-checked { border-color: var(--border-cyan); }
.pdp-fbt-card:hover { border-color: var(--border-cyan); }
.pdp-fbt-card:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pdp-fbt-check { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pdp-fbt-box { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; color: transparent; background: var(--bg-3); border: 2px solid var(--text-3); border-radius: var(--r-xs); transition: background-color .16s ease, border-color .16s ease, color .16s ease; pointer-events: none; }
.pdp-fbt-box svg { width: 13px; height: 13px; }
.pdp-fbt-card.is-checked .pdp-fbt-box { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
.pdp-fbt-media { display: block; width: 84px; height: 84px; overflow: hidden; background: var(--bg-3); border-radius: var(--r-sm); }
.pdp-fbt-media img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid color-mix(in srgb, var(--white) 8%, transparent); outline-offset: -1px; }
.pdp-fbt-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-right: 26px; }
.pdp-fbt-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pdp-fbt-name { font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--white); text-wrap: balance; }
.pdp-fbt-variant { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.pdp-fbt-price { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pdp-fbt-view { align-self: flex-start; padding: 2px 4px; font-size: 13px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.pdp-fbt-view:hover { color: var(--cyan); }
.pdp-fbt-summary { display: grid; gap: 12px; padding: 22px; background: var(--bg-2); border: 1px solid var(--border-cyan); border-radius: var(--r-lg); }
.pdp-fbt-count { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pdp-fbt-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; color: var(--text-2); }
.pdp-fbt-total strong { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.pdp-fbt-summary .btn { min-height: 52px; }
.pdp-fbt-summary .btn:disabled { opacity: .45; cursor: not-allowed; }
.pdp-fbt-summary .btn.is-loading { opacity: .6; pointer-events: none; }
.pdp-fbt-msg { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--cyan); }

/* ---------- 9. guides ----------------------------------------------------------------------- */
.pdp-guides,
.pdp-rail { padding: 48px 0; border-bottom: 1px solid var(--border); }
.pdp-guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pdp-guide {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: start;
  height: 100%;
  padding: 18px;
  color: inherit;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s ease;
}
.pdp-guide:hover { border-color: var(--border-cyan); color: inherit; }
.pdp-guide:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pdp-guide-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--border-cyan); border-radius: var(--r-md); }
.pdp-guide-icon svg { width: 20px; height: 20px; }
.pdp-guide-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pdp-guide-title { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--white); text-wrap: balance; }
.pdp-guide-text { font-size: 14px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.pdp-guide-meta { margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.pdp-guide-go { display: grid; place-items: center; height: 44px; color: var(--text-3); transition: color .2s ease, transform .2s ease; }
.pdp-guide-go svg { width: 18px; height: 18px; }
.pdp-guide:hover .pdp-guide-go { color: var(--cyan); transform: translateX(3px); }

/* ---------- 10 + 11. related / recently viewed rails ---------------------------------------- */
.pdp-rail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 901px) { .pdp-rail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap, 28px); } }
.pdp-rail--recent { border-bottom: 0; }
.pdp-container > .pdp-rail:last-child,
.pdp-container > .pdp-guides:last-child { border-bottom: 0; }

/* ---------- 12. reviews --------------------------------------------------------------------- */
.al-reviews { min-width: 0; }
.al-stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.al-stars svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.al-stars-base,
.al-stars-fill { display: inline-flex; gap: 2px; }
.al-stars-base { color: color-mix(in srgb, var(--text-3) 40%, transparent); }
.al-stars-fill { position: absolute; top: 0; bottom: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--cyan); }
.al-stars--lg svg { width: 22px; height: 22px; }

.al-reviews-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 44px 24px;
  text-align: center;
  background: var(--bg-2);
  border: 1px dashed var(--border-cyan);
  border-radius: var(--r-lg);
}
.al-reviews-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--border-cyan); border-radius: 50%; }
.al-reviews-empty-icon svg { width: 24px; height: 24px; }
.al-reviews-empty-title { margin: 0; font-family: var(--font-display); font-size: clamp(15px, 2vw, 18px); font-weight: 600; line-height: 1.35; color: var(--white); text-wrap: balance; }
.al-reviews-empty-sub { max-width: 46ch; margin: 0; font-size: 16px; color: var(--text-2); text-wrap: pretty; }
.al-reviews-embed { min-width: 0; overflow-x: auto; }
.al-reviews-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px 16px; font-size: 15px; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.al-reviews-note p { margin: 0; }
.al-reviews-note--ok { border-color: var(--border-cyan); color: var(--text); }

.al-reviews-grid { display: grid; gap: 24px; }
@media (min-width: 901px) { .al-reviews-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; } .al-reviews-side { position: sticky; top: calc(var(--header-h, 90px) + 24px); } }
.al-reviews-summary { display: grid; gap: 20px; padding: 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); }
.al-reviews-score { display: flex; align-items: center; gap: 16px; }
.al-reviews-avg { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.al-reviews-score-meta { display: flex; flex-direction: column; gap: 6px; }
.al-reviews-count { font-size: 14px; color: var(--text-3); }
.al-reviews-dist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.al-reviews-dist li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.al-dist-bar { display: block; height: 6px; overflow: hidden; background: var(--bg-5); border-radius: var(--r-xs); }
.al-dist-bar span { display: block; height: 100%; background: var(--cyan); border-radius: inherit; }
.al-dist-n { text-align: right; font-variant-numeric: tabular-nums; }

.al-reviews-list { display: grid; margin: 0; padding: 0; list-style: none; }
.al-review { padding: 22px 0; border-bottom: 1px solid var(--border); }
.al-review:first-child { padding-top: 0; }
.al-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.al-review-rating { line-height: 0; }
.al-review-author { font-size: 16px; font-weight: 600; color: var(--white); }
.al-review-verified { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--border-cyan); border-radius: var(--r-xs); }
.al-review-verified svg { width: 11px; height: 11px; }
.al-review-date { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.al-review-body { max-width: 70ch; }
.al-review-body p { margin: 0 0 .8em; font-size: 16px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.al-review-body p:last-child { margin-bottom: 0; }
.al-reviews-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.al-reviews-pager-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.al-reviews-formrow { margin-top: 32px; }
.al-review-form-wrap { max-width: 720px; padding: 24px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); }
.al-review-form-title { margin: 0 0 16px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.al-review-form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.al-review-form .required { color: var(--cyan); }
.al-review-form .form-submit { margin-bottom: 0; align-items: flex-start; }
.al-review-form .form-submit .btn { min-height: 48px; }
.al-review-form .comment-form-comment textarea { min-height: 140px; }
.al-rate { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.al-rate-legend { display: block; margin: 0 0 6px; padding: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.al-rate-stars { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.al-rate-stars input { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.al-rate-stars label { display: block; padding: 6px; line-height: 0; cursor: pointer; color: color-mix(in srgb, var(--text-3) 45%, transparent); transition: color .14s ease, transform .12s ease; }
.al-rate-stars label svg { width: 30px; height: 30px; fill: currentColor; }
.al-rate-stars label:active { transform: scale(.96); }
.al-rate-stars input:checked ~ label,
.al-rate-stars label:hover,
.al-rate-stars label:hover ~ label { color: var(--cyan); }
.al-rate-stars input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 1px; border-radius: var(--r-sm); }

/* ---------- 13. sticky add-to-cart bar (mobile / tablet) ----------------------------------- */
.pdp-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-2);
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  border-top: 1px solid var(--border-cyan);
  backdrop-filter: blur(12px);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .3s;
}
.pdp-sticky-inner { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 0 auto; }
.pdp-sticky-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pdp-sticky-name { overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--white); white-space: nowrap; text-overflow: ellipsis; }
.pdp-sticky-price { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); font-variant-numeric: tabular-nums; }
.pdp-sticky-price .price,
.pdp-sticky-price .pc-price { display: inline; }
.pdp-sticky-price .pc-price-from { display: none; }
.pdp-sticky-price del,
.pdp-sticky-price .pc-price-was { margin-right: 6px; color: var(--text-3); }
.pdp-sticky-price ins { text-decoration: none; background: none; }
.pdp-sticky-btn { flex: 0 0 auto; min-height: 48px; padding-left: 22px; padding-right: 22px; }
@media (max-width: 900px) {
  .pdp-sticky { display: block; }
  .pdp-sticky.is-visible { transform: translateY(0); visibility: visible; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
  body.pdp-has-sticky { padding-bottom: 76px; }
  body.cart-open .pdp-sticky { display: none; }
}

/* ---------- 14. small screens + motion ------------------------------------------------------ */
@media (max-width: 480px) {
  .pdp-price { font-size: 26px; }
  .pdp-benefit { font-size: 18px; }
  .pdp-page .pdp-form .single_add_to_cart_button { padding-left: 16px; padding-right: 16px; }
  .pdp-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-opt { padding: 12px 14px; gap: 10px; }
  .pdp-fbt-card { grid-template-columns: 72px minmax(0, 1fr); }
  .pdp-fbt-media { width: 72px; height: 72px; }
  .pdp-warn { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .pdp-highlights { padding: 18px; }
  .al-review-date { flex: 1 0 100%; margin-left: 0; }
  .al-review-form-wrap { padding: 18px 16px; }
  .pdp-facts { padding: 10px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-slide,
  .pdp-slide.is-active,
  .pdp-nav,
  .pdp-thumb,
  .pdp-wish,
  .pdp-swatch,
  .pdp-opt,
  .pdp-opt-radio::after,
  .pdp-keying-card,
  .pdp-keying-link svg,
  .pdp-guide,
  .pdp-guide-go,
  .pdp-fbt-card,
  .pdp-sticky,
  .pdp-sticky.is-visible,
  .al-rate-stars label,
  .pdp-page .pdp-form .single_add_to_cart_button,
  .pdp-page .pdp-form .al-buy-now { transition: none !important; }
  .pdp-nav:active,
  .pdp-thumb:active,
  .pdp-wish:active,
  .pdp-swatch:active,
  .al-rate-stars label:active,
  .pdp-page .pdp-form .single_add_to_cart_button:active,
  .pdp-page .pdp-form .al-buy-now:active { transform: none; }
}

