:root {
  --void: #030712; --midnight: #050a18; --navy: #0a1428; --deep: #0c1a32;
  --panel: rgba(8, 18, 36, 0.72); --panel-strong: rgba(10, 22, 42, 0.9);
  --line: rgba(94, 220, 210, 0.16); --line-strong: rgba(94, 220, 210, 0.32);
  --text: #eef4fb; --muted: #9aadc4; --teal: #5edcd2; --teal-deep: #2eb8b0;
  --lagoon: #3ad1c5; --icy: #b8f0ff; --copper: #c9855a; --copper-bright: #e0a778;
  --copper-deep: #8f5434; --crystal: #f4fbff; --danger: #ffb4b4;
  --danger-bg: rgba(120, 36, 48, 0.28); --glow-teal: 0 0 42px rgba(94, 220, 210, 0.18);
  --glow-soft: 0 24px 80px rgba(0, 0, 0, 0.5); --radius: 22px; --max: 1160px;
  --header-offset: 5.5rem;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --display: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0; color: var(--text); font-family: var(--sans); line-height: 1.6;
  background:
    linear-gradient(165deg, rgba(94, 220, 210, 0.07) 0%, transparent 38%),
    linear-gradient(210deg, rgba(201, 133, 90, 0.05) 10%, transparent 42%),
    linear-gradient(180deg, var(--void) 0%, var(--midnight) 40%, #07101f 100%);
  min-height: 100vh;
}
body::before {
  content: ""; pointer-events: none; position: fixed; inset: 0; z-index: 0; opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(244,251,255,0.7), transparent),
    radial-gradient(1px 1px at 67% 22%, rgba(244,251,255,0.55), transparent),
    radial-gradient(1px 1px at 82% 58%, rgba(94,220,210,0.4), transparent),
    radial-gradient(1px 1px at 45% 78%, rgba(244,251,255,0.35), transparent);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--icy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--teal); color: var(--void); padding: 0.55rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
