/* LONCIN ŠILUTĖ — design system
   Dark, industrial, cinematic. Motion is ease-out, short, and interruptible. */

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #17171a;
  --surface-3: #1e1e22;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #9a9aa2;
  --dim: #6d6d75;
  --red: #e0342b;
  --red-dk: #b5241d;
  --red-glow: rgba(224, 52, 43, 0.35);
  --green: #4ad07a;

  --wrap: 1240px;
  --r: 6px;
  --r-sm: 4px;

  --e-out: cubic-bezier(0.23, 1, 0.32, 1);
  --e-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: 160ms;
  --t: 200ms;
  --t-slow: 260ms;

  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad-sec: clamp(56px, 7vw, 112px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.wrap-narrow { max-width: 760px; }

/* ---------- type ---------- */
.display, .display-2, h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.display {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.025em;
}
.display-2 {
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 0.98; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.005em; }
h4 { font-size: 0.9rem; letter-spacing: 0.1em; }

.kicker {
  display: inline-block;
  font: 600 0.72rem/1 var(--body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.kicker-red { color: var(--red); }

.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; margin: 14px 0 0; }
.lead-w { max-width: 62ch; }
.note { color: var(--dim); font-size: 0.78rem; line-height: 1.55; margin: 14px 0 0; }

.prose p { color: var(--muted); margin: 0 0 1em; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.1rem; }
.prose a { color: var(--text); border-bottom: 1px solid var(--red); }
.prose strong { color: var(--text); }

.ico { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-red { color: var(--red); }
.ico-go { color: var(--dim); }

/* ---------- reveal on scroll ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--e-out) var(--d, 0ms), transform 520ms var(--e-out) var(--d, 0ms);
  will-change: opacity, transform;
}
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: 600 0.8rem/1 var(--body); letter-spacing: 0.13em; text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--t-fast) var(--e-out), background-color var(--t) ease, border-color var(--t) ease, box-shadow var(--t) ease;
}
.btn .ico { width: 16px; height: 16px; transition: transform var(--t) var(--e-out); }
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 16px 28px; font-size: 0.85rem; }
.btn-sm { padding: 9px 12px; }
.btn-block { width: 100%; }

.btn-primary { --btn-bg: var(--red); --btn-fg: #fff; box-shadow: 0 8px 30px -12px var(--red-glow); }
.btn-outline { border-color: var(--line-strong); }
.btn-ghost { border-color: var(--line); color: var(--muted); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { --btn-bg: #ef4038; box-shadow: 0 12px 36px -12px var(--red-glow); }
  .btn-outline:hover { border-color: var(--red); }
  .btn-ghost:hover { color: var(--text); border-color: var(--line-strong); }
  .btn:hover .ico { transform: translateX(3px); }
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(10, 10, 11, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color var(--t) ease, box-shadow var(--t) ease;
}
.site-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 22px;
  background: linear-gradient(rgba(10, 10, 11, 0.5), transparent);
  pointer-events: none; opacity: 0; transition: opacity var(--t) ease;
}
.site-head.is-stuck { background: rgba(10, 10, 11, 0.9); }
.site-head.is-stuck::after { opacity: 1; }

.head-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  height: 74px; display: flex; align-items: center; gap: 28px;
}
.brand { display: grid; line-height: 1; flex: none; }
.brand-mark { font: 700 1.45rem/1 var(--display); letter-spacing: 0.02em; }
.brand-sub { font: 600 0.6rem/1 var(--body); letter-spacing: 0.42em; color: var(--red); margin-top: 4px; }

.nav-desktop { display: flex; gap: 4px; margin-left: auto; }
.nav-desktop a {
  position: relative; padding: 10px 12px;
  font: 500 0.74rem/1 var(--body); letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); border-radius: var(--r-sm);
  transition: color var(--t) ease;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--e-out);
}
.nav-desktop a[aria-current] { color: var(--text); }
.nav-desktop a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-desktop a:hover { color: var(--text); }
  .nav-desktop a:hover::after { transform: scaleX(1); }
}

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-desktop + .head-actions { margin-left: 0; }
.head-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.8rem/1 var(--body); color: var(--muted);
  padding: 8px 10px; border-radius: var(--r-sm);
  transition: color var(--t) ease;
}
.head-phone .ico { width: 16px; height: 16px; color: var(--red); }
.head-cart { position: relative; padding: 9px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); transition: color var(--t) ease, border-color var(--t) ease; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  display: grid; place-items: center; padding: 0 4px;
  background: var(--red); color: #fff; border-radius: 999px;
  font: 600 0.66rem/1 var(--body);
}
@media (hover: hover) and (pointer: fine) {
  .head-phone:hover, .head-cart:hover { color: var(--text); }
  .head-cart:hover { border-color: var(--line-strong); }
}

.burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); position: relative; cursor: pointer; }
.burger span:not(.sr) { position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--text); transition: transform var(--t) var(--e-out), opacity var(--t) ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 12px clamp(18px, 4vw, 40px) 24px; }
.mobile-nav nav { display: grid; }
.mobile-nav nav a {
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  font: 600 1.05rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
}
.mobile-nav nav a[aria-current] { color: var(--red); }
.mobile-nav-foot { display: grid; gap: 10px; margin-top: 18px; }

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .mobile-nav[data-open] { display: block; }
}
@media (max-width: 560px) { .head-phone span { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; padding: 140px 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 15% 90%, rgba(10, 10, 11, 0.92), transparent 70%),
    linear-gradient(to top, var(--bg) 2%, rgba(10, 10, 11, 0.55) 45%, rgba(10, 10, 11, 0.35) 100%);
}
.hero-inner { position: relative; }
.hero-sub { max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); margin: 22px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); margin-top: clamp(34px, 5vw, 56px); }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats strong { font: 700 clamp(1.6rem, 3vw, 2.4rem)/1 var(--display); color: var(--red); }
.hero-stats span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.scroll-hint {
  position: absolute; right: clamp(18px, 4vw, 40px); bottom: 34px;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim);
  writing-mode: vertical-rl;
}
@media (max-width: 720px) { .scroll-hint { display: none; } }

/* ---------- trust ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px 26px 0; }
.trust-item + .trust-item { padding-left: 24px; border-left: 1px solid var(--line); }
.trust-item strong { display: block; font: 600 0.86rem/1.2 var(--body); letter-spacing: 0.04em; }
.trust-item span { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 3px; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 18px 0 !important; border-left: 0 !important; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.sec { padding: var(--pad-sec) 0; }
.sec-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-link { display: inline-flex; align-items: center; gap: 8px; font: 600 0.74rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color var(--t) ease; }
.sec-link .ico { width: 16px; height: 16px; transition: transform var(--t) var(--e-out); }
@media (hover: hover) and (pointer: fine) { .sec-link:hover { color: var(--text); } .sec-link:hover .ico { transform: translateX(4px); } }

.phead { padding: clamp(96px, 12vw, 150px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: linear-gradient(var(--surface), var(--bg)); }
.phead-sm { padding-top: clamp(84px, 10vw, 120px); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.74rem; color: var(--dim); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.1em; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- model cards ---------- */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.mcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t-slow) var(--e-out), border-color var(--t) ease, box-shadow var(--t-slow) ease;
}
.mcard-media { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(70% 70% at 50% 40%, #24242a, #101013); }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--e-out); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--red); color: #fff; padding: 5px 9px; border-radius: 3px;
  font: 600 0.62rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase;
}
.badge-static { position: static; display: inline-block; margin-bottom: 12px; }
.mcard-body { padding: 18px; display: grid; gap: 6px; }
.mcard-body h3 { font-size: 1.35rem; }
.mcard-tag { color: var(--dim); font-size: 0.82rem; margin: 0; min-height: 2.6em; }
.mcard-meta { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price { font: 700 1.35rem/1 var(--display); letter-spacing: 0.01em; }
.price-lg { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.permo { font-size: 0.76rem; color: var(--dim); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; margin: 4px 0 0; }
.stock .ico { width: 14px; height: 14px; }
.stock.in { color: var(--green); }
.stock.out { color: var(--dim); }
.stock-detail { font-size: 0.76rem; color: var(--dim); margin: 4px 0 0; }
.mcard-go { position: absolute; right: 16px; bottom: 16px; color: var(--dim); transition: transform var(--t) var(--e-out), color var(--t) ease; }
@media (hover: hover) and (pointer: fine) {
  .mcard:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9); }
  .mcard:hover .mcard-media img { transform: scale(1.04); }
  .mcard:hover .mcard-go { color: var(--red); transform: translateX(4px); }
}
.mcard:active { transform: scale(0.995); }

/* ---------- featured / split / band ---------- */
.feat { padding: var(--pad-sec) 0; border-top: 1px solid var(--line); background: var(--surface); }
.feat-grid, .split-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.feat-media img, .split-media img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.fchips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.fchip { padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.fchip strong { display: block; font: 700 1.15rem/1 var(--display); }
.fchip span { display: block; font-size: 0.68rem; color: var(--dim); margin-top: 5px; letter-spacing: 0.06em; }
.feat-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.feat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.split { padding: var(--pad-sec) 0; }
.band { padding: var(--pad-sec) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.band-figure { margin: 26px 0; padding: 18px 22px; border-left: 2px solid var(--red); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.band-figure span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.band-figure strong { display: block; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--display); margin-top: 6px; }
.band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.band-list li { display: flex; gap: 14px; align-items: center; padding: 20px; background: var(--surface-2); }
.band-list strong { display: block; font-size: 0.9rem; }
.band-list span { display: block; font-size: 0.8rem; color: var(--dim); margin-top: 2px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.why-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.why-card h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.cta-band { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--bg) 12%, rgba(10, 10, 11, 0.72) 55%, rgba(10, 10, 11, 0.3)); }
.cta-inner { position: relative; z-index: 2; max-width: 640px; }

@media (max-width: 900px) {
  .feat-grid, .split-grid, .band-grid { grid-template-columns: 1fr; }
  .feat-media, .split-media { order: -1; }
  .fchips { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- product detail ---------- */
.pd { padding: clamp(88px, 10vw, 128px) 0 clamp(32px, 4vw, 56px); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.pd-tag { color: var(--red); font: 600 0.86rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; margin: 14px 0 26px; }

.gal { display: grid; gap: 12px; }
.gal-main { background: radial-gradient(70% 70% at 50% 40%, #24242a, #0f0f12); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 240ms ease, filter 240ms ease; }
.gal-main.swapping img { opacity: 0.35; filter: blur(6px); }
.gal-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gal-thumb { width: 92px; padding: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; cursor: pointer; transition: border-color var(--t) ease, transform var(--t-fast) var(--e-out); }
.gal-thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gal-thumb.is-on { border-color: var(--red); }
.gal-thumb:active { transform: scale(0.96); }

.chips { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.chips li { display: flex; gap: 12px; align-items: center; padding: 18px; background: var(--surface); }
.chips strong { display: block; font: 700 1.15rem/1 var(--display); }
.chips span { display: block; font-size: 0.7rem; color: var(--dim); margin-top: 4px; }

.buy { position: sticky; top: 94px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.buy-price { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vat { font-size: 0.74rem; color: var(--dim); }
.buy .stock { margin-top: 16px; }
.buy-actions { display: grid; gap: 10px; margin: 20px 0; }
.buy-usp { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.buy-usp li { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.buy-usp .ico { width: 16px; height: 16px; color: var(--red); }

.colors { margin-top: 18px; }
.flabel { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: grid; justify-items: center; gap: 5px; padding: 6px; background: none; border: 1px solid transparent; border-radius: var(--r-sm); cursor: pointer; transition: border-color var(--t) ease, transform var(--t-fast) var(--e-out); }
.swatch span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); }
.swatch em { font-style: normal; font-size: 0.66rem; color: var(--dim); }
.swatch.is-on { border-color: var(--red); }
.swatch.is-on em { color: var(--text); }
.swatch:active { transform: scale(0.94); }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 24px);
  background: rgba(10, 10, 11, 0.9); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform var(--t-slow) var(--e-out);
}
.buybar strong { display: block; font: 700 1rem/1 var(--display); }
.buybar span { display: block; font-size: 0.76rem; color: var(--dim); margin-top: 3px; }
.buybar.is-on { transform: none; }

/* ---------- tabs ---------- */
.tabs { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.tab-strip { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tab-strip::-webkit-scrollbar { display: none; }
.tab {
  position: relative; padding: 17px 20px; background: none; border: 0; cursor: pointer; white-space: nowrap;
  font: 600 0.74rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
  transition: color var(--t) ease;
}
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform var(--t) var(--e-out); }
.tab.is-on { color: var(--text); }
.tab.is-on::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--text); } }
.tab-panel { padding: clamp(20px, 3vw, 32px); }

table { width: 100%; border-collapse: collapse; }
.table-scroll { overflow-x: auto; }
.spec th, .spec td { text-align: left; padding: 13px 16px; font-size: 0.86rem; border-bottom: 1px solid var(--line); }
.spec th { color: var(--dim); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; width: 42%; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.ticks .ico { width: 16px; height: 16px; margin-top: 3px; }

.acc-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.acc-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; background: var(--surface-2); }
.acc-list strong { display: block; font-size: 0.9rem; }
.acc-list span { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 2px; }
.acc-list b { font: 700 1rem/1 var(--display); color: var(--red); white-space: nowrap; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.doc-list a { color: var(--muted); border-bottom: 1px solid var(--line); }
.doc-list a:hover { color: var(--text); border-color: var(--red); }

.compare { margin-top: clamp(40px, 5vw, 64px); }
.compare h2 { margin-bottom: 18px; }
.ctable th, .ctable td { text-align: left; padding: 13px 14px; font-size: 0.85rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ctable thead th { font: 500 0.68rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ctable tbody th a { font: 700 1rem/1 var(--display); }
.ctable .num { color: var(--text); font-weight: 600; }

@media (max-width: 980px) {
  .pd-grid { grid-template-columns: 1fr; }
  .buy { position: static; }
  .buybar { display: flex; }
  .chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .chips { grid-template-columns: 1fr; } }

/* ---------- configurator ---------- */
.cfg { padding: clamp(32px, 4vw, 56px) 0 var(--pad-sec); }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.stepper { list-style: none; display: flex; gap: 8px; margin: 0 0 26px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; transition: color var(--t) ease, border-color var(--t) ease; }
.stepper li b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); font-size: 0.68rem; }
.stepper li.is-on { color: var(--text); border-color: var(--red); }
.stepper li.is-on b { background: var(--red); color: #fff; }

.cfg-block { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: clamp(20px, 3vw, 30px); margin: 0 0 16px; }
.cfg-block legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; font: 700 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.cfg-block legend span { color: var(--red); font-size: 0.85rem; letter-spacing: 0.1em; }

.cfg-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.cfg-model { position: relative; display: grid; gap: 4px; padding: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color var(--t) ease, transform var(--t-fast) var(--e-out), background-color var(--t) ease; }
.cfg-model input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-model img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 3px; }
.cfg-model-name { font: 700 1.05rem/1 var(--display); margin-top: 8px; }
.cfg-model-meta { font-size: 0.72rem; color: var(--dim); }
.cfg-model-price { font-size: 0.86rem; font-weight: 600; }
.cfg-model.is-on { border-color: var(--red); background: var(--surface-3); }
.cfg-model:active { transform: scale(0.98); }

.cfg-colors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cfg-color { position: relative; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.82rem; transition: border-color var(--t) ease, transform var(--t-fast) var(--e-out); }
.cfg-color input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-color .dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); }
.cfg-color em { font-style: normal; color: var(--muted); }
.cfg-color.is-on { border-color: var(--red); }
.cfg-color.is-on em { color: var(--text); }
.cfg-color:active { transform: scale(0.97); }

.cfg-acc { display: grid; gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cfg-acc-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 15px 18px; background: var(--surface-2); cursor: pointer; transition: background-color var(--t) ease; }
.cfg-acc-row input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-acc-row .box { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 4px; color: transparent; transition: background-color var(--t) ease, border-color var(--t) ease, color var(--t) ease; }
.cfg-acc-row .box .ico { width: 14px; height: 14px; }
.cfg-acc-row.is-on .box { background: var(--red); border-color: var(--red); color: #fff; }
.cfg-acc-text strong { display: block; font-size: 0.9rem; }
.cfg-acc-text span { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 2px; }
.cfg-acc-row b { font: 700 1rem/1 var(--display); color: var(--red); }
@media (hover: hover) and (pointer: fine) { .cfg-acc-row:hover { background: var(--surface-3); } }

.cfg-side { position: sticky; top: 94px; }
.cfg-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.cfg-card img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }
.cfg-sum-title { font-size: 1.1rem; margin: 18px 0 10px; }
.cfg-sum-model { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.cfg-sum-model strong { font: 700 1.3rem/1 var(--display); }
.cfg-sum-model span { font-size: 0.8rem; color: var(--dim); }
.cfg-sum-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.cfg-sum-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--muted); }
.cfg-sum-list li.empty { color: var(--dim); font-style: italic; }
.cfg-total { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.cfg-total span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.cfg-total strong { font: 700 clamp(1.8rem, 3vw, 2.3rem)/1 var(--display); }
.cfg-total em { font-style: normal; font-size: 0.72rem; color: var(--dim); }
.cfg-permo { padding: 14px 0 18px; font-size: 0.82rem; color: var(--muted); }
.cfg-permo strong { color: var(--text); }

@media (max-width: 980px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .cfg-side { position: static; order: -1; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form-2 { grid-template-columns: 1fr 1fr; }
.card-form { padding: clamp(20px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.form-title { grid-column: 1 / -1; font-size: 1.4rem; margin-bottom: 4px; }
.span2 { grid-column: 1 / -1; }
.form label { display: grid; gap: 7px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.form input, .form select, .form textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; font-size: 0.95rem; letter-spacing: 0; text-transform: none;
  transition: border-color var(--t) ease, background-color var(--t) ease;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); outline: none; background: var(--surface-3); }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.form .check { display: flex; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--muted); }
.form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; padding: 0; }
.form .check a { color: var(--text); border-bottom: 1px solid var(--red); }
.form-msg { margin: 0; font-size: 0.85rem; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #ff6b60; }
.form button[disabled] { opacity: 0.6; cursor: progress; }

.lease-grid, .contact-grid, .forms-grid, .cart-grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.lease-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.contact-grid { grid-template-columns: 360px minmax(0, 1fr); align-items: start; }
.forms-grid { grid-template-columns: 1fr 1fr; }
.cart-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.calc { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; }
.calc-num { display: block; font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--display); color: var(--red); }

@media (max-width: 980px) {
  .lease-grid, .contact-grid, .forms-grid, .cart-grid { grid-template-columns: 1fr; }
  .lease-side, .cart-side { order: -1; }
}
@media (max-width: 560px) { .form-2 { grid-template-columns: 1fr; } }

/* ---------- shop table ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 20px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.filters label { display: grid; gap: 7px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.filters select { min-width: 190px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; font-size: 0.9rem; letter-spacing: 0; text-transform: none; }
.check-inline { flex-direction: row !important; display: flex !important; align-items: center; gap: 9px; text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--muted); padding-bottom: 11px; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--red); }
.filter-count { margin-left: auto; font-size: 0.78rem; color: var(--dim); padding-bottom: 12px; }

.shop { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.shop th, .shop td { text-align: left; padding: 14px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.shop thead th { font: 500 0.68rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); background: var(--surface-2); }
.shop tbody tr { transition: background-color var(--t) ease; }
@media (hover: hover) and (pointer: fine) { .shop tbody tr:hover { background: var(--surface-2); } }
.shop-prod { display: flex; align-items: center; gap: 12px; }
.shop-prod img { width: 72px; border-radius: 3px; border: 1px solid var(--line); }
.shop-prod span { font: 700 1.02rem/1 var(--display); }
.cdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; border: 1px solid var(--line-strong); vertical-align: -1px; }
.shop .num { font-weight: 600; white-space: nowrap; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 0.74rem; border: 1px solid var(--line); }
.pill.in { color: var(--green); border-color: rgba(74, 208, 122, 0.3); }
.pill.out { color: var(--dim); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 32px; height: 36px; background: var(--surface-2); border: 0; cursor: pointer; color: var(--muted); transition: color var(--t) ease, background-color var(--t) ease; }
.qty button:active { transform: scale(0.94); }
.qty input { width: 46px; height: 36px; text-align: center; background: none; border: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.empty-msg { color: var(--dim); font-size: 0.9rem; padding: 20px 0; }
.empty-msg a { color: var(--text); border-bottom: 1px solid var(--red); }
.shop-usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 26px; }
.shop-usp > div { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.shop-usp strong { display: block; margin-top: 12px; font-size: 0.9rem; }
.shop-usp span { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 3px; }

/* ---------- cart ---------- */
.cart-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; }
.cart-row img { width: 90px; border-radius: 3px; border: 1px solid var(--line); }
.cart-row h3 { font-size: 1.1rem; }
.cart-row .meta { font-size: 0.78rem; color: var(--dim); margin-top: 4px; }
.cart-row .line-price { font: 700 1.15rem/1 var(--display); white-space: nowrap; }
.cart-del { background: none; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--dim); width: 34px; height: 34px; cursor: pointer; font-size: 1.1rem; line-height: 1; transition: color var(--t) ease, border-color var(--t) ease; }
.cart-del:hover { color: var(--red); border-color: var(--red); }
.cart-total { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; display: grid; gap: 4px; }
.cart-total span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.cart-total strong { font: 700 clamp(1.8rem, 3vw, 2.3rem)/1 var(--display); }
.cart-total em { font-style: normal; font-size: 0.72rem; color: var(--dim); }
@media (max-width: 620px) {
  .cart-row { grid-template-columns: 70px minmax(0, 1fr); }
  .cart-row img { width: 70px; }
}

/* ---------- info page ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform var(--t-slow) var(--e-out), border-color var(--t) ease; }
.info-card strong { display: block; font-size: 0.95rem; }
.info-card span { display: block; font-size: 0.8rem; color: var(--dim); margin-top: 3px; }
.info-card .ico-go { margin-left: auto; transition: transform var(--t) var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .info-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
  .info-card:hover .ico-go { transform: translateX(4px); color: var(--red); }
}
.info-body { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: clamp(32px, 4vw, 56px); }
.info-sec { scroll-margin-top: 100px; max-width: 78ch; }
.info-sec h2 { margin-bottom: 14px; }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 0.95rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 1.2rem; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq p { color: var(--muted); font-size: 0.9rem; margin: 0 0 18px; }

/* ---------- contact ---------- */
.contact-info h2 { font-size: 1.6rem; margin-bottom: 18px; }
.cinfo { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.cinfo li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.cinfo a:hover { color: var(--text); }
.hours { display: grid; gap: 8px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.hours div { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--muted); }
.hours b { color: var(--text); }
.map { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.55) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.map-link { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(10, 10, 11, 0.85); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 0; }
.foot-top { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px, 6vw, 72px) clamp(18px, 4vw, 40px); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--dim); font-size: 0.86rem; max-width: 34ch; margin: 16px 0 0; }
.foot-contact a { color: var(--muted); }
.foot-contact a:hover { color: var(--text); }
.foot-col h4 { color: var(--dim); text-transform: uppercase; margin-bottom: 14px; font-family: var(--body); font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--muted); font-size: 0.88rem; }
.foot-col a:hover { color: var(--text); }
.socs { display: flex; gap: 8px; }
.soc { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.72rem; font-weight: 600; color: var(--muted); transition: color var(--t) ease, border-color var(--t) ease; }
.soc:hover { color: var(--text); border-color: var(--red); }
.foot-hours { font-size: 0.8rem; color: var(--dim); margin-top: 16px; line-height: 1.8; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom { max-width: var(--wrap); margin: 0 auto; padding: 20px clamp(18px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.78rem; color: var(--dim); }
.foot-legal { display: flex; gap: 18px; }
.foot-legal a:hover { color: var(--text); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

body { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 980px) { body[data-page="product"] { padding-bottom: 76px; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  transform: translate(-50%, 14px) scale(0.97); opacity: 0;
  padding: 13px 20px;
  background: rgba(20, 20, 23, 0.96); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-left: 2px solid var(--red);
  border-radius: var(--r-sm);
  font-size: 0.86rem; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  transition: opacity 240ms var(--e-out), transform 240ms var(--e-out);
}
.toast.in { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 180ms ease; transform: translate(-50%, 0); }
  .toast.in { transform: translate(-50%, 0); }
}
@media (max-width: 980px) { .toast { bottom: 88px; } }

/* [hidden] must win over the display rules above (cart badge, filtered rows, panels) */
[hidden] { display: none !important; }

/* five models read as one family on a wide screen */
@media (min-width: 1180px) {
  .mgrid { grid-template-columns: repeat(5, 1fr); }
  .pd .mgrid, .sec .mgrid.mgrid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1180px) and (max-width: 1320px) {
  .mcard-body { padding: 15px; }
  .mcard-body h3 { font-size: 1.2rem; }
}

/* ---------- phone tightening ---------- */
@media (max-width: 719px) {
  .mgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mcard-body { padding: 12px; }
  .mcard-body h3 { font-size: 1.05rem; }
  .mcard-tag { display: none; }
  .mcard-meta { flex-direction: column; gap: 2px; }
  .price { font-size: 1.15rem; }
  .mcard-go { display: none; }
  .hero { min-height: 78vh; padding-top: 110px; }
  .hero-stats { gap: 22px; }
  .sec, .feat, .split, .band { padding: 48px 0; }
  .cta-band { padding: 64px 0; }
  .info-card { padding: 16px; gap: 12px; }
  .gal-thumb { width: 74px; }
}
@media (max-width: 400px) {
  .mgrid { grid-template-columns: 1fr; }
  .mcard-tag { display: block; }
}
