/* ==========================================================================
   CuraNova - storefront design system
   CuraNova blue and white: cool paper, deep navy ink, royal blue, azure highlight, silver lines.
   (Variable names are historic: --teal is the primary brand blue, --clay the azure accent.)
   ========================================================================== */
:root {
  --paper: #f5f8fe;
  --paper-2: #eaf1fd;
  --paper-3: #dde8fb;
  --card: #ffffff;
  --ink: #0a1f4d;
  --ink-2: #26375c;
  --ink-3: #56678a;
  --line: #d9e3f5;
  --line-2: #c5d4ee;
  --teal: #0b4fd8;
  --teal-2: #0a3fb0;
  --teal-soft: #e6efff;
  --emerald: #1a8cff;
  --clay: #1673e6;
  --clay-soft: #e3efff;
  --gold: #a16207;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #067647;
  --ok-soft: #e6f4ec;
  --warn-soft: #fff4dc;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(10, 31, 77, .06), 0 2px 6px rgba(10, 31, 77, .05);
  --shadow-2: 0 2px 4px rgba(10, 31, 77, .05), 0 12px 28px -8px rgba(10, 31, 77, .16);
  --shadow-3: 0 30px 60px -20px rgba(10, 31, 77, .28), 0 8px 20px -8px rgba(10, 31, 77, .12);
  --f-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand: #0b4fd8;
  --brand-deep: #0a3fb0;
  --brand-bright: #1a8cff;
  --silver: #c9d3e3;
  --f-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: var(--f-body);
  --third: #0f7a55;
  --third-deep: #0b5f42;
  --third-bright: #4fd6a3;
  --third-soft: #e4f5ee;
  --wrap: 1240px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.24 0 0 0 0 0.7 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--ink);
  background-color: var(--paper); background-image: var(--grain); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(11, 79, 216, .45); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 52ch; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg); font-weight: 700; font-size: .96rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-teal { --bg: var(--teal); }
