/* Pepsoma — structural base shared by both versions.
   Themes set the variables below and add their own visual language on top. */
:root {
  --bg: #fff; --surface: #fff; --surface-2: #f6f6f6; --text: #111; --muted: #666; --line: #e5e5e5;
  --primary: #111; --primary-text: #fff; --secondary: #eee; --secondary-text: #111;
  --accent: #6b4dff; --success: #1f8f5f; --danger: #c43d3d; --focus: #6b4dff;
  --radius: 10px; --radius-lg: 18px; --radius-btn: 999px;
  --font-body: system-ui, sans-serif; --font-head: var(--font-body);
  --container: 1200px; --gutter: 24px; --header-h: 72px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.12; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: 96px; }
.section-sm { padding-block: 48px 88px; }
.center { text-align: center; }
.mt { margin-top: 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.stack { display: grid; gap: 20px; align-content: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pad { padding: 28px; }
.h3 { font-size: 1.3rem; }
.h4 { font-size: 1.05rem; }
.lead { font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
#view { min-height: 60vh; outline: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 26px; border-radius: var(--radius-btn); border: 1px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.1; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-primary { background: var(--primary); color: var(--primary-text); }
.btn-secondary { background: var(--secondary); color: var(--secondary-text); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: .8rem; }
.btn-lg { padding: 18px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; font-size: .85rem; color: var(--muted); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-row.three { grid-template-columns: 1.3fr 1fr .8fr; }
.label { font-size: .8rem; font-weight: 600; letter-spacing: .01em; }
.optional { font-weight: 400; color: var(--muted); }
.input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, box-shadow .15s; min-height: 48px; }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.input { resize: vertical; min-height: 110px; }
.hint { color: var(--muted); font-size: .78rem; }
.field-error { color: var(--danger); font-size: .78rem; min-height: 0; }
.field-error:empty { display: none; }
.is-invalid .input { border-color: var(--danger); }
.form-msg { color: var(--danger); font-size: .88rem; margin: 0 0 10px; }
.form-msg:empty { display: none; }
.field-check { margin-bottom: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9rem; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--line); border-radius: 6px; display: grid; place-items: center; background: var(--surface); transition: all .15s; margin-top: 1px; }
.check-box .icon { width: 14px; height: 14px; opacity: 0; stroke-width: 3; }
.check input:checked + .check-box { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.check input:checked + .check-box .icon { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--focus); outline-offset: 2px; }
.is-invalid .check-box { border-color: var(--danger); }
.stack-form .btn { margin-top: 6px; }
.fs { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.legend { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 0; }
.legend-n { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .8rem; background: var(--primary); color: var(--primary-text); }
.options { display: grid; gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; }
.option input { position: absolute; opacity: 0; }
.option-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: all .15s; }
.option input:checked ~ .option-dot { border: 6px solid var(--primary); }
.option:has(input:checked) { border-color: var(--primary); }
.option input:focus-visible ~ .option-dot { outline: 2px solid var(--focus); outline-offset: 2px; }
.option-body { flex: 1; display: grid; }
.option-title { font-weight: 600; font-size: .95rem; }
.option-sub { color: var(--muted); font-size: .82rem; }
.option-price { font-weight: 700; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); font-size: .85rem; margin-bottom: 16px; background: var(--surface-2); border: 1px dashed var(--line); }
.secure-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 12px; }
.newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter .input { flex: 1 1 200px; }
.newsletter .field-error { flex-basis: 100%; }

