/* ============================================================
   Lifwel Template-2 — Product Details
   Figma canvas 1728 × 4371 (fit-width scaling)
   No header / no footer
   ============================================================ */

   @font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-normal-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-italic-400.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-normal-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-normal-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-normal-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  :root {
    --brown: #5d380f;
    --cream: #fbefdb;
    --cream-2: #fff2e3;
    --green: #4c9107;
    --red: #d90000;
    --grey: #f4f4f4;
    --grey-mid: #d9d9d9;
    --ink: #1c1b1f;
    --black: #000000;
    --white: #ffffff;
    --font: 'Poppins', Arial, sans-serif;
    --ease: 300ms ease;
  }
  
  /*
   * Scoped to .pdp-v2-root so listing/PDP CSS does not break
   * the global site header, footer, or Bootstrap chrome.
   */
  .pdp-v2-root,
  .pdp-v2-root *,
  .pdp-v2-root *::before,
  .pdp-v2-root *::after {
    box-sizing: border-box;
  }
  .pdp-v2-root {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    -webkit-text-size-adjust: 100%;
  }
  .pdp-v2-root h1,
  .pdp-v2-root h2,
  .pdp-v2-root h3,
  .pdp-v2-root h4,
  .pdp-v2-root p,
  .pdp-v2-root ul,
  .pdp-v2-root figure {
    margin: 0;
    padding: 0;
  }
  .pdp-v2-root ul {
    list-style: none;
  }
  .pdp-v2-root img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .pdp-v2-root button {
    font-family: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
  }
  .pdp-v2-root a {
    color: inherit;
    text-decoration: none;
  }
  .pdp-v2-root button:focus-visible,
  .pdp-v2-root a:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: 3px;
  }

  .pdp-v2-root.page,
  .pdp-v2-root .page {
    max-width: 1728px;
    margin: 0 auto;
    background: var(--white);
    overflow: hidden;
    padding-bottom: 80px;
  }
  .pdp-v2-root .wrap {
    padding-left: 100px;
    padding-right: 100px;
  }

  body.fit-mode { overflow-x: hidden; }
  
  /* ============================================================
     1. PRODUCT HERO
     Thumbs x=100 w=155 | Stage x=283 w=571 h=588 | Info x=944
     Left gallery height matches right info column (stretch)
     ============================================================ */
  .pdp-hero {
    display: flex;
    gap: 90px;
    padding-top: 80px;
    align-items: stretch; /* equal column heights */
  }

  .pdp-gallery {
    display: flex;
    gap: 28px;
    flex: 0 0 715px;
    max-width: 715px;
    align-items: stretch;
    align-self: stretch;
    min-height: 0;
  }

/* ----- Vertical thumbs ----- */
.thumbs-col {
  flex: 0 0 116px;
  width: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* center thumbs when shorter than stage */
  gap: 10px;
  align-self: stretch;
  min-height: 0;
}

.thumb-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grey);
  border: 1px solid var(--black);
  display: none; /* shown only when thumbs overflow stage height */
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.thumbs-col.has-overflow .thumb-nav {
  display: flex;
}
.thumb-nav:hover { background: var(--cream); }
.thumb-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.thumb-nav img { width: 12px; height: 8px; }
.thumb-nav-up img { transform: rotate(-90deg); }
.thumb-nav-down img { transform: rotate(90deg); }

.thumbs-viewport {
  width: 100px;
  max-height: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
}
.thumbs-col.has-overflow .thumbs-viewport {
  flex: 1 1 auto;
  overflow: hidden;
}

.thumbs-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 280ms ease;
  will-change: transform;
}

.thumb {
  flex: 0 0 105px;
  width: 100px;
  height: 105px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--cream);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(93, 56, 15, 0.12);
}
.thumb.active,
.thumb[aria-pressed="true"] {
  border-color: var(--brown);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Main stage + zoom ----- */
.gallery-stage-wrap {
  position: relative;
  flex: 1 1 auto;
  width: 571px;
  max-width: 571px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
}

.gallery-stage {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  min-height: 588px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, var(--cream) 72%);
  cursor: crosshair;
  margin: 0;
}

