/* VE Remotes catalogue — styles. Colours come from config.js (theme) via CSS variables. */
:root {
  --primary: #3F2D98;
  --accent: #E3301F;
  --ink: #0C1530;
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --line: #E4E7EF;
  --line-2: #D5D9E5;
  --text: #121A33;
  --muted: #5F6782;
  --primary-soft: color-mix(in srgb, var(--primary) 9%, white);
  --primary-mid: color-mix(in srgb, var(--primary) 22%, white);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, white);
  --ok: #14804A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(16 24 64 / .06), 0 1px 1px rgb(16 24 64 / .04);
  --shadow: 0 10px 30px -12px rgb(16 24 64 / .18), 0 2px 6px rgb(16 24 64 / .05);
  --shadow-lg: 0 30px 60px -20px rgb(16 24 64 / .30);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 96px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: -.005em; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 86%, black); box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--primary-soft); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: #1FAF54; color: #fff; }
.btn-wa:hover { background: #179247; }
.btn-lg { height: 54px; font-size: 15.5px; padding: 0 26px; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn small { font-weight: 500; opacity: .7; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); transition: background .2s; }
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); }
.icon-btn svg { width: 20px; height: 20px; }
.link-btn { color: var(--primary); font-weight: 700; font-size: 13px; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); font-size: 14px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: all .2s; }
.pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.pill.big { padding: 9px 16px; font-size: 14px; }
.pill small { color: var(--muted); font-weight: 600; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.eyebrow.light { color: rgb(255 255 255 / .7); }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; height: 46px; display: flex; align-items: center; }
.marquee-track { display: flex; width: max-content; white-space: nowrap; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; will-change: transform; }
.marquee-track.run { animation: marquee var(--mq-dur, 30s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: none; }
.marquee-track i { color: var(--accent); font-style: normal; font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(var(--mq-shift, -50%)); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); transition: height .3s var(--ease); }
body.scrolled .header-row { height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { height: 58px; width: auto; transition: height .3s var(--ease); }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-size: 25px; font-weight: 800; letter-spacing: .02em; color: var(--accent); }
.logo-word small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-top: 4px; font-weight: 700; }
.logo-sep { width: 1px; height: 48px; background: var(--line-2); flex: none; }
.logo-rmb { height: 74px; width: auto; flex: none; transition: height .3s var(--ease); }
body.scrolled .logo-mark { height: 44px; }
body.scrolled .logo-rmb { height: 56px; }

