/* =============================================================
   MAZI AUTO PARTS — storefront styles
   Dark cinematic, electric blue. Mobile first.
   ============================================================= */
:root {
  --bg: #04060c;
  --bg-2: #070b16;
  --surface: #0b1121;
  --surface-2: #10182d;
  --card: rgba(16, 24, 45, .62);
  --line: rgba(148, 178, 255, .10);
  --line-2: rgba(148, 178, 255, .18);
  --text: #e9eef8;
  --text-2: #b7c2d8;
  --muted: #7d8aa5;
  --blue: #1f6bff;
  --blue-2: #3d8bff;
  --cyan: #38d1ff;
  --glow: 0 0 0 1px rgba(61, 139, 255, .35), 0 10px 40px -10px rgba(31, 107, 255, .55);
  --ok: #2fd38a;
  --warn: #ffb547;
  --bad: #ff5c6c;
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 26px;
  --wrap: 1280px;
  --head-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
body::before { /* ambient light */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(31, 107, 255, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(56, 209, 255, .07), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
body::after { /* film grain */
  content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 999; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,3%)} 80%{transform:translate(3%,1%)} 100%{transform:translate(0,0)} }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(100deg, #fff 10%, var(--blue-2) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--blue); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; white-space: nowrap;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; overflow: hidden; isolation: isolate;
  box-shadow: 0 8px 30px -8px rgba(31, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(31, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(61, 139, 255, .6); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.loading { color: transparent; pointer-events: none; }
.btn.loading::before { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 0; color: var(--text-2); transition: .25s; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.link { color: var(--blue-2); font-weight: 500; }
.link:hover { color: var(--cyan); }

/* ---------- announcement ---------- */
.announce { position: relative; z-index: 51; background: linear-gradient(90deg, #0a2a6b, #1f6bff 50%, #0a2a6b); background-size: 200% 100%; animation: sheen 8s linear infinite; color: #fff; font-size: 13px; font-weight: 500; text-align: center; padding: 8px 40px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; opacity: .7; padding: 4px; }
@keyframes sheen { to { background-position: -200% 0; } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.site-head.scrolled { background: rgba(5, 8, 16, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.head-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 19px; }
.logo img { height: 38px; width: auto; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--blue-2), #0c3aa8); box-shadow: var(--glow); }
.logo-mark svg { width: 22px; height: 22px; color: #fff; }
.logo small { display: block; font: 600 9.5px/1 var(--font); letter-spacing: .3em; color: var(--cyan); margin-top: 3px; }
.nav { display: none; align-items: center; gap: 4px; margin-left: 10px; }
.nav > a, .nav > .dd > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: none; border: 0; color: var(--text-2); font-weight: 500; transition: .25s; }
.nav > a:hover, .nav > .dd > button:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .05); }
.nav .ic { width: 16px; height: 16px; }
.dd { position: relative; }
.mega {
  position: absolute; left: -20px; top: calc(100% + 12px); width: min(860px, 90vw); padding: 22px; border-radius: var(--r-lg);
  background: rgba(10, 15, 30, .94); backdrop-filter: blur(24px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -20px #000;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease);
}
.dd:hover .mega, .dd:focus-within .mega, .dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-size: 14px; transition: .2s; }
.mega a:hover { background: rgba(61, 139, 255, .1); color: #fff; }
.mega a .ic { width: 18px; height: 18px; color: var(--blue-2); }
.mega a span { margin-left: auto; font-size: 12px; color: var(--muted); }
.head-search { flex: 1; max-width: 480px; margin-left: auto; position: relative; display: none; }
.head-search input { width: 100%; height: 44px; padding: 0 16px 0 44px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); outline: 0; transition: .25s; }
.head-search input:focus { border-color: rgba(61, 139, 255, .6); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(31, 107, 255, .15); }
.head-search > .ic { position: absolute; left: 15px; top: 12px; color: var(--muted); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; border-radius: 18px; background: rgba(10, 15, 30, .97); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -10px #000; overflow: hidden; display: none; }
.suggest.show { display: block; animation: pop .25s var(--ease); }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.hl { background: rgba(61, 139, 255, .1); }
.suggest .thumb { width: 42px; height: 42px; border-radius: 10px; background: var(--surface-2); overflow: hidden; flex: none; }
.suggest .thumb svg, .suggest .thumb img { width: 100%; height: 100%; object-fit: cover; }
.suggest small { color: var(--muted); display: block; font-size: 12px; }
.suggest b { margin-left: auto; font-weight: 600; }
.suggest .all { justify-content: center; color: var(--blue-2); font-weight: 600; border: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.head-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font: 700 11px/18px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
@media (min-width: 1000px) {
  .nav, .head-search { display: flex; }
  .head-actions { margin-left: 6px; }
  .menu-toggle { display: none !important; }
}

/* ---------- mobile menu ---------- */
.mnav { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.mnav.open { visibility: visible; }
.mnav .scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: .35s; }
.mnav.open .scrim { opacity: 1; }
.mnav .panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: var(--surface); box-shadow: 1px 0 0 var(--line); transform: translateX(-100%); transition: transform .45s var(--ease); overflow-y: auto; padding: 18px; }
.mnav.open .panel { transform: none; }
.mnav .panel a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; color: var(--text-2); }
.mnav .panel a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.mnav .panel .ic { color: var(--blue-2); }
.mnav h4 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 18px 10px 6px; font-family: var(--font); }
.mnav form { position: relative; margin: 14px 0; }
.mnav form input { width: 100%; height: 46px; border-radius: 12px; padding: 0 14px 0 42px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); outline: 0; }
.mnav form .ic { position: absolute; left: 13px; top: 13px; color: var(--muted); }

/* ---------- drawer (cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); opacity: 0; transition: .35s; }
.drawer.open .scrim { opacity: 1; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(100vw, 440px); background: var(--surface); box-shadow: -1px 0 0 var(--line), -40px 0 80px -20px #000; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.drawer.open .panel { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; }
.drawer .body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer footer { padding: 18px 20px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.free-bar { margin-bottom: 14px; font-size: 13px; color: var(--text-2); }
.free-bar .track { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .07); margin-top: 8px; overflow: hidden; }
.free-bar .fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 4px; transition: width .6s var(--ease); box-shadow: 0 0 12px var(--cyan); }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; animation: fadeUp .4s var(--ease) both; }
.line-item .thumb { width: 72px; height: 72px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.line-item .thumb svg, .line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item h4 { font: 600 14px/1.35 var(--font); margin: 0 0 2px; letter-spacing: 0; }
.line-item small { color: var(--muted); font-size: 12px; }
.line-item .price { font-weight: 700; text-align: right; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); margin-top: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; color: var(--text-2); display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.qty .ic { width: 15px; height: 15px; }
.qty input { width: 34px; text-align: center; background: none; border: 0; outline: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.rm { background: none; border: 0; color: var(--muted); font-size: 12px; padding: 4px 0; margin-top: 4px; display: block; margin-left: auto; }
.rm:hover { color: var(--bad); }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty .ic { width: 54px; height: 54px; color: var(--blue-2); margin: 0 auto 14px; opacity: .8; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.total-row { font-size: 18px; font-weight: 700; margin: 6px 0 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; margin-top: calc(var(--head-h) * -1); padding: calc(var(--head-h) + 40px) 0 80px; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 70% 45%, transparent, var(--bg) 85%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .word > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
.hero p.lead { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--text-2); max-width: 52ch; margin: 18px 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 700 28px/1 var(--display); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.hero-visual .ringset { position: absolute; inset: 0; animation: float 9s ease-in-out infinite; }
.hero-visual .ringset svg { width: 100%; height: 100%; overflow: visible; }
@keyframes float { 50% { transform: translateY(-14px); } }
.spin-slow { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.spin-rev { transform-origin: 50% 50%; animation: spin 26s linear infinite reverse; }
.chip-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(12, 18, 36, .7); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -10px #000; font-size: 13px; animation: float 7s ease-in-out infinite; }
.chip-float .ic { color: var(--cyan); }
.chip-float b { display: block; font-size: 14px; }
.chip-float small { color: var(--muted); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 959px) { .hero { min-height: auto; padding-bottom: 70px; } .hero-visual { max-width: 230px; order: -1; margin: 0 auto -10px; } .chip-float { display: none; } .hero-stats { gap: 22px; margin-top: 32px; } }

/* ---------- vehicle finder ---------- */
.finder { position: relative; margin-top: -40px; z-index: 5; }
.finder-card { border-radius: var(--r-lg); padding: 22px; background: linear-gradient(180deg, rgba(20, 32, 64, .75), rgba(12, 18, 36, .75)); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(31, 107, 255, .45); }
.finder-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.finder-tabs button { padding: 8px 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .04); color: var(--text-2); font-weight: 600; font-size: 14px; }
.finder-tabs button.on { background: var(--blue); color: #fff; box-shadow: var(--glow); }
.finder-row { display: grid; gap: 10px; }
@media (min-width: 760px) { .finder-row { grid-template-columns: 1fr 1fr 1fr auto; } .finder-row.rego { grid-template-columns: 2fr 1fr auto; } }
.plate { display: flex; align-items: center; height: 52px; border-radius: 12px; background: #f4f6fb; color: #0a1020; overflow: hidden; }
.plate span { height: 100%; display: grid; place-items: center; padding: 0 12px; background: #1f3c88; color: #fff; font: 800 12px/1 var(--display); letter-spacing: .1em; }
.plate input { flex: 1; height: 100%; border: 0; outline: 0; background: none; padding: 0 14px; font: 800 20px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #0a1020; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); outline: 0;
  background: rgba(4, 7, 15, .6); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
textarea.input { padding: 14px 16px; min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8aa5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
select.input option { background: var(--surface); }
.input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(31, 107, 255, .18); }
.input.err { border-color: var(--bad); }
.grid-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex: none; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 0 0 14px; }
.form-msg.bad { background: rgba(255, 92, 108, .1); color: #ffb3bb; box-shadow: inset 0 0 0 1px rgba(255, 92, 108, .3); }
.form-msg.ok { background: rgba(47, 211, 138, .1); color: #9ff0c9; box-shadow: inset 0 0 0 1px rgba(47, 211, 138, .3); }

/* ---------- sections ---------- */
.section { padding: clamp(50px, 7vw, 96px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { margin: 10px 0 0; }
.section-head p { color: var(--muted); max-width: 56ch; margin: 10px 0 0; }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-tile { position: relative; padding: 20px 16px 18px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; isolation: isolate; min-height: 150px; display: flex; flex-direction: column; }
.cat-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(240px 160px at var(--mx, 50%) var(--my, 0%), rgba(61, 139, 255, .28), transparent 70%); opacity: 0; transition: opacity .4s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(61, 139, 255, .5), 0 20px 40px -20px rgba(31, 107, 255, .6); }
.cat-tile:hover::before { opacity: 1; }
.cat-tile .ic { width: 34px; height: 34px; color: var(--blue-2); margin-bottom: auto; transition: transform .5s var(--ease), color .3s; }
.cat-tile:hover .ic { transform: scale(1.12) rotate(-6deg); color: var(--cyan); }
.cat-tile h3 { font: 600 15px/1.3 var(--font); margin: 18px 0 2px; letter-spacing: 0; }
.cat-tile small { color: var(--muted); font-size: 12px; }
.cat-tile .go { position: absolute; right: 14px; top: 16px; opacity: 0; transform: translateX(-6px); transition: .35s var(--ease); color: var(--cyan); }
.cat-tile:hover .go { opacity: 1; transform: none; }

/* features */
.features { display: grid; gap: 14px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); box-shadow: inset 0 0 0 1px var(--line); }
.feature .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 18px; background: linear-gradient(135deg, rgba(61, 139, 255, .25), rgba(56, 209, 255, .08)); box-shadow: inset 0 0 0 1px rgba(61, 139, 255, .3); color: var(--cyan); }
.feature .ico .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }

/* product grid + card */
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .p-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1180px) { .p-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.p-card:hover { box-shadow: inset 0 0 0 1px rgba(61, 139, 255, .45), 0 30px 60px -30px rgba(31, 107, 255, .7); }
.p-media { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #121d3a, #080d1b 70%); overflow: hidden; }
.p-media img, .p-media .part-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.p-media img { padding: 8%; }
.p-card:hover .p-media img, .p-card:hover .p-media .part-art { transform: scale(1.07); }
.p-tags { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 700 11px/1 var(--font); letter-spacing: .04em; }
.tag.sale { background: var(--bad); color: #fff; }
.tag.feat { background: rgba(56, 209, 255, .15); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(56, 209, 255, .35); }
.tag.out { background: rgba(255, 255, 255, .1); color: var(--text-2); }
.p-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-brand { font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.p-name { font: 600 14.5px/1.35 var(--font); margin: 4px 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.p-sku { font: 500 12px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--muted); }
.p-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font: 700 18px/1 var(--display); }
.price s { display: block; font: 500 12px/1.4 var(--font); color: var(--muted); }
.stock { font-size: 12px; display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 6px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock.low::before { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.stock.none::before { background: var(--bad); box-shadow: none; }
.add-btn { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 12px; border: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 8px 20px -6px rgba(31, 107, 255, .8); transition: transform .3s var(--ease); flex: none; }
.add-btn:hover { transform: scale(1.08) rotate(90deg); }
.add-btn.done { background: var(--ok); transform: none; }
.add-btn[disabled] { opacity: .35; }
@media (max-width: 480px) { .p-body { padding: 12px; } .price { font-size: 16px; } .add-btn { width: 38px; height: 38px; } }

/* skeleton */
.skel { background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { aspect-ratio: .72; }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: scrollx 50s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee a { font: 700 clamp(20px, 2.6vw, 30px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(183, 194, 216, .35); letter-spacing: -.01em; transition: .3s; white-space: nowrap; }
.marquee a:hover { color: #fff; -webkit-text-stroke-color: transparent; text-shadow: 0 0 30px var(--blue); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* banners slider */
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); min-height: 380px; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding: clamp(28px, 5vw, 64px); opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; background: linear-gradient(120deg, #0b1a3f, #050913 70%); }
.slide.on { opacity: 1; visibility: visible; }
.slide .bg { position: absolute; inset: 0; z-index: 0; }
.slide .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); transition: transform 7s linear; }
.slide.on .bg img { transform: scale(1); }
.slide .bg .part-art { position: absolute; right: -4%; top: 50%; width: min(60%, 520px); height: auto; transform: translateY(-50%); opacity: .9; }
.slide .copy { position: relative; z-index: 1; max-width: 560px; }
.slide.on .copy > * { animation: fadeUp .9s var(--ease) both; }
.slide.on .copy > *:nth-child(2) { animation-delay: .1s; } .slide.on .copy > *:nth-child(3) { animation-delay: .2s; } .slide.on .copy > *:nth-child(4) { animation-delay: .3s; }
.slide h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin: 14px 0 12px; }
.slide p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 26px; }
.slider .dots { position: absolute; left: clamp(28px, 5vw, 64px); bottom: 24px; display: flex; gap: 8px; z-index: 2; }
.slider .dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .2); padding: 0; position: relative; overflow: hidden; }
.slider .dots button.on::after { content: ''; position: absolute; inset: 0; background: var(--cyan); transform-origin: left; animation: progress 6s linear forwards; }
@keyframes progress { from { transform: scaleX(0); } }
.slider .arrows { position: absolute; right: 20px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.slider .arrows button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); }
.slider .arrows button:hover { background: var(--blue); }

/* promo band */
.promo { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(34px, 6vw, 70px); background: linear-gradient(120deg, #0f3bb0, #1f6bff 50%, #0b2a7a); isolation: isolate; }
.promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255, 255, 255, .05) 40px 41px); }
.promo::after { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 209, 255, .55), transparent 65%); z-index: -1; animation: float 8s ease-in-out infinite; }
.promo h2 { max-width: 18ch; }
.promo p { max-width: 52ch; color: rgba(255, 255, 255, .85); }
.promo .btn { background: #fff; color: #0b2a7a; }

/* ---------- shop page ---------- */
.page-hero { padding: 40px 0 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; }
.shop { display: grid; gap: 28px; padding-bottom: 80px; }
@media (min-width: 1000px) { .shop { grid-template-columns: 270px 1fr; } }
.filters { display: none; }
@media (min-width: 1000px) { .filters { display: block; position: sticky; top: calc(var(--head-h) + 16px); align-self: start; max-height: calc(100vh - var(--head-h) - 32px); overflow-y: auto; padding-right: 6px; } }
.filters.open { display: block; position: fixed; inset: 0; z-index: 85; background: var(--surface); padding: 20px; overflow-y: auto; animation: fadeUp .35s var(--ease); }
.f-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.f-group h4 { font: 600 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.f-cats a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.f-cats a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.f-cats a.on { background: rgba(31, 107, 255, .15); color: #fff; box-shadow: inset 2px 0 0 var(--blue-2); }
.f-cats a span { color: var(--muted); font-size: 12px; }
.f-cats .sub { padding-left: 14px; }
.f-list { display: grid; gap: 10px; max-height: 240px; overflow-y: auto; }
.price-in { display: flex; gap: 8px; align-items: center; }
.price-in .input { min-height: 42px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar select { min-height: 42px; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(31, 107, 255, .14); color: #cfe0ff; font-size: 13px; border: 0; }
.chip .ic { width: 14px; height: 14px; }
.chip:hover { background: rgba(255, 92, 108, .2); }
.filter-toggle { display: inline-flex; }
@media (min-width: 1000px) { .filter-toggle, .filters .close-filters { display: none !important; } }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .04); color: var(--text-2); font-weight: 600; }
.pager button.on { background: var(--blue); color: #fff; box-shadow: var(--glow); }
.pager button:hover:not(.on) { background: rgba(255, 255, 255, .08); }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 34px; padding-bottom: 60px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.gallery { position: sticky; top: calc(var(--head-h) + 16px); align-self: start; }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(circle at 50% 40%, #13214a, #070c19 70%); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
.gallery .main img, .gallery .main .part-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.gallery .main img { padding: 6%; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery .thumbs button { width: 78px; height: 78px; flex: none; border-radius: 12px; border: 0; padding: 0; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); opacity: .6; }
.gallery .thumbs button.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--blue-2); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .gallery { position: static; } }
.pdp h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 10px 0 12px; }
.pdp .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.pdp .meta b { color: var(--text); font-family: ui-monospace, Menlo, monospace; font-weight: 600; }
.pdp .price-big { font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--display); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pdp .price-big s { font: 500 18px var(--font); color: var(--muted); }
.pdp .gst { font-size: 13px; color: var(--muted); margin: 8px 0 22px; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0; }
.buy-row .qty { margin: 0; height: 52px; }
.buy-row .qty button { width: 44px; height: 52px; }
.buy-row .btn { flex: 1; min-height: 52px; min-width: 200px; }
.perks { display: grid; gap: 10px; margin: 24px 0; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); }
.perks div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.perks .ic { color: var(--cyan); }
.tabs { margin-top: 30px; }
.tabs nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs nav button { padding: 12px 16px; border: 0; background: none; color: var(--muted); font-weight: 600; position: relative; white-space: nowrap; }
.tabs nav button.on { color: #fff; }
.tabs nav button.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--blue-2); box-shadow: 0 0 12px var(--blue-2); }
.tabs .pane { padding: 22px 0; color: var(--text-2); display: none; }
.tabs .pane.on { display: block; animation: fadeUp .4s var(--ease); }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec th { color: var(--muted); font-weight: 500; width: 40%; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--blue-2); text-decoration: underline; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(6, 10, 20, .92); backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ---------- checkout / cart page ---------- */
.co { display: grid; gap: 30px; padding-bottom: 80px; }
@media (min-width: 980px) { .co { grid-template-columns: 1fr 420px; align-items: start; } }
.panel-card { border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.panel-card + .panel-card { margin-top: 18px; }
.panel-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--display); background: rgba(31, 107, 255, .18); color: var(--blue-2); box-shadow: inset 0 0 0 1px rgba(61, 139, 255, .4); }
.summary { position: sticky; top: calc(var(--head-h) + 16px); }
.sum-lines { max-height: 300px; overflow-y: auto; margin-bottom: 10px; }
.sum-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.sum-line .thumb { position: relative; width: 54px; height: 54px; border-radius: 10px; background: var(--surface-2); }
.sum-line .thumb svg, .sum-line .thumb img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.sum-line .thumb i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--blue); font: 700 11px/20px var(--font); text-align: center; font-style: normal; }
.totals { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.totals .grand { font-size: 20px; color: var(--text); font-weight: 700; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.totals .grand small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: .25s; margin-bottom: 10px; }
.opt:hover { box-shadow: inset 0 0 0 1px rgba(61, 139, 255, .5); }
.opt.on { box-shadow: inset 0 0 0 2px var(--blue-2); background: rgba(31, 107, 255, .07); }
.opt.dis { opacity: .45; cursor: not-allowed; }
.opt input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.opt .ic { color: var(--blue-2); width: 22px; height: 22px; }
.opt b { display: block; font-weight: 600; }
.opt small { color: var(--muted); font-size: 13px; }
.opt .fee { margin-left: auto; font-weight: 700; white-space: nowrap; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon .input { min-height: 44px; text-transform: uppercase; }
.trust { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 12px; align-items: center; }
.trust .ic { width: 16px; height: 16px; }

/* ---------- account ---------- */
.auth { max-width: 460px; margin: 30px auto 90px; }
.auth .switch { display: flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 24px; }
.auth .switch button { flex: 1; height: 42px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font-weight: 600; }
.auth .switch button.on { background: var(--blue); color: #fff; box-shadow: var(--glow); }
.acct { display: grid; gap: 26px; padding-bottom: 90px; }
@media (min-width: 900px) { .acct { grid-template-columns: 240px 1fr; } }
.acct-nav { display: flex; gap: 6px; overflow-x: auto; }
@media (min-width: 900px) { .acct-nav { flex-direction: column; position: sticky; top: calc(var(--head-h) + 16px); align-self: start; } }
.acct-nav button, .acct-nav a.nl { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-radius: 12px; background: none; color: var(--text-2); font-weight: 500; white-space: nowrap; text-align: left; }
.acct-nav button.on, .acct-nav a.nl.on { background: rgba(31, 107, 255, .14); color: #fff; }
.acct-nav .ic { width: 18px; height: 18px; }
.order-card { border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; margin-bottom: 12px; background: rgba(255, 255, 255, .015); }
.order-card .row { flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 12px/1 var(--font); text-transform: capitalize; background: rgba(255, 255, 255, .07); color: var(--text-2); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending { color: var(--warn); background: rgba(255, 181, 71, .12); }
.st-confirmed, .st-processing { color: var(--blue-2); background: rgba(61, 139, 255, .14); }
.st-ready_for_pickup, .st-shipped { color: var(--cyan); background: rgba(56, 209, 255, .12); }
.st-delivered, .st-completed, .st-paid { color: var(--ok); background: rgba(47, 211, 138, .12); }
.st-cancelled, .st-failed, .st-refunded { color: var(--bad); background: rgba(255, 92, 108, .12); }

/* order tracking */
.timeline { list-style: none; padding: 0; margin: 20px 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.timeline li { position: relative; padding: 0 0 22px 42px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); }
.timeline li.done::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(31, 107, 255, .2), 0 0 14px var(--blue); }
.timeline b { display: block; }
.timeline small { color: var(--muted); }
.success-ico { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(47, 211, 138, .25), transparent 70%); }
.success-ico svg { width: 56px; height: 56px; }
.success-ico circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) forwards; }
.success-ico path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- footer ---------- */
.site-foot { position: relative; margin-top: 40px; padding: 70px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(31, 107, 255, .05)); overflow: hidden; }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-foot h4 { font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.site-foot ul a:hover { color: #fff; }
.site-foot .contact li { display: flex; gap: 10px; }
.site-foot .contact .ic { width: 17px; height: 17px; color: var(--blue-2); margin-top: 3px; }
.news { display: flex; gap: 8px; margin-top: 14px; }
.news .input { min-height: 46px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--text-2); transition: .25s; }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.foot-base { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pay-icons { display: flex; gap: 6px; }
.pay-icons span { height: 26px; padding: 0 9px; display: grid; place-items: center; border-radius: 6px; background: rgba(255, 255, 255, .06); font: 700 10px/1 var(--font); letter-spacing: .06em; color: var(--text-2); }
.foot-word { font: 800 clamp(60px, 15vw, 210px)/0.8 var(--display); letter-spacing: -.05em; text-align: center; margin-top: 40px; color: transparent; -webkit-text-stroke: 1px rgba(61, 139, 255, .16); user-select: none; white-space: nowrap; }

/* ---------- floating whatsapp, toast, misc ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .35s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
body.has-sticky .wa-float { bottom: 92px; }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(14, 22, 42, .96); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -10px #000; font-size: 14px; animation: toastIn .45s var(--ease); }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast .ic { color: var(--ok); }
.toast.bad .ic { color: var(--bad); }
.toast a { margin-left: auto; color: var(--blue-2); font-weight: 600; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1; left: 0; top: 0; background: radial-gradient(circle, rgba(31, 107, 255, .13), transparent 65%); transform: translate(-50%, -50%); transition: opacity .4s; }
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader .bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; border-radius: 2px; margin-top: 18px; }
.loader .bar::after { content: ''; display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: load 1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.demo-ribbon { position: fixed; left: 12px; bottom: 12px; z-index: 46; padding: 6px 12px; border-radius: 999px; background: rgba(255, 181, 71, .14); color: var(--warn); font: 600 11px/1.2 var(--font); letter-spacing: .06em; box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .35); backdrop-filter: blur(8px); }
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: clamp(5rem, 18vw, 11rem); margin: 0; }
.maintenance { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; animation: fadeUp .3s; cursor: zoom-out; }
.lightbox img, .lightbox svg { max-width: min(92vw, 900px); max-height: 88vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .word > span { transform: none; }
}
