/* sterlingtradinggroup.com - the public shop front.

   A warm off-white page, white surfaces, the navy and gold of the lion badge
   used sparingly, Manrope for headlines and Inter for everything else (both
   self-hosted from /fonts, latin subset only). No framework. Every rule
   here is used by the templates in ../templates or by site.js. */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ink: #0b1220; --ink-2: #2f3a4b; --muted: #6b7482; --faint: #9aa3b0;
  --navy: #12305e; --navy-700: #0f2749; --navy-900: #0a1a35; --navy-soft: #e9eef7;
  --gold: #b8923d; --gold-deep: #9a7730; --gold-soft: #f7f0e1;
  --bg: #f7f6f3; --surface: #ffffff; --tile: #f2f1ed; --tile-2: #ebeae5;
  --line: #e6e4de; --line-strong: #d3d0c8;
  --green: #157347; --green-soft: #e3f3ea; --amber: #8a5a0d; --amber-soft: #fff4d6;
  --red: #b3261e; --red-soft: #fbe9e7;
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 1px 3px rgba(11, 18, 32, .04);
  --shadow: 0 2px 6px rgba(11, 18, 32, .05), 0 14px 32px -18px rgba(11, 18, 32, .28);
  --shadow-lg: 0 6px 16px rgba(11, 18, 32, .06), 0 28px 60px -30px rgba(11, 18, 32, .35);
  --wrap: 1200px; --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- base ------------------------------------------------------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* The hero's glow and the brand ticker are drawn past the edges on purpose;
   clip (not hidden, which would undo the sticky gallery) keeps the page
   from scrolling sideways to reach them. */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
svg.i { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .45em; color: var(--ink); letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 19px; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
.opt { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 200; }
.skip:focus { left: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--gold-deep); margin: 0 0 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pill.in { color: var(--green); background: var(--green-soft); border-color: transparent; }
.count-pill { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--navy-soft); color: var(--navy); font: 700 13px/1.6 var(--font); letter-spacing: 0; }