.search { position: relative; flex: 1; min-width: 0; max-width: 520px; margin-left: auto; display: flex; align-items: center; height: 46px; background: var(--bg); border: 1.5px solid transparent; border-radius: 999px; padding: 0 14px 0 16px; gap: 10px; transition: border-color .2s, background .2s, box-shadow .2s; }
.search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search-ico { color: var(--muted); display: inline-flex; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14.5px; height: 100%; }
.search input::-webkit-search-cancel-button { display: none; }
.search-kbd { font: 600 11px var(--font); color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; background: #fff; }
.search:focus-within .search-kbd { display: none; }
.header-links { display: flex; gap: 4px; }
.header-links a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .2s; }
.header-links a:hover, .header-links a.on { color: var(--primary); background: var(--primary-soft); }
.search-toggle { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; transition: transform .2s var(--ease), background .2s; flex: none; }
.cart-btn:hover { background: var(--primary); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count { min-width: 30px; height: 30px; border-radius: 999px; background: rgb(255 255 255 / .16); display: grid; place-items: center; font-size: 13px; padding: 0 8px; }
.cart-count.has { background: var(--accent); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* suggestions */
.suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; max-height: min(70vh, 560px); overflow: auto; z-index: 60; animation: pop .18s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.sg-group { padding: 4px 0; }
.sg-group + .sg-group { border-top: 1px solid var(--line); }
.sg-title { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 10px 4px; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.sg-item > span:last-child { display: flex; flex-direction: column; line-height: 1.3; font-weight: 700; font-size: 14px; }
.sg-item small { font-weight: 500; color: var(--muted); font-size: 12px; }
.sg-item:hover, .sg-item.active, .sg-all:hover, .sg-all.active { background: var(--primary-soft); }
.sg-item mark { background: none; color: var(--primary); }
.sg-mono, .sg-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; flex: none; }
.sg-thumb { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; flex: none; position: relative; }
.sg-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sg-all { display: flex; align-items: center; gap: 8px; padding: 12px 10px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; color: var(--primary); font-size: 14px; border-radius: 0 0 12px 12px; }

/* category bar */
.catbar { border-top: 1px solid var(--line); }
.catbar-track { display: flex; gap: 6px; overflow-x: auto; padding: 9px 0; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.catbar-track::-webkit-scrollbar { display: none; }
.catbar a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: all .2s; border: 1px solid transparent; }
.catbar a svg { width: 17px; height: 17px; }
.catbar a:hover { color: var(--text); background: var(--bg); }
.catbar a.on { color: #fff; background: var(--ink); }

/* ---------- view transitions ---------- */
#view { outline: none; min-height: 60vh; }
#view.enter { animation: viewIn .45s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- section heads ---------- */
section.container, .rail { margin-top: 72px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.sec-head h2 a { color: var(--primary); }
.sec-head p { color: var(--muted); margin-top: 6px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .eyebrow { margin-bottom: 10px; }

/* ---------- spotlight (home banner: offers, banners, welcome) ---------- */
.spot { padding: 20px 0 0; background: linear-gradient(#fff, var(--bg)); }
.spot-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.spot-grid.no-side { grid-template-columns: 1fr; }
.spot-main { position: relative; display: grid; min-height: 450px; border-radius: 28px; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; touch-action: pan-y; }
.slide { position: relative; grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 28px; padding: 44px 52px 80px; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; background:
  radial-gradient(520px 420px at 78% 45%, color-mix(in srgb, var(--oc) 70%, transparent), transparent 70%),
  radial-gradient(600px 400px at 0% 115%, color-mix(in srgb, var(--primary) 65%, transparent), transparent 70%),
  var(--ink); }
.slide::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, #000, transparent 65%); pointer-events: none; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.slide-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.on .slide-copy > * { opacity: 1; transform: none; }
.slide.on .slide-copy > :nth-child(2) { transition-delay: .05s; }
.slide.on .slide-copy > :nth-child(3) { transition-delay: .1s; }
.slide.on .slide-copy > :nth-child(4) { transition-delay: .15s; }
.slide.on .slide-copy > :nth-child(5) { transition-delay: .2s; }
.slide.on .slide-copy > :nth-child(6) { transition-delay: .25s; }
.otag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--oc); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 22px -8px var(--oc); }
.otag svg { width: 15px; height: 15px; }
.slide-cat { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: -10px; }
.slide-title { font-size: clamp(46px, 6vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.slide.intro .slide-title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.035em; max-width: 620px; }
.slide-note { font-size: 18px; line-height: 1.5; opacity: .85; max-width: 480px; font-weight: 500; }
.slide-compat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.slide-compat > span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.slide .bchip { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .22); color: #fff; font-size: 13.5px; padding: 4px 12px; }
.slide .bchip.more { color: #fff; background: var(--oc); border-color: transparent; }
.slide .bchip:hover { background: #fff; color: var(--ink); }
.slide-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.slide .card-act { min-width: 210px; }
.slide .add-btn { height: 50px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); border-color: #fff; font-size: 14.5px; }
.slide .add-btn:hover { background: var(--oc); border-color: var(--oc); color: #fff; }
.slide .cqty { height: 50px; border-radius: 999px; background: #fff; }
.btn-glass { height: 50px; background: rgb(255 255 255 / .1); color: #fff; border: 1px solid rgb(255 255 255 / .25); }
.btn-glass:hover { background: rgb(255 255 255 / .2); }
.slide-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.slide-disc { position: relative; display: grid; place-items: center; width: min(330px, 100%); aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 0 0 14px rgb(255 255 255 / .07), 0 0 0 30px rgb(255 255 255 / .04), 0 40px 60px -20px rgb(0 0 0 / .5); transform: scale(.85) rotate(-12deg); transition: transform 1s var(--ease); }
.slide.on .slide-disc { transform: none; }
.slide-disc img { width: 80%; height: 80%; object-fit: contain; }
.slide-disc > svg { width: 40%; height: 40%; color: var(--line-2); }
.slide-art:hover .slide-disc { transform: scale(1.03); }
.slide.banner { display: block; padding: 0; }
.slide.banner::before { display: none; }
.slide.banner img { width: 100%; height: 100%; object-fit: cover; }
.intro-art { height: 340px; }
.intro-art img { position: absolute; width: 46%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); }
.intro-art .ia0 { left: 0; top: 6%; transform: rotate(-8deg); }
.intro-art .ia1 { right: 0; top: 0; transform: rotate(7deg); }
.intro-art .ia2 { left: 27%; bottom: 0; transform: rotate(-1deg); z-index: 1; }
.spot-ctrl { position: absolute; left: 52px; right: 26px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.dots { display: flex; gap: 6px; margin-right: auto; }
.dots button { position: relative; width: 24px; height: 5px; border-radius: 5px; background: rgb(255 255 255 / .25); overflow: hidden; transition: width .4s var(--ease), background .2s; }
.dots button:hover { background: rgb(255 255 255 / .45); }
.dots button.on { width: 54px; }
.dots button.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; }
.spot-main.run .dots button.on::after { animation: prog var(--dur, 6s) linear forwards; }
.spot-main.paused .dots button.on::after { animation-play-state: paused; }
@keyframes prog { from { transform: scaleX(0); } }
.icon-btn.glass { background: rgb(255 255 255 / .1); color: #fff; border: 1px solid rgb(255 255 255 / .2); }
.icon-btn.glass:hover { background: #fff; color: var(--ink); }

.spot-side { display: flex; flex-direction: column; min-width: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.ss-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.ss-head b { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.ss-head b svg { color: var(--accent); }
.ss-head .link-arrow { font-size: 13px; }
.ss-list { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ss-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; text-align: left; transition: background .2s; }
.ss-item:hover { background: var(--bg); }
.ss-item.on { background: var(--primary-soft); }
.ss-item.on::before { content: ""; position: absolute; left: -16px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--primary); }
.ss-thumb { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; flex: none; }
.ss-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.ss-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.ss-text b { font-size: 15px; }
.ss-text small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ss-item > svg { width: 16px; color: var(--muted); }
.ss-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; padding: 11px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.ss-foot:hover { background: var(--accent); color: #fff; }

.quick { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.hero-search { display: flex; align-items: center; gap: 10px; flex: 1 1 520px; padding: 6px 6px 6px 18px; background: var(--bg); border: 1.5px solid transparent; border-radius: 999px; transition: border-color .2s, box-shadow .2s, background .2s; }
.hero-search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.hero-search .search-ico { color: var(--muted); display: inline-flex; }
.hero-search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: none; background: none; font-size: 15.5px; }
.hero-search .btn { height: 44px; }
.hero-popular { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; padding-right: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.stats div { padding: 26px 28px; display: flex; flex-direction: column; border-right: 1px solid rgb(255 255 255 / .1); }
.stats div:last-child { border: 0; }
.stats b { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 13px; opacity: .65; font-weight: 600; }

/* ---------- finder ---------- */
.finder-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.finder-step { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.finder-step:not(:first-child) { margin-top: 26px; }
.step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.step-lbl { font-weight: 800; font-size: 16px; }
.finder-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.fopt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 13px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.25; transition: all .2s var(--ease); }
.fopt svg { width: 28px; height: 28px; color: var(--muted); transition: color .2s; }
.fopt:hover:not(:disabled) { border-color: var(--primary); transform: translateY(-2px); }
.fopt.on { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 10px 20px -10px var(--primary); }
.fopt.on svg { color: #fff; }
.fopt:disabled { opacity: .45; cursor: not-allowed; }
.finder-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.fbrand { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; transition: all .2s; }
.fbrand small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.fbrand:hover { border-color: var(--primary); color: var(--primary); }
.fbrand.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fbrand.on small { color: rgb(255 255 255 / .6); }
.finder-results { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.finder-res-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; padding: 22px; min-height: 186px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.cat-tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--primary-soft); transition: transform .5s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-mid); }
.cat-tile:hover::after { transform: scale(1.6); }
.cat-ico { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; margin-bottom: 16px; transition: transform .35s var(--ease); }
.cat-ico svg { width: 28px; height: 28px; }
.cat-tile:hover .cat-ico { transform: rotate(-8deg) scale(1.06); }
.cat-name { position: relative; z-index: 1; font-weight: 800; font-size: 17px; letter-spacing: -.01em; line-height: 1.25; }
.cat-blurb { position: relative; z-index: 1; font-size: 13px; color: var(--muted); margin-top: 4px; }
.cat-count { position: relative; z-index: 1; margin-top: auto; padding-top: 14px; font-size: 12.5px; font-weight: 800; color: var(--primary); }
.cat-go { position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: all .3s var(--ease); }
.cat-tile:hover .cat-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.cat-tile.soon .cat-ico { background: var(--line-2); color: var(--muted); }
.cat-tile.soon .cat-count { color: var(--muted); }

/* ---------- brands ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: all .3s var(--ease); }
.brand-tile b { font-size: 16px; font-weight: 800; margin-top: 10px; }
.brand-tile small { font-size: 12px; color: var(--muted); font-weight: 600; }
.bt-mono, .az-mono { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--ink); color: #fff; transition: background .3s; }
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-mid); }
.brand-tile:hover .bt-mono { background: var(--accent); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.grid-tight { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-mid); }
.media { position: relative; background: #fff; display: block; }
.media .ph-ico { display: none; }
.media.noimg { background: linear-gradient(135deg, var(--bg), var(--primary-soft)); }
.media.noimg .ph-ico { display: grid; place-items: center; position: absolute; inset: 0; color: var(--primary-mid); }
.media.noimg .ph-ico svg { width: 40%; height: 40%; stroke-width: 1.2; }
.card-media { aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-cat { position: absolute; left: 12px; top: 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgb(255 255 255 / .92); border: 1px solid var(--line); color: var(--muted); backdrop-filter: blur(6px); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; flex: 1; }
.card-title { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.card-title:hover { color: var(--primary); }
.compat-mini { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px; border-radius: 12px; background: var(--primary-soft); flex: 1; }
.compat-mini-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.bchips { display: flex; flex-wrap: wrap; gap: 5px; }
.bchip { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--primary-mid); font-size: 12.5px; font-weight: 700; color: var(--ink); transition: all .2s; }
.bchip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.bchip.more { color: var(--primary); }
.bchip.none { color: var(--muted); border-style: dashed; }
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border-radius: 12px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 13.5px; transition: all .2s var(--ease); }
.add-btn:hover { background: var(--ink); color: #fff; }
.add-btn.in { background: color-mix(in srgb, var(--ok) 10%, white); border-color: color-mix(in srgb, var(--ok) 45%, white); color: var(--ok); }
.add-btn.in:hover { background: var(--ok); color: #fff; }
.card-act { display: flex; }
.card-act > * { flex: 1; }
.cqty { display: flex; align-items: center; height: 42px; border-radius: 12px; overflow: hidden; color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, white); border: 1.5px solid color-mix(in srgb, var(--ok) 40%, white); animation: pop .25s var(--ease); }
.cqty button { display: grid; place-items: center; width: 40px; height: 100%; flex: none; transition: background .15s; }
.cqty button:hover { background: color-mix(in srgb, var(--ok) 16%, white); }
.cqty button svg { width: 16px; height: 16px; }
.cqty input { flex: 1; width: 40px; min-width: 0; padding: 0; border: 0; outline: 0; background: none; color: inherit; text-align: right; font-weight: 800; font-size: 14.5px; -moz-appearance: textfield; }
.cqty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cqty-u { flex: 1; padding-left: 4px; font-size: 12px; font-weight: 700; }
.card-offer { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--oc); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 14px -6px var(--oc); }
.card-offer svg { width: 13px; height: 13px; }
.pd-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 18px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--oc) 8%, white); border: 1px solid color-mix(in srgb, var(--oc) 28%, white); }
.pd-offer p { flex: 1; min-width: 180px; font-weight: 700; }
.pd-offer .link-arrow { color: var(--oc); font-size: 13px; }
.oz-tabs { margin: -8px 0 16px; }
.ozt { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; transition: all .2s; }
.ozt:hover { border-color: var(--ink); }
.ozt small { color: var(--muted); }
.ozt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ozt.on small { color: rgb(255 255 255 / .6); }
.odot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--oc); flex: none; }
.tabs.flat { margin: 0 0 22px; }
.ph-cat-ico.hot { background: var(--accent); }
.catbar a.cb-offers { color: var(--accent); background: var(--accent-soft); }
.catbar a.cb-offers.on { color: #fff; background: var(--accent); }
.header-links a.hl-offers { color: var(--accent); }
.header-links a.hl-offers:hover, .header-links a.hl-offers.on { background: var(--accent-soft); color: var(--accent); }
.tabbar, .sheet { display: none; }
[hidden] { display: none !important; }

/* ---------- account (customer portal) ---------- */
.acct-btn { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text); border: 1px solid var(--line-2); flex: none; transition: all .2s; }
.acct-btn svg { width: 19px; height: 19px; }
.acct-btn:hover, .acct-btn.on { border-color: var(--primary); color: var(--primary); }
.acct-btn.in { background: var(--primary-soft); border-color: transparent; color: var(--primary); }
.acct-wrap { margin-top: 32px; }
.auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-side { padding: 44px; color: #fff; background: radial-gradient(400px 260px at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent), linear-gradient(140deg, var(--ink), var(--primary)); }
.auth-side h2 { font-size: 30px; margin: 14px 0 24px; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.auth-side li { display: flex; gap: 14px; }
.auth-side li > svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgb(255 255 255 / .12); flex: none; }
.auth-side li span { display: flex; flex-direction: column; font-size: 14px; opacity: .85; }
.auth-side li b { font-size: 15px; opacity: 1; }
.auth-note { margin-top: 28px; font-size: 13px; opacity: .65; }
.auth-card { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.auth-card.solo { grid-column: 1 / -1; max-width: 460px; margin: 0 auto; width: 100%; }
.auth-tabs { align-self: flex-start; }
.auth-tabs button { width: auto; padding: 0 16px; font-weight: 700; font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .fields { margin: 0; }
.auth-alt { text-align: center; }
.auth-done { text-align: center; padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.auth-done > svg { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.auth-done p { color: var(--muted); }
.acct-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.acct-avatar { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 28px; font-weight: 800; }
.acct-head h1 { font-size: 30px; }
.acct-head p { color: var(--muted); }
.acct-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.acct-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 24px; align-items: start; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.acct-card h3 { font-size: 18px; margin-bottom: 4px; }
.acct-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.fields.one { grid-template-columns: 1fr; margin: 14px 0 0; }
.eq { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.eq summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.eq summary::-webkit-details-marker { display: none; }
.eq summary > svg { color: var(--muted); transition: transform .2s; }
.eq[open] summary > svg { transform: rotate(180deg); }
.eq-ref { display: flex; flex-direction: column; line-height: 1.3; }
.eq-ref small { color: var(--muted); font-size: 12px; }
.eq-tot { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.eq-items { list-style: none; margin: 0; padding: 0 16px; border-top: 1px solid var(--line); }
.eq-items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.eq-items li span { display: flex; flex-direction: column; font-weight: 700; }
.eq-items small { font-weight: 500; color: var(--muted); font-size: 12px; }
.eq .btn { margin: 12px 16px 14px; }
.st { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.st-new { background: #EEF2FF; color: #3F2D98; }
.st-contacted { background: #FFF7E6; color: #B45309; }
.st-quoted { background: #E9F5FF; color: #0B6BBF; }
.st-won { background: #E8F7EE; color: #14804A; }
.st-lost { background: #F1F2F5; color: #5F6782; }
.co-nudge { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--primary-soft); font-size: 14px; margin-bottom: 18px; }
.co-nudge > svg { color: var(--primary); margin-top: 2px; }
.co-nudge a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.co-nudge.ok { background: color-mix(in srgb, var(--ok) 9%, white); }
.co-nudge.ok > svg { color: var(--ok); }
.success-acct { margin-bottom: 18px; color: var(--muted); }
.success-acct a { color: var(--primary); font-weight: 700; }

/* list layout */
.grid.as-list { grid-template-columns: 1fr; gap: 10px; }
.grid.as-list .card { flex-direction: row; align-items: stretch; }
.grid.as-list .card-media { width: 130px; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
.grid.as-list .card-body { flex-direction: row; align-items: center; gap: 18px; }
.grid.as-list .card-title { width: 150px; flex: none; }
.grid.as-list .compat-mini { flex: 1; }
.grid.as-list .card-act { width: 210px; flex: none; }
.grid.as-list .card-cat { display: none; }

/* rails */
.rail-ctrl { display: flex; align-items: center; gap: 4px; }
.rail-ctrl .link-arrow { margin-right: 10px; }
.rail-ctrl .icon-btn { border: 1px solid var(--line-2); background: #fff; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; }
.rail-track .card { scroll-snap-align: start; }

/* ---------- how / cta ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.how-step > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.how-step h3 { margin: 18px 0 8px; font-size: 19px; }
.how-step p { color: var(--muted); font-size: 14.5px; }
.how-n { position: absolute; right: 22px; top: 18px; font-size: 44px; font-weight: 800; color: var(--bg); -webkit-text-stroke: 1.5px var(--line-2); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 26px; color: #fff; background: radial-gradient(500px 200px at 90% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent), linear-gradient(120deg, var(--ink), var(--primary)); }
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); }
.cta-band p { opacity: .75; margin-top: 6px; max-width: 560px; }

/* ---------- page heads ---------- */
.page-head { padding: 34px 0 30px; background: linear-gradient(#fff, var(--bg)); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; }
.page-head-row { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.ph-cat-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.ph-cat-ico svg { width: 34px; height: 34px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--primary); }
.crumbs b { color: var(--text); }

/* ---------- catalogue ---------- */
.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; margin-top: 28px; align-items: start; }
.filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; scrollbar-width: thin; }
.filters-head { display: none; }
.fgroup + .fgroup { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.fgroup h4 { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fcat { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: background .2s; }
.fcat small { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 12px; }
.fcat-ico svg { width: 18px; height: 18px; color: var(--muted); }
.fcat:hover { background: var(--bg); }
.fcat.on { background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.fcat.on .fcat-ico svg, .fcat.on small { color: var(--primary); }
.fcat.dim { opacity: .55; }
.bsearch { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; background: var(--bg); margin-bottom: 8px; border: 1.5px solid transparent; }
.bsearch:focus-within { border-color: var(--primary); background: #fff; }
.bsearch span { color: var(--muted); display: inline-flex; }
.bsearch input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; font-size: 14px; }
.bsearch.big { height: 50px; border-radius: 999px; background: #fff; border-color: var(--line); max-width: 420px; padding: 0 18px; }
.fbrands { display: flex; flex-direction: column; gap: 1px; }
.fbrand-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.fbrand-row:hover { background: var(--bg); }
.fbrand-row input { position: absolute; opacity: 0; pointer-events: none; }
.cbox { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .15s; flex: none; }
.cbox svg { width: 14px; height: 14px; stroke-width: 2.6; }
.fbrand-row input:checked + .cbox { background: var(--primary); border-color: var(--primary); color: #fff; }
.fbrand-row input:focus-visible + .cbox { outline: 2px solid var(--primary); outline-offset: 2px; }
.fbrand-row small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.filters-toggle { display: none; }
.dot-count { background: var(--primary); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.fchip svg { width: 14px; height: 14px; opacity: .7; }
.fchip:hover svg { opacity: 1; }
.toolbar-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; height: 40px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.select svg { position: absolute; right: 12px; pointer-events: none; width: 16px; height: 16px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.seg button { width: 34px; height: 32px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.seg button svg { width: 17px; height: 17px; }
.seg button.on { background: var(--ink); color: #fff; }
.more-wrap { display: flex; justify-content: center; margin-top: 26px; }

/* empty states */
.empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty.big { margin-top: 20px; padding: 80px 20px; }
.empty-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.empty-ico svg { width: 28px; height: 28px; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--muted); max-width: 460px; margin: 8px auto 0; }
.empty-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ---------- brand page ---------- */
.brand-hero { padding: 34px 0 40px; color: #fff; background: radial-gradient(600px 300px at 85% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent), linear-gradient(120deg, var(--ink), var(--primary)); }
.brand-hero .crumbs, .brand-hero .crumbs b { color: rgb(255 255 255 / .75); }
.brand-hero-row { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.brand-hero-mono { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; background: #fff; color: var(--primary); font-weight: 800; font-size: 46px; flex: none; box-shadow: var(--shadow-lg); }
.brand-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.03em; margin: 4px 0; }
.brand-hero p { opacity: .8; }
.brand-hero-cta { margin-left: auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -46px 0 24px; position: relative; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); transition: all .2s; }
.tab svg { width: 17px; height: 17px; }
.tab small { color: var(--muted); }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab.on small { color: rgb(255 255 255 / .6); }
.related-brands h3 { font-size: 20px; margin-bottom: 14px; }

/* brands index */
.brands-tools { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: #fff; border: 1px solid var(--line); }
.az a:hover { background: var(--ink); color: #fff; }
.az-title { font-size: 22px; font-weight: 800; margin: 34px 0 14px; }
.az-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.az-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 15px; transition: all .2s; }
.az-item small { margin-left: auto; color: var(--muted); font-weight: 700; }
.az-mono { width: 32px; height: 32px; border-radius: 9px; font-size: 14px; }
.az-item:hover { border-color: var(--primary); transform: translateX(3px); }
.az-item:hover .az-mono { background: var(--accent); }

/* ---------- product page ---------- */
.pd { margin-top: 28px; }
.pd-top { display: flex; justify-content: space-between; align-items: center; }
.pd-nav { display: flex; gap: 6px; }
.pd-nav .icon-btn { border: 1px solid var(--line-2); background: #fff; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; margin-top: 18px; align-items: start; }
.pd-gallery { position: sticky; top: 150px; }
.pd-media { aspect-ratio: 1; border-radius: 26px; border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.pd-media img { width: 100%; height: 100%; object-fit: contain; padding: 4%; transition: transform .25s ease-out; }
.pd-media.zooming img { transform: scale(2.1); }
.pd-zoom { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pd-hint { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; font-weight: 600; }
.cat-pill { color: var(--primary); background: var(--primary-soft); border-color: transparent; }
.cat-pill svg { width: 16px; height: 16px; }
.pd-title { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 22px; color: var(--ink); }

.compat { position: relative; border-radius: 26px; padding: 26px; color: #fff; overflow: hidden; background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%), linear-gradient(135deg, var(--primary), var(--ink)); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--primary) 80%, transparent); }
.compat::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px); background-size: 16px 16px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.compat-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.compat-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.01em; }
.compat-kicker svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #fff; color: var(--primary); stroke-width: 2.6; }
.compat-sub { font-size: 13px; opacity: .7; font-weight: 600; }
.compat-brands { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.compat-brands.single { grid-template-columns: 1fr; }
.compat-brand { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(8px); transition: all .3s var(--ease); }
.compat-brand:hover { background: #fff; color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cb-mono { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--primary); font-weight: 800; font-size: 24px; flex: none; transition: all .3s; }
.compat-brand:hover .cb-mono { background: var(--accent); color: #fff; }
.cb-text { display: flex; flex-direction: column; min-width: 0; }
.cb-name { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.compat-brands.single .cb-name { font-size: clamp(28px, 3.4vw, 40px); }
.compat-brands.single .cb-mono { width: 64px; height: 64px; font-size: 30px; border-radius: 18px; }
.cb-more { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; opacity: .75; margin-top: 3px; }
.cb-more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.compat-brand:hover .cb-more { opacity: 1; color: var(--primary); }
.compat-brand:hover .cb-more svg { transform: translateX(4px); }
.compat-models { position: relative; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgb(0 0 0 / .18); }
.compat-models b { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.compat-models p { margin-top: 4px; font-weight: 600; }
.compat-none { position: relative; font-weight: 600; opacity: .85; }

.order-box { margin-top: 22px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.order-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 18px; }
.lbl { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lbl small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--text); transition: background .15s; }
.stepper button:hover { background: var(--primary-soft); color: var(--primary); }
.stepper button svg { width: 16px; height: 16px; }
.stepper input { width: 64px; text-align: center; border: 0; outline: 0; font-weight: 800; font-size: 14px; -moz-appearance: textfield; background: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.big { border-radius: 14px; }
.stepper.big button { width: 48px; height: 50px; }
.stepper.big input { width: 96px; font-size: 20px; }
.quick-q > div { display: flex; flex-wrap: wrap; gap: 6px; }
.qq { padding: 0 14px; height: 36px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 13px; transition: all .2s; }
.qq:hover { border-color: var(--primary); color: var(--primary); }
.qq.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.order-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--muted); margin-top: 12px; font-weight: 600; text-align: center; }
.order-note svg { color: var(--ok); }
.share-row { display: flex; gap: 8px; margin-top: 16px; }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgb(12 21 48 / .45); backdrop-filter: blur(3px); z-index: 80; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.dr-head h3 { font-size: 20px; }
.dr-head small { color: var(--muted); font-weight: 600; }
.dr-body { flex: 1; overflow: auto; padding: 8px 22px 22px; }
.dr-lines { list-style: none; margin: 0; padding: 0; }
.dr-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; animation: cardIn .3s var(--ease); }
.dr-thumb { width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; flex: none; }
.dr-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.dr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dr-name { font-weight: 800; font-size: 15.5px; }
.dr-info small { color: var(--muted); font-size: 12.5px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-info .stepper { align-self: flex-start; }
.dr-remove { color: var(--muted); width: 36px; height: 36px; }
.dr-remove:hover { color: var(--accent); background: var(--accent-soft); }
.dr-empty { text-align: center; padding: 40px 10px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dr-empty > svg { width: 44px; height: 44px; color: var(--primary-mid); }
.dr-custom { margin-top: 18px; border: 1.5px dashed var(--line-2); border-radius: 14px; }
.dr-custom-toggle { width: 100%; display: flex; align-items: center; gap: 8px; padding: 13px 14px; font-weight: 700; color: var(--primary); font-size: 14px; }
.dr-custom-body { display: none; padding: 0 14px 14px; gap: 8px; flex-direction: column; }
.dr-custom.open .dr-custom-body { display: flex; }
.dr-custom input { height: 42px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 12px; outline: none; width: 100%; }
.dr-custom input:focus { border-color: var(--primary); }
.dr-custom-row { display: flex; gap: 8px; }
.dr-custom-row input { width: 110px; flex: none; }
.dr-custom-row .btn { flex: 1; height: 42px; border-radius: 10px; }
.dr-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.dr-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.dr-total b { font-size: 20px; }
.dr-foot .link-btn { align-self: center; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; margin-top: 30px; align-items: start; }
.co-form, .co-summary { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.co-form h3, .co-summary h3 { font-size: 19px; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.field.wide { grid-column: 1 / -1; }
.field i { color: var(--accent); font-style: normal; }
.field input, .field textarea { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; outline: none; font-size: 15px; font-weight: 500; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field.invalid input { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.co-summary { position: sticky; top: 150px; }
.co-sum-head { display: flex; justify-content: space-between; align-items: baseline; }
.co-lines { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow: auto; }
.co-lines li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-thumb { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; flex: none; position: relative; }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; }
.co-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.co-name small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-qty { font-weight: 800; font-size: 14px; white-space: nowrap; }
.co-total { display: flex; justify-content: space-between; padding-top: 14px; font-size: 15px; }
.success { max-width: 720px; margin: 30px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 50px 30px; }
.success-ico { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: bump .6s var(--ease); }
.success-ico svg { width: 38px; height: 38px; stroke-width: 2.5; }
.success h1 { font-size: 36px; margin: 10px 0; }
.success > p { color: var(--muted); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0; }
.success-text { text-align: left; background: var(--bg); border-radius: 14px; padding: 18px; font: 500 13px/1.6 ui-monospace, Consolas, monospace; white-space: pre-wrap; max-height: 320px; overflow: auto; margin-bottom: 22px; }

/* ---------- lightbox / toast / fly ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgb(12 21 48 / .92); display: grid; place-items: center; padding: 30px; animation: fade .25s; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: min(90vw, 1000px); background: #fff; border-radius: 20px; animation: pop .3s var(--ease); }
.lb-close { position: absolute; top: 18px; right: 18px; background: #fff; }
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 110; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; padding: 12px 12px 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; animation: toastIn .35s var(--ease); transition: opacity .3s, transform .3s; }
.toast:not(:has(button)) { padding-right: 18px; }
.toast button { background: rgb(255 255 255 / .14); color: #fff; padding: 6px 12px; border-radius: 9px; font-weight: 700; font-size: 13px; }
.toast button:hover { background: var(--accent); }
.toast.out { opacity: 0; transform: translateY(10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.fly { position: fixed; z-index: 120; object-fit: contain; background: #fff; border-radius: 16px; pointer-events: none; box-shadow: var(--shadow-lg); }

/* ---------- footer ---------- */
.site-footer { margin-top: 96px; background: var(--ink); color: rgb(255 255 255 / .75); padding: 60px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot-grid a:hover { color: #fff; }
.foot-grid a.strong { color: #fff; font-weight: 700; }
.foot-logos { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-logos img { height: 44px; background: #fff; padding: 7px; border-radius: 12px; }
.foot-logos span { display: flex; flex-direction: column; line-height: 1.1; }
.foot-logos b { color: #fff; font-size: 20px; letter-spacing: .03em; }
.foot-logos small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.foot-brand p { font-size: 14px; margin-bottom: 18px; max-width: 360px; }
.foot-contact a, .foot-contact span { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { margin-top: 3px; color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; margin-top: 50px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 12.5px; color: rgb(255 255 255 / .5); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-links { display: none; }
  .spot-grid { grid-template-columns: 1fr; }
  .spot-side { display: none; }
  .quick { flex-wrap: wrap; }
  .hero-popular { justify-content: flex-start; }
  .pd-grid { gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; top: auto; max-height: 82vh; border-radius: 24px 24px 0 0; transform: translateY(105%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
  body.filters-open .filters { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 18px; }
  .filters-toggle { display: inline-flex; height: 40px; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; max-width: 520px; width: 100%; margin: 0 auto; }
  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .how-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .1); }
  .grid.as-list .card-body { flex-direction: column; align-items: stretch; gap: 10px; }
  .grid.as-list .card-title, .grid.as-list .card-act { width: auto; }
  .logo-word { display: none; }
  .header-row { gap: 12px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 28px; }
  .auth-card { padding: 24px; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-label { display: none; }
  .acct-btn { width: 46px; padding: 0; justify-content: center; }
  .slide { grid-template-columns: minmax(0, 1fr) 240px; padding: 36px 32px 76px; }
  .spot-ctrl { left: 32px; }
  .brand-hero-cta { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 32px); }
  .logo-word, .logo-sep { display: none; }
  .logo-mark { height: 42px; }
  .logo-rmb { height: 52px; }
  .search { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); max-width: none; background: #fff; border-color: var(--primary); box-shadow: var(--shadow-lg); }
  body.search-open .search { display: flex; }
  .search-kbd { display: none; }
  .search-toggle { display: inline-grid; margin-left: auto; border: 1px solid var(--line-2); }
  .cart-btn { display: none; }
  .acct-btn { width: 40px; height: 40px; margin-left: -4px; }
  .auth-side { display: none; }
  .acct-head h1 { font-size: 24px; }
  .acct-actions { margin-left: 0; width: 100%; }
  .acct-actions > * { flex: 1; }
  .eq summary { flex-wrap: wrap; }
  section.container, .rail { margin-top: 52px; }

  /* spotlight on phones: photo on top, copy below, swipe + dots */
  .spot { padding-top: 12px; }
  .spot-main { min-height: 0; border-radius: 22px; }
  .slide { grid-template-columns: 1fr; align-content: start; gap: 14px; padding: 20px 20px 60px; }
  .slide::before { mask-image: linear-gradient(#000, transparent 60%); }
  .slide-art { order: -1; min-height: 0; }
  .slide-disc { width: 190px; box-shadow: 0 0 0 10px rgb(255 255 255 / .07), 0 0 0 20px rgb(255 255 255 / .04); }
  .slide-copy { gap: 10px; }
  .slide-title { font-size: 44px; }
  .slide.intro .slide-title { font-size: 32px; }
  .slide-note { font-size: 15px; }
  .slide-cta { width: 100%; }
  .slide-cta > * { flex: 1; min-width: 0 !important; }
  .slide .add-btn, .slide .cqty, .btn-glass { height: 46px; }
  .slide .add-btn { padding: 0 12px; font-size: 13.5px; white-space: nowrap; }
  .btn-glass { padding: 0 14px; }
  .intro-art { height: 190px; }
  .intro-art img { width: 40%; border-radius: 16px; }
  .spot-ctrl { left: 20px; right: 12px; bottom: 14px; }
  .spot-ctrl .icon-btn { width: 34px; height: 34px; }
  .quick { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; padding: 8px; border-radius: 20px; }
  .quick > * { min-width: 0; }
  .hero-search { flex: none; padding-left: 16px; }
  .hero-search input { width: 0; font-size: 15px; }
  .hero-search .btn { padding: 0 16px; }
  .hero-search .search-ico { display: none; }
  .hero-popular { flex-wrap: nowrap; overflow-x: auto; padding: 2px 6px 4px; scrollbar-width: none; white-space: nowrap; }
  .hero-popular::-webkit-scrollbar { display: none; }
  .stats div { padding: 16px 18px; }
  .card-offer { left: 8px; top: 8px; font-size: 9px; padding: 4px 8px 4px 6px; }
  .cqty { height: 38px; }
  .cqty button { width: 34px; }

  /* bottom tab bar + category sheet */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .95); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid var(--line); }
  .tabbar > * { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 10.5px; font-weight: 700; color: var(--muted); }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .on { color: var(--primary); }
  .tabbar .tb-offers svg { color: var(--accent); }
  .tab-badge { position: absolute; top: 0; left: calc(50% + 5px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 800 10px/18px var(--font); text-align: center; }
  .tab-badge[hidden] { display: none; }
  .sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 86; max-height: 85vh; overflow: auto; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); background: #fff; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); transform: translateY(105%); transition: transform .4s var(--ease); }
  .sheet.open { transform: none; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 18px; }
  .sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sheet-grid a { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: var(--bg); }
  .sheet-grid a span { color: var(--primary); margin-bottom: 4px; }
  .sheet-grid a span svg { width: 26px; height: 26px; }
  .sheet-grid a.soon span { color: var(--muted); }
  .sheet-grid b { font-size: 14px; line-height: 1.25; }
  .sheet-grid small { font-size: 12px; color: var(--muted); font-weight: 600; }
  .sheet-links { display: flex; gap: 8px; margin-top: 12px; }
  .sheet-links .btn { flex: 1; }
  .toasts { bottom: calc(80px + env(safe-area-inset-bottom)); width: calc(100% - 32px); }
  .toast { width: 100%; justify-content: space-between; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head.center { align-items: center; }
  .rail-ctrl .icon-btn { display: none; }
  .finder-card { padding: 20px; border-radius: 20px; }
  .finder-opts { grid-template-columns: repeat(3, 1fr); }
  .grid, .grid-tight { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 11px 12px; gap: 9px; }
  .card-title { font-size: 15.5px; }
  .compat-mini { padding: 8px; }
  .bchip { font-size: 11.5px; padding: 2px 8px; }
  .add-btn { height: 38px; font-size: 12.5px; }
  .card-cat { font-size: 9px; left: 8px; top: 8px; }
  .rail-track { grid-auto-columns: 46%; gap: 10px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { padding: 16px; min-height: 170px; }
  .cat-blurb { display: none; }
  .cat-ico { width: 44px; height: 44px; }
  .cat-name { font-size: 15px; }
  .brand-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brand-tile { padding: 12px; }
  .brand-tile b { font-size: 14px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .fchips { order: 3; flex-basis: 100%; }
  .page-head-row { align-items: flex-start; }
  .ph-cat-ico { width: 48px; height: 48px; border-radius: 14px; }
  .brand-hero-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand-hero-mono { width: 70px; height: 70px; font-size: 32px; border-radius: 20px; }
  .tabs { margin-top: -24px; }
  .compat { padding: 20px; border-radius: 20px; }
  .compat-brands { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .co-form, .co-summary { padding: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .order-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  :where(*:not(.marquee-track)), *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track.run { animation-duration: calc(var(--mq-dur, 30s) * 1.6) !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .marquee, .site-header, .site-footer, .success-actions, .link-arrow, .toasts { display: none !important; }
  .success { border: 0; }
}

/* =====================================================================
   v3: brand-first home, category cards, MOQ, gallery, sticky enquiry bar
   ===================================================================== */
.hero2 { padding: 34px 0 10px; background:
  radial-gradient(700px 360px at 15% 0%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 70%),
  radial-gradient(700px 360px at 85% 10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
  linear-gradient(#fff, var(--bg)); text-align: center; }
.hero2-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand-duo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; max-width: 1040px; margin: 22px auto 0; }
.duo-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 230px; padding: 30px 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.duo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.duo-ve:hover { border-color: var(--primary-mid); }
.duo-rmb:hover { border-color: color-mix(in srgb, var(--accent) 35%, white); }
.duo-logo { flex: 1; display: grid; place-items: center; }
.lg-ve { display: flex; align-items: center; gap: 16px; }
.lg-ve img { height: 110px; width: auto; }
.lg-ve span { display: flex; flex-direction: column; text-align: left; line-height: 1; }
.lg-ve b { font-size: 46px; font-weight: 800; letter-spacing: .02em; color: var(--accent); }
.lg-ve small { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.lg-rmb { height: 150px; width: auto; }
.duo-foot { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.duo-foot b { font-size: 15px; }
.duo-foot span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary); }
.duo-rmb .duo-foot span { color: var(--accent); }
.duo-foot svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.duo-card:hover .duo-foot svg { transform: translateX(4px); }
.duo-amp { align-self: center; font-size: 44px; font-weight: 800; color: var(--line-2); }
.hero2-title { margin: 30px auto 0; max-width: 820px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.hero2-title span { color: var(--primary); }
.hero-search.big { max-width: 680px; margin: 22px auto 0; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.hero2 .hero-popular { justify-content: center; margin-top: 14px; padding: 0; }

.cats-first { margin-top: 44px; }
.cat-grid2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat2 { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.cat2:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-mid); }
.cat2-img { height: 150px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--primary-soft)); border-bottom: 1px solid var(--line); overflow: hidden; }
.cat2-img img { height: 100%; width: 100%; object-fit: contain; padding: 12px; transition: transform .5s var(--ease); }
.cat2:hover .cat2-img img { transform: scale(1.08) rotate(-3deg); }
.cat2-ph svg { width: 64px; height: 64px; color: var(--primary-mid); stroke-width: 1.2; }
.cat2-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.cat2-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: #fff; margin: -33px 0 8px; box-shadow: 0 6px 14px -6px var(--primary); }
.cat2-ico svg { width: 19px; height: 19px; }
.cat2-body b { font-size: 16px; line-height: 1.25; }
.cat2-body small { font-size: 12.5px; font-weight: 700; color: var(--primary); }
.cat2.soon .cat2-body small { color: var(--muted); }
.cat2.soon .cat2-ico { background: var(--line-2); box-shadow: none; }
.cat2-go { position: absolute; right: 14px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: all .3s var(--ease); }
.cat2-go svg { width: 15px; height: 15px; }
.cat2:hover .cat2-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.offer-ribbon { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 18px; border-radius: 16px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, white); color: var(--ink); font-size: 14px; transition: background .2s; }
.offer-ribbon > svg { color: var(--accent); width: 20px; height: 20px; }
.offer-ribbon span { flex: 1; color: var(--muted); }
.offer-ribbon b { color: var(--accent); margin-right: 6px; }
.offer-ribbon em { font-style: normal; font-weight: 800; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.offer-ribbon:hover { background: color-mix(in srgb, var(--accent) 16%, white); }
.offer-zone .sec-head h2 { font-size: clamp(20px, 2.4vw, 26px); }
.stats { margin-top: 0; }

.range-logo { margin: 14px 0 4px; }
.range-logo .lg-ve img { height: 64px; }
.range-logo .lg-ve b { font-size: 30px; }
.range-logo .lg-rmb { height: 90px; }
.range-seg { display: flex; width: 100%; }
.range-seg button { flex: 1; padding: 6px 4px; font-size: 12.5px; }

.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-moq { font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.card-moq.oos { color: var(--accent); }
.add-btn.oos, .add-btn:disabled { border-color: var(--line-2); color: var(--muted); background: var(--bg); cursor: not-allowed; }

.pd-media.oos img { opacity: .55; filter: grayscale(.4); }
.oos-badge { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.oos-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--accent-soft); margin-bottom: 14px; }
.oos-box > svg { color: var(--accent); width: 26px; height: 26px; }
.oos-box p { color: var(--muted); font-size: 14px; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.pd-thumb { width: 72px; height: 72px; border-radius: 14px; border: 2px solid var(--line); background: #fff; overflow: hidden; padding: 0; transition: border-color .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pd-thumb.on, .pd-thumb:hover { border-color: var(--primary); }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgb(255 255 255 / .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgb(16 24 64 / .35); transform: translateY(110%); transition: transform .35s var(--ease); }
.buybar.show { transform: none; }
.buybar-in { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.bb-thumb { width: 50px; height: 50px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; flex: none; }
.bb-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.bb-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.bb-text b { font-size: 16px; }
.bb-text small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .stepper button { width: 38px; height: 42px; }
.buybar .stepper input { width: 70px; font-size: 15px; }
.buybar .btn { height: 46px; }
body.has-buybar .toasts { bottom: 96px; }

@media (max-width: 1100px) {
  .lg-ve img { height: 80px; } .lg-ve b { font-size: 34px; } .lg-rmb { height: 116px; }
  .cat-grid2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero2 { padding-top: 18px; }
  .brand-duo { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .duo-amp { display: none; }
  .duo-card { min-height: 150px; padding: 18px 10px 14px; border-radius: 20px; gap: 10px; }
  .lg-ve { flex-direction: column; gap: 6px; }
  .lg-ve img { height: 56px; }
  .lg-ve span { text-align: center; }
  .lg-ve b { font-size: 21px; }
  .lg-ve small { font-size: 8px; letter-spacing: .14em; margin-top: 4px; }
  .lg-rmb { height: 84px; }
  .duo-foot span { font-size: 11.5px; }
  .hero2-title { font-size: 24px; margin-top: 20px; }
  .hero-search.big { margin-top: 16px; }
  .cats-first { margin-top: 30px; }
  .cat-grid2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat2-img { height: 110px; }
  .cat2-body { padding: 12px 12px 14px; }
  .cat2-body b { font-size: 14px; }
  .cat2-go { display: none; }
  .offer-ribbon { flex-wrap: wrap; font-size: 13px; }
  .card-head { flex-direction: column; gap: 0; }
  .buybar { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .buybar-in { gap: 8px; padding: 8px 0; }
  .bb-thumb, .bb-text small { display: none; }
  .bb-text b { font-size: 14px; }
  .buybar .stepper input { width: 52px; }
  .buybar .stepper button { width: 32px; }
  .buybar .btn { padding: 0 14px; font-size: 13px; }
  .pd-thumb { width: 60px; height: 60px; }
}

/* ---------- quotes (customer) ---------- */
.quote-wrap { margin-top: 30px; }
.quote-card { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px dashed var(--line-2); }
.quote-head h1 { font-size: 32px; margin: 4px 0; }
.quote-head p { color: var(--muted); font-weight: 600; }
.quote-status { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-weight: 800; }
.quote-status span { display: flex; flex-direction: column; line-height: 1.3; }
.quote-status small { font-weight: 600; font-size: 12.5px; opacity: .8; }
.quote-status > svg { width: 26px; height: 26px; }
.quote-status.ready { background: color-mix(in srgb, var(--ok) 11%, white); color: var(--ok); }
.quote-status.wait { background: #FFF7E6; color: #B45309; }
.quote-wait { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--bg); color: var(--muted); }
.quote-table-wrap { overflow-x: auto; margin-top: 18px; }
.quote-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.quote-table th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.quote-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote-table td small { display: block; color: var(--muted); font-size: 12.5px; }
.quote-table .num { text-align: right; white-space: nowrap; }
.quote-table tfoot td { border-bottom: 0; padding-top: 16px; font-weight: 700; font-size: 16px; }
.quote-table tfoot .num b { font-size: 22px; color: var(--primary); }
.quote-note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--primary-soft); }
.quote-note small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; margin-top: 6px; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quote-resp { margin-top: 20px; padding: 14px 16px; border-radius: 14px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.quote-resp.accepted { background: color-mix(in srgb, var(--ok) 11%, white); color: var(--ok); }
.quote-resp.declined { background: var(--bg); color: var(--muted); }
.quote-foot { margin-top: 20px; color: var(--muted); font-size: 13px; }
.eq-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 16px 14px; }
.eq-btns .btn { margin: 0; }
.co-qty small { display: block; text-align: right; font-weight: 600; color: var(--muted); font-size: 11px; }

.qpop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgb(12 21 48 / .55); backdrop-filter: blur(4px); animation: fade .3s; }
.qpop-card { width: min(460px, 100%); background: #fff; border-radius: 28px; padding: 34px 28px 26px; text-align: center; box-shadow: 0 40px 90px -20px rgb(0 0 0 / .45); animation: pop .4s var(--ease); }
.qpop-burst { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--primary) 70%, white), var(--primary)); box-shadow: 0 0 0 10px var(--primary-soft), 0 0 0 20px color-mix(in srgb, var(--primary) 5%, white); animation: bump .8s var(--ease) .2s; }
.qpop-burst svg { width: 40px; height: 40px; }
.qpop-card h2 { font-size: 26px; margin: 8px 0; }
.qpop-card p { color: var(--muted); }
.qpop-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.qpop-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; }
.qpop-list a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: 13px; }
.qpill { position: fixed; left: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px; background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .4s var(--ease); }
.qpill > svg { width: 26px; height: 26px; padding: 4px; background: rgb(255 255 255 / .15); border-radius: 8px; }
.qpill span { display: flex; flex-direction: column; line-height: 1.25; }
.qpill small { opacity: .8; font-size: 12px; }
@media (max-width: 760px) {
  .quote-card { padding: 18px; border-radius: 20px; }
  .quote-head h1 { font-size: 24px; }
  .qpill { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .quote-actions .btn { flex: 1; }
}
@media print { .qpill, .qpop, .tabbar, .buybar { display: none !important; } .quote-card { box-shadow: none; border: 0; } }