header.site {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); background: rgba(5, 10, 24, 0.86);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--glow-teal); flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.22em; font-weight: 500; text-transform: uppercase;
  background: linear-gradient(110deg, var(--copper-bright), #f0c9a0 40%, var(--copper) 75%, #d4a078);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text span { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.32em; text-transform: uppercase; margin-top: 0.15rem; }
nav.primary { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
nav.primary a { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--icy); }
.cart-btn, .nav-cta {
  border: 1px solid rgba(94,220,210,0.4);
  background: linear-gradient(180deg, rgba(94,220,210,0.14), rgba(94,220,210,0.04));
  color: var(--teal) !important; padding: 0.48rem 0.85rem; border-radius: 999px; font-size: 0.84rem !important;
  cursor: pointer; font-family: inherit; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.cart-count { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.3rem; border-radius: 999px; background: var(--copper); color: #1a0c06; font-size: 0.7rem; font-weight: 800; }
.menu-btn { display: none; border: 1px solid var(--line); background: rgba(10,22,42,0.85); border-radius: 12px; padding: 0.55rem 0.8rem; cursor: pointer; color: var(--text); font: inherit; font-weight: 650; }
.mobile-panel { display: none; border-top: 1px solid var(--line); padding: 0.85rem 0 1.1rem; }
.mobile-panel.open { display: grid; gap: 0.75rem; }
.mobile-panel a { color: var(--text); text-decoration: none; font-weight: 600; padding: 0.35rem 0; }
.hero { padding: 3.4rem 0 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--teal); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: linear-gradient(90deg, var(--teal), transparent); }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; margin: 0 0 1rem; letter-spacing: -0.02em; }
h1 .accent { background: linear-gradient(120deg, var(--icy) 0%, var(--teal) 45%, var(--copper-bright) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 999px; padding: 0.85rem 1.25rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; }
.btn-primary { background: linear-gradient(135deg, rgba(94,220,210,0.95), rgba(184,240,255,0.82)); color: #041018; box-shadow: var(--glow-teal); }
.btn-primary:hover { filter: brightness(1.05); color: #02080c; }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--copper-bright); color: var(--copper-bright); }
.btn-copper { background: linear-gradient(135deg, var(--copper-bright), var(--copper)); color: #1a0c06; }
.fineprint { font-size: 0.88rem; color: var(--muted); max-width: 38rem; }
.hero-art { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(160deg, rgba(8,18,36,0.9), rgba(5,10,24,0.98)); box-shadow: var(--glow-soft); }
.hero-art picture, .hero-art img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; background: #050a18; }
.hero-card { position: static; margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); background: rgba(5, 12, 26, 0.88); padding: 0.95rem 1.1rem; }
.hero-card strong { display: block; color: var(--copper-bright); font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.2rem; }
.hero-card span { font-size: 0.88rem; color: var(--muted); }
section { padding: 3.2rem 0; position: relative; z-index: 1; }
section.band { background: linear-gradient(180deg, rgba(94,220,210,0.035), rgba(201,133,90,0.03)); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 1.6rem; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; margin: 0 0 0.55rem; }
.section-head p { margin: 0; color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-bright); font-weight: 700; margin-bottom: 0.45rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 50px rgba(0,0,0,0.22); backdrop-filter: blur(14px); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(94,220,210,0.45), transparent); }
.card h3 { margin: 0 0 0.5rem; font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.card p { margin: 0 0 0.9rem; color: var(--muted); }
.meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 0.5rem; }
.meta.pharmacy { color: var(--copper-bright); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; max-width: 100%; }
.product img { width: 100%; aspect-ratio: 1 / 1; max-height: 220px; object-fit: cover; object-position: center; background: #050a18; }
.product .body { padding: 1.05rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.08rem; }
.product .blurb { color: var(--muted); font-size: 0.9rem; flex: 1; margin: 0; }
.product .row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--icy); font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.chip { border: 1px solid var(--line); background: rgba(8,18,36,0.75); color: var(--muted); border-radius: 999px; padding: 0.45rem 0.9rem; cursor: pointer; font: inherit; font-weight: 650; font-size: 0.86rem; }
.chip[aria-pressed="true"], .chip:hover { border-color: rgba(94,220,210,0.45); color: var(--teal); background: rgba(94,220,210,0.08); }
.collection-card { text-decoration: none; color: inherit; display: block; }
.collection-card:hover { border-color: rgba(94,220,210,0.45); }
.cart-panel { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel-strong); padding: 1.25rem; }
.cart-lines { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 0.75rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.qty-ctrl { display: inline-flex; align-items: center; gap: 0.35rem; }
.qty-ctrl button { width: 1.8rem; height: 1.8rem; border-radius: 8px; border: 1px solid var(--line); background: rgba(94,220,210,0.08); color: var(--text); cursor: pointer; font: inherit; font-weight: 700; }
.pay-options { display: grid; gap: 0.75rem; }
.pay-option { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; background: rgba(5,10,24,0.45); }
.pay-option h4 { margin: 0 0 0.35rem; }
.pay-option p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.88rem; }
.soon, .notify-box { border: 1px dashed rgba(94,220,210,0.35); color: var(--muted); background: rgba(94,220,210,0.05); border-radius: 16px; padding: 0.9rem 1rem; }
.notify-box form { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.7rem; }
.notify-box input[type="email"] { flex: 1; min-width: 180px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5,10,24,0.7); color: var(--text); padding: 0.7rem 1rem; font: inherit; }
.prose { max-width: 46rem; }
.prose h2, .prose h3 { font-family: var(--display); font-weight: 500; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.article-card time { font-family: var(--mono); font-size: 0.72rem; color: var(--copper-bright); letter-spacing: 0.08em; text-transform: uppercase; }
.article-card h3 { margin: 0.35rem 0; }
.notice { border-left: 2px solid var(--copper-bright); background: rgba(201,133,90,0.06); padding: 1rem 1.1rem; border-radius: 0 14px 14px 0; color: var(--muted); }
.danger-note { border: 1px solid rgba(255,180,180,0.28); background: var(--danger-bg); color: var(--danger); padding: 1rem 1.1rem; border-radius: 14px; }
.pill { display: inline-block; background: rgba(94,220,210,0.12); color: var(--icy); border: 1px solid rgba(94,220,210,0.28); border-radius: 999px; padding: 0.2rem 0.65rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono); }
.form-grid { display: grid; gap: 0.85rem; max-width: 36rem; }
.form-grid label { display: grid; gap: 0.35rem; font-weight: 650; }
.form-grid input, .form-grid textarea, .form-grid select {
  border-radius: 14px; border: 1px solid var(--line); background: rgba(5,10,24,0.7); color: var(--text); padding: 0.75rem 0.9rem; font: inherit;
}
.form-success { display: none; border: 1px solid rgba(94,220,210,0.35); background: rgba(94,220,210,0.08); border-radius: 16px; padding: 1rem; color: var(--icy); }
.form-success.show { display: block; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0.95rem 1.1rem; margin-bottom: 0.7rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0.75rem 0 0; color: var(--muted); }
footer.site { position: relative; z-index: 1; background: #030712; border-top: 1px solid var(--line); color: var(--muted); padding: 2.5rem 0 2rem; margin-top: 0.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.4rem; margin-bottom: 1.5rem; }
.foot-grid h4, .foot-grid h2.foot-h { margin: 0 0 0.7rem; color: var(--copper-bright); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--mono); }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.legal-mini { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.82rem; color: rgba(154,173,196,0.85); }
.affiliate-line { font-size: 0.8rem; color: rgba(154,173,196,0.9); margin: 0.6rem 0 0; }
.page-hero { padding: 2.6rem 0 1.2rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.toast { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 90; background: rgba(8,18,36,0.95); border: 1px solid var(--line-strong); color: var(--text); padding: 0.75rem 1rem; border-radius: 14px; box-shadow: var(--glow-soft); font-size: 0.9rem; display: none; }
.toast.show { display: block; }
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 95; max-width: 720px; margin-inline: auto;
  background: rgba(8, 16, 32, 0.96); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.1rem 1.2rem;
  box-shadow: var(--glow-soft); display: none;
}
.cookie-banner.open { display: block; }
.cookie-banner h2 { margin: 0 0 0.45rem; font-size: 1.05rem; font-family: var(--display); font-weight: 500; }
.cookie-banner p { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modal { position: fixed; inset: 0; background: rgba(2, 6, 14, 0.72); display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 80; backdrop-filter: blur(8px); }
.modal.open { display: flex; }
.modal-card { width: min(560px, 100%); background: linear-gradient(180deg, rgba(14,28,48,0.97), rgba(5,10,24,0.99)); border-radius: 20px; padding: 1.5rem; border: 1px solid var(--line-strong); max-height: 90vh; overflow: auto; }
.modal-card img { border-radius: 14px; margin-bottom: 0.85rem; width: 100%; max-height: 280px; aspect-ratio: 1 / 1; object-fit: cover; background: #050a18; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
#main, section[id], article[id] { scroll-margin-top: var(--header-offset); }
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --header-offset: 5.1rem; }
  .hero, .grid-3, .grid-2, .grid-4, .foot-grid, .article-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav.primary { display: none; }
  .menu-btn { display: inline-flex; }
  .cart-line { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2rem, 8.5vw, 2.55rem); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .product img { max-height: 180px; }
  .product .body { padding: 0.85rem; }
  .product h3 { font-size: 0.98rem; }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
}