/* qty */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-btn); overflow: hidden; background: var(--surface); }
.qty-btn { width: 40px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.qty-btn:hover { background: var(--surface-2); }
.qty-input { width: 44px; height: 44px; border: 0; text-align: center; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm .qty-btn { width: 30px; height: 32px; }
.qty.sm .qty-input { width: 30px; height: 32px; font-size: .85rem; }

/* totals / cart bits */
.totals { display: grid; gap: 10px; font-size: .92rem; }
.tot-row { display: flex; justify-content: space-between; gap: 12px; }
.tot-row small { color: var(--muted); font-size: .78rem; }
.tot-row.discount span:last-child { color: var(--success); font-weight: 600; }
.tot-row.muted { color: var(--muted); font-size: .82rem; }
.tot-row.grand { font-weight: 800; font-size: 1.15rem; padding-top: 12px; border-top: 1px solid var(--line); }
.tot-savings { font-size: .82rem; color: var(--success); text-align: right; font-weight: 600; }
.freeship { margin-bottom: 18px; font-size: .85rem; }
.freeship-text { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.freeship-bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.freeship-bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width .4s ease; }
.tier-note { font-size: .82rem; padding: 10px 12px; border-radius: var(--radius); background: var(--surface-2); margin: 0 0 14px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.promo-form { display: flex; gap: 8px; margin-bottom: 18px; }
.promo-form .input { min-height: 44px; padding: 10px 12px; }
.promo-form .btn { padding: 10px 18px; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .85rem; padding: 10px 12px; border-radius: var(--radius); border: 1px dashed var(--success); margin-bottom: 18px; }
.promo-applied .icon { color: var(--success); }

/* badges & tables */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; letter-spacing: .02em; }
.badge-live { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.badge-muted { color: var(--muted); }
.table-wrap { contain: paint; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.lot-table, .spec-table, .policy-table, .coa-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.lot-table th, .lot-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lot-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.lot-table tr:last-child td { border-bottom: 0; }
.lot-table tr[hidden] { display: none; }
.empty-row { padding: 24px; text-align: center; color: var(--muted); margin: 0; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.spec-table td { font-weight: 600; word-break: break-word; }
.policy-table { margin: 8px 0 24px; }
.policy-table th, .policy-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.policy-table th { background: var(--surface-2); font-size: .82rem; }

/* faq */
.faq-group + .faq-group { margin-top: 36px; }
.faq-group-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .25s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 0 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* timeline */
.timeline { list-style: none; margin: 8px 0 12px; padding: 0; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::before { background: var(--accent); }
.tl-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; background: var(--surface); }
.timeline li.done .tl-dot { background: var(--accent); border-color: var(--accent); color: var(--primary-text); }
.tl-dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.timeline li.current .tl-dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.tl-body { display: grid; gap: 2px; }
.tl-body small { color: var(--muted); font-size: .8rem; }
.timeline li:not(.done) strong { color: var(--muted); font-weight: 500; }

/* orders / account */
.order-grid, .account-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.order-items { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; font-size: .92rem; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; }
.order-items small { color: var(--muted); display: block; }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; }
.order-meta p { margin: 4px 0 0; }
.order-list, .sub-list, .link-list, .contact-list, .benefit-list { list-style: none; padding: 0; margin: 0; }
.order-list li a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-list li:last-child a { border-bottom: 0; }
.order-list span:not(.badge) { color: var(--muted); font-size: .85rem; }
.sub-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sub-list li > div { display: grid; }
.sub-list li:last-child { border-bottom: 0; }
.link-list li { padding: 6px 0; }
.contact-list li, .benefit-list li { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.contact-list li > div, .benefit-list li > div { display: grid; gap: 2px; }
.contact-list .icon, .benefit-list .icon { margin-top: 3px; color: var(--accent); }
.benefit-list span { color: var(--muted); font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.success-panel { text-align: center; padding: 30px 10px; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: var(--primary-text); margin-bottom: 16px; }
.success-icon .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.notice { padding: 14px 16px; border-radius: var(--radius); font-size: .9rem; margin-top: 16px; background: var(--surface-2); }
.notice-error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
.track-result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.track-head { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 20px; }
.track-head div { display: grid; }

/* labs */
.lab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.lab-stats div { display: grid; gap: 2px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.lab-stats strong { font-family: var(--font-head); font-size: 1.6rem; }
.lab-stats span { color: var(--muted); font-size: .85rem; }
.lot-search { position: relative; margin-bottom: 18px; }
.lot-search .input { padding-left: 46px; min-height: 54px; }
.lot-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; }

/* policies */
.policy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy-card { text-decoration: none; display: grid; gap: 6px; transition: transform .2s, box-shadow .2s; }
.policy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .85rem; }
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.policy-nav a { text-decoration: none; padding: 10px 14px; border-radius: var(--radius); font-size: .92rem; color: var(--muted); }
.policy-nav a:hover { color: var(--text); background: var(--surface-2); }
.policy-nav a.active { color: var(--text); font-weight: 700; background: var(--surface-2); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); }
.policy-template-note { margin-top: 40px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); font-size: .82rem; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 6, 25, .45); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); outline: none; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--surface); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:first-child { padding-top: 0; }
.line-img { width: 72px; height: 84px; border-radius: var(--radius); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; padding: 4px; }
.line-img .vial-svg { height: 76px; }
.line-img .vial-group { transform: scale(.9); }
.line-name { font-weight: 700; font-size: .95rem; text-decoration: none; display: block; }
.line-meta { font-size: .8rem; color: var(--muted); display: block; margin: 2px 0 8px; }
.line-right { display: grid; justify-items: end; gap: 8px; align-self: stretch; align-content: space-between; }
.line-price { font-weight: 700; }
.line-price s { font-weight: 400; color: var(--muted); font-size: .8rem; margin-right: 4px; }
.line-remove { background: none; border: 0; color: var(--muted); padding: 4px; display: inline-flex; }
.line-remove:hover { color: var(--danger); }
.empty-cart { text-align: center; padding: 50px 10px; }
.empty-cart .icon { width: 44px; height: 44px; color: var(--muted); margin-bottom: 12px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 6, 25, .6); opacity: 0; transition: opacity .2s; backdrop-filter: blur(4px); }
.modal-panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg); border-radius: var(--radius-lg); padding: 36px; opacity: 0; transform: translateY(12px) scale(.98); transition: all .22s ease; outline: none; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-coa .modal-panel { width: min(860px, 100%); padding: 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; z-index: 2; }

