:root {
    --ink: #080d0a;
    --green-950: #061b10;
    --green-900: #0a2d19;
    --green-700: #176b3a;
    --green-500: #35a85f;
    --green-300: #94e6ae;
    --steel-100: #edf0ed;
    --steel-200: #d4d9d5;
    --paper: #f8faf8;
    --white: #fff;
    --line: rgba(255, 255, 255, .15);
    --shadow: 0 20px 50px rgba(3, 19, 10, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
.staging-banner { padding: 7px 16px; background: #b6ff43; color: #122008; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.research-strip { padding: 9px 20px; background: #020704; color: var(--steel-100); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-align: center; }
.site-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 104px; padding: 8px clamp(18px, 4vw, 64px); border-bottom: 1px solid rgba(8, 45, 25, .12); background: rgba(248, 250, 248, .94); backdrop-filter: blur(15px); }
.brand { display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; }
.brand-logo-plate { display: grid; width: 84px; height: 84px; flex: 0 0 84px; place-items: center; overflow: hidden; border: 1px solid rgba(61, 137, 86, .3); border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(4, 47, 24, .13); }
.brand-logo-plate img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.brand-name { margin-left: 12px; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; line-height: 1; }
.primary-nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); }
.primary-nav a, .primary-nav .nav-label { font-size: 17px; font-weight: 800; line-height: 1.25; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--green-700); }
.primary-nav .is-inactive { color: #647168; cursor: default; opacity: .78; }
.menu-toggle { min-height: 42px; padding: 9px 15px; border: 1px solid #89968e; border-radius: 4px; background: var(--green-950); color: var(--white); font-weight: 850; }
.cart-trigger { position: relative; display: grid; width: 58px; height: 54px; padding: 3px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--green-950); cursor: pointer; }
.cart-trigger:hover { background: rgba(53, 168, 95, .1); color: var(--green-700); }
.cart-trigger:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }
.cart-basket-icon { display: block; width: 48px; height: 44px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.cart-basket-count { position: absolute; top: 23px; left: 50%; display: grid; min-width: 22px; height: 18px; padding: 0 4px; place-items: center; transform: translate(-50%, -50%); border-radius: 9px; background: var(--green-300); color: var(--green-950); font-size: 12px; font-weight: 950; line-height: 1; }
.menu-toggle { display: none; }
.hero { position: relative; display: grid; min-height: 630px; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: clamp(24px, 5vw, 72px); overflow: hidden; padding: clamp(70px, 9vw, 130px) clamp(20px, 7vw, 110px); background: linear-gradient(90deg, #174c2d 0%, #103820 28%, #011708 56%, #011708 100%); color: var(--white); }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--green-500); font-size: 12px; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy > .eyebrow { margin-bottom: 16px; color: var(--green-300); font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1; text-transform: none; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5.2vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.hero-copy > p:not(.eyebrow) { max-width: 640px; margin: 25px 0 0; color: #d6ded8; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 900; letter-spacing: .03em; text-decoration: none; }
.button-primary { border-color: #8de0a8; background: var(--green-500); color: #04130a; }
.button-secondary { border-color: #7e8f83; background: rgba(255,255,255,.06); color: var(--white); }
.hero-visual { display: grid; min-height: 520px; place-items: center; }
.hero-visual img { display: block; width: min(540px, 100%); height: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 98%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 98%, transparent); mask-composite: intersect; }
.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(180deg, #f5f7f5, #cdd3cf); border-bottom: 1px solid #aeb8b1; }
.fact-strip div { padding: 23px 28px; border-right: 1px solid #b7c0ba; text-align: center; }
.fact-strip div:last-child { border-right: 0; }
.fact-strip strong, .fact-strip span { display: block; }
.fact-strip strong { color: var(--green-900); font-size: 16px; }
.fact-strip span { margin-top: 3px; color: #516057; font-size: 12px; }
.catalog-section, .coa-preview { padding: clamp(70px, 8vw, 120px) clamp(20px, 6vw, 90px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2, .coa-preview h2 { margin: 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.035em; }
.catalog-search { display: grid; gap: 6px; color: #526158; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-search input { width: min(300px, 70vw); min-height: 44px; padding: 9px 12px; border: 1px solid #aab4ad; background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid #c6cec8; border-radius: 5px; background: var(--white); box-shadow: 0 12px 32px rgba(5, 32, 16, .08); }
.product-image { display: grid; min-height: 315px; place-items: center; padding: 28px; background: rgba(226, 240, 231, .72); }
.product-image img { width: 100%; height: 275px; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(7, 32, 17, .14)); }
.product-card-body { padding: 20px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: #66746b; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.product-card h3 { min-height: 58px; margin: 13px 0 5px; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 500; line-height: 1.15; }
.product-category { margin: 0; color: #6a766e; font-size: 13px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #e0e4e1; }
.product-card-footer strong { font-size: 22px; }
.product-card-footer button { min-height: 40px; padding: 8px 13px; border: 0; background: var(--green-700); color: #fff; font-size: 12px; font-weight: 850; }
.product-card-footer button:disabled { opacity: .65; }
.footer-brand img { display: block; width: 185px; height: 185px; margin-bottom: 18px; border-radius: 50%; background: #fff; object-fit: contain; }
.coa-preview { position: relative; display: block; background: linear-gradient(120deg, #e7ebe8, #fff); }
.coa-preview p:not(.eyebrow) { max-width: 630px; color: #556259; }
.coa-preview .button { color: #061b10; }
.coa-preview-copy { position: relative; width: calc(50% - 30px); }
.coa-preview-copy > p:not(.eyebrow) span { display: block; }
.coa-preview-copy .button { position: absolute; top: calc(100% + 4px); left: 0; }
.coa-preview-usa-copy { position: absolute; top: clamp(70px, 8vw, 120px); right: clamp(20px, 6vw, 90px); bottom: 0; left: calc(50% + 30px); display: grid; grid-template-rows: auto 1fr auto 1fr; justify-items: end; text-align: right; }
.coa-preview-flag { display: block; width: 210px; height: 183px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 4px; box-shadow: 0 7px 18px rgba(3, 19, 10, .28); object-fit: cover; object-position: center; }
.coa-preview-usa-text { grid-row: 3; }
.coa-preview-usa-copy p { margin: 0; color: #556259; font-family: inherit; font-size: 16px; font-weight: 400; letter-spacing: normal; line-height: 1.5; }
.coa-preview-usa-copy p + p { margin-top: 10px; }
.footer-disclaimer-band { display: grid; padding: 42px clamp(20px, 6vw, 90px); place-items: center; border-top: 1px solid #c6cec8; background: linear-gradient(120deg, #e7ebe8, #fff); }
.site-footer { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(220px, .55fr); align-items: start; gap: 38px clamp(40px, 8vw, 120px); padding: 48px clamp(20px, 5vw, 72px) 55px; background: #020704; color: #d7ded9; }
.site-footer strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.site-footer p { max-width: 620px; }
.footer-brand p { width: max-content; max-width: 100%; margin: 0; font-size: 15px; line-height: 1.75; }
.site-footer nav { display: grid; grid-template-columns: 1fr; align-content: start; justify-self: end; gap: 20px; min-width: 220px; }
.site-footer a { color: #f0f5f1; font-size: 17px; font-weight: 800; line-height: 1.3; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--green-300); }
.footer-disclaimer { width: min(100%, 900px); margin: 0; padding: 28px 0; border-top: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700); color: #17251c; }
.footer-disclaimer h2 { margin: 0 0 20px; color: var(--green-900); font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.025em; }
.footer-disclaimer p { max-width: none; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.65; }
.footer-disclaimer p + p { margin-top: 17px; }
.footer-warning { grid-column: 1 / -1; width: 100%; max-width: none !important; margin: 8px 0 0; padding-top: 25px; border-top: 1px solid var(--line); color: var(--green-300); font-size: 16px; font-weight: 850; letter-spacing: .04em; line-height: 1.5; text-align: center; }

.footer-usa { align-self: center; justify-self: center; width: 100%; max-width: 360px; text-align: center; }
.footer-usa img { display: block; width: 140px; height: 122px; margin: 0 auto 18px; border-radius: 4px; object-fit: cover; }
.footer-usa p { margin: 0; line-height: 1.6; text-wrap: balance; }
.footer-usa .footer-usa-testing { color: #fff; font-size: 18px; font-weight: 800; }
.footer-usa .footer-usa-warehouse { margin-top: 7px; font-size: 15px; }
@media (min-width: 1101px) {
    body[data-view="catalog"] .site-footer { grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr) minmax(0, 1fr); column-gap: 32px; }
}
@media (max-width: 1100px) {
    body[data-view="catalog"] .footer-usa { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 700px) {
    body[data-view="catalog"] .footer-usa { grid-row: auto; }
}

@media (max-width: 1100px) {
    .site-footer { grid-template-columns: minmax(240px, 1fr) minmax(200px, .55fr); }
}

@media (max-width: 1120px) {
    .site-header { grid-template-columns: auto auto auto; }
    .menu-toggle { display: block; justify-self: end; }
    .primary-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; padding: 18px; border: 1px solid #aeb8b1; background: #fff; box-shadow: var(--shadow); }
    .primary-nav.is-open { display: grid; gap: 12px; }
    .hero { min-height: auto; grid-template-columns: 1fr 360px; }
    .coa-preview-copy { width: calc(50% - 20px); }
    .coa-preview-usa-copy { left: calc(50% + 20px); }
    .coa-preview-flag { width: 180px; height: 157px; }
    .coa-preview-usa-copy p { font-size: 16px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .site-header { grid-template-columns: 1fr auto; gap: 10px; }
    .cart-trigger { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 72px; }
    .hero-visual { min-height: 390px; }
    .fact-strip, .site-footer { grid-template-columns: 1fr; }
    .fact-strip div { border-right: 0; border-bottom: 1px solid #b7c0ba; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .section-heading { display: grid; }
    .coa-preview-copy { width: calc(50% - 12px); }
    .coa-preview-usa-copy { left: calc(50% + 12px); }
    .coa-preview-flag { width: 124px; height: 108px; }
    .coa-preview-usa-copy p { font-size: 16px; }
    .catalog-search input { width: 100%; }
    .product-grid { grid-template-columns: 1fr; }
    .site-footer nav { grid-column: auto; justify-self: start; }
    .footer-disclaimer-band { padding-block: 26px; }
    .footer-disclaimer { padding: 22px 0; }
    .footer-disclaimer p { font-size: 14px; line-height: 1.6; }
    .footer-brand img { width: 165px; height: 165px; }
    .footer-warning { font-size: 15px; }
}

@media (max-width: 480px) {
    .site-header { min-height: 76px; }
    .brand-logo-plate { width: 60px; height: 60px; flex-basis: 60px; }
    .brand-name { margin-left: 8px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.text-link { color: var(--green-700); font-size: 14px; font-weight: 900; }
.featured-catalog-link { font-size: 21px; }
.product-card h3 a { text-decoration: none; }
.page-main { min-height: 65vh; }
.page-hero { padding: 80px clamp(20px, 7vw, 110px); background: linear-gradient(125deg, #020704, var(--green-950) 62%, #143c25); color: #fff; }
.compact-hero { min-height: 350px; display: grid; align-content: center; }
.page-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 6vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.page-hero > p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: #cbd5ce; font-size: 18px; }
.catalog-page { padding-top: 45px; }
.catalog-tools { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; padding: 18px; border: 1px solid #c7d0ca; background: #fff; }
.catalog-tools label, .coa-tool > label { display: grid; flex: 1; gap: 7px; color: #4f5d54; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-tools input, .coa-tool input, .option-select select, .purchase-row input { min-height: 46px; padding: 10px 12px; border: 1px solid #97a59c; background: #fff; color: var(--ink); }
.catalog-tools span { color: #526158; font-size: 13px; }
.empty-state { padding: 30px; border: 1px dashed #98a49c; background: #fff; text-align: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px clamp(20px, 6vw, 90px); background: #eef1ef; color: #546158; font-size: 12px; }
.product-detail { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(380px, 1.05fr); gap: clamp(40px, 7vw, 100px); padding: clamp(55px, 7vw, 100px) clamp(20px, 7vw, 110px); }
.product-detail-image { display: grid; min-height: 570px; place-items: center; padding: 45px; background: rgba(226, 240, 231, .72); box-shadow: var(--shadow); }
.product-detail-image img { width: 100%; height: 500px; object-fit: contain; filter: drop-shadow(0 25px 18px rgba(7, 32, 17, .18)); }
.product-detail-copy { align-self: center; }
.product-detail-copy h1 { margin: 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.detail-sku { color: #65736a; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.detail-price { margin: 22px 0 10px; font-size: 36px; font-weight: 900; }
.stock-pill { display: inline-block; margin: 0 0 22px; padding: 6px 10px; border: 1px solid #7fb28d; background: #e2f4e7; color: #15542c; font-size: 12px; font-weight: 850; }
.option-select { display: grid; gap: 8px; margin: 18px 0; color: #4f5d54; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.implementation-note { padding: 12px 14px; border-left: 3px solid var(--green-500); background: #edf3ef; color: #526158; font-size: 12px; }
.purchase-row { display: flex; align-items: end; gap: 12px; margin: 25px 0; }
.purchase-row label { display: grid; gap: 6px; color: #4f5d54; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.purchase-row input { width: 85px; }
.purchase-row .button { color: #061b10; }
.coa-link { display: inline-flex; min-height: 45px; align-items: center; padding: 9px 14px; border: 1px solid #8d9a91; color: var(--green-900); font-size: 13px; font-weight: 900; text-decoration: none; }
.no-coa { color: #5d675f; font-style: italic; }
.research-notice { margin-top: 24px; padding-top: 18px; border-top: 1px solid #cdd4cf; color: #294833; font-size: 12px; font-weight: 850; }
.detail-sections { display: grid; grid-template-columns: 1.2fr .8fr; gap: 25px; padding: 0 clamp(20px, 7vw, 110px) 100px; }
.detail-sections article { padding: 28px; border: 1px solid #c6cec8; background: #fff; }
.detail-sections h2 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.detail-sections dl div { display: flex; justify-content: space-between; gap: 25px; padding: 8px 0; border-bottom: 1px solid #e1e5e2; }
.detail-sections dt { color: #617067; }
.detail-sections dd { margin: 0; font-weight: 800; text-align: right; }
.coa-tool, .cart-page { padding: clamp(50px, 7vw, 90px) clamp(20px, 7vw, 110px); }
.coa-tool > label { max-width: 720px; margin-bottom: 28px; }
.coa-results { display: grid; gap: 10px; }
.coa-results article { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #c3ccc6; background: #fff; }
.coa-results strong, .coa-results span { display: block; }
.coa-results span { margin-top: 4px; color: #67746c; font-size: 11px; }
.coa-results a { color: var(--green-700); font-size: 13px; font-weight: 900; }
.cart-drawer { position: fixed; z-index: 50; top: 0; right: 0; width: min(440px, 92vw); height: 100dvh; overflow-y: auto; padding: 25px; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.28); transform: translateX(105%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-head h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; }
.cart-drawer-head button { width: 42px; height: 42px; border: 1px solid #aeb8b1; background: #fff; font-size: 28px; }
.staging-note { padding: 10px; background: #eff7f1; color: #395443; font-size: 12px; }
.drawer-scrim { position: fixed; z-index: 45; inset: 0; display: none; border: 0; background: rgba(0, 0, 0, .52); }
.drawer-scrim.is-open { display: block; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid #dce2de; }
.cart-line strong, .cart-line span { display: block; }
.cart-line span { color: #68756d; font-size: 12px; }
.cart-line-controls { display: flex; align-items: center; gap: 8px; }
.cart-line-controls button { width: 32px; height: 32px; border: 1px solid #98a59c; background: #fff; }
.cart-line-price { align-self: center; font-weight: 900; }
.cart-drawer-total, .cart-summary { display: flex; justify-content: space-between; gap: 20px; margin: 24px 0; padding-top: 18px; border-top: 2px solid var(--green-950); font-size: 20px; }
.cart-drawer .button { width: 100%; color: #061b10; }
.cart-page { max-width: 1100px; margin: 0 auto; }
.cart-page .cart-line { grid-template-columns: 1fr auto auto; padding: 20px; border: 1px solid #ccd4cf; border-bottom: 0; background: #fff; }
.cart-page .cart-line:last-child { border-bottom: 1px solid #ccd4cf; }
.cart-page-actions { display: flex; justify-content: flex-end; gap: 12px; }
.dark-button { border-color: #66746b; color: var(--green-950); }
.cart-empty { padding: 35px; border: 1px dashed #9ba79f; background: #fff; text-align: center; }

@media (max-width: 850px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-detail-image { min-height: 440px; }
    .product-detail-image img { height: 380px; }
    .detail-sections { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .catalog-tools, .coa-results article, .purchase-row, .cart-page-actions { align-items: stretch; flex-direction: column; }
    .catalog-tools, .coa-results article { display: flex; }
    .purchase-row { display: grid; }
    .purchase-row input { width: 100%; }
    .cart-page .cart-line { grid-template-columns: 1fr auto; }
}

/* Center VIP 5mg when it is the only visible card in the final row. */
@media (min-width: 1121px) {
    body[data-view="catalog"] .product-grid > .product-card[data-product-name="VIP 5mg"]:last-child:nth-child(3n + 1 of :not([hidden])) {
        grid-column: 2;
    }
}
@media (min-width: 701px) and (max-width: 1120px) {
    body[data-view="catalog"] .product-grid > .product-card[data-product-name="VIP 5mg"]:last-child:nth-child(2n + 1 of :not([hidden])) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 24px) / 2);
    }
}