.stage-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: 2;
  padding: 0;
  box-sizing: border-box;
}
.stage-img.is-visible { opacity: 1; }
.stage-img.is-fading { opacity: 0; }
  
  .zoom-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid var(--brown);
    background: rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    pointer-events: none;
    z-index: 5;
    display: none;
  }
  .zoom-lens.is-on { display: block; }
  
  .zoom-panel {
    position: absolute;
    left: calc(100% + 18px);
    top: 0;
    width: 420px;
    height: 420px;
    border-radius: 16px;
    border: 1px solid rgba(93, 56, 15, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    background-repeat: no-repeat;
    background-color: var(--cream-2);
    z-index: 20;
    display: none;
    pointer-events: none;
    overflow: hidden;
  }
  .zoom-panel.is-on { display: block; }
  
  /* ----- Product info ----- */
  .pdp-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 684px;
    padding-top: 8px;
  }
  
  .pdp-title {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--brown);
  }
  
  .ingredients-pill {
    display: inline-flex;
    margin-top: 16px;
    padding: 8px 16px;
    border-radius: 40px;
    background: rgba(93, 56, 15, 0.09);
    color: var(--brown);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  
  .feature-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
  }
  .feature-row li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
  }
  .feature-row img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
  
  .rating-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
  .rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 40px;
    background: var(--brown);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
  }
  .rating-pill img { 
    width: 16px; 
    height: 16px; 
    /* filter: brightness(0) invert(1);  */
  }
  .recommend-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
  }
  .recommend-pill img { width: 18px; height: 18px; }
  
  .weight-row {
    margin-top: 22px;
    display: flex;
    gap: 14px;
  }
  .weight-pill {
    min-width: 88px;
    height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    background: var(--grey);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
  }
  .weight-radio {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--brown);
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    background: transparent;
  }
  .weight-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: transparent;
    transition: background var(--ease);
  }
  .weight-pill.selected,
  .weight-pill[aria-pressed="true"] {
    background: var(--cream);
    border-color: var(--brown);
    color: var(--brown);
  }
  .weight-pill.selected .weight-radio::after,
  .weight-pill[aria-pressed="true"] .weight-radio::after {
    background: var(--brown);
  }
  .weight-pill:hover {
    border-color: rgba(93, 56, 15, 0.45);
  }
  
  .flavor-bar {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    background: var(--grey);
    border-radius: 10px;
    padding: 10px 14px;
  }
  .flavor-chip {
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
    padding: 4px 8px;
    white-space: nowrap;
    transition: color var(--ease);
  }
  .flavor-chip.active,
  .flavor-chip[aria-selected="true"] {
    color: var(--brown);
    font-weight: 600;
  }
  .flavor-sep {
    width: 1px;
    height: 16px;
    background: rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
  }
  
  .qty-label {
    margin-top: 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
  }
  
  .qty-row {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }
  .qty-box {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 132px;
    height: 46px;
    border: 1.5px solid var(--brown);
    border-radius: 10px;
    padding: 0 12px;
    background: var(--white);
  }
  .qty-box button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .qty-box button img { width: 14px; height: 14px; }
  .qty-box #qtyVal {
    font-size: 18px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
  }
  .stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 14px;
    font-weight: 500;
  }
  .stock img { width: 18px; height: 18px; }
  
  /* Price pill — white capsule + solid brown bottom shadow */
  .price-pill {
    margin-top: 20px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    height: 56px;
    min-height: 56px;
    padding: 0 20px 0 28px;
    background: var(--white);
    border: 1.5px solid var(--brown);
    border-radius: 999px;
    box-shadow: 0 8px 0 0 var(--brown);
  }
  .price-pill .price {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    white-space: nowrap;
  }
  .price-pill .mrp {
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    text-decoration: line-through;
    white-space: nowrap;
  }
  .price-pill .offer {
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
    line-height: 1;
  }
  
  .cta-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  /* Scoped: bare .btn conflicts with Bootstrap header language button */
  .pdp-v2-root .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    height: 54px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 600;
    transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  }
  .pdp-v2-root .btn .btn-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .pdp-v2-root .btn .btn-ico img {
    width: 18px;
    height: 18px;
  }
  .pdp-v2-root .btn-buy {
    background: var(--brown);
    color: var(--white);
    border: 1.5px solid var(--brown);
  }
  .pdp-v2-root .btn-buy:hover { background: #4a2c0b; }
  .pdp-v2-root .btn-buy .btn-ico {
    background: rgba(255, 255, 255, 0.18);
  }
  .pdp-v2-root .btn-buy .btn-ico img {
    filter: brightness(0) invert(1);
  }
  .pdp-v2-root .btn-cart {
    background: #f0ede9;
    color: var(--brown);
    border: 1px solid rgba(93, 56, 15, 0.35);
  }
  .pdp-v2-root .btn-cart:hover {
    background: var(--cream);
    border-color: var(--brown);
  }
  .pdp-v2-root .btn-cart .btn-ico {
    background: var(--brown);
  }
  .pdp-v2-root .btn-cart .btn-ico img {
    /* cart SVG is white — keep as-is on brown circle */
    filter: none;
  }
  
  /* Trust strip — grey pill with icon circles + title/subtitle */
  .trust-strip {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 654px;
    min-height: 77px;
    padding: 14px 20px;
    background: #f4f4f4;
    border-radius: 18px;
    border-top: none;
    list-style: none;
  }
  /* Beat .pdp-v2-root ul { margin:0 } so gap under CTA buttons stays */
  .pdp-v2-root .trust-strip {
    margin-top: 36px;
  }
  .trust-strip > li {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
  }
  .trust-strip .trust-divider {
    flex: 0 0 1px;
    width: 1px;
    align-self: stretch;
    min-height: 42px;
    max-width: 1px;
    background: rgba(0, 0, 0, 0.18);
    padding: 0;
  }
  .trust-ico {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .trust-ico img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }
  .trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .trust-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.2;
  }
  .trust-text > span {
    font-size: 12px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.25;
  }
  
  /* ============================================================
     2. SCIENCE
     ============================================================ */
  .science {
    margin-top: 72px;
    padding: 56px 0 64px;
    background: var(--cream-2);
  }
  .section-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brown);
    text-align: center;
  }
  .section-sub {
    margin: 12px auto 0;
    max-width: 780px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.65);
  }
  /* Beat .pdp-v2-root p { margin:0 } so the block centers in the science section */
  .pdp-v2-root .science .section-sub {
    margin: 12px auto 0;
    text-align: center;
  }
  .pdp-v2-root .clinical .section-sub {
    margin: 12px auto 0;
    text-align: center;
    max-width: 780px;
  }
  .science-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  .science-grid li {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 26px 14px 22px;
    text-align: center;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  }
  .science-grid li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(93, 56, 15, 0.1);
    border-color: rgba(93, 56, 15, 0.28);
  }
  .science-ico {
    width: 78px;
    height: 78px;
    margin: 0 auto;
    border-radius: 50%;
    background: #f5f0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .science-ico img {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }
  /* White-on-black Figma exports → brown glyph on light circle */
  .science-ico:not(.science-ico--badge):not(.science-ico--pure) img {
    filter: invert(1) brightness(0) saturate(100%) invert(22%) sepia(48%) saturate(900%) hue-rotate(8deg) brightness(0.95);
  }
  .science-ico--badge img {
    width: 52px;
    height: 52px;
    filter: none;
  }
  .science-ico--pure .pure-pct {
    font-size: 22px;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .science-grid p {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
  }
  
  /* ============================================================
     3. TABS
     ============================================================ */
  .tabs {
    margin-top: 56px;
  }
  .tab-list {
    display: flex;
    gap: 48px;
    align-items: flex-end;
  }
  .tab {
    font-size: 20px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.4);
    padding-bottom: 12px;
    transition: color var(--ease);
  }
  .tab.active {
    color: var(--brown);
    font-weight: 600;
  }
  .tab-bar {
    position: relative;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    margin-top: 0;
  }
  .tab-ind {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 120px;
    background: var(--brown);
    border-radius: 2px;
    transition: left 280ms ease, width 280ms ease;
  }
  
  /* ============================================================
     4. DESCRIPTION CONTENT
     ============================================================ */
  .tab-panels { margin-top: 36px; }
  .tab-panel[hidden] { display: none; }
  .tab-panel.is-active { display: block; }
  
  .text-block { margin-bottom: 40px; }
  .text-block h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 16px;
  }
  .text-block p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.72);
    max-width: 1320px;
  }
  .text-block p + p { margin-top: 16px; }

  /* CKEditor / rich-text content — restore lists & formatting */
  .editor-content {
    max-width: 1320px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.72);
  }
  .editor-content + .editor-content {
    margin-top: 24px;
  }
  .editor-content p {
    margin: 0 0 12px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    max-width: none;
  }
  .editor-content p:last-child { margin-bottom: 0; }
  .editor-content strong,
  .editor-content b { font-weight: 700; color: inherit; }
  .editor-content em,
  .editor-content i { font-style: italic; }
  .editor-content a {
    color: var(--brown);
    text-decoration: underline;
  }
  .editor-content ul,
  .editor-content ol {
    margin: 12px 0 16px;
    padding-left: 1.5em;
    max-width: 1320px;
  }
  .editor-content ul {
    list-style: disc outside !important;
  }
  .editor-content ol {
    list-style: decimal outside !important;
  }
  .editor-content li {
    display: list-item !important;
    margin: 6px 0;
    padding-left: 0.15em;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.72);
  }
  .editor-content ul ul { list-style: circle outside !important; }
  .editor-content h1,
  .editor-content h2,
  .editor-content h3,
  .editor-content h4 {
    color: var(--brown);
    font-weight: 600;
    line-height: 1.35;
    margin: 16px 0 10px;
  }
  .editor-content h1 { font-size: 22px; }
  .editor-content h2 { font-size: 20px; }
  .editor-content h3 { font-size: 18px; }
  .editor-content h4 { font-size: 16px; }
  .editor-content blockquote {
    margin: 12px 0;
    padding: 8px 14px;
    border-left: 3px solid var(--brown);
    background: rgba(93, 56, 15, 0.06);
  }

  .ingredient-highlights {
    margin-top: 8px;
  }
  .ingredient-highlights .ingredients-pill--tab {
    margin-top: 0;
    margin-bottom: 14px;
  }
  .ingredient-highlights .recommend-pill--tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: rgba(0, 0, 0, 0.72);
    font-size: 15px;
    font-weight: 500;
  }
  .ingredient-highlights .recommend-pill--tab img {
    width: 18px;
    height: 18px;
  }
  .ingredient-highlights .benefits-list {
    margin-top: 4px;
  }
  
  .benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 18px;
    max-width: 1200px;
  }
  .benefits-list li,
  .details-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.72);
  }
  .benefits-list img,
  .details-list img {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }
  .details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
  }
  
  /* ============================================================
     5. CLINICALLY PROVEN
     ============================================================ */
  .clinical {
    margin-top: 48px;
    padding: 64px 0 72px;
    background: var(--cream);
  }
  .clinical .section-title,
  .clinical .section-sub { text-align: center; }
  
  .clinical-grid {
    margin-top: 40px;
    display: flex;
    gap: 40px;
    align-items: stretch;
  }
  .clinical-visual {
    position: relative;
    flex: 0 0 740px;
    width: 740px;
    max-width: 48%;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #c9a06a 0%, #8b5a2b 55%, #5d380f 100%);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .clinical-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
  .clinical-product {
    position: relative;
    z-index: 2;
    display: block;
    width: 58%;
    max-width: 340px;
    height: auto;
    margin: 40px auto;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
  }
  
  .stat-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
    align-content: stretch;
  }
  .stat {
    background: var(--white);
    border: 1.5px solid var(--brown);
    border-radius: 20px;
    padding: 36px 24px;
    min-height: 154px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: none;
    transition: transform var(--ease), box-shadow var(--ease);
  }
  .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(93, 56, 15, 0.12);
  }
  .stat b {
    font-size: 48px;
    font-weight: 700;
    color: var(--brown);
    line-height: 1.1;
  }
  .stat p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--brown);
    max-width: 240px;
  }
  
  /* ============================================================
     6. RELATED PRODUCTS
     ============================================================ */
  .related { margin-top: 72px; }
  .related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
  }
  .related .section-title { text-align: left; }
  .see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--brown);
  }
  .see-all img { width: 18px; height: 12px; }
  
  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .product-card {
    display: block;
    border: 1.5px solid rgba(93, 56, 15, 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    padding: 0;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  }
  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(93, 56, 15, 0.14);
    border-color: var(--brown);
  }
  .pc-media {
    background: var(--cream);
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .pc-media img {
    width: auto;
    height: 88%;
    max-width: 78%;
    object-fit: contain;
    transition: transform var(--ease);
  }
  .product-card:hover .pc-media img {
    transform: scale(1.05);
  }
  
  .pc-body { padding: 20px 22px 24px; }
  .pc-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--brown);
  }
  .pc-ing {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(93, 56, 15, 0.75);
    line-height: 1.4;
  }
  .pc-benefits {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .pc-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
  }
  .pc-benefits img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
  .pc-label {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }
  .pc-sizes {
    margin-top: 8px;
    display: flex;
    gap: 8px;
  }
  .ps-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: var(--grey);
    border: 1px solid transparent;
  }
  .ps-pill.sel {
    background: var(--cream);
    border-color: var(--brown);
    color: var(--brown);
  }
  .pc-flavors {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.4;
  }
  .pc-price {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .pc-price .p {
    font-size: 20px;
    font-weight: 700;
    color: var(--brown);
  }
  .pc-price .m {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.4);
  }
  .pc-price .off {
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 14px;
    padding: 4px 8px;
  }
  .pc-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
  }
  .product-card .btn-buy,
  .product-card .btn-cart {
    flex: 1 1 auto;
    height: 44px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
  }
  .product-card .btn-buy {
    background: var(--brown);
    color: var(--white);
    border: 1.5px solid var(--brown);
  }
  .product-card .btn-buy:hover { background: #4a2c0b; }
  .product-card .btn-buy .btn-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .product-card .btn-buy .btn-ico img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
  }
  .product-card .btn-cart {
    background: #f0ede9;
    color: var(--brown);
    border: 1px solid rgba(93, 56, 15, 0.35);
  }
  .product-card .btn-cart:hover { background: var(--cream); border-color: var(--brown); }
  .product-card .btn-cart .btn-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brown);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .product-card .btn-cart .btn-ico img {
    width: 14px;
    height: 14px;
    filter: none;
  }
  
  /* ============================================================
     7. FAQ
     ============================================================ */
  .faq { margin-top: 72px; }
  .faq .section-title {
    text-align: left;
    margin-bottom: 28px;
  }
  .faq-item {
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  }
  /* Opened item keeps existing cream/brown accent colors */
  .faq-item.open {
    background: var(--white);
    border: 1.5px solid var(--brown);
    box-shadow: 0 6px 18px rgba(93, 56, 15, 0.06);
  }
  .faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 18px 24px;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    background: #f2f2f2;
  }
  .faq-item.open .faq-q {
    background: #faf7f3; /* existing open color */
    color: var(--brown);
    border-bottom: 1px solid rgba(93, 56, 15, 0.08);
  }
  .faq-q .chev {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform var(--ease);
  }
  .faq-q .chev-closed {
    display: block;
    transform: rotate(-90deg); /* point down */
  }
  .faq-q .chev-open {
    display: none;
  }
  .faq-item.open .faq-q .chev-closed {
    display: none;
  }
  .faq-item.open .faq-q .chev-open {
    display: block;
    transform: rotate(90deg); /* point up */
  }
  .faq-a {
    padding: 18px 24px 22px;
    background: var(--white);
  }
  .faq-a[hidden] { display: none; }
  .faq-a p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.75);
    max-width: 1280px;
  }
  
  /* ============================================================
     RESPONSIVE — tablet / mobile (< ~900)
     ============================================================ */
  @media (max-width: 900px) {
    .pdp-v2-root .wrap { padding-left: 16px; padding-right: 16px; }
    .pdp-v2-root.page,
    .pdp-v2-root .page { padding-bottom: 48px; }
  
    .pdp-hero {
      flex-direction: column;
      gap: 28px;
      padding-top: 24px;
    }
    .pdp-gallery {
      flex: none;
      max-width: 100%;
      width: 100%;
      flex-direction: column-reverse;
      gap: 16px;
    }
    .thumbs-col {
      flex-direction: row;
      width: 100%;
      flex: none;
      gap: 8px;
      align-self: stretch;
      justify-content: center;
    }
    .thumbs-col.has-overflow .thumb-nav {
      display: flex;
    }
    .thumb-nav-up img { transform: rotate(180deg); }
    .thumb-nav-down img { transform: none; }
    .thumbs-viewport {
      width: auto;
      flex: 1 1 auto;
      height: 92px;
      overflow: hidden;
    }
    .thumbs-track {
      flex-direction: row;
      gap: 10px;
    }
    .thumb {
      flex: 0 0 100px;
      width: 100px;
      height: 88px;
    }
  
    .gallery-stage-wrap {
      flex: none;
      width: 100%;
      max-width: none;
      align-self: stretch;
      height: auto;
    }
    .gallery-stage {
      width: 100%;
      height: auto;
      min-height: 0;
      flex: none;
      aspect-ratio: 571 / 588;
    }
    .zoom-lens,
    .zoom-panel { display: none !important; }
    .gallery-stage { cursor: zoom-in; }
    .gallery-stage.is-zoomed .stage-img {
      transform-origin: var(--zx, 50%) var(--zy, 50%);
      transform: scale(2.2);
      transition: transform 200ms ease;
    }
  
    .pdp-info { max-width: none; }
    .pdp-title { font-size: 20px; }
    .ingredients-pill { font-size: 11px; }
    .feature-row { gap: 16px; }
    .feature-row li { font-size: 13px; }
    .pdp-v2-root .cta-row .btn { min-width: 0; flex: 1 1 140px; height: 48px; font-size: 14px; }
    .pdp-v2-root .btn .btn-ico { width: 28px; height: 28px; }
    .pdp-v2-root .btn .btn-ico img { width: 14px; height: 14px; }
  
    .price-pill {
      width: 100%;
      max-width: 100%;
      gap: 10px;
      min-height: 46px;
      padding: 6px 12px 6px 16px;
      box-shadow: 0 5px 0 0 var(--brown);
    }
    .price-pill .price { font-size: 22px; }
    .price-pill .mrp { font-size: 13px; }
    .price-pill .offer { font-size: 11px; padding: 5px 10px; }
  
    .trust-strip {
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
      max-width: none;
      padding: 16px;
      border-radius: 14px;
    }
    .trust-strip > li { flex: none; }
    .trust-strip .trust-divider {
      width: 100%;
      max-width: none;
      height: 1px;
      min-height: 1px;
      align-self: stretch;
    }
    .trust-ico { width: 36px; height: 36px; flex-basis: 36px; }
    .trust-ico img { width: 18px; height: 18px; }
    .trust-text strong { font-size: 13px; }
    .trust-text > span { font-size: 11px; }
  
    .science { margin-top: 36px; padding: 36px 0 40px; }
    .section-title { font-size: 22px; }
    .section-sub { font-size: 14px; }
    .science-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .science-grid li:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
    .science-ico { width: 56px; height: 56px; }
    .science-ico img { width: 32px; height: 32px; }
    .science-ico--pure .pure-pct { font-size: 16px; }
    .science-grid p { font-size: 13px; }
  
    .tabs { margin-top: 32px; }
    .tab-list { gap: 20px; overflow-x: auto; }
    .tab { font-size: 15px; white-space: nowrap; }
  
    .benefits-list { grid-template-columns: 1fr; gap: 12px; }
    .text-block h2 { font-size: 18px; }
    .text-block p,
    .benefits-list li,
    .details-list li { font-size: 14px; }
  
    .clinical { margin-top: 28px; padding: 36px 0 40px; }
    .clinical-grid { flex-direction: column; gap: 16px; }
    .clinical-visual {
      flex: none;
      width: 100%;
      max-width: none;
      min-height: 280px;
    }
    .stat-grid { gap: 12px; }
    .stat { padding: 22px 14px; min-height: 120px; border-radius: 14px; }
    .stat b { font-size: 28px; }
    .stat p { font-size: 13px; max-width: none; }
  
    .related { margin-top: 40px; }
    .related-grid {
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .pc-media { height: 220px; }
  
    .faq { margin-top: 40px; }
    .faq-item { margin-top: 12px; border-radius: 12px; }
    .faq-q { min-height: 56px; font-size: 14px; padding: 14px 16px; }
    .faq-q .chev { width: 18px; height: 18px; }
    .faq-a { padding: 12px 16px 16px; }
    .faq-a p { font-size: 13px; line-height: 1.6; }
  }
  
  @media (min-width: 901px) and (max-width: 1200px) {
    .zoom-panel {
      width: 300px;
      height: 300px;
    }
  }
  