.order-confirm { margin-bottom: 1.25rem; border-color: rgba(94,220,210,0.35); }
.order-confirm[hidden] { display: none !important; }
.order-id {
  display: inline-block; margin-top: 0.35rem; padding: 0.55rem 0.8rem; border-radius: 12px;
  background: rgba(5,10,24,0.75); border: 1px solid var(--line); color: var(--icy);
  font-family: var(--mono); font-size: 0.9rem; word-break: break-all;
}
#paypal-buttons { min-height: 0; margin-top: 0.35rem; }
#paypal-buttons iframe { max-width: 100%; }
.paypal-status { margin-top: 0.55rem; font-size: 0.88rem; color: var(--muted); }
.paypal-status.error { color: var(--danger); }
.paypal-status.info { color: var(--icy); }
/* Homepage content sections */
.home-toc { padding: 0.4rem 0 0.6rem; }
.home-toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.4rem 0 0; }
.home-toc a { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; font-size: 0.88rem; }
.home-toc a:hover { border-color: var(--line-strong); }
.prose-cols .prose { max-width: none; }
.collection-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.article-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .collection-guide, .article-grid-3 { grid-template-columns: 1fr; } }
.pay-option[hidden], .soon[hidden], .notify-box[hidden] { display: none !important; }
.shop-all-h { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 0 0 0.8rem; }
#shopGrid:empty, #featuredGrid:empty, #collectionCards:empty { min-height: 60rem; }
