.wellness-product-page { background: var(--pp-warm-ivory); color: var(--pp-prime-navy); font-family: Inter, "Segoe UI", Arial, sans-serif; }
.wellness-product-main { width: min(100% - 2 * var(--pp-page-gutter), 1440px); margin: 0 auto; padding: 30px 0 clamp(72px, 8vw, 128px); }
.wellness-breadcrumb { display: flex; gap: 12px; align-items: center; margin-bottom: 26px; color: #5e6c79; font-size: .82rem; }
.wellness-breadcrumb a { color: inherit; text-underline-offset: 4px; }
.wellness-product-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(36px, 5.8vw, 88px); align-items: start; }
.wellness-product-gallery { position: static; min-width: 0; }
.wellness-product-photo { margin: 0; border-radius: 26px; overflow: hidden; background: #ede8df; border: 1px solid var(--pp-gold-soft); aspect-ratio: 4 / 5; }
.wellness-product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wellness-product-photo.is-packaging img { object-fit: contain; padding: 36px; }
.wellness-product-thumbnails { display: flex; gap: 12px; margin-top: 16px; }
.wellness-product-thumbnails button { width: 64px; height: 76px; border: 1px solid transparent; padding: 3px; border-radius: 10px; background: #eee8de; cursor: pointer; overflow: hidden; }
.wellness-product-thumbnails button[aria-pressed="true"] { border-color: var(--pp-dark-gold); }
.wellness-product-thumbnails img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.wellness-product-thumbnails button:last-child img { object-fit: contain; }
.wellness-product-caption { margin: 12px 0 0; font-size: .7rem; line-height: 1.5; color: #687581; }
.wellness-product-details { padding-top: 8px; min-width: 0; }
.wellness-product-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #567a9b; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.wellness-product-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pp-prime-gold); box-shadow: 0 0 0 4px var(--pp-gold-faint); }
.wellness-product-details h1 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4.6vw, 72px); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; }
.wellness-product-details h1 sup { display: inline-block; margin-left: 8px; font: 400 .28em/1 Inter, "Segoe UI", Arial, sans-serif; vertical-align: super; letter-spacing: 0; }
.wellness-product-price { margin: 0 0 23px; font-size: 1rem; color: #5e6c79; }
.wellness-product-price strong { color: var(--pp-prime-navy); font-size: 1.7rem; font-weight: 500; margin-left: 5px; }
.wellness-product-price-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.wellness-product-price-amounts { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.wellness-product-price-amounts strong { margin-left: 0; }
.wellness-product-price-amounts s { color: #8a939b; font-size: 1.45rem; text-decoration-thickness: 1.5px; }
.wellness-product-price-discount { align-self: center; padding: 5px 10px; border-radius: 999px; background: var(--pp-gold-faint); color: var(--pp-dark-gold); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.wellness-product-intro { margin: 0 0 26px; max-width: 540px; font-size: clamp(18px, 1.65vw, 25px); line-height: 1.5; color: #536778; }
.wellness-product-cta { display: flex; width: 50%; min-width: min(200px, 100%); min-height: 64px; justify-content: space-between; align-items: center; padding: 18px 26px; border: 1px solid var(--pp-prime-navy); border-radius: 999px; background: var(--pp-prime-navy); color: var(--pp-warm-ivory); font: 500 1.04rem/1.4 Inter, "Segoe UI", Arial, sans-serif; cursor: pointer; transition: background 180ms ease; }
.wellness-product-cta:hover { background: #203d52; }
.wellness-product-cta span:last-child { color: var(--pp-prime-gold); font-size: 1.4rem; }
.wellness-product-end-cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 88px); }
.wellness-product-end-cta .wellness-product-cta { width: min(100%, 260px); }
.wellness-product-review-note { margin: 12px 0 22px; color: #687581; font-size: .74rem; line-height: 1.5; }
.wellness-product-features { display: grid; gap: 12px; list-style: none; margin: 0 0 30px; padding: 0; font-size: .92rem; line-height: 1.5; }
.wellness-product-features li::before { content: "→"; color: var(--pp-dark-gold); margin-right: 12px; }
.wellness-product-faq { display: grid; gap: 12px; }
.wellness-product-faq details { border: 1px solid rgba(15,31,45,.15); border-radius: 18px; padding: 0 22px; }
.wellness-product-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; padding: 18px 0; font-size: 1rem; line-height: 1.4; cursor: pointer; list-style: none; }
.wellness-product-faq summary::-webkit-details-marker { display: none; }
.wellness-product-faq summary::after { content: "+"; color: var(--pp-dark-gold); font-size: 1.6rem; font-weight: 300; }
.wellness-product-faq details[open] summary::after { content: "−"; }
.wellness-product-faq p { margin: 0 0 22px; color: #536778; font-size: .95rem; line-height: 1.75; }
.wellness-product-faq a { color: var(--pp-dark-gold); text-underline-offset: 3px; }
.wellness-product-page :is(button, a, summary):focus-visible { outline: 2px solid var(--pp-dark-gold); outline-offset: 4px; }
/* Product galleries match the collapsed text height and stay fixed as questions open. */
@media (min-width: 761px) {
  .wellness-product-layout { align-items: start; }
  .wellness-product-gallery { grid-column: 1; grid-row: 1; }
  .wellness-product-photo { position: relative; width: 100%; height: var(--product-photo-height, auto); min-height: 0; aspect-ratio: 4 / 5; }
  .wellness-product-photo img { position: absolute; inset: 0; }
  .wellness-product-details { grid-column: 2; grid-row: 1; padding-top: 0; display: block; }
}
@media (max-width: 760px) {
  .wellness-product-main { padding-top: 20px; }
  .wellness-product-layout { grid-template-columns: 1fr; gap: 30px; }
  .wellness-product-gallery { position: static; }
  .wellness-product-photo { max-height: 530px; border-radius: 20px; }
  .wellness-product-details h1 { font-size: clamp(38px, 9vw, 58px); }
}
@media (prefers-reduced-motion: reduce) { .wellness-product-cta { transition: none; } }

/* Keep science cards readable and swipeable on phones and smaller tablets. */
@media (max-width: 980px), (max-width: 1000px) and (max-height: 560px) and (hover: none) and (pointer: coarse) {
  .wellness-product-page .wellness-science-rail {
    min-width: 0;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 340px);
    gap: 16px;
    padding-block: 6px 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--pp-prime-gold) var(--pp-gold-faint);
  }

  .wellness-science-rail > article {
    min-width: 0;
    scroll-snap-align: start;
  }

  .wellness-science-rail:focus-visible {
    outline: 2px solid var(--pp-prime-gold);
    outline-offset: 4px;
  }
}