.btn-teal:hover { --bg: var(--teal-2); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { --bg: var(--card); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-clay { --bg: var(--clay); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkish { background: none; border: 0; padding: 0; color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

/* product links sent with a category page, replaced by the product cards once the page has loaded */
.seo-item { display: block; padding: 14px 16px; border: 1px solid #d8e2f3; border-radius: 12px; background: #fff; }

/* ---------- preview / compliance strip ---------- */
.strip { background: var(--ink); color: #e6edf8; font-size: .84rem; }
.strip .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; padding: 6px 0; }
.strip a { color: #fff; }
.strip .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fb3ff; margin-right: 8px; box-shadow: 0 0 0 3px rgba(95, 179, 255, .2); }
.strip.preview { background: repeating-linear-gradient(-45deg, #0a2a6a 0 10px, #0a245c 10px 20px); color: #ffe7a8; }
.strip.preview .dot { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .25); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245, 248, 254, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.logo-mark::before, .logo-mark::after { content: ''; position: absolute; background: #7cc4ff; border-radius: 2px; }
.logo-mark::before { width: 16px; height: 4px; }
.logo-mark::after { width: 4px; height: 16px; }
.logo-text { font-family: var(--f-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.logo-text small { display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); padding: 0 52px 0 46px; font-size: .97rem; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 79, 216, .12); }
.search .s-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search button[type=submit] { position: absolute; right: 5px; top: 5px; height: 38px; width: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 8px; display: none; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest.open { display: block; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a.active { background: var(--paper-2); }
.suggest .thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--paper-2); overflow: hidden; display: grid; place-items: center; }
.suggest .thumb img { width: 100%; height: 100%; object-fit: cover; }
.suggest .s-name { font-weight: 600; font-size: .94rem; line-height: 1.3; }
.suggest .s-meta { font-size: .8rem; color: var(--ink-3); }
.suggest .s-price { font-weight: 700; font-size: .9rem; }
.suggest .s-group { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 4px; }
.suggest .s-empty { padding: 14px; color: var(--ink-3); font-size: .92rem; }
.head-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); text-decoration: none; background: transparent; border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: .9rem; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; border-radius: 999px; background: var(--clay); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.cart-count.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: inline-block; padding: 12px 14px; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; position: relative; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current=page]::after { transform: scaleX(1); }
.nav a.rx-link { color: var(--clay); }
.nav .has-menu { position: relative; }
.mega { position: absolute; left: 0; top: 100%; width: min(720px, 92vw); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 14px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: .2s ease; z-index: 50; }
.nav .has-menu:hover .mega, .nav .has-menu:focus-within .mega { opacity: 1; transform: none; pointer-events: auto; }
.mega a { padding: 8px 10px; border-radius: 8px; display: flex; gap: 10px; align-items: center; }
.mega a::after { display: none; }
.mega a:hover { background: var(--paper-2); }
.mega .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header .bar { grid-template-columns: auto 1fr; min-height: 64px; gap: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 10px; }
  .head-actions { justify-self: end; }
  .head-actions .label { display: none; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 0 14px; }
  .mega { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; grid-template-columns: 1fr 1fr; padding: 0 0 0 10px; width: auto; display: none; }
  .menu-toggle { display: inline-flex; }
  .logo-text small { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgba(10, 31, 77,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(10, 31, 77,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--third); }
.hero .lede { margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-search { max-width: 560px; }
.hero-search .search { max-width: none; }
.hero-search .search input { height: 58px; font-size: 1.02rem; box-shadow: var(--shadow-2); border-color: var(--line); }
.hero-search .search button[type=submit] { height: 48px; width: 48px; }
.hero-search .hint { margin-top: 10px; font-size: .85rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--teal); color: var(--teal-2); }
.hero-proof { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-proof div { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.hero-proof svg { color: var(--teal); flex: none; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 5 / 5.4; max-height: 620px; }
.hero-photo { position: absolute; inset: 0 0 8% 10%; border-radius: 26px 26px 26px 140px; overflow: hidden; box-shadow: var(--shadow-3); background: var(--paper-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 77,.35)); }
.shelf { position: absolute; inset: 0 0 8% 10%; border-radius: 26px 26px 26px 140px; overflow: hidden; box-shadow: var(--shadow-3);
  background: linear-gradient(160deg, #0f2f6b 0%, #0a1f4d 60%, #071637 100%); }
.shelf::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: .9; mix-blend-mode: overlay; }
.shelf .rows { position: absolute; inset: 9% 8% 14% 14%; display: grid; grid-template-rows: repeat(3, 1fr); gap: 8%; }
.shelf .row { display: flex; align-items: flex-end; gap: 5%; overflow: hidden; border-bottom: 6px solid #c9d7ef; box-shadow: 0 10px 18px -10px rgba(0,0,0,.6); padding: 0 3%; }
.pack { position: relative; border-radius: 4px 4px 2px 2px; box-shadow: inset -8px 0 0 rgba(0,0,0,.08), inset 0 -3px 0 rgba(0,0,0,.08), 0 6px 10px -4px rgba(0,0,0,.45); overflow: hidden; flex: none; transform-origin: bottom; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.pack::before { content: ''; position: absolute; left: 12%; right: 22%; top: 18%; height: 3px; background: currentColor; opacity: .55; border-radius: 2px; box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor; }
.pack::after { content: ''; position: absolute; left: 12%; bottom: 14%; width: 34%; height: 18%; border-radius: 3px; background: currentColor; opacity: .85; }
.pack.bottle { border-radius: 40% 40% 6px 6px / 22% 22% 6px 6px; }
.pack.bottle::before { top: 34%; }
.pack.tube { border-radius: 3px 3px 10px 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scaleY(.92); } }
.hero-card { position: absolute; left: 0; bottom: 0; width: min(300px, 64%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-3); padding: 18px 18px 16px; animation: floatin 1s .35s cubic-bezier(.2,.8,.2,1) both; }
.hero-card .t { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-card .r { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.hero-card .ref { font-family: var(--f-mono); font-weight: 700; font-size: 1rem; }
.hero-card .st { font-size: .8rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; }
.hero-card .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.hero-card .steps span { height: 5px; border-radius: 3px; background: var(--paper-3); }
.hero-card .steps span.on { background: var(--teal); }
.hero-badge { position: absolute; right: -2%; top: 8%; background: var(--clay); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-2); animation: floatin 1s .55s cubic-bezier(.2,.8,.2,1) both; display: flex; gap: 8px; align-items: center; }
@keyframes floatin { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 5 / 4.6; }
}

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { --c: var(--teal); position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 18px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.cat::before { content: ''; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .08; transition: transform .4s ease, opacity .3s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); color: var(--ink); }
.cat:hover::before { transform: scale(1.5); opacity: .14; }
.cat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.cat h3 { font-size: 1.05rem; margin: 18px 0 2px; font-family: var(--f-body); font-weight: 700; letter-spacing: -.005em; }
.cat .n { font-size: .8rem; color: var(--ink-3); }
.cat.big { grid-column: span 2; grid-row: span 2; min-height: 314px; background: var(--ink); color: #fff; border-color: var(--ink); }
.cat.big h3 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; }
.cat.big .n, .cat.big p { color: #b3c4e3; }
.cat.big .ic { background: rgba(255,255,255,.08); color: #7cc4ff; }
.cat.big:hover { color: #fff; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } .cat.big { grid-column: span 2; grid-row: auto; min-height: 200px; } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 360px) { .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pcard .media { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff, var(--paper-2)); display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.pcard .media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .5s ease; }
.pcard:hover .media img { transform: scale(1.05); }
.placeholder { width: 46%; aspect-ratio: 3 / 4; border-radius: 6px; background: var(--c, var(--teal)); position: relative; box-shadow: inset -10px 0 0 rgba(0,0,0,.08), 0 12px 20px -10px rgba(10, 31, 77,.5); }
.placeholder::before { content: ''; position: absolute; left: 14%; right: 26%; top: 18%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.75); box-shadow: 0 9px 0 rgba(255,255,255,.5), 0 18px 0 rgba(255,255,255,.35); }
.placeholder::after { content: attr(data-initial); position: absolute; left: 14%; bottom: 12%; font-family: var(--f-display); color: #fff; font-size: 1.6rem; font-weight: 700; }
.pcard .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); letter-spacing: .01em; }
.badge.p { background: var(--clay-soft); border-color: #bcd6fb; color: #0a3fb0; }
.badge.out { background: var(--danger-soft); border-color: #f6c9c3; color: var(--danger); }
.badge.low { background: var(--warn-soft); border-color: #f3dca3; color: #8a5a00; }
.badge.ok { background: var(--ok-soft); border-color: #bfe3cd; color: var(--ok); }
.badge.test { background: #fff4dc; border-color: #f3dca3; color: #8a5a00; }
.pcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard .cat-label { font-size: .72rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pcard h3 { font-family: var(--f-body); font-size: .98rem; font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: 0; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ''; position: absolute; inset: 0; }
.pcard .gen { font-size: .82rem; color: var(--ink-3); }
.pcard .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.price s { font-weight: 500; color: var(--ink-3); font-size: .82rem; margin-left: 6px; }
.add-btn { position: relative; z-index: 2; height: 40px; min-width: 40px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; cursor: pointer; font-weight: 700; font-size: .85rem; transition: background .2s, transform .15s; }
.add-btn:hover { background: var(--teal); }
.add-btn:active { transform: scale(.94); }
.add-btn[disabled] { background: var(--paper-3); color: var(--ink-3); cursor: not-allowed; }
.add-btn.added { background: var(--ok); }
@media (max-width: 760px) { .add-btn .t { display: none; } .pcard .body { padding: 12px; } }

/* skeleton */
.skel { background: linear-gradient(90deg, var(--paper-2) 0, var(--paper-3) 40%, var(--paper-2) 80%); background-size: 300% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.pcard.loading .media { background: none; }
.pcard.loading .media .skel { position: absolute; inset: 0; border-radius: 0; }

/* ---------- empty / notice ---------- */
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: rgba(255, 255, 255,.6); }
.empty h3 { font-size: 1.3rem; }
.empty p { color: var(--ink-3); max-width: 46ch; margin: 0 auto 18px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: .92rem; }
.notice svg { flex: none; margin-top: 2px; }
.notice.info { background: var(--teal-soft); border-color: #bcd3f7; color: #0a3080; }
.notice.warn { background: var(--warn-soft); border-color: #f3dca3; color: #6b4600; }
.notice.danger { background: var(--danger-soft); border-color: #f6c9c3; color: #7a1a12; }
.notice.ok { background: var(--ok-soft); border-color: #bfe3cd; color: #054d2f; }
.notice p:last-child { margin: 0; }

/* ---------- rx band ---------- */
.rx-band { background: var(--ink); color: #dde6f5; border-radius: 28px; overflow: hidden; position: relative; display: grid; grid-template-columns: 1.1fr 1fr; isolation: isolate; }
.rx-band::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: .8; mix-blend-mode: overlay; z-index: -1; }
.rx-band .txt { padding: clamp(32px, 5vw, 64px); }
.rx-band h2 { color: #fff; }
.rx-band .eyebrow { color: #7cc4ff; }
.rx-band ol { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; counter-reset: s; }
.rx-band li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; counter-increment: s; }
.rx-band li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .8rem; color: #7cc4ff; border: 1px solid rgba(124, 196, 255,.35); border-radius: 8px; height: 30px; display: grid; place-items: center; }
.rx-band li b { color: #fff; display: block; }
.rx-band .vis { position: relative; min-height: 340px; background: linear-gradient(135deg, #134491, #0c275e); }
.rx-band .vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rx-paper { position: absolute; left: 14%; top: 14%; width: 62%; aspect-ratio: 3 / 4; background: #f8fbff; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); padding: 8%; }
.rx-paper i { display: block; height: 7px; border-radius: 3px; background: #dbe5f6; margin-bottom: 9%; }
.rx-paper i:nth-child(1) { width: 40%; background: #cddffb; height: 10px; }
.rx-paper i:nth-child(3) { width: 80%; }
.rx-paper i:nth-child(4) { width: 65%; }
.rx-paper i:nth-child(6) { width: 30%; margin-top: 18%; background: #0a1f4d; opacity: .7; }
.rx-phone { position: absolute; right: 10%; bottom: 10%; width: 34%; aspect-ratio: 9 / 18; border-radius: 22px; background: #06122e; border: 4px solid #1c3366; box-shadow: 0 30px 40px -18px rgba(0,0,0,.7); transform: rotate(6deg); display: grid; place-items: center; }
.rx-phone::after { content: ''; width: 70%; aspect-ratio: 3 / 4; border-radius: 6px; background: linear-gradient(#f8fbff, #e9f0fc); box-shadow: 0 0 0 2px #7cc4ff; }
@media (max-width: 900px) { .rx-band { grid-template-columns: 1fr; } .rx-band .vis { min-height: 260px; } }

/* ---------- steps / features ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.step { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step .num { font-family: var(--f-mono); font-size: .75rem; color: var(--teal-2); letter-spacing: .12em; }
.step h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.step p { color: var(--ink-3); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

.trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust-item { padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
.trust-item .ic { color: var(--teal); margin-bottom: 12px; }
.trust-item h3 { font-family: var(--f-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-bottom: 6px; }
.trust-item p { margin: 0; color: var(--ink-3); font-size: .9rem; }
.licence { border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); padding: 22px; margin-top: 24px; }
.licence dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.licence dt { color: var(--ink-3); }
.licence dd { margin: 0; font-weight: 600; }
.ph { display: inline-block; font-family: var(--f-mono); font-size: .78rem; background: repeating-linear-gradient(-45deg, #fff4dc 0 6px, #fdecc4 6px 12px); color: #6b4600; padding: 1px 8px; border-radius: 4px; border: 1px dashed #e0b45c; font-weight: 600; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 3; box-shadow: var(--shadow-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.art { background: linear-gradient(155deg, var(--teal-2), #0a2a6a 70%); display: grid; place-items: center; }
.frame.art::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: overlay; opacity: .9; }
.frame .art-stack { position: relative; width: 62%; aspect-ratio: 1.3; }
.frame .art-stack .box { position: absolute; border-radius: 8px; box-shadow: 0 24px 34px -16px rgba(0,0,0,.55); }
.frame .art-stack .box:nth-child(1) { inset: 22% 0 0 10%; background: #e6eefb; }
.frame .art-stack .box:nth-child(1)::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 26%; background: #c3d3ee; border-radius: 8px 8px 0 0; }
.frame .art-stack .box:nth-child(1)::after { content: ''; position: absolute; left: 44%; width: 12%; top: 0; bottom: 0; background: #0b4fd8; opacity: .8; }
.frame .art-stack .box:nth-child(2) { width: 34%; height: 46%; left: 0; top: 0; background: #fff; transform: rotate(-8deg); }
.frame .art-stack .box:nth-child(2)::before { content: ''; position: absolute; inset: 22% 22%; border-radius: 4px; background: radial-gradient(circle at 30% 30%, #7cc4ff 0 18%, transparent 19%), radial-gradient(circle at 70% 30%, #7cc4ff 0 18%, transparent 19%), radial-gradient(circle at 30% 70%, #7cc4ff 0 18%, transparent 19%), radial-gradient(circle at 70% 70%, #7cc4ff 0 18%, transparent 19%); }
.frame .caption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255,.94); border-radius: 12px; padding: 10px 14px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-1); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review blockquote { margin: 0; font-size: .98rem; }
.review cite { font-style: normal; font-size: .85rem; color: var(--ink-3); margin-top: auto; }
.review .v { font-size: .72rem; font-weight: 700; color: var(--ok); display: inline-flex; gap: 4px; align-items: center; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- footer ---------- */
.site-footer { background: #071637; color: #b3c4e3; margin-top: 40px; position: relative; isolation: isolate; }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: .7; mix-blend-mode: overlay; z-index: -1; }
.site-footer a { color: #dde6f5; text-decoration: none; }
.site-footer a:hover { color: #7cc4ff; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding: 64px 0 40px; }
.foot-top h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #7d93bd; font-weight: 500; margin-bottom: 16px; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .93rem; }
.foot-brand .logo { color: #fff; }
.foot-brand .logo-text small { color: #7d93bd; }
.foot-brand p { margin-top: 16px; font-size: .92rem; max-width: 36ch; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 28px; font-size: .82rem; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-legal .reg { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal .ph { background: rgba(251,191,36,.12); color: #fcd581; border-color: rgba(251,191,36,.4); }
.pay-logos { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.pay-logos span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; border: 1px solid rgba(255,255,255,.16); padding: 5px 9px; border-radius: 6px; color: #dde6f5; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- floating WhatsApp + sticky cart ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(10, 40, 110, .55); text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .tip { position: absolute; right: 66px; white-space: nowrap; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; opacity: 0; transform: translateX(6px); transition: .2s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }
.m-cartbar { display: none; }
@media (max-width: 760px) {
  .m-cartbar { position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 44; height: 56px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 20px; box-shadow: var(--shadow-3); text-decoration: none; transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; font-weight: 700; }
  .m-cartbar.show { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .m-cartbar span.go { background: var(--teal); border-radius: 999px; padding: 10px 16px; font-size: .9rem; }
  .m-cartbar:hover { color: #fff; }
  body.has-cartbar { padding-bottom: 84px; }
}

/* ---------- cart drawer ---------- */
.drawer-back { position: fixed; inset: 0; background: rgba(7, 22, 55, .45); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); background-image: var(--grain); z-index: 71; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-3); }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 1.4rem; margin: 0; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer footer { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--card); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .th { width: 64px; height: 64px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.line .th img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.line .nm { font-weight: 700; font-size: .93rem; line-height: 1.3; }
.line .nm a { color: var(--ink); text-decoration: none; }
.line .meta { font-size: .8rem; color: var(--ink-3); }
.line .issue { font-size: .8rem; color: var(--danger); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); height: 36px; margin-top: 6px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink); border-radius: 50%; }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 38px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.line .rm { background: none; border: 0; color: var(--ink-3); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 4px 0; }
.line .lp { font-weight: 800; text-align: right; }
.totals { display: grid; gap: 8px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .row.r3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form .row, .form .row.r3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .lbl { font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.field label .opt { font-weight: 500; color: var(--ink-3); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); padding: 12px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 79, 216, .12); }
.field .help { font-size: .8rem; color: var(--ink-3); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.field .msg { font-size: .8rem; color: var(--danger); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: 3px; min-height: 64px; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; background: var(--card); cursor: pointer; transition: .2s; font-weight: 700; }
.choice span small { font-weight: 500; color: var(--ink-3); font-size: .8rem; }
.choice input:checked + span { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 79, 216, .14); background: #f3f8ff; }
.choice input:focus-visible + span { outline: 3px solid rgba(11, 79, 216, .45); }
.choice input:disabled + span { opacity: .5; cursor: not-allowed; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.panel h2 .n { font-family: var(--f-mono); font-size: .75rem; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 500; }

/* page header */
.page-head { padding: clamp(36px, 6vw, 70px) 0 clamp(24px, 3vw, 36px); position: relative; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.crumbs { font-size: .84rem; color: var(--ink-3); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-3); }
.crumbs span[aria-hidden] { opacity: .6; }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }

/* shop layout */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 140px; display: grid; gap: 20px; }
.filters h3 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 10px; }
.filters ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.filters a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600; }
.filters a:hover { background: var(--paper-2); }
.filters a.on { background: var(--ink); color: #fff; }
.filters a .c { color: var(--ink-3); font-weight: 500; font-size: .8rem; }
.filters a.on .c { color: #b3c4e3; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar select { min-height: 42px; border-radius: 999px; padding: 0 16px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; }
.filter-toggle { display: none; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; font-weight: 700; }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 72; background: var(--paper); padding: 20px; overflow: auto; transform: translateX(-100%); transition: transform .3s; top: 0; align-content: start; }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
}

/* product detail */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery .main { aspect-ratio: 1; border-radius: 24px; background: linear-gradient(180deg, #fff, var(--paper-2)); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; animation: fadein .4s ease; }
@keyframes fadein { from { opacity: 0; } }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs button { width: 70px; height: 70px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery .thumbs button.on { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(11, 79, 216,.2); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.pdp-info .gen { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 14px; }
.pdp-info .price { font-size: 1.8rem; }
.buy-box { margin-top: 22px; padding: 20px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .qty { margin: 0; height: 50px; }
.buy-row .qty button { width: 46px; height: 46px; }
.buy-row .btn { flex: 1; min-height: 50px; }
.specs { width: 100%; border-collapse: collapse; font-size: .93rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--ink-3); font-weight: 600; }
.tabs { margin-top: 48px; }
.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tablist button { background: none; border: 0; padding: 14px 16px; font-weight: 700; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tablist button[aria-selected=true] { color: var(--ink); border-color: var(--teal); }
.tabpanel { padding: 24px 0; white-space: pre-line; max-width: 75ch; }
.source-note { font-size: .82rem; color: var(--ink-3); border-left: 3px solid var(--line-2); padding-left: 12px; margin-top: 12px; white-space: normal; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.summary { position: sticky; top: 140px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 26px 42px; }
.timeline li::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); border: 2px solid var(--line-2); color: var(--ink-3); }
.timeline li.done .dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.timeline li.done::before { background: var(--teal); }
.timeline li.current .dot { background: #fff; border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 6px rgba(11, 79, 216,.14); animation: pulse 2s infinite; }
.timeline li.bad .dot { background: var(--danger); border-color: var(--danger); color: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(11, 79, 216,.05); } }
.timeline b { display: block; }
.timeline small { color: var(--ink-3); }

/* upload */
.drop { border: 2px dashed var(--line-2); border-radius: 20px; background: var(--card); padding: 30px 20px; text-align: center; transition: .2s; position: relative; }
.drop.over { border-color: var(--teal); background: #f3f8ff; }
.drop .ic { width: 64px; height: 64px; border-radius: 18px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin: 0 auto 14px; }
.drop-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 16px; }
.pv { position: relative; border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; animation: fadein .3s; }
.pv .im { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--paper-2); }
.pv .im img { width: 100%; height: 100%; object-fit: cover; }
.pv .im .pdf { font-family: var(--f-mono); font-weight: 700; color: var(--danger); font-size: 1.2rem; }
.pv .cap { padding: 8px 10px; font-size: .75rem; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.pv .cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv .x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(10, 31, 77,.8); color: #fff; cursor: pointer; display: grid; place-items: center; }
.pv .rep { background: none; border: 0; color: var(--teal-2); font-weight: 700; cursor: pointer; font-size: .75rem; padding: 0; }
.progress { height: 10px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--emerald)); transition: width .2s; }

/* success / ref */
.ref-box { display: inline-flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.ref-box small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #9db1d6; }
.ref-box b { font-family: var(--f-mono); font-size: 1.6rem; letter-spacing: .04em; }
.pay-wait { text-align: center; padding: 30px 10px; }
.pay-wait .phone { width: 96px; height: 160px; margin: 0 auto 20px; border-radius: 20px; border: 4px solid var(--ink); position: relative; display: grid; place-items: center; }
.pay-wait .phone::before { content: ''; width: 60%; height: 3px; background: var(--ink); position: absolute; top: 10px; border-radius: 2px; }
.pay-wait .phone i { width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--teal-soft); border-top-color: var(--teal); animation: spin 1s linear infinite; }

/* toast */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-3); font-size: .93rem; font-weight: 600; display: flex; gap: 10px; align-items: center; animation: toast .35s cubic-bezier(.2,.8,.2,1); }
.toast.err { background: #7a1a12; }
.toast.ok svg { color: #7cc4ff; }
@keyframes toast { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@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; }
}

/* page transition */
body.leaving main { opacity: .35; transition: opacity .18s ease; }
main { animation: pagein .45s ease both; }
@keyframes pagein { from { opacity: 0; transform: translateY(6px); } }

/* table (account) */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.status.s-ok { background: var(--ok-soft); color: var(--ok); }
.status.s-warn { background: var(--warn-soft); color: #8a5a00; }
.status.s-bad { background: var(--danger-soft); color: var(--danger); }
.status.s-info { background: var(--teal-soft); color: var(--teal-2); }
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.acct nav { display: grid; gap: 4px; position: sticky; top: 140px; }
.acct nav button { text-align: left; background: none; border: 0; padding: 11px 14px; border-radius: 10px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.acct nav button.on { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .acct { grid-template-columns: 1fr; } .acct nav { position: static; display: flex; overflow-x: auto; } .acct nav button { white-space: nowrap; } }
.auth-card { max-width: 460px; margin: 0 auto; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-3); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .93rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }
.hide { display: none !important; }


/* ==========================================================================
   CuraNova layer: brand header, blue department bar, textured surfaces
   ========================================================================== */
body {
  background-color: var(--paper);
  background-image:
    var(--grain),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%230b4fd8' fill-opacity='.035'%3E%3Cpath d='M26 18h8v8h8v8h-8v8h-8v-8h-8v-8h8z'/%3E%3Cpath d='M86 78h6v6h6v6h-6v6h-6v-6h-6v-6h6z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(1200px 500px at 85% -10%, rgba(26, 140, 255, .10), transparent 60%),
    radial-gradient(900px 420px at -10% 10%, rgba(11, 79, 216, .07), transparent 60%);
  background-attachment: scroll, scroll, fixed, fixed;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; }
.logo-mark { width: 46px; height: 46px; border-radius: 0; background: url('/img/curanova-mark.png') center / contain no-repeat; box-shadow: none; overflow: visible; }
.logo-mark::before, .logo-mark::after { display: none; }
.logo-text { font-family: var(--f-display); font-weight: 700; font-size: 1.42rem; letter-spacing: -.03em; color: var(--brand-deep); }
.logo-text .nova { color: var(--brand-bright); }
.logo-text small { font-family: var(--f-body); font-weight: 700; font-size: .6rem; letter-spacing: .16em; color: var(--brand-deep); }
.site-header { background: rgba(255, 255, 255, .94); }
.search input { border-color: #b9cbec; background: #fff; }
.search button[type=submit] { background: var(--brand); }
.icon-btn { color: var(--brand-deep); }
.nav { border-top: 0; background: linear-gradient(180deg, #0b4fd8, #0a43c0); background-image: var(--grain), linear-gradient(180deg, #0b4fd8, #0a43c0); box-shadow: inset 0 -1px 0 rgba(255,255,255,.12); }
.nav a { color: #e9f1ff; }
.nav a:hover { color: #fff; }
.nav a::after { background: #fff; }
.nav a[aria-current=page] { color: #fff; }
.nav a.rx-link { color: #fff; background: rgba(255,255,255,.14); border-radius: 999px; margin: 6px 0; padding: 6px 14px; }
.nav a.rx-link::after { display: none; }
.nav .menu-btn { color: #fff; }
.mega a { color: var(--ink); }
.mega .dept { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 700; color: var(--brand-deep); padding: 4px 10px 2px; display: flex; justify-content: space-between; align-items: center; }
.mega .dept a { padding: 0; font-size: .8rem; color: var(--brand); }
.mega-dept { width: min(560px, 92vw); grid-template-columns: repeat(2, 1fr); }
.strip { background: #071637; }
.site-footer { background: #071637; background-image: var(--grain), radial-gradient(800px 300px at 90% 0%, rgba(26,140,255,.18), transparent 60%); }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text .nova { color: #7cc4ff; }
.site-footer .logo-text small { color: #a9c3f0; }

/* trust / PPB verification block (footer + page) */
.verify { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(169,195,240,.25); border-radius: 18px; padding: 18px 20px; margin-top: 28px; }
.verify .seal { width: 86px; height: 86px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.verify .seal img { width: 100%; height: 100%; object-fit: contain; }
.verify .seal.empty { background: rgba(255,255,255,.08); color: #a9c3f0; font-size: .7rem; text-align: center; padding: 6px; }
.verify h4 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.verify p { margin: 0; color: #c8d8f5; font-size: .86rem; }
.verify .codes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.verify .codes span { font-family: var(--f-mono); font-size: .76rem; background: rgba(255,255,255,.08); border: 1px solid rgba(169,195,240,.25); border-radius: 8px; padding: 3px 8px; color: #fff; }
.vstate { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.vstate.valid { background: #e6f4ec; color: #067647; }
.vstate.expired { background: #fdecea; color: #b42318; }
.vstate.undated, .vstate.unverified { background: #fff4dc; color: #8a5a00; }
@media (max-width: 760px) { .verify { grid-template-columns: auto 1fr; } .verify .vwrap { grid-column: 1 / -1; } }
.verify-page .card-v { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-2); }
.verify-page .doc { border: 1px dashed var(--line-2); border-radius: 16px; padding: 16px; background: var(--paper); display: grid; place-items: center; min-height: 220px; }
.verify-page .doc img { max-height: 520px; width: auto; border-radius: 8px; }
.verify-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 18px 0; }
.verify-page dt { color: var(--ink-3); font-weight: 600; }
.verify-page dd { margin: 0; font-weight: 700; }
.steps-v { counter-reset: s; display: grid; gap: 12px; padding: 0; list-style: none; }
.steps-v li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps-v li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* availability + Notify me */
.badge.low { background: #fff4dc; color: #8a5a00; border-color: #f3dca3; }
.badge.out { background: #eef1f6; color: #3a4762; border-color: #d5dbe7; }
.badge.na { background: #eef1f6; color: #3a4762; border-color: #d5dbe7; }
.badge.promo { background: var(--brand-bright); color: #fff; border-color: transparent; }
.notify-btn { position: relative; z-index: 2; background: #0a0f1c; color: #fff; border: 0; border-radius: 999px; height: 38px; padding: 0 16px; font-weight: 800; font-size: .84rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.notify-btn:hover { background: #1b2540; }
.modal-back { position: fixed; inset: 0; background: rgba(7, 22, 55, .55); z-index: 90; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; border-radius: 20px; width: min(440px, 100%); padding: 24px; box-shadow: var(--shadow-3); position: relative; }
.modal h3 { margin: 0 0 6px; font-size: 1.2rem; }
.modal .x { position: absolute; right: 12px; top: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .88rem; cursor: pointer; }

/* banners */
.banners { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.banner { scroll-snap-align: start; position: relative; border-radius: 20px; overflow: hidden; min-height: 170px; color: #fff; text-decoration: none; display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(135deg, #0a3fb0, #1a8cff); box-shadow: var(--shadow-2); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,55,.78), rgba(7,22,55,.15)); z-index: 1; }
.banner > div { position: relative; z-index: 2; max-width: 34ch; }
.banner h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.banner p { margin: 0 0 10px; opacity: .9; font-size: .92rem; }
.banner .go { display: inline-flex; background: #fff; color: var(--brand-deep); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .84rem; }
.offer-strip { background: linear-gradient(90deg, #0a3fb0, #1a8cff); color: #fff; text-align: center; font-weight: 700; font-size: .88rem; padding: 7px 12px; }
.offer-strip a { color: #fff; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.subcats a { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .86rem; color: var(--brand-deep); text-decoration: none; }
.subcats a:hover { border-color: var(--brand); }
#cat-filter li.sub a { padding-left: 26px; font-size: .88rem; }
.pay-opt .logo-mm { font-weight: 800; letter-spacing: .02em; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 10px 0 24px; }
.about-card { display: block; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, #fff, #f3f7ff); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: border-color .2s, transform .2s; }
.about-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.about-card h3 { color: var(--brand-deep); font-size: 1.02rem; margin-bottom: 6px; }
.about-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.about-mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 22px 0; }
.about-mv > div { background: linear-gradient(135deg, #0a3fb0, #1a73f0); color: #fff; border-radius: 18px; padding: 20px 22px; }
.about-mv h3 { color: #fff; margin-bottom: 6px; }
.about-mv p { margin: 0; color: #e3eeff; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.dept { background: #fff; background-image: linear-gradient(160deg, rgba(26,140,255,.07), transparent 55%); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-1); }
.dept-head { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.dept-head .ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #0a3fb0, #1a8cff); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 18px -8px rgba(11,79,216,.6); }
.dept-head h3 { margin: 0; font-size: 1.08rem; color: var(--brand-deep); }
.dept-head .n { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.dept p { font-size: .9rem; color: var(--ink-2); margin: 10px 0 8px; }
.dept-subs { display: flex; flex-wrap: wrap; gap: 6px; }
.dept-subs a { font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--brand-deep); background: var(--paper-2); border-radius: 999px; padding: 4px 10px; }
.dept-subs a:hover { background: #d6e5ff; }
.showcase { background: linear-gradient(180deg, transparent, rgba(11,79,216,.05) 30%, transparent); }
.newsletter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; border-radius: 26px; padding: clamp(22px, 4vw, 40px); color: #fff; background: #0a3fb0; background-image: var(--grain), radial-gradient(600px 260px at 100% 0%, rgba(124,196,255,.35), transparent 60%), linear-gradient(135deg, #0a3fb0, #0b4fd8 55%, #1a73f0); box-shadow: var(--shadow-3); }
.newsletter h2 { color: #fff; margin: 0 0 6px; }
.newsletter p { margin: 0; color: #dbe8ff; }
.nl-fields { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-fields input[type=email] { height: 50px; border-radius: 999px; border: 0; padding: 0 20px; font-size: 1rem; }
.nl-consent { grid-column: 1 / -1; font-size: .84rem; color: #dbe8ff; display: flex; gap: 8px; align-items: center; }
.newsletter .notice { grid-column: 1 / -1; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .nl-fields { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .site-header .bar { gap: 8px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text { font-size: 1.2rem; }
  .head-actions { gap: 0; }
  .icon-btn { min-width: 38px; padding: 0 7px; }
  .banner { min-height: 150px; }
}
@media (max-width: 360px) { .logo-text { font-size: 1.05rem; } .logo-mark { width: 30px; height: 30px; } }
@media (max-width: 760px) { .pcard .notify-btn { padding: 0 12px; font-size: .78rem; height: 38px; } }
@media (min-width: 901px) { .nav ul { overflow: visible; flex-wrap: wrap; } .nav .mega-dept { top: calc(100% - 4px); } }
@media (min-width: 901px) { .nav ul { flex-wrap: nowrap; justify-content: space-between; } .nav a { padding: 12px 10px; } .nav a::after { left: 10px; right: 10px; } .nav li:last-child { margin-left: auto; } }
@media (min-width: 901px) and (max-width: 1240px) { .nav a { font-size: .82rem; padding: 12px 7px; } .nav a.rx-link { padding: 6px 10px; } }
/* ---------- mobile bottom navigation ---------- */
.m-nav { display: none; }
@media (max-width: 760px) {
  .m-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgba(10,31,77,.35); }
  .m-nav a, .m-nav button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 1px; min-height: 52px; min-width: 0; color: var(--ink-2); text-decoration: none; font-size: .64rem; white-space: nowrap; font-weight: 700; background: none; border: 0; cursor: pointer; font-family: inherit; }
  .m-nav [aria-current=page] { color: var(--brand); }
  .m-nav .m-rx { color: var(--brand); }
  .m-nav .cart-count { top: 2px; right: calc(50% - 22px); }
  body.has-mnav { padding-bottom: 72px; }
  body.has-mnav .m-cartbar { display: none !important; }
  body.has-mnav.has-cartbar { padding-bottom: 72px; }
  body.has-mnav .wa-float { bottom: 82px; width: 48px; height: 48px; }
  body.has-mnav .toasts { bottom: 84px; }
}
.preview-bar { background: #ffe7a8; color: #4a3200; text-align: center; font-weight: 700; font-size: .86rem; padding: 7px 12px; }
.preview-bar button { margin-left: 8px; border: 0; background: #4a3200; color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 700; cursor: pointer; }
.site-footer .social a { color: #dde6f5; }
.load-more { display: flex; justify-content: center; margin: 22px 0 6px; }

/* product photos are shot on pure white: their frame is pure white too, so no square edge shows */
.pcard .media:has(img), .gallery .main:has(img) { background: #fff; }
/* phones: every text box at 16px so iOS Safari never zooms the page when it is tapped */
@media (max-width: 760px) { input, select, textarea, .search input { font-size: 16px; } }

/* No motion anywhere: no animations, transitions, scroll effects or hover movement. Everything appears in place at once. */
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.reveal, .reveal.in { opacity: 1 !important; transform: none !important; }
.btn:hover, .cat:hover, .pcard:hover, .pcard:hover .media img, .wa-float:hover, .about-card:hover { transform: none !important; }
.cat:hover::before { transform: none !important; }

/* ---------- notification centre ---------- */
.bell-panel { position: absolute; z-index: 90; width: min(380px, calc(100vw - 16px)); max-height: min(560px, 75vh); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 50px rgba(13, 27, 61, .18); overflow: hidden; }
.bell-panel[hidden] { display: none; }
.bp-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.bp-head b { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin-right: auto; }
.bp-x { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.bp-x:hover { background: var(--paper-2); }
.bp-list { overflow-y: auto; }
.bp-item { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.bp-item:hover { background: var(--paper-2); }
.bp-item b { font-size: .95rem; }
.bp-item span { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.bp-item time { font-size: .76rem; color: var(--ink-3); }
.bp-item.unread { background: #f1f6ff; box-shadow: inset 3px 0 0 var(--brand, #1565f0); }
.bp-empty { padding: 22px 16px; text-align: center; color: var(--ink-2); }
.bp-empty p { margin: 0 0 12px; }
.bp-foot { padding: 10px 14px; border-top: 1px solid var(--line); background: var(--paper-2); text-align: center; }
@media (max-width: 640px) { .bell-panel { position: fixed; left: 8px; right: 8px !important; top: 64px !important; width: auto; } }
.pin-field .lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.pin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rx-secure { display: grid; align-content: center; gap: 14px; padding: clamp(28px, 4vw, 52px); background: linear-gradient(135deg, #134491, #0c275e); }
.rx-secure div { border: 1px solid rgba(124, 196, 255, .28); border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .04); }
.rx-secure b { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.rx-secure span { color: #c9d8f2; font-size: .92rem; line-height: 1.5; }
[hidden] { display: none !important; }
.pin-field .lbl .opt { font-weight: 400; color: var(--ink-3); }

/* ---------- hero help panel (replaces the decorative shelf) ---------- */
.hero-visual.hero-help { aspect-ratio: auto; max-height: none; display: flex; align-items: center; }
.help-card { width: 100%; background: var(--card, #fff); background-image: var(--grain); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-3); padding: 22px; display: grid; gap: 10px; }
.help-title { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; color: var(--ink); margin-bottom: 4px; }
.help-row { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: inset 4px 0 0 var(--teal); }
.help-row:hover { border-color: var(--teal); background: #f5f9ff; }
.help-row b { font-size: 1rem; }
.help-row span { font-size: .9rem; color: var(--ink-2); }
.help-foot { font-size: .85rem; color: var(--ink-3); text-align: center; margin-top: 4px; }
@media (max-width: 900px) { .hero-visual.hero-help { max-width: none; } }

/* ---------- information panels (replace the decorative art) ---------- */
.frame.info-panel { aspect-ratio: auto; min-height: 100%; display: flex; align-items: center; background: linear-gradient(155deg, #134491, #0a1f4d 70%); color: #fff; }
.frame.info-panel::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: overlay; opacity: .9; pointer-events: none; }
.frame.info-panel.light { background: linear-gradient(160deg, #eef4ff, #dce8fb); color: var(--ink); }
.info-panel .ip-inner { position: relative; padding: clamp(24px, 4vw, 40px); width: 100%; }
.info-panel .ip-title { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 14px; }
.info-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info-panel li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(124, 196, 255, .3); background: rgba(255, 255, 255, .05); font-size: .93rem; color: #c9d8f2; }
.info-panel li b { color: #fff; font-size: 1rem; }
.info-panel.light li { border-color: var(--line-2); background: #fff; color: var(--ink-2); }
.info-panel.light li b { color: var(--ink); }
.info-panel.light li span { color: var(--ink); font-weight: 600; word-break: break-word; }

/* checkout: delivery charge finder */
.area-picker { border: 1px solid var(--line, #d9e2ec); border-radius: 12px; padding: 10px 14px; background: #fff; }
.area-picker > summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.area-picker input[type=search] { width: 100%; margin: 10px 0 6px; }
.area-list { display: grid; gap: 4px; max-height: 260px; overflow: auto; }
.area-row { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; background: #f6f9fc; cursor: pointer; font: inherit; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.area-row:hover, .area-row:focus-visible { border-color: var(--teal, #0b7a75); background: #eaf6f5; transform: translateX(2px); }
.area-row b { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .area-row { transition: none; } }

/* Visit us card */
.shop-card { border: 1px solid var(--line, #dfe6f0); border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 16px; animation: shopIn .5s ease both; }
.shop-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.shop-card:hover .shop-photo { transform: scale(1.03); }
.shop-card { overflow: hidden; }
.shop-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.shop-body h3 { margin: 0; font-size: 1.1rem; }
.shop-body p { margin: 0; }
.shop-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px !important; }
@keyframes shopIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .shop-card { animation: none; } .shop-photo { transition: none; } }

/* Phone comfort: every tap target is at least 44 px (Google and Apple guidance), text never zooms on focus, no sideways scrolling. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label, select, input[type="submit"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(11, 79, 216, .12); }
@media (max-width: 800px) {
  html, body { overflow-x: clip; max-width: 100%; }
  img, video, svg { max-width: 100%; }
  .icon-btn, .site-header button, .site-header .logo { min-width: 44px; min-height: 44px; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .site-footer a { display: inline-block; min-height: 44px; padding: 11px 2px; line-height: 22px; }
  .site-footer li { margin: 0; }
  .site-footer .social a { padding: 11px 6px; }
  .nav a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
  .crumbs { flex-wrap: wrap; }
  .side a, #cat-filter a, .filters a { min-height: 44px; display: flex; align-items: center; }
  .prose a { padding: 4px 0; }
  .btn, .btn-sm { min-height: 44px; }
  input, select, textarea { font-size: 16px; min-height: 44px; }
  table { display: block; max-width: 100%; overflow-x: auto; }
}

/* Delivery area pages */
.county-grid { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.county-grid a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 56px; border: 1px solid var(--line, #dfe6f0); border-radius: 12px; text-decoration: none; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.county-grid a:hover, .county-grid a:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10, 48, 128, .12); border-color: var(--teal, #0b4fd8); }
.county-grid a span { font-size: .85rem; color: var(--ink-3, #5c6b86); }
.area-table { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line, #dfe6f0); border-radius: 12px; }
.area-table table { width: 100%; border-collapse: collapse; min-width: 420px; }
.area-table th, .area-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line, #e6ecf5); }
.area-table th { background: #f1f5fc; font-size: .85rem; position: sticky; top: 0; }
.county-links { line-height: 2.4; }
.county-links a { display: inline-block; padding: 2px 4px; }
.pdp-static { padding: 8px 0 24px; }

/* Phones: delivery tables fit the screen (no side scrolling); offer banners show a peek of the next one */
@media (max-width: 520px) {
  .area-table table { min-width: 0; }
  .area-table th, .area-table td { padding: 9px 8px; font-size: .9rem; }
  .banners { grid-auto-columns: minmax(240px, 86%); }
}

/* ---------- upright type everywhere ---------- */
*, *::before, *::after { font-style: normal !important; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }

/* ---------- third colour: pharmacy green, beside royal blue and navy ---------- */
.eyebrow { color: var(--third-deep); }
.site-header { border-top: 4px solid var(--third); }
.nav a::after { background: var(--third-bright); }
.nav a.rx-link { background: var(--third); color: #fff; }
.nav a.rx-link:hover { background: var(--third-deep); color: #fff; }
.hero-ctas .btn-teal, .buy-row .btn-teal, #place { --bg: var(--third); }
.hero-ctas .btn-teal:hover, .buy-row .btn-teal:hover, #place:hover { --bg: var(--third-deep); }
.add-btn { background: var(--third); }
.add-btn:hover { background: var(--third-deep); }
.m-cartbar span.go { background: var(--third); }
.hero-proof svg, .trust-item .ic { color: var(--third); }
.help-row { box-shadow: inset 4px 0 0 var(--third); }
.help-row:hover { border-color: var(--third); background: var(--third-soft); }
.site-footer { border-top: 4px solid var(--third); }
.site-footer .foot-top h4 { color: var(--third-bright); }
/* the full name stays under the wordmark on every screen size */
@media (max-width: 900px) { .logo-text small { display: block; font-size: .56rem; letter-spacing: .1em; white-space: nowrap; margin-top: 3px; } }
@media (max-width: 360px) { .logo-text small { font-size: .48rem; letter-spacing: .06em; } }
.logo-mark { flex: none; }
@media (max-width: 360px) { .site-header .bar { gap: 4px; } .head-actions .icon-btn { min-width: 32px; padding: 0 4px; } }