/* toast */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--primary); color: var(--primary-text); font-size: .9rem; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transform: translateY(12px); transition: all .25s ease; }
.toast.in { opacity: 1; transform: none; }
.toast.error { background: var(--danger); color: #fff; }

/* cookie banner */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(420px, calc(100% - 40px)); padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .88rem; }
.cookie-banner p { margin: 0 0 14px; color: var(--muted); }
.cookie-banner .btn-row { margin: 0; gap: 8px; }

/* vials */
.vial-single, .vial-group { display: inline-flex; align-items: flex-end; justify-content: center; }
.vial-svg { display: block; height: 100%; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
.vial-group .vial-item { display: block; height: 100%; }
.vial-group .vial-item + .vial-item { margin-left: -14%; }
.vial-group.n2 .vial-item:first-child { transform: translateY(-4%) rotate(-5deg); }
.vial-group.n2 .vial-item:last-child { transform: rotate(5deg); }
.vial-group.n3 .vial-item:nth-child(1) { transform: scale(.88) rotate(-7deg); }
.vial-group.n3 .vial-item:nth-child(2) { z-index: 2; position: relative; }
.vial-group.n3 .vial-item:nth-child(3) { transform: scale(.88) rotate(7deg); }

/* COA document */
.coa-doc { position: relative; background: #fff; color: #1b1b24; border-radius: 12px; padding: 28px; overflow: hidden; font-size: .88rem; border: 1px solid #e4e4ea; }
.coa-watermark { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-size: 5.5rem; font-weight: 900; color: rgba(200, 30, 30, .07); white-space: nowrap; pointer-events: none; letter-spacing: .05em; }
.coa-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid #1b1b24; margin-bottom: 18px; }
.coa-brand { font-weight: 900; font-size: 1.3rem; letter-spacing: .02em; }
.coa-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: #666; }
.coa-meta { display: flex; gap: 24px; }
.coa-meta div, .coa-product div { display: grid; }
.coa-meta span, .coa-product span, .coa-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #777; }
.coa-product { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.coa-product em { font-size: .78rem; color: #666; font-style: normal; }
.coa-chart { border: 1px solid #e4e4ea; border-radius: 8px; padding: 12px 12px 4px; margin-bottom: 18px; color: #1b1b24; --chrom: #3b2ea6; }
.chromatogram { width: 100%; height: 150px; display: block; margin-top: 8px; }
.coa-table-wrap { overflow-x: auto; }
.coa-table th, .coa-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #ececf1; }
.coa-table th { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #777; }
.coa-pass { display: inline-block; background: #e3f5ea; color: #1f7a4c; font-weight: 800; font-size: .7rem; padding: 3px 8px; border-radius: 99px; }
.coa-foot { margin-top: 16px; font-size: .75rem; color: #666; }
.coa-foot p { margin: 0 0 4px; }
.coa-actions { display: flex; justify-content: flex-end; margin-top: 16px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 960px) {
  .order-grid, .account-grid, .contact-grid, .auth-grid, .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .policy-nav a { white-space: nowrap; border: 1px solid var(--line); }
  .policy-cards { grid-template-columns: 1fr 1fr; }
  .lab-stats { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 72px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .policy-cards { grid-template-columns: 1fr; }
  .order-meta { grid-template-columns: 1fr; }
  .pad { padding: 20px; }
  .modal-panel { padding: 26px 20px; }
  .coa-product { grid-template-columns: 1fr 1fr; }
  .coa-doc { padding: 18px; }
  .section { padding-block: 56px; }
  .section-sm { padding-block: 32px 64px; }
  .cookie-banner { left: 16px; bottom: 16px; width: calc(100% - 32px); }
}

/* print: only the COA */
@media print {
  body > *:not(#ps-modal) { display: none !important; }
  #ps-modal { position: static; display: block; padding: 0; }
  .modal-backdrop, .modal-close, .coa-actions { display: none !important; }
  .modal-panel { box-shadow: none; max-height: none; overflow: visible; padding: 0; width: 100%; opacity: 1; transform: none; }
}