/* --- buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s; }
.btn:hover { background: #fff; border-color: var(--ink); color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(18, 48, 94, .7); }
.btn.primary:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 48, 94, .8); }
.btn.light { background: #fff; border-color: #fff; color: var(--navy-900); }
.btn.light:hover { background: #fff; color: var(--navy); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.danger { color: var(--red); }
.btn .i { width: 1.05em; height: 1.05em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: 15px; color: var(--navy); white-space: nowrap; }
.more:hover { gap: 9px; }
.more .i { transition: transform .18s var(--ease); }
.more:hover .i { transform: translateX(2px); }

/* --- header ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .84); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 8px -2px rgba(11, 18, 32, .45); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 16.5px; letter-spacing: -.025em; line-height: 1.05; white-space: nowrap; }
.nav { display: none; gap: 2px; margin: 0 auto; }
.nav a { padding: 8px 10px; border-radius: var(--r-pill); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s; }
.nav a:hover { background: var(--tile); color: var(--ink); }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.trade-nav { display: flex; align-items: center; gap: 8px; }
.trade-nav [data-when] { display: none; }
.trade-nav[data-state="anon"] [data-when="anon"], .trade-nav[data-state="auth"] [data-when="auth"] { display: inline-flex; }
.tn-link { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 10px; color: var(--ink-2); border-radius: var(--r-pill); white-space: nowrap; }
.tn-link:hover { background: var(--tile); color: var(--ink); }
.basket .count { background: var(--gold); color: #fff; border-radius: var(--r-pill); padding: 1px 8px; font-size: 12px; font-weight: 700; margin-left: 2px; }
.menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .close-i, .site-header[data-menu="open"] .menu-btn .menu-i { display: none; }
.site-header[data-menu="open"] .menu-btn .close-i { display: block; }
.bar .trade-nav .tn-link, .bar .trade-nav .btn.primary { display: none; }
.bar-search { display: none; }

/* search */
.search { position: relative; }
.search-box { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--tile); transition: border-color .15s, background .15s, box-shadow .15s; }
.search-box:focus-within { background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); }
.search-box .i { color: var(--muted); width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 14.5px var(--font); color: var(--ink); outline: 0; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--faint); }
.search kbd { font: 600 11px var(--font); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; background: #fff; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; z-index: 50; max-height: min(70vh, 520px); overflow: auto; }
.search-results[hidden] { display: none; }
.search-hit { 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); }
.search-hit:hover, .search-hit[aria-selected="true"] { background: var(--tile); }
.search-hit img, .search-hit .no-pic { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); font-size: 18px; }
.search-hit .sh-title { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-hit .sh-brand { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.search-hit .stock { font-size: 11.5px; }
.search-hit.brand-hit { grid-template-columns: 44px 1fr auto; }
.search-hit.brand-hit .no-pic { background: var(--navy); color: #fff; border-color: var(--navy); font-family: var(--display); }
.search-empty { padding: 14px 12px; color: var(--muted); font-size: 14px; }
.search-foot { padding: 8px 10px 4px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 4px; }
.search-foot a { font-weight: 600; text-decoration: none; }

/* the drawer, phones and tablets */
.menu { border-top: 1px solid var(--line); background: #fff; }
.menu[hidden] { display: none; }
.menu .wrap { padding: 14px 0 18px; display: grid; gap: 14px; }
.menu-nav { display: grid; }
.menu-nav a { padding: 12px 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); font-family: var(--display); letter-spacing: -.01em; }
.menu-nav a:last-child { border-bottom: 0; }
.menu-trade { display: grid; gap: 8px; }
.menu-trade[data-state="anon"] [data-when="anon"], .menu-trade[data-state="auth"] [data-when="auth"] { display: inline-flex; justify-content: center; }
.menu-trade .tn-link { border: 1px solid var(--line-strong); }

/* The bar has to fit its wrap at every width or the page scrolls sideways:
   from 1000px the nav, a search box and the trade links, with the wordmark
   and the wider box waiting for 1180px; Delivery and FAQ live in the drawer
   and the footer, since with them the bar never fits at all. */
@media (min-width: 1000px) {
  .nav { display: flex; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .menu-btn, .menu { display: none !important; }
  .bar .trade-nav .tn-link, .bar .trade-nav .btn.primary { display: inline-flex; }
  .bar .trade-nav[data-state="anon"] .tn-link[data-when="auth"], .bar .trade-nav[data-state="auth"] [data-when="anon"] { display: none; }
  .bar-search { display: block; flex: 0 1 190px; min-width: 140px; }
  .nav .nav-2 { display: none; }
  .bar .brand-name { display: none; }
}
@media (min-width: 1180px) { .bar .brand-name { display: inline; } .bar-search { flex-basis: 230px; } .nav a { padding: 8px 12px; font-size: 15px; } }
@media (min-width: 1360px) { .bar-search { flex-basis: 280px; } .bar { gap: 24px; } }

main { display: block; min-height: 50vh; }

/* --- home: hero ------------------------------------------------------- */
.hero { position: relative; display: grid; gap: 40px; align-items: center; padding: 44px 0 18px; grid-template-columns: 1fr; }
.hero::before { content: ""; position: absolute; inset: -80px -40vw 0; z-index: -1; pointer-events: none; background:
  radial-gradient(600px 320px at 15% 0%, rgba(18, 48, 94, .10), transparent 70%),
  radial-gradient(520px 300px at 90% 20%, rgba(184, 146, 61, .13), transparent 70%); }
.hero h1 { max-width: 12ch; margin-bottom: .4em; }
.hero .lead { margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.hero-fine { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.hero-fine li { display: inline-flex; align-items: center; gap: 7px; }
.hero-fine .i { color: var(--green); width: 17px; height: 17px; }
.hero-art { position: relative; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 8px 40px 8px; }
/* On a phone the hero keeps a strip of three tiles under the buttons and
   none of the floating chips; the full six with their offsets need width. */
@media (max-width: 899px) {
  .mosaic { gap: 12px; padding: 4px 0 0; }
  .mosaic-tile { border-radius: 16px; }
  .mosaic-tile:nth-child(n+4), .float-chip { display: none; }
  .mosaic-tile:nth-child(3n+2), .mosaic-tile:nth-child(3n+3) { transform: none; }
}
.mosaic-tile { display: block; aspect-ratio: 1; background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(11, 18, 32, .06); overflow: hidden; padding: 12%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mosaic-tile:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: contain; }
.mosaic-tile:nth-child(3n+2) { transform: translateY(28px); }
.mosaic-tile:nth-child(3n+2):hover { transform: translateY(24px) scale(1.02); }
.mosaic-tile:nth-child(3n+3) { transform: translateY(-14px); }
.mosaic-tile:nth-child(3n+3):hover { transform: translateY(-18px) scale(1.02); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.float-chip strong { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.chip-a { left: -10px; bottom: 26px; }
.chip-b { right: -6px; top: 6px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(21, 115, 71, .45); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21, 115, 71, .45); } 70% { box-shadow: 0 0 0 9px rgba(21, 115, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 115, 71, 0); } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding: 64px 0 28px; gap: 48px; }
  .hero-art { display: block; }
}

/* trust row */
.trust { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px 20px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.trust .ico .i { width: 20px; height: 20px; }
.trust strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.trust span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* brand marquee */
.marquee-section { margin: 44px 0 8px; }
.marquee-label { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; padding: 6px 0; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--ink-2); text-decoration: none; white-space: nowrap; opacity: .75; transition: opacity .15s, color .15s; }
.marquee-track a:hover { opacity: 1; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 14px 30px; }
  .marquee-track a[aria-hidden] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* --- sections --------------------------------------------------------- */
.section { padding: 40px 0 8px; }
.section.small { padding-top: 16px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head .eyebrow { margin-bottom: 6px; }
.section-head h2 { margin: 0; }
.section-head p.sub { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* categories */
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 12px; align-items: end; padding: 18px; min-height: 178px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.cat-pics { grid-column: 1 / -1; display: flex; align-items: center; height: 84px; margin-bottom: 4px; }
.cat-pics img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease); }
.cat-pics img + img { margin-left: -18px; }
.cat-pics img:nth-child(1) { transform: rotate(-6deg); z-index: 1; }
.cat-pics img:nth-child(2) { z-index: 2; transform: translateY(-4px); }
.cat-pics img:nth-child(3) { transform: rotate(6deg); z-index: 1; }
.cat:hover .cat-pics img:nth-child(1) { transform: rotate(-9deg) translateX(-4px); }
.cat:hover .cat-pics img:nth-child(3) { transform: rotate(9deg) translateX(4px); }
.cat-pics .no-pic { width: 72px; height: 72px; border-radius: 14px; font-size: 26px; }
.cat-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; display: block; }
.cat-count { font-size: 13.5px; color: var(--muted); display: block; margin-top: 2px; }
.cat-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: var(--ink); transition: background .2s, color .2s, transform .2s var(--ease); }
.cat:hover .cat-arrow { background: var(--navy); color: #fff; transform: translateX(2px); }

/* facet chips over a brand, category or type page; the type row on the home page */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 6px 0 2px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-label, .type-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-right: 4px; }
.chip { font: 600 13.5px var(--font); padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { margin-left: auto; font-size: 13.5px; color: var(--muted); }
.filter-more { font-size: 14px; }

/* --- search page ------------------------------------------------------ */
.search-head .search-big { max-width: 640px; margin-top: 12px; }
.search-big .search-box { height: 54px; padding: 0 16px 0 18px; background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.search-big .search-box .i { width: 20px; height: 20px; }
.search-big input { font-size: 17px; }
.search-page { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; padding-bottom: 56px; }
.facets-toggle { justify-self: start; }
.facets-toggle .count-pill { margin-left: 2px; }
.facets { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 20px 12px; }
.search-page.facets-open .facets { display: block; }
.facet { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facet:last-child { border-bottom: 0; }
.facet h3 { font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; font-weight: 700; }
.facet-opts { display: grid; gap: 1px; max-height: 250px; overflow: auto; margin: 0 -6px; padding: 0 6px; }
.facet-opt { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--r-sm); cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.facet-opt:hover { background: var(--tile); color: var(--ink); }
.facet-opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); flex: none; }
.facet-opt .facet-label { flex: 1; }
.facet-opt .facet-n { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.facet-opt.is-on { color: var(--ink); font-weight: 600; }
.facet-stock { font-weight: 600; color: var(--ink); }
.facet-clear { background: none; border: 0; padding: 4px 0 0; color: var(--navy); font: 600 13.5px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.active-chips .chip { display: inline-flex; align-items: center; gap: 6px; }
.active-chips .chip .i { width: 13px; height: 13px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.results-count { margin: 0; color: var(--muted); font-size: 15px; }
.results-count strong { color: var(--ink); font-family: var(--display); font-size: 24px; letter-spacing: -.02em; margin-right: 6px; font-weight: 800; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.sort select { font: 500 14px var(--font); color: var(--ink); padding: 8px 32px 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7482' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 16px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.show-more { text-align: center; margin: 24px 0 0; }
.results .empty { margin-top: 6px; }
.results .empty .btn { margin-top: 12px; }
@media (min-width: 900px) {
  .search-page { grid-template-columns: 256px minmax(0, 1fr); gap: 32px; }
  .facets-toggle { display: none; }
  .facets { display: block; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
  .facet-opts { max-height: 224px; }
}
.type-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.type-row .pill, .page-meta a.pill { text-decoration: none; }
.type-row .pill:hover, .page-meta a.pill:hover { border-color: var(--ink); color: var(--ink); }
.type-row .pill .muted { font-weight: 500; }

/* --- product grid ----------------------------------------------------- */
.grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card.out .card-pic img { filter: grayscale(.5); opacity: .7; }
.card-pic { position: relative; display: block; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.card:hover .card-pic img { transform: scale(1.06); }
.card-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.no-pic { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--line-strong); background: linear-gradient(160deg, #fff, var(--tile-2)); }
.no-pic.big { aspect-ratio: 1; font-size: 110px; border-radius: var(--r); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 5px; flex: 1; align-content: start; }
.card-brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-decoration: none; font-weight: 700; }
.card-brand:hover { color: var(--navy); }
.card-title { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--navy); }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.card-meta span::after { content: "·"; margin-left: 6px; color: var(--line-strong); }
.card-meta span:last-child::after { content: none; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.stock.in { color: var(--green); }
.stock.in::before { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.price-slot { font-size: 14px; }
.price-login { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2); padding: 4px 10px; border-radius: var(--r-pill); background: var(--tile); }
.price-login:hover { background: var(--navy-soft); color: var(--navy); }
.price-login .i { width: 14px; height: 14px; }
.price { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 17px; letter-spacing: -.02em; }
.price small { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.add-row { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.add-row input { width: 64px; padding: 8px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: inherit; font-size: 14px; }
.price-wait { color: var(--amber); font-size: 13px; font-weight: 600; }
.card .price-slot:has(.add-row) { width: 100%; }

/* --- home: why + steps + cta ------------------------------------------ */
.why-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.why-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.why-grid .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 4px; }
.why-grid .ico .i { width: 22px; height: 22px; }
.why-grid h3 { margin: 0; }
.why-grid p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); position: relative; }
.steps li { counter-increment: step; position: relative; padding: 0 8px 0 0; font-size: 15px; color: var(--ink-2); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--gold-deep); margin-bottom: 12px; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line-strong); }
.steps li strong { display: block; color: var(--ink); font-weight: 700; margin: 22px 0 6px; font-size: 16px; letter-spacing: -.01em; }
.cta-band { margin: 48px 0 8px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: radial-gradient(700px 300px at 90% 0%, rgba(184, 146, 61, .35), transparent 65%), linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; display: grid; gap: 20px; align-items: center; grid-template-columns: 1fr; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 56ch; font-size: 16px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn { border-color: transparent; }
.cta-band .btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-line { margin-top: 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: var(--r); font-size: 14.5px; color: var(--ink-2); margin: 0 0 8px; }
.note .i { color: var(--gold-deep); margin-top: 3px; }

/* --- page heads, crumbs, prose ---------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 22px 0 14px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.crumbs .sep { color: var(--line-strong); }
.crumbs span:last-child { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.page-head { padding: 8px 0 22px; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 46px); }
.page-head .lead { margin-bottom: 14px; }
.page-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.prose-page { max-width: 780px; padding-bottom: 48px; }
.prose { font-size: 16.5px; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; font-size: 24px; color: var(--ink); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }
.prose .btn { margin-top: 8px; }
.faq-list { display: grid; gap: 10px; margin: 8px 0 24px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; transition: border-color .15s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.faq-item summary .i { color: var(--muted); transition: transform .2s var(--ease); }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 0 18px; }
.faq-a p { margin: 0; }
.contact-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 6px 0 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.contact-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }
.contact-card h2 { margin: 6px 0 0; font-size: 18px; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.contact-card address { font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* --- buyer's guides --------------------------------------------------- */
.guide-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.guide-tiles a { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); height: 100%; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.guide-tiles a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.guide-tiles strong { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; }
.guide-tiles span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.guide-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.guide-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.guide-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.guide-list a:hover .cat-arrow { background: var(--navy); color: #fff; }
.guide-list h2 { font-size: 19px; margin: 0 0 4px; }
.guide-list p { margin: 0; color: var(--muted); font-size: 14.5px; }
.guide-no { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--gold-deep); }
.guide .prose h2 { font-size: 22px; }
.guide .prose h3 { font-size: 17px; }
.guide-cta { margin: 32px 0 18px; padding: 26px 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; display: grid; gap: 16px; }
.guide-cta h2 { color: #fff; font-size: 22px; margin-bottom: .2em; }
.guide-cta p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 15px; }
.guide-cta .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.guide-cta .btn { border-color: transparent; }
.guide-cta .btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.guide-cta .btn.ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
@media (min-width: 720px) { .guide-cta { grid-template-columns: 1fr auto; align-items: center; } }

/* --- brands A-Z ------------------------------------------------------- */
.az-nav { position: sticky; top: var(--header-h); z-index: 10; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 0; margin: 0 0 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
.az-nav a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-sm); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.az-nav a:hover { background: var(--navy); color: #fff; }
.az { column-width: 270px; column-gap: 28px; padding-bottom: 40px; }
.az-group { break-inside: avoid; margin-bottom: 26px; }
.az-group h2 { font-size: 28px; color: var(--gold); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.az-group ul { list-style: none; margin: 0; padding: 0; }
.az-group li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.az-group li:last-child { border-bottom: 0; }
.az-group li a { text-decoration: none; font-weight: 600; color: var(--ink); }
.az-group li a:hover { color: var(--navy); }
.az-group li > span:first-child { font-weight: 600; color: var(--muted); }
.az-group .muted { font-size: 13px; white-space: nowrap; }

/* --- product page ----------------------------------------------------- */
.product { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 820px) { .product { grid-template-columns: minmax(300px, 520px) 1fr; gap: 48px; align-items: start; } .product-gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.product-pic { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(18px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.product-pic img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.product-brand { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.product-brand a { text-decoration: none; color: var(--muted); }
.product-brand a:hover { color: var(--navy); }
.product h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 20px; }
.product-meta .stock { padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.product-meta .stock.in { background: var(--green-soft); border-color: transparent; }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.price-slot.big .price { font-size: 30px; }
.price-slot.big .add-row input { width: 82px; padding: 11px 10px; font-size: 15px; }
.price-slot.big .add-row .btn { padding: 11px 18px; font-size: 15px; }
.price-login-text { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; color: var(--ink-2); font-size: 15px; }
.price-login-text .i { color: var(--gold-deep); margin-top: 3px; }
.buy-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.buy-perks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.buy-perks li { display: flex; gap: 8px; align-items: center; }
.buy-perks .i { color: var(--green); width: 17px; height: 17px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0 22px; font-size: 15px; margin: 0 0 22px; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.specs dd a { text-decoration: none; }
.specs dd a:hover { text-decoration: underline; }
.trail { display: flex; flex-wrap: wrap; gap: 4px 7px; align-items: center; }
.trail .sep { color: var(--line-strong); }
.product-copy { color: var(--ink-2); font-size: 15.5px; }
.product-copy h3 { margin: 1.3em 0 .4em; font-size: 17px; color: var(--ink); }
.product-copy ul { padding-left: 20px; margin: 0 0 1em; }
.product-copy li { margin-bottom: .3em; }

/* --- forms ------------------------------------------------------------ */
.form-page { max-width: 820px; padding-bottom: 56px; }
.form-page .page-head { padding-bottom: 14px; }
.form { display: block; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 22px 24px 14px; margin: 0 0 16px; box-shadow: var(--shadow-sm); }
.form legend { float: left; width: 100%; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); padding: 0; margin: 0 0 16px; }
.form legend + * { clear: both; }
.form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; color: var(--ink); }
.form label > input:not([type=checkbox]):not([type=radio]), .form label > select, .form label > textarea { display: block; margin-top: 6px; }
.form label > .opt { margin-left: 4px; }
.form label > input + .opt { display: block; margin: 5px 0 0; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; width: 100%; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7482' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); }
.form textarea { resize: vertical; min-height: 84px; }
.form .row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 14.5px; color: var(--ink-2); padding: 4px 2px; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.form-error { background: var(--red-soft); color: var(--red); padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.form-error[hidden] { display: none; }
.form .submit-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 8px 0 12px; }
.done { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.done h2 { color: var(--ink); font-size: 26px; }
.done p:last-child { margin: 0; }

.auth-page { min-height: 60vh; display: grid; place-items: center; padding: 40px 0 64px; }
.auth-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 34px 32px 26px; box-shadow: var(--shadow); }
.auth-card .brand-mark { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px; }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card > p, .auth-card form > p.intro { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.auth-card .btn.primary { width: 100%; padding: 13px 18px; font-size: 15.5px; }
.auth-card .form label { margin-bottom: 14px; }
.auth-card .fine { text-align: center; margin: 14px 0 0; }
.auth-card h2 { font-size: 22px; }

/* --- account + basket ------------------------------------------------- */
.account, .basket-page { padding: 10px 0 56px; max-width: 980px; }
.account h1, .basket-page h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 20px; }
.account h2, .basket-page h2 { font-size: 24px; margin-top: 30px; }
.banner { padding: 14px 18px; border-radius: var(--r); margin-bottom: 18px; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.banner.pending { background: var(--amber-soft); color: var(--amber); border-color: #f1dfae; }
.banner.rejected { background: var(--red-soft); color: var(--red); }
.banner.ok { background: var(--green-soft); color: var(--green); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #fbfaf8; font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; }
.line-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.line-title:hover { color: var(--navy); }
.line-sub { font-size: 12.5px; color: var(--muted); }
.qty { width: 70px; padding: 8px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: inherit; font-size: 14px; }
.link { background: none; border: 0; padding: 0; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.totals { margin: 18px 0; display: grid; gap: 6px; justify-content: end; font-size: 15px; }
.totals div { display: grid; grid-template-columns: 170px 130px; }
.totals .num { text-align: right; font-variant-numeric: tabular-nums; }
.totals .grand { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; border-top: 1px solid var(--line-strong); padding-top: 10px; margin-top: 6px; }
.checkout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-top: 22px; box-shadow: var(--shadow-sm); }
.checkout h2 { margin-top: 0; font-size: 22px; }
.checkout .form label { margin-bottom: 12px; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.radio-row label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); cursor: pointer; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); color: var(--navy); }
.radio-row input { accent-color: var(--navy); margin: 0; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.order-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.order-head strong { font-family: var(--display); letter-spacing: -.01em; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); background: var(--tile); color: var(--muted); text-transform: capitalize; letter-spacing: .02em; }
.status.confirmed { background: var(--navy-soft); color: var(--navy); }
.status.dispatched { background: var(--green-soft); color: var(--green); }
.status.cancelled { background: var(--red-soft); color: var(--red); }
.status.submitted { background: var(--amber-soft); color: var(--amber); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; margin-bottom: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; white-space: pre-line; color: var(--ink); }
.empty { padding: 36px 24px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }

/* --- 404 -------------------------------------------------------------- */
.lost { text-align: center; padding: 64px 0 80px; max-width: 560px; margin: 0 auto; }
.lost .code { font-family: var(--display); font-weight: 800; font-size: 96px; letter-spacing: -.06em; line-height: 1; color: var(--line-strong); margin-bottom: 8px; }
.lost .btn { margin: 6px 4px 0; }

/* --- footer ----------------------------------------------------------- */
.site-footer { margin-top: 64px; background: var(--navy-900); color: #b9c2d3; padding: 52px 0 22px; font-size: 14.5px; }
.site-footer a { color: #e7ebf3; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; } }
.foot-about .brand { color: #fff; margin-bottom: 14px; }
.foot-about .brand .brand-name { color: #fff; }
.foot-about p { max-width: 38ch; margin-bottom: 14px; }
.foot-about a { display: inline; padding: 0; }
.foot-head { font-family: var(--display); font-weight: 800; color: #fff; margin-bottom: 10px; font-size: 15px; letter-spacing: -.01em; }
.site-footer address { font-style: normal; line-height: 1.55; color: #b9c2d3; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 12.5px; color: #8d98ad; line-height: 1.55; }
.site-footer .legal p { margin: 6px 0; }
