/* Selected Simple Assurance product design, connected to the storefront. */
.pd-top{max-width:1600px;width:100%;margin:0 auto;padding:38px 4% 50px;border-radius:0}
.pd-top .product-layout{max-width:none;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(24px,3vw,48px)}
.pd-top .product-info{display:block;width:100%;max-width:610px;min-width:0}
.pd-top .product-info h1{font-size:36px;line-height:1.12;letter-spacing:-1px;margin:0 0 20px;color:#171719}
.pd-top .pd-rating-link{font-size:15px;gap:8px;margin-bottom:34px}
.pd-top .pd-rating-link .pd-stars{font-size:24px}
.pd-top .gallery{max-width:none;width:100%;align-self:start}
.pd-top .pd-gallery-grid{grid-template-columns:76px minmax(0,1fr);gap:20px}
.pd-top .main-photo{grid-column:2;grid-row:1;position:relative;width:100%;aspect-ratio:1;min-height:0;border-radius:17px;background:#f4f5f4}
.pd-top .main-photo img{position:absolute;left:2%;top:2%;width:96%;height:96%;aspect-ratio:auto;max-height:none;object-fit:contain}
.pd-top .thumbs{grid-column:1;grid-row:1;flex-direction:column;gap:14px}
.pd-top .thumbs button{width:76px;height:76px;flex:0 0 76px;border-radius:8px;border:1px solid #e1dce5;padding:5px}
.pd-top .thumbs button[aria-pressed=true]{border:2px solid #0bb45b}
.pd-top .pd-gallery-grid>.pd-report-link{display:flex;grid-column:2;grid-row:2;margin:4px auto 0;border:0;padding:0;font-size:15px;color:#8424d8}
.pd-top .pd-report-mobile{display:none!important}
.pd-top #product-form,.pd-top .pd-facts,.pd-top .pd-ingredients{max-width:none;width:100%}
.pd-top .variant-options{gap:12px}
.pd-top .variant>span,.pd-top .variant:first-child>span,.pd-top .variant:last-child>span{min-height:149px;padding:21px 8px 13px;border-radius:16px}
.pd-top .variant .pd-pack-size{font-size:16px}
.pd-top .variant strong{font-size:27px;letter-spacing:-.8px;margin:7px 0 4px}
.pd-top .variant small:last-child{font-size:12px;padding-top:6px}
.pd-top .variant .pd-pack-label{font-size:12px;padding:5px 12px;border-radius:7px}
.pd-top .variant .pd-save{font-size:12px;padding:4px 10px;line-height:1.2}
.pd-top .purchase-row{margin-top:20px;max-width:510px}
.pd-top .purchase-row .button{min-height:58px;padding:15px 18px;font-size:19px;gap:13px}
.pd-top #product-price{display:inline;font-size:17px}
.pd-top .pd-stock{max-width:510px;background:#eff9f3;border:0;border-left:3px solid #0bb45b;border-radius:0 8px 8px 0;padding:13px 16px;margin-top:22px;font-size:14px}
.pd-top .pd-assurance-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:none;margin:24px 0 28px;color:#29262f;line-height:1.45}
.pd-top .pd-assurance-tiles>div,.pd-top .pd-assurance-tiles>a{display:flex;align-items:center;gap:12px;border:1px solid #e0e8e2;border-radius:11px;padding:17px 12px;font-size:14px;min-width:0;text-decoration:none}
.pd-top .pd-assurance-tiles svg,.pd-top .pd-assurance-tiles img{width:24px;height:24px;flex:0 0 24px;fill:none;stroke:#238454;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;margin:0}
.pd-top .pd-assurance-tiles strong{color:#08783f;font-weight:650}
.pd-top .pd-facts{gap:12px;margin:0}
.pd-top .pd-facts>.pd-fact-card{padding:17px 12px;border-radius:14px;border-color:#e0cfef}
.pd-top .pd-facts .pd-fact-heading{margin-bottom:20px;white-space:normal}
.pd-top .pd-facts .pd-fact-heading span{font-size:13px}
.pd-top .pd-facts .pd-fact-value strong{font-size:34px}
.pd-top .pd-facts .pd-fact-value span{font-size:14px}
.pd-top .pd-ingredients{margin-top:22px;padding:20px;background:#f8fbfe;border-top:2px solid #3da6cd;border-radius:15px}
.pd-top .pd-ingredients h2,.pd-top .pd-ingredients .pd-ingredient-line{font-size:15px}
.pd-top .pd-purity-number{font-size:22px}
.pd-top .product-info>.pd-free-from{margin:12px 0 0;font-size:12px;max-width:none}
.pd-reviews-next{background:none;cursor:pointer;margin-top:16px;scroll-margin-top:30px}
.pd-reviews .pd-review-grid{scroll-margin-top:80px}
@media(min-width:801px){.pd-top .gallery{position:sticky;top:calc(var(--site-header-height) + 12px)}.pd-top .main-photo{max-height:calc(100dvh - var(--site-header-height) - 98px)}}
@media(max-width:1399.98px){.pd-top .pd-gallery-grid{grid-template-columns:1fr;gap:16px}.pd-top .main-photo{grid-column:1;grid-row:1}.pd-top .thumbs{grid-column:1;grid-row:2;flex-direction:row;justify-content:center;flex-wrap:wrap;gap:12px}.pd-top .pd-gallery-grid>.pd-report-link{grid-column:1;grid-row:3;margin:0 auto}}
@media(min-width:801px) and (max-width:1399.98px){.pd-top .main-photo{max-height:calc(100dvh - var(--site-header-height) - 208px)}}
@media(min-width:801px) and (max-width:1100px){.pd-top{padding-inline:3%}.pd-top .product-layout{gap:3%;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr)}.pd-top .product-info h1{font-size:30px}.pd-top .variant strong{font-size:22px}.pd-top .pd-assurance-tiles>div,.pd-top .pd-assurance-tiles>a{font-size:12px;padding:12px 9px}}
@media(max-width:800px){.pd-top{padding:20px}.pd-top .product-layout{grid-template-columns:1fr;gap:28px}.pd-top .product-info{display:block;max-width:none}.pd-top .gallery{position:static;grid-row:auto;grid-column:auto}.pd-top .main-photo{aspect-ratio:1;max-height:none}.pd-top .thumbs button{width:66px;height:66px;flex-basis:66px}.pd-top .product-info h1{font-size:30px}.pd-top .pd-rating-link{font-size:13px;margin-bottom:30px}.pd-top .purchase-row,.pd-top .pd-stock,.pd-top .pd-assurance-tiles{max-width:none}.pd-top .pd-gallery-grid>.pd-report-link{font-size:13px}}
@media(max-width:480px){.pd-top .variant-options{gap:8px}.pd-top .variant>span,.pd-top .variant:first-child>span,.pd-top .variant:last-child>span{min-height:137px;padding:20px 4px 12px}.pd-top .variant .pd-pack-size{font-size:13px}.pd-top .variant strong{font-size:clamp(17px,4.7vw,21px)}.pd-top .variant small:last-child{font-size:10px}.pd-top .variant .pd-pack-label{font-size:10px;padding:4px 7px}.pd-top .pd-assurance-tiles>div,.pd-top .pd-assurance-tiles>a{font-size:12px;padding:12px 9px;gap:8px}.pd-top .pd-facts{gap:8px}.pd-top .pd-facts>.pd-fact-card{padding:14px 8px}.pd-top .pd-facts .pd-fact-heading{flex-direction:column;align-items:flex-start;gap:7px}.pd-top .pd-facts .pd-fact-heading span{font-size:11px}.pd-top .pd-facts .pd-fact-value strong{font-size:28px}.pd-top .pd-facts .pd-fact-value span{font-size:11px}.pd-top .pd-ingredients{padding:15px}.pd-top .purchase-row .button{font-size:18px}.pd-top #product-price{font-size:15px}}
@media(max-width:360px){.pd-top .variant>span,.pd-top .variant:first-child>span,.pd-top .variant:last-child>span{display:flex;min-height:130px}.pd-top .pd-facts .pd-fact-heading{flex-direction:row;align-items:center;margin:0}}

.pd-top .pd-product-heading .pd-rating-link{margin-bottom:34px}

/* Product-specific laboratory report, using the homepage's light palette. */
.pd-import #products_why_third.pd-testing-light{display:grid;grid-template-columns:1.1fr 1fr;gap:32px 56px;padding:40px 0;background:none;border:0;border-radius:0;box-shadow:none;color:#372945;align-items:center}
.pd-testing-light .pd-lab-intro{min-width:0}
.pd-testing-light .pd-lab-eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700;letter-spacing:.15em;color:#8656a6;margin:0 0 24px;line-height:1.4}
.pd-testing-light .pd-lab-eyebrow svg{width:36px;height:36px;padding:8px;box-sizing:content-box;background:#f0e8f8;border-radius:50%;fill:none;stroke:currentColor}
.pd-import #products_why_third.pd-testing-light h3{color:#372945;font-size:clamp(30px,3vw,46px);font-weight:500;line-height:1.15;letter-spacing:-.035em;margin:0 0 26px}
.pd-testing-light h3 em{font-family:Georgia,serif;font-style:italic;color:#8653aa;font-weight:400}
.pd-testing-light .pd-lab-intro>p:not(.pd-lab-eyebrow){font-size:16px;line-height:1.8;color:#7b7085;max-width:52ch;margin:0}
.pd-import .pd-testing-light .pd-lab-link{background:#9019ff;color:#fff;border-radius:30px;padding:14px 22px;font-size:14px;display:inline-flex;gap:24px;margin-top:28px}
.pd-import .pd-testing-light .pd-lab-link:hover{background:#7613d8}
.pd-testing-light .pd-lab-certificate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#f8f6f2;border-radius:24px;padding:28px;text-decoration:none;color:#867091}
.pd-testing-light .pd-lab-certificate>span:first-child{font-size:10px;letter-spacing:.16em;font-weight:600}
.pd-testing-light .pd-lab-certificate img{display:block;width:235px;height:320px;object-fit:contain;filter:drop-shadow(0 12px 12px #352a4315);transition:transform .2s}
.pd-testing-light .pd-lab-certificate>span:last-child{font-size:12px}
.pd-testing-light .pd-lab-certificate:hover img{transform:translateY(-3px)}
.pd-testing-light .pd-lab-checks{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pd-testing-light .pd-lab-checks>div{padding:24px;border-radius:18px;background:#f1eafa}
.pd-testing-light .pd-lab-checks>div:nth-child(2){background:#edf3e9}
.pd-testing-light .pd-lab-checks>div:nth-child(3){background:#fcf0e6}
.pd-testing-light .pd-lab-checks svg{width:25px;height:25px;fill:none;stroke:#8653aa;margin-bottom:14px}
.pd-testing-light .pd-lab-checks>div:nth-child(2) svg{stroke:#6b8c52}
.pd-testing-light .pd-lab-checks>div:nth-child(3) svg{stroke:#af8048}
.pd-testing-light .pd-lab-checks h4{font-size:16px;color:#372945;margin:0 0 8px}
.pd-testing-light .pd-lab-checks p{font-size:13px;line-height:1.6;color:#7b7085;margin:0}
@media(max-width:800px){.pd-import #products_why_third.pd-testing-light{grid-template-columns:1fr;gap:26px;padding:20px 0}.pd-testing-light .pd-lab-certificate{padding:25px}.pd-testing-light .pd-lab-checks{gap:10px}.pd-testing-light .pd-lab-checks>div{padding:18px 14px}}
@media(max-width:500px){.pd-testing-light .pd-lab-checks{grid-template-columns:1fr}.pd-testing-light .pd-lab-checks>div{display:grid;grid-template-columns:30px 1fr;gap:4px 12px}.pd-testing-light .pd-lab-checks svg{grid-row:1/3;margin:0}.pd-testing-light .pd-lab-checks p{grid-column:2}.pd-testing-light .pd-lab-checks h4{margin:0}.pd-testing-light .pd-lab-certificate img{width:220px;height:300px}}
@media(prefers-reduced-motion:reduce){.pd-testing-light .pd-lab-certificate img{transition:none}}
#home-redesign .hr-review-next{background:transparent;font:inherit;cursor:pointer}

/* Scale pack typography to each card, including narrow desktop columns. */
.pd-top .variant{container-type:inline-size;min-width:0}
.pd-top .variant>span,.pd-top .variant:first-child>span,.pd-top .variant:last-child>span{padding-inline:8px;min-width:0}
.pd-top .variant strong{font-size:clamp(14px,14cqw,24px);line-height:1.25;letter-spacing:-.035em;white-space:nowrap;max-width:100%}
.pd-top .variant .pd-pack-size{font-size:clamp(11px,9cqw,15px);line-height:1.4;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.pd-top .variant small:last-child{font-size:clamp(9px,7cqw,11px);line-height:1.4;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.pd-top .variant .pd-pack-label{font-size:clamp(9px,7cqw,11px);line-height:1.3;padding:5px clamp(5px,5cqw,10px);white-space:nowrap;max-width:calc(100% - 8px)}
.pd-top .variant .pd-save{font-size:clamp(9px,7cqw,11px);line-height:1.3;padding:4px clamp(5px,5cqw,9px);white-space:nowrap;max-width:100%}
@media(max-width:360px){.pd-top .variant>span,.pd-top .variant:first-child>span,.pd-top .variant:last-child>span{display:grid;min-height:100px;padding:20px 14px 12px}.pd-top .variant strong{font-size:22px}.pd-top .variant .pd-pack-size{font-size:14px}.pd-top .variant small:last-child{font-size:11px}}

/* Keep tablet placement consistent with the selected two-column layout. */
@media(min-width:801px){.pd-top .gallery{grid-column:1;grid-row:1}.pd-top .product-info{grid-column:2;grid-row:1;display:block}}
@media(max-width:800px){.pd-top .gallery{grid-column:1;grid-row:1}.pd-top .product-info{grid-column:1;grid-row:2;display:block;max-width:none}}

/* A restrained button treatment for the product lab report. */
.pd-top .pd-gallery-grid>.pd-report-link{padding:10px 16px;border:1px solid #e2cff4;border-radius:10px;background:#f8f3fd;text-decoration:none;line-height:1.4;gap:9px;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.pd-top .pd-gallery-grid>.pd-report-link svg{width:20px;height:20px;flex-shrink:0}
.pd-top .pd-gallery-grid>.pd-report-link:hover{background:#f0e5fa;border-color:#cda8eb;box-shadow:0 2px 6px rgba(93,43,133,.07)}
.pd-top .pd-gallery-grid>.pd-report-link:focus-visible{outline:2px solid #8424d8;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.pd-top .pd-gallery-grid>.pd-report-link{transition:none}}

/* A short range dash with equal optical spacing, scaled with the number. */
.pd-top .pd-facts .pd-fact-value strong .pd-dose-dash{display:inline-block;font:inherit;font-style:normal;letter-spacing:0;width:.32em;margin-inline:.09em;text-align:center}

/* Horizontal image swipes leave page scrolling and pinch zoom available. */
.pd-top .main-photo.pd-swipe-gallery{touch-action:pan-y pinch-zoom}
.pd-top .main-photo.pd-swipe-gallery img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.pd-gallery-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Follow the pointer with composited transforms; reveal the adjacent photograph. */
.pd-top .main-photo.pd-swipe-gallery{position:relative;cursor:grab}
.pd-top .main-photo.pd-swipe-dragging{cursor:grabbing}
.pd-top .main-photo .pd-gallery-neighbor{position:absolute;left:50%;top:50%;pointer-events:none}
.pd-top .main-photo .pd-gallery-neighbor[hidden]{display:none}
.pd-top .main-photo.pd-swipe-settling img{transition:transform 240ms cubic-bezier(.22,.61,.36,1)}
.pd-top .main-photo.pd-swipe-dragging img,.pd-top .main-photo.pd-swipe-settling img{will-change:transform}
@media(prefers-reduced-motion:reduce){.pd-top .main-photo.pd-swipe-settling img{transition:none}}

/* Match the neutral background already present in the single-bottle photos. */
.pd-top .main-photo,.pd-top .thumbs button,.pd-top .thumbs button[aria-pressed="true"]{background:#f3f5f4;isolation:isolate}
/* Darken blends only the lighter image pixels into the surrounding grey. */
.pd-top .gallery img[src*="assets/product-packs/"]{mix-blend-mode:darken}
#bag .cart-item-image:has(img[src*="assets/product-packs/"]),.checkout-image:has(img[src*="assets/product-packs/"]){background:#f3f5f4;isolation:isolate}
#bag .cart-item-image img[src*="assets/product-packs/"],.checkout-image img[src*="assets/product-packs/"]{mix-blend-mode:darken}

/* One shared column for the photo, thumbnails and laboratory report.
   Size the square from its width; viewport height must not squash it. */
.pd-top.product-page .product-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;max-width:none;margin:0}
.pd-top.product-page .gallery{grid-column:1;grid-row:1;position:static;top:auto;width:100%;max-width:none;min-width:0;align-self:start}
.pd-top.product-page .product-info{grid-column:2;grid-row:1;display:block;width:100%;max-width:none;min-width:0}
.pd-top.product-page .pd-gallery-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;min-width:0}
.pd-top.product-page .main-photo{grid-column:1;grid-row:1;width:100%;height:auto;aspect-ratio:1;max-width:none;max-height:none;min-height:0;margin:0;box-sizing:border-box}
.pd-top.product-page .thumbs{grid-column:1;grid-row:2;display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;gap:12px;width:100%;max-width:none;min-width:0;margin:0;padding:0;box-sizing:border-box}
.pd-top.product-page .pd-gallery-grid>.pd-report-link{grid-column:1;grid-row:3;justify-self:center;max-width:100%;margin:0;box-sizing:border-box}
/* Leave room for the overlapping badge without an oversized empty top area. */
.pd-top.product-page .pd-bottle-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.pd-top.product-page .pd-bottle-offers .variant>span{padding-top:22px}
/* A gallery that fits can stay visible; taller galleries scroll normally. */
@media(min-width:801px){.pd-top.product-page .gallery.pd-gallery-fits{position:sticky;top:calc(var(--site-header-height) + 12px)}}
@media(max-width:800px){
 .pd-top.product-page .product-layout{grid-template-columns:minmax(0,1fr);max-width:none;margin-inline:0;gap:24px}
 .pd-top.product-page .product-info{grid-column:1;grid-row:2}
}
@media(max-width:1000px){.pd-faq-grid>*{min-width:0;overflow-wrap:anywhere}}

/* Wide screens: thumbnail rail to the left; retain the stacked gallery through 1400px. */
@media(width > 1400px){
 .pd-top.product-page .pd-gallery-grid{grid-template-columns:76px minmax(0,1fr);column-gap:20px;align-items:start}
 .pd-top.product-page .main-photo{grid-column:2;grid-row:1}
 .pd-top.product-page .thumbs{grid-column:1;grid-row:1;flex-direction:column;justify-content:flex-start;flex-wrap:nowrap;gap:14px;align-items:center}
 .pd-top.product-page .pd-gallery-grid>.pd-report-link{grid-column:2;grid-row:2}
}
