/* Ambient Garage — storefront UI
   Design system: "Automotive Premium" (ui-ux-pro-max)
   Palette: slate + action red · Light surface · Space Grotesk / DM Sans */

:root {
  /* Surfaces */
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e9eef5;

  /* Ink (WCAG-safe on light) */
  --ink: #0f172a;          /* slate-900 */
  --ink-muted: #475569;    /* slate-600 */
  --ink-dim: #64748b;      /* slate-500 */

  /* Lines */
  --line: #e2e8f0;         /* slate-200 */
  --line-strong: #cbd5e1;  /* slate-300 */

  /* Brand / structure */
  --primary: #1e293b;      /* slate-800 */
  --primary-2: #334155;    /* slate-700 */
  --primary-ink: #f8fafc;

  /* CTA (action red) */
  --cta: #dc2626;
  --cta-2: #b91c1c;
  --cta-ink: #ffffff;
  --cta-glow: rgba(220, 38, 38, 0.26);

  /* State */
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --ok-ink: #15803d;
  --warn: #d97706;
  --warn-soft: #fef3c7;
  --warn-ink: #b45309;
  --err: #dc2626;
  --err-soft: #fee2e2;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --radius: var(--r-md);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 55px rgba(15, 23, 42, 0.18);
  --shadow: var(--shadow-md);

  /* legacy aliases (kept for existing markup) */
  --bg-elev: var(--surface);
  --bg-elev-2: var(--surface);
  --bg-soft: var(--surface-2);
  --accent: var(--cta);
  --accent-2: var(--cta-2);
  --accent-ink: var(--cta-ink);
  --accent-glow: var(--cta-glow);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "DM Sans", sans-serif;
  --max: 1180px;
  /* Page side gutter (shrinks on phones so cards/text get more room) */
  --gutter: 2.5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Fluid base type: ~13.5px on phones → 15px from ~1180px up. A slightly tighter
   base scales the whole rem-based system down proportionally so buttons/text/
   cards feel more compact and premium (less oversized) on every screen. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: clamp(13.5px, 13px + 0.14vw, 15px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -5%, rgba(30, 41, 59, 0.06), transparent 55%),
    radial-gradient(760px 360px at -5% 0%, rgba(220, 38, 38, 0.05), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s var(--ease); }
a:hover { color: var(--cta-2); }

h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; color: var(--ink); }

svg { flex-shrink: 0; }
.icon { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--cta); color: #fff; }

:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.hero,
.section,
.page-head,
.configurator,
.lead-form,
.product-page {
  width: min(var(--max), calc(100% - var(--gutter)));
  margin-inline: auto;
}

.site-header__inner { display: flex; align-items: center; gap: 0.6rem 1rem; padding: 0.7rem 0; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: inherit; text-decoration: none; }
.brand__mark {
  width: 2.4rem; height: 2.4rem; border-radius: 11px; position: relative;
  background: linear-gradient(140deg, var(--primary-2), var(--primary));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 12px rgba(15, 23, 42, 0.25);
}
.brand__mark::before {
  content: ""; position: absolute; inset: 30% 26% auto 26%; height: 3px; border-radius: 3px;
  background: var(--cta); box-shadow: 0 7px 0 rgba(255, 255, 255, 0.85);
}
.brand__name { display: block; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: 1.18rem; line-height: 1.05; color: var(--ink); }
.brand__tag { display: block; font-size: 0.72rem; color: var(--ink-dim); text-transform: lowercase; }
.brand__logo { display: block; height: 2.5rem; width: auto; }
@media (max-width: 640px) { .brand__logo { height: 2.05rem; } }
.footer-logo { display: block; height: 3.2rem; width: auto; margin-bottom: 0.9rem; }

.nav {
  order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 0.25rem;
  margin-top: 0.15rem; padding-top: 0.6rem; border-top: 1px solid var(--line);
}
.nav a {
  color: var(--ink-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 0.45rem 0.8rem; border-radius: var(--r-pill);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.is-active { color: var(--ink); background: var(--surface-2); }
.nav a.nav__offer { color: var(--cta); font-weight: 700; }
.nav a.nav__offer:hover { color: #fff; background: var(--cta); }

.vehicle-chip {
  display: inline-flex; align-items: center; gap: 0.55rem; flex-wrap: nowrap;
  padding: 0.3rem 0.35rem 0.3rem 0.7rem; border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.vehicle-chip__car { flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--primary); }
.vehicle-chip__car .icon { width: 0.95rem; height: 0.95rem; }
.vehicle-chip__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.vehicle-chip__label { color: var(--ink-dim); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.vehicle-chip__name { font-size: 0.86rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 12rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  appearance: none; border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 0.6rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none; line-height: 1;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

.btn--accent {
  background: var(--cta); color: var(--cta-ink); box-shadow: 0 4px 14px var(--cta-glow);
}
.btn--accent:hover:not(:disabled) { background: var(--cta-2); color: var(--cta-ink); transform: translateY(-1px); box-shadow: 0 8px 22px var(--cta-glow); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover:not(:disabled) { color: var(--ink); border-color: var(--primary); background: var(--surface-2); }

.btn--sm { padding: 0.4rem 0.75rem; font-size: 0.82rem; }
.btn--lg { padding: 0.78rem 1.35rem; font-size: 0.98rem; }
.btn .icon { width: 1.1rem; height: 1.1rem; }

/* ---------------------------------------------------------------- flash */
.flash {
  width: min(var(--max), calc(100% - var(--gutter))); margin: 0.85rem auto 0;
  padding: 0.8rem 1.1rem; border-radius: var(--r-sm); font-size: 0.92rem;
  animation: flash-in .35s var(--ease);
}
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.flash--ok { background: var(--ok-soft); border: 1px solid #86efac; color: #14532d; }
.flash--err { background: var(--err-soft); border: 1px solid #fca5a5; color: #7f1d1d; }

/* ---------------------------------------------------------------- hero */
.hero {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 2.5rem; align-items: center;
  padding: 4rem 0 2rem; min-height: min(66vh, 560px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cta);
  background: var(--err-soft); border: 1px solid #fca5a5; padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill); margin: 0 0 1.1rem;
}
.hero__brand {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.85rem, 5.2vw, 3.6rem);
  letter-spacing: -0.045em; margin: 0 0 0.5rem; line-height: 1.03; color: var(--ink);
}
.hero__brandlogo { display: block; height: clamp(3.1rem, 7vw, 4.4rem); width: auto; margin: 0 0 0.9rem; }
.hero__title {
  font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 1rem; max-width: 20ch; color: var(--primary);
}
.hero__sub { color: var(--ink-muted); max-width: 42ch; font-size: clamp(0.95rem, 2.2vw, 1.05rem); margin: 0 0 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero__visual {
  position: relative; min-height: 320px; border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 15% 5%, rgba(220, 38, 38, 0.28), transparent 55%),
              linear-gradient(150deg, #334155, #0f172a 75%);
  box-shadow: var(--shadow-xl); border: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden;
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(120% 100% at 25% 0%, #000, transparent 78%);
}
.hero__visual::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 15%; height: 42%; border-radius: 12px;
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.22), transparent 55%), linear-gradient(160deg, #3b4a5c, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ---------------------------------------------------------------- configurator */
.configurator {
  margin: 1.5rem auto 2.5rem; padding: 1.6rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.configurator--compact { margin-top: 1rem; }
.configurator__title { font-family: var(--display); margin: 0 0 0.35rem; font-size: 1.4rem; }
.configurator__lead { margin: 0 0 1.2rem; color: var(--ink-muted); }
.configurator__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }

.field { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.field span { color: var(--ink-muted); font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field--inline { margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: var(--r-sm); padding: 0.75rem 0.85rem; font: inherit;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.14);
}
.field select:disabled { opacity: 0.55; cursor: not-allowed; background: var(--surface-2); }

.configurator__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.1rem; }
.configurator__status { font-size: 0.85rem; color: var(--ink-muted); }

/* ---------------------------------------------------------------- configurator modal */
body.cfg-modal-open { overflow: hidden; }
.cfg-modal[hidden] { display: none; }
.cfg-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.cfg-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 15, 30, 0.55); backdrop-filter: blur(3px); animation: cfgFade .18s var(--ease); }
.cfg-modal__dialog {
  position: relative; width: min(660px, 100%); max-height: calc(100vh - 2.5rem); overflow: auto;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
  animation: cfgPop .22s var(--ease);
}
.cfg-modal__dialog .configurator { margin: 0; border: 0; box-shadow: none; }
.cfg-modal__close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-muted); cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.cfg-modal__close:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
.cfg-modal__close .icon { width: 1.15rem; height: 1.15rem; }
@keyframes cfgFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cfgPop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cfg-modal__backdrop, .cfg-modal__dialog { animation: none; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 2rem 0; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.75rem; margin-bottom: 1.25rem; }
.section__head h2 { font-family: var(--display); margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.65rem); position: relative; padding-left: 0.85rem; }
.section__head h2::before { content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 4px; border-radius: 4px; background: var(--cta); }
.section__head p { margin: 0.25rem 0 0; color: var(--ink-muted); width: 100%; }
.section__head a { font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------- cards */
.product-grid, .bundle-grid, .category-grid { display: grid; gap: 1.15rem; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.product-grid--mosaic { grid-auto-flow: dense; }
.bundle-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.category-grid { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); }

.product-card, .bundle-card, .category-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.product-card { display: flex; flex-direction: column; position: relative; }
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }

.product-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 9%; position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }

.product-card__badge { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2; box-shadow: var(--shadow-sm); }
.product-card__badge--tr { left: auto; right: 0.7rem; }
.product-card__badge.badge { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--ink-muted); }
.product-card__badge.badge--ok { background: var(--ok-soft); color: var(--ok-ink); }

/* discount */
.product-card__discount {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 3;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1;
  color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626);
  padding: 0.34rem 0.55rem; border-radius: 8px;
  box-shadow: 0 6px 16px -4px rgba(220, 38, 38, 0.6);
}
.product-card__save { margin: 0; font-size: 0.78rem; font-weight: 600; color: var(--ok-ink); }
.product-card__save strong { font-weight: 800; }
.product-card__oldprice { font-size: 0.85rem; color: var(--ink-dim); text-decoration: line-through; text-decoration-color: var(--line-strong); margin-bottom: 0.05rem; }
.product-card__price.is-sale { color: var(--cta); }

.product-card__placeholder {
  position: relative; width: 100%; height: 100%; min-height: 150px; border-radius: var(--r-md);
  background: radial-gradient(90% 80% at 50% 25%, rgba(30, 41, 59, 0.06), transparent 60%),
              linear-gradient(135deg, #eef2f7, #dde5ee 70%),
              repeating-linear-gradient(-45deg, transparent, transparent 9px, rgba(15, 23, 42, 0.03) 9px, rgba(15, 23, 42, 0.03) 18px);
}
.product-card__placeholder::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 2.6rem; height: 2.6rem; opacity: 0.35;
  background: var(--ink-dim);
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.6-3.6a2 2 0 0 0-2.8 0L6 20'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.6-3.6a2 2 0 0 0-2.8 0L6 20'/%3E%3C/svg%3E");
}
.product-card__placeholder--lg { min-height: 340px; }

.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-card__eyebrow { display: flex; align-items: center; gap: 0.5rem; min-height: 1rem; }
.product-card__eyebrow:empty { display: none; }
.product-card__flag { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cta-ink); background: var(--cta); padding: 0.16rem 0.5rem; border-radius: var(--r-pill); }
.product-card__brand { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card__title {
  font-size: 0.98rem; margin: 0; line-height: 1.35; font-family: var(--font); font-weight: 600; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--cta); }
.product-card__foot { margin-top: auto; padding-top: 0.65rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6rem; }
.product-card__pricewrap { display: flex; flex-direction: column; line-height: 1.05; }
.product-card__price { font-weight: 700; font-size: 1.3rem; font-family: var(--display); color: var(--ink); }
.product-card__vat { font-size: 0.68rem; color: var(--ink-dim); margin-top: 0.2rem; }
.product-card__stock { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.28rem 0.6rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-muted); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.product-card__stock .dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ink-dim); }
.product-card__stock.is-in { background: var(--ok-soft); color: var(--ok-ink); }
.product-card__stock.is-in .dot { background: var(--ok); }
.product-card__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.9rem;
  padding: 0.6rem 0.9rem; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 0.86rem; text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.product-card__btn .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.product-card:hover .product-card__btn { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); box-shadow: 0 8px 20px -8px rgba(220, 38, 38, 0.6); }
.product-card:hover .product-card__btn .icon { transform: translateX(3px); }

/* featured mosaic tile */
@media (min-width: 680px) {
  .product-card--featured { grid-column: span 2; flex-direction: row; align-items: stretch; }
  .product-card--featured .product-card__media { aspect-ratio: auto; width: 46%; min-height: 100%; padding: 8%; }
  .product-card--featured .product-card__body { padding: 1.7rem 1.8rem; gap: 0.55rem; justify-content: center; }
  .product-card--featured .product-card__title { font-size: 1.35rem; -webkit-line-clamp: 3; }
  .product-card--featured .product-card__price { font-size: 1.7rem; }
  .product-card--featured .product-card__btn { margin-top: 1.1rem; align-self: flex-start; padding-left: 1.6rem; padding-right: 1.6rem; }
  .product-card--featured .product-card__save { font-size: 0.92rem; }
  /* one extra tall accent tile keeps the mosaic from feeling uniform */
  .product-grid--mosaic .product-card:nth-child(6):not(.product-card--featured) { grid-row: span 2; }
  .product-grid--mosaic .product-card:nth-child(6):not(.product-card--featured) .product-card__media { aspect-ratio: 1 / 1; }
}

/* card hover accent bar + sale ring for visual rhythm */
.product-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--cta), #f59e0b);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.product-card:hover::after { transform: scaleX(1); }
.product-card.is-sale { border-color: #fecdd3; }
.product-card.is-sale::after { transform: scaleX(1); background: linear-gradient(90deg, #ef4444, #f97316); }
.product-card--featured { background: linear-gradient(135deg, #ffffff 55%, #fbf3f3); }

.badge {
  display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.6rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-muted);
  width: fit-content; letter-spacing: 0.01em;
}
.badge .icon { width: 0.9rem; height: 0.9rem; }
.badge--ok { background: var(--ok-soft); color: var(--ok-ink); }
.badge--warn { background: var(--warn-soft); color: var(--warn-ink); }

.bundle-card { padding: 1.2rem; }
.bundle-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.bundle-card__head h3 { margin: 0 0 0.35rem; font-family: var(--display); }
.bundle-card__head p { margin: 0; color: var(--ink-muted); font-size: 0.92rem; }
.bundle-card__items { list-style: none; padding: 0.85rem 0; margin: 0.85rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bundle-card__items li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.92rem; }
.bundle-card__totals { padding-top: 0.85rem; }
.bundle-card__sum { margin: 0; color: var(--ink-muted); }
.bundle-card__total { margin: 0.2rem 0; font-size: 1.2rem; font-family: var(--display); font-weight: 700; }
.bundle-card__save { margin: 0; color: var(--ok); font-weight: 600; }

.category-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.category-tile {
  display: flex; align-items: center; gap: 0.85rem; min-height: 96px; padding: 1.15rem 1.2rem;
  color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1rem;
  position: relative; overflow: hidden;
}
.category-tile__icon {
  flex: none; width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center;
  color: #e11d48; background: linear-gradient(150deg, #fff4f4, #ffdada);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
  transition: transform .25s var(--ease);
}
.category-tile__icon .icon { width: 1.5rem; height: 1.5rem; }
.category-grid .category-tile:nth-child(5n+2) .category-tile__icon { color: #2563eb; background: linear-gradient(150deg, #eef4ff, #d3e2ff); }
.category-grid .category-tile:nth-child(5n+3) .category-tile__icon { color: #059669; background: linear-gradient(150deg, #f0faf3, #cdedda); }
.category-grid .category-tile:nth-child(5n+4) .category-tile__icon { color: #d97706; background: linear-gradient(150deg, #fff7ea, #ffe4c0); }
.category-grid .category-tile:nth-child(5n+5) .category-tile__icon { color: #7c3aed; background: linear-gradient(150deg, #f3f1fc, #ded6fb); }
.category-tile:hover .category-tile__icon { transform: scale(1.08) rotate(-4deg); }
.category-tile__name { line-height: 1.25; }
.category-tile__go { margin-left: auto; flex: none; color: var(--cta); opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.category-tile__go .icon { width: 1.1rem; height: 1.1rem; }
.category-tile:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.category-tile:hover .category-tile__go { opacity: 1; transform: translateX(0); }

/* ---------------------------------------------------------------- page head */
.page-head { padding: 2.25rem 0 0.5rem; }
.page-head h1 { font-family: var(--display); margin: 0 0 0.4rem; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.page-head__desc { color: var(--ink-muted); margin: 0 0 0.5rem; max-width: 60ch; }
.page-head__vehicle {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0.15rem 0 0;
  color: var(--ink-muted); font-size: 0.95rem;
}
.page-head__vehicle .icon { width: 1.1rem; height: 1.1rem; color: var(--cta); flex: none; }
.page-head__vehicle strong { color: var(--ink); font-weight: 700; }
.page-head__hint { color: var(--ink-muted); margin: 0.15rem 0 0; }

.results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem 1.25rem; flex-wrap: wrap; }
.results-head__title { min-width: 0; }
.results-head .btn { flex: none; }
.results-head__eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok-ink);
  background: var(--ok-soft); border: 1px solid #86efac; padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  margin-bottom: 0.7rem;
}
.results-head__eyebrow .icon { width: 0.95rem; height: 0.95rem; }
.results-head h1 { margin: 0 0 0.4rem; }
.results-head .btn .icon { width: 1rem; height: 1rem; }

/* ---------------------------------------- catalog pages: richer backdrop */
body.page-category::before,
body.page-configurator::before,
body.page-offer::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(38rem 22rem at 108% -4%, rgba(220, 38, 38, 0.10), transparent 62%),
    radial-gradient(34rem 20rem at -8% 6%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 30%, transparent 80%);
  mask: linear-gradient(180deg, #000 0%, #000 30%, transparent 80%);
}

body.page-category .page-head,
body.page-configurator .page-head {
  position: relative; overflow: hidden;
  margin-top: 1.4rem; padding: 1.5rem 1.6rem 1.3rem;
  background: linear-gradient(135deg, #ffffff 60%, #f2f5fb);
  border: 1px solid var(--line); border-left: 4px solid var(--cta);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
body.page-category .page-head::before,
body.page-configurator .page-head::before {
  content: ""; position: absolute; right: -70px; top: -80px; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12), transparent 70%); pointer-events: none;
}
body.page-category .page-head > *,
body.page-configurator .page-head > * { position: relative; z-index: 1; }
body.page-category .page-head .universal-toggle,
body.page-configurator .page-head .universal-toggle { margin-top: 1rem; }

/* ---------------------------------------- Ofertă / Produsele Lunii hero (premium, index-style) */
.offer-hero {
  position: relative; overflow: hidden;
  width: min(var(--max), calc(100% - var(--gutter))); margin: 1.2rem auto 1.4rem;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.35rem, 3.5vw, 3rem);
  border-radius: var(--r-lg); color: #fff;
  background:
    linear-gradient(105deg, #0d1626 0%, rgba(13, 22, 38, 0.9) 42%, rgba(13, 22, 38, 0.5) 100%),
    radial-gradient(85% 130% at 6% -10%, rgba(220, 38, 38, 0.34), transparent 46%),
    radial-gradient(70% 130% at 100% 110%, rgba(37, 99, 235, 0.3), transparent 55%),
    linear-gradient(150deg, #223043 0%, #0d1626 78%);
  box-shadow: var(--shadow-xl);
}
/* subtle grid overlay like the index hero */
.offer-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(120% 100% at 12% 0%, #000, transparent 70%);
  mask-image: radial-gradient(120% 100% at 12% 0%, #000, transparent 70%);
}
.offer-hero__blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.4; pointer-events: none; z-index: 0; }
.offer-hero__blob--1 { width: 24rem; height: 24rem; left: -6rem; top: -8rem; background: radial-gradient(circle, rgba(220, 38, 38, 0.6), transparent 66%); animation: heroBlob 15s var(--ease) infinite; }
.offer-hero__blob--2 { width: 20rem; height: 20rem; right: -4rem; bottom: -8rem; background: radial-gradient(circle, rgba(56, 110, 190, 0.55), transparent 66%); animation: heroBlob 20s var(--ease) infinite reverse; }
.offer-hero__percent {
  position: absolute; right: clamp(-1.5rem, 1vw, 2rem); top: 50%; transform: translateY(-50%);
  font-size: clamp(7rem, 19vw, 13rem); font-weight: 900; line-height: 1; z-index: 0;
  color: rgba(255, 255, 255, 0.05); pointer-events: none; user-select: none;
}

.offer-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.offer-hero__copy { max-width: 46rem; }
.offer-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.8rem; border-radius: 999px;
}
.offer-hero__eyebrow .icon { width: 0.95rem; height: 0.95rem; color: #4ade80; }
.offer-hero__title {
  margin: 0.9rem 0 0; color: #fff; letter-spacing: -0.02em; line-height: 1.05;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
}
.offer-hero__sub {
  margin: 0.8rem 0 0; max-width: 40rem; color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
}
.offer-hero__stats { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.25rem; }
.offer-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.88rem; color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.48rem 0.85rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.offer-chip strong { color: #fff; font-weight: 800; }
.offer-chip .icon { width: 1rem; height: 1rem; }
.offer-chip--hot { background: linear-gradient(135deg, rgba(239, 68, 68, 0.32), rgba(220, 38, 38, 0.2)); border-color: rgba(248, 113, 113, 0.45); }
.offer-chip--hot strong { color: #fecaca; }
.offer-hero__cta { margin-top: 1.5rem; }

/* decorative discount tag on the right */
.offer-hero__art { position: relative; z-index: 1; flex: none; }
.offer-tag {
  width: clamp(9rem, 16vw, 11.5rem); aspect-ratio: 1; border-radius: 26% 74% 70% 30% / 30% 30% 70% 70%;
  display: grid; place-content: center; text-align: center; gap: 0.15rem;
  background: linear-gradient(140deg, #ef4444, #b91c1c);
  box-shadow: 0 24px 55px -18px rgba(220, 38, 38, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.25);
  transform: rotate(-6deg);
  animation: offerTagFloat 6s var(--ease) infinite;
}
@keyframes offerTagFloat {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}
.offer-tag__pct { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); color: #fff; line-height: 1; letter-spacing: -0.02em; }
.offer-tag__pct--icon svg { width: clamp(2.6rem, 5vw, 3.4rem); height: clamp(2.6rem, 5vw, 3.4rem); }
.offer-tag__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.85); }

@media (max-width: 720px) {
  .offer-hero__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .offer-hero__art { justify-self: flex-start; }
  .offer-tag { width: 7.5rem; }
  .offer-hero__percent { opacity: 0.5; }
}

.offer-empty {
  text-align: center; max-width: 34rem; margin: 2rem auto; padding: 2.4rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.offer-empty__icon {
  width: 3.4rem; height: 3.4rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); color: var(--cta);
}
.offer-empty__icon svg { width: 1.7rem; height: 1.7rem; }
.offer-empty h2 { margin: 0 0 0.5rem; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.offer-empty p { margin: 0 auto 1.4rem; color: var(--ink-muted); max-width: 28rem; }
.offer-empty__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }

.universal-toggle {
  display: inline-flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; margin: 1.25rem 0 0.25rem;
  font-size: 0.88rem; padding: 0.32rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill);
}
.universal-toggle__label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--ink-dim); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0 0.4rem 0 0.65rem;
}
.universal-toggle__label .icon { width: 0.9rem; height: 0.9rem; }
.universal-toggle--legacy { display: flex; background: none; border: 0; padding: 0; }
.universal-toggle a {
  color: var(--ink-muted); text-decoration: none; border: 1px solid transparent;
  border-radius: var(--r-pill); padding: 0.4rem 0.85rem; font-weight: 500;
  transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.universal-toggle a:hover { color: var(--ink); }
.universal-toggle a.is-active { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); font-weight: 600; }
/* legacy variant (category page) keeps outlined pills */
.universal-toggle--legacy a { border-color: var(--line-strong); }
.universal-toggle--legacy a.is-active { color: var(--cta-ink); background: var(--cta); border-color: var(--cta); }

/* ---------------------------------------------------------------- product page */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 2rem 0 1rem; }
.product-page__gallery {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-md); align-self: start; position: sticky; top: 5.5rem;
}
.product-page__brand { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); margin-top: 0.6rem; }
.product-page__info h1 { font-family: var(--display); margin: 0.35rem 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.product-page__sku { color: var(--ink-dim); margin: 0; font-size: 0.85rem; }
.product-page__pricerow { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 1.25rem; padding: 1rem 1.1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.product-page__pricewrap { display: flex; flex-direction: column; line-height: 1.05; }
.product-page__price { font-size: 1.95rem; font-weight: 700; font-family: var(--display); margin: 0; color: var(--cta); }
.product-page__oldprice { font-size: 0.95rem; color: var(--ink-dim); text-decoration: line-through; text-decoration-color: var(--line-strong); margin-bottom: 0.15rem; }
.product-page__vat { font-size: 0.75rem; color: var(--ink-dim); margin-top: 0.2rem; }
.product-page__discount { align-self: center; font-size: 1rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); padding: 0.35rem 0.65rem; border-radius: 9px; box-shadow: 0 6px 16px -4px rgba(220, 38, 38, 0.55); }
.product-page__save { margin: -0.5rem 0 1.25rem; font-size: 0.9rem; font-weight: 600; color: var(--ok-ink); }
.product-page__save strong { font-weight: 800; }
.product-page .product-card__stock { font-size: 0.78rem; padding: 0.35rem 0.7rem; }
.product-page__perks { list-style: none; padding: 1.1rem 0 0; margin: 1.1rem 0 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.65rem; }
.product-page__perks li { display: flex; align-items: center; gap: 0.65rem; color: var(--ink-muted); font-size: 0.9rem; }
.product-page__perks .icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--ok); }
.product-page__desc { color: var(--ink-muted); line-height: 1.65; }
.product-page__desc :where(p, li) { margin: 0 0 0.75rem; }

.pack-section__sub { margin: 1.25rem 0 0.5rem; font-size: 1rem; color: var(--ink); font-family: var(--display); }
.pack-list { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.pack-item { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.pack-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- lead form */
.lead-form {
  margin: 1.5rem auto 3rem; padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, #f1f5f9); box-shadow: var(--shadow-md);
}
.lead-form__intro h2 { font-family: var(--display); margin: 0 0 0.35rem; }
.lead-form__intro p { margin: 0 0 1.1rem; color: var(--ink-muted); }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-bottom: 1rem; }
.lead-form__note { margin: 0.75rem 0 0; }

/* ---------------------------------------------------------------- footer (dark anchor) */
.site-footer { margin-top: 3rem; padding: 3rem 0 1.75rem; background: var(--primary); color: #cbd5e1; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1.75rem; }
.site-footer .brand__name { color: #fff; }
.site-footer p { color: #94a3b8; }
.site-footer p a { color: #fca5a5; text-decoration: underline; text-underline-offset: 2px; }
.site-footer p a:hover { color: #fecaca; }
.footer-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin: 0 0 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.site-footer__copy { width: min(var(--max), calc(100% - var(--gutter))); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #94a3b8; font-size: 0.85rem; }

/* ---------------------------------------------------------------- whatsapp */
.whatsapp-float {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 50; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.1rem; border-radius: var(--r-pill); background: #0b7d40; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 34px rgba(11, 125, 64, 0.4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.whatsapp-float:hover { color: #fff; background: #096e37; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(11, 125, 64, 0.5); }
.whatsapp-float__icon { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; }
.whatsapp-float__icon .icon { width: 0.95rem; height: 0.95rem; }

/* ---------------------------------------------------------------- misc */
.empty-state { padding: 2rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--ink-muted); text-align: center; background: var(--surface); }

/* ---------------------------------------------------------------- cart / checkout / account */
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-left: auto; }
.header-divider { width: 1px; align-self: stretch; margin: 0.35rem 0.15rem; background: var(--line); }
.header-cta { border-radius: var(--r-pill); }
.header-cta .icon { width: 1.05rem; height: 1.05rem; }
.header-link {
  color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 0.5rem 0.75rem; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid transparent;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.header-link:hover { color: var(--ink); background: var(--surface-2); }
.header-link .icon { width: 1.15rem; height: 1.15rem; }
.header-link--account {
  color: var(--ink); border-color: var(--line-strong); background: var(--surface);
}
.header-link--account:hover { border-color: var(--primary); background: var(--surface-2); color: var(--ink); }

/* ---------------------------------------------------------------- auth (login / register) */
.auth { width: min(var(--max), calc(100% - var(--gutter))); margin-inline: auto; padding: 2.75rem 0 3.25rem; display: grid; place-items: center; }
.auth-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.9rem; box-shadow: var(--shadow-lg); }
.auth-card__head { text-align: center; margin-bottom: 1.6rem; }
.auth-card__mark { width: 3rem; height: 3rem; border-radius: 12px; margin: 0 auto 1rem; display: block; position: relative; background: linear-gradient(140deg, var(--primary-2), var(--primary)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px rgba(15, 23, 42, 0.25); }
.auth-card__mark::before { content: ""; position: absolute; inset: 30% 26% auto 26%; height: 3px; border-radius: 3px; background: var(--cta); box-shadow: 0 7px 0 rgba(255, 255, 255, 0.85); }
.auth-card__head h1 { font-family: var(--display); margin: 0 0 0.35rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.auth-card__head p { margin: 0; color: var(--ink-muted); font-size: 0.94rem; }
.auth-card form { display: grid; gap: 1rem; }
.auth-card form .btn { width: 100%; margin-top: 0.25rem; }
.auth-card__alt { text-align: center; margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 0.92rem; }
.auth-card__alt a { font-weight: 600; }
.cart-badge { display: inline-grid; place-items: center; min-width: 1.2rem; height: 1.2rem; padding: 0 0.3rem; border-radius: var(--r-pill); background: var(--cta); color: var(--cta-ink); font-size: 0.72rem; font-weight: 800; }
.add-to-cart { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; margin: 1.25rem 0; }
.conflict-banner { width: min(var(--max), calc(100% - var(--gutter))); margin: 0 auto 1rem; padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--warn-soft); border: 1px solid #fcd34d; color: var(--warn-ink); }
.cart-layout, .checkout-layout { width: min(var(--max), calc(100% - var(--gutter))); margin: 0 auto 2.5rem; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.5rem; align-items: start; }
.panel-soft { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.cart-items { padding: 0.5rem 0.5rem 0.75rem; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto auto; align-items: center; gap: 1rem; padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--line); }
.cart-item:last-of-type { border-bottom: 0; }
.cart-item.is-conflict { background: var(--warn-soft); border-radius: var(--r-sm); }
.cart-item__thumb { display: block; width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); flex: none; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__thumb-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface-2), var(--line)); }
.cart-item__info { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start; }
.cart-item__name { font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; }
.cart-item__name:hover { color: var(--cta); }
.cart-item__unit { color: var(--ink-muted); font-size: 0.82rem; }
.cart-item__label { display: block; color: var(--ink-dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.cart-item__qty { display: block; }
.cart-item__qty input { width: 4.5rem; text-align: center; }
.cart-item__total { text-align: right; min-width: 6rem; }
.cart-item__total strong { font-family: var(--display); font-size: 1.05rem; }
.cart-item__remove {
  flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink-muted);
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.cart-item__remove:hover { color: var(--err); border-color: var(--err); background: var(--err-soft); }
.cart-item__remove .icon { width: 1.05rem; height: 1.05rem; }
.cart-items__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 1rem 0.75rem 0.25rem; }
.cart-summary { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 1.4rem; position: sticky; top: 5.5rem; box-shadow: var(--shadow-md); }
.cart-summary__title { margin: 0 0 1rem; font-family: var(--display); font-size: 1.15rem; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; color: var(--ink-muted); font-size: 0.94rem; }
.cart-summary__row strong { color: var(--ink); font-weight: 600; }
.cart-summary__row .is-free { color: var(--ok); font-weight: 700; }
.cart-summary__row--total { margin-top: 0.35rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
.cart-summary__row--total strong { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }
.cart-summary .btn--block { margin-top: 1rem; }
.cart-summary__perks { list-style: none; padding: 1.15rem 0 0; margin: 1.15rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.65rem; }
.cart-summary__perks li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-muted); font-size: 0.86rem; }
.cart-summary__perks .icon { flex: none; width: 1.05rem; height: 1.05rem; color: var(--ok); }
.btn--block { width: 100%; justify-content: center; }
.empty-state--cart { display: grid; place-items: center; gap: 1rem; padding: 3rem 1.5rem; }
.empty-state--cart .icon { width: 2.75rem; height: 2.75rem; color: var(--ink-dim); }
.empty-state--cart p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.checkout-lines { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.9rem; }
.checkout-lines li { padding: 0.3rem 0; color: var(--ink-muted); display: flex; justify-content: space-between; gap: 1rem; }
.pay-option { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.85rem; margin-bottom: 0.6rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease); }
.pay-option:hover { border-color: var(--primary); background: var(--surface-2); }
.pay-option small { display: block; color: var(--ink-muted); }
.account-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 auto 1.5rem; width: min(var(--max), calc(100% - var(--gutter))); }
.account-nav a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 0.5rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.account-nav a:hover { color: var(--ink); border-color: var(--ink-dim); background: var(--surface); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; width: min(var(--max), calc(100% - var(--gutter))); margin: 0 auto 2rem; }
.account-offer { margin: 1.5rem auto; width: min(var(--max), calc(100% - var(--gutter))); }
.readonly-box { white-space: pre-wrap; background: var(--surface-2); border: 1px solid var(--line); padding: 0.9rem; border-radius: var(--r-sm); font-size: 0.9rem; }

/* ---------------------------------------------------------------- order confirmation */
.order-confirm { width: min(760px, calc(100% - var(--gutter))); margin: 0 auto 3rem; display: grid; gap: 1rem; }
.order-confirm__hero { text-align: center; padding: 2.4rem 1rem 0.5rem; }
.order-confirm__check {
  width: 4rem; height: 4rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.6);
  animation: ocPop 0.45s var(--ease) both;
}
.order-confirm__check svg { width: 2rem; height: 2rem; }
@keyframes ocPop { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.order-confirm__hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.order-confirm__num { margin: 0 0 0.9rem; color: var(--ink-muted); }
.order-confirm__num strong { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.1rem 0.5rem; margin-left: 0.25rem; letter-spacing: 0.04em; }
.order-confirm__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.ob { display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-muted); }
.ob--status { background: var(--warn-soft); border-color: #fcd34d; color: var(--warn-ink); }
.ob--pay { background: var(--surface-2); }

.oc-note { padding: 0.85rem 1.1rem; border-radius: var(--r-md); font-size: 0.92rem; font-weight: 500; border: 1px solid transparent; }
.oc-note--ok { background: var(--ok-soft); border-color: #86efac; color: #14532d; }
.oc-note--err { background: var(--err-soft); border-color: #fca5a5; color: #7f1d1d; }
.oc-note--warn { background: var(--warn-soft); border-color: #fcd34d; color: var(--warn-ink); }

.oc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.oc-card--accent { border-color: #fcd34d; background: linear-gradient(180deg, var(--warn-soft), var(--surface) 60%); }
.oc-card__title { font-family: var(--display); margin: 0 0 1rem; font-size: 1.15rem; }
.oc-items { list-style: none; margin: 0; padding: 0; }
.oc-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.oc-item:first-child { padding-top: 0; }
.oc-item:last-child { border-bottom: 0; }
.oc-item__name { min-width: 0; color: var(--ink); font-weight: 500; }
.oc-item__qty { color: var(--ink-dim); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.oc-item__price { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.oc-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--line); }
.oc-total span { color: var(--ink-muted); font-weight: 600; }
.oc-total strong { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.oc-instructions { white-space: pre-wrap; margin: 0; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); padding: 1rem; border-radius: var(--r-sm); font-size: 0.9rem; line-height: 1.6; }

.oc-account { display: flex; gap: 1.1rem; align-items: flex-start; }
.oc-account__icon { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--cta); }
.oc-account__icon svg { width: 1.5rem; height: 1.5rem; }
.oc-account__body { flex: 1 1 auto; min-width: 0; }
.oc-account__body .oc-card__title { margin-bottom: 0.35rem; }
.oc-account__form { margin-top: 1rem; display: grid; gap: 0.75rem; max-width: 420px; }
.order-confirm__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 0.5rem; }
@media (max-width: 560px) {
  .oc-account { flex-direction: column; }
  .order-confirm__actions .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------- FAQ / SEO / legal */
.faq-list { margin: 1.5rem 0 0; }
.faq-item { margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.faq-item dt { font-weight: 700; margin-bottom: 0.4rem; font-family: var(--display); }
.faq-item dd { margin: 0; color: var(--ink-muted); }
.seo-page__content :where(p, ul, ol) { margin: 0 0 0.9rem; line-height: 1.65; }
.seo-page__content a { color: var(--cta); }

.legal-page h2 { margin: 1.5rem 0 0.5rem; font-family: var(--display); font-size: 1.2rem; }
.legal-page p, .legal-page li { line-height: 1.7; color: var(--ink-muted); }
.legal-page ul { padding-left: 1.2rem; margin: 0 0 0.85rem; }
.legal-page a { color: var(--cta); }
.legal-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.25rem; font-size: 0.88rem; }
.legal-table th, .legal-table td { text-align: left; padding: 0.6rem 0.7rem; border: 1px solid var(--line); vertical-align: top; }
.legal-table thead th { background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
.legal-table td { color: var(--ink-muted); }
.legal-table code { font-size: 0.82rem; background: var(--surface-2); padding: 0.05rem 0.3rem; border-radius: 4px; }
.legal-table small { color: var(--ink-dim); font-size: 0.76rem; }
.legal-page .btn { color: var(--cta-ink); }

/* ---------------------------------------------------------------- cookie consent */
.cookie-consent { position: fixed; inset: auto 0 0 0; z-index: 90; padding: 1rem; display: grid; place-items: end center; pointer-events: none; }
.cookie-consent.is-open { pointer-events: auto; }
.cookie-consent__panel {
  width: min(40rem, 100%); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 1.25rem 1.35rem; box-shadow: var(--shadow-xl);
  transform: translateY(120%); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.cookie-consent.is-open .cookie-consent__panel { transform: translateY(0); opacity: 1; }
.cookie-consent__title { margin: 0 0 0.4rem; font-size: 1.1rem; font-family: var(--display); }
.cookie-consent__text { margin: 0 0 0.9rem; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }
.cookie-consent__options { display: grid; gap: 0.6rem; margin: 0 0 1rem; }
.cookie-consent__opt {
  display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem;
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2);
}
.cookie-consent__opt input { margin-top: 0.15rem; flex: none; }
.cookie-consent__opt-text { display: flex; flex-direction: column; gap: 0.15rem; }
.cookie-consent__opt-text strong { font-weight: 700; color: var(--ink); }
.cookie-consent__opt-text small { color: var(--ink-muted); font-size: 0.82rem; line-height: 1.4; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-consent__actions .btn { flex: 1 1 0; min-width: 140px; }
.cookie-consent__sub { margin-top: 0.7rem; text-align: center; }
.btn--strong { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--strong:hover:not(:disabled) { background: #0f172a; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.footer-link-btn {
  border: 0; background: none; padding: 0; margin: 0; font: inherit; font-size: 0.92rem;
  color: #cbd5e1; cursor: pointer; text-align: left;
}
.footer-link-btn:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- hero finder + trust + steps + filters */
.hero-band {
  position: relative; overflow: hidden; margin-bottom: 0.75rem;
  background:
    /* photo visible on the LEFT (behind the text), solid dark on the RIGHT so the form card stands out */
    linear-gradient(95deg, rgba(13, 22, 38, 0.74) 0%, rgba(13, 22, 38, 0.40) 26%, rgba(13, 22, 38, 0.58) 48%, rgba(13, 22, 38, 0.94) 66%, #0d1626 86%),
    radial-gradient(85% 130% at 8% -10%, rgba(220, 38, 38, 0.32), transparent 46%),
    url("../img/hero/hero.jpg") center left / cover no-repeat,
    linear-gradient(165deg, #223043 0%, #101a2e 74%);
}
.hero-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(120% 100% at 18% 0%, #000, transparent 72%);
  mask-image: radial-gradient(120% 100% at 18% 0%, #000, transparent 72%);
}
.hero-band__blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.34; pointer-events: none; z-index: 0; }
.hero-band__blob--1 { width: 26rem; height: 26rem; left: -7rem; top: -9rem; background: radial-gradient(circle, rgba(220, 38, 38, 0.6), transparent 66%); animation: heroBlob 15s var(--ease) infinite; }
.hero-band__blob--2 { width: 22rem; height: 22rem; right: -5rem; bottom: -9rem; background: radial-gradient(circle, rgba(56, 110, 190, 0.55), transparent 66%); animation: heroBlob 20s var(--ease) infinite reverse; }
@keyframes heroBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2rem, 1.4rem) scale(1.1); }
}
.hero-band .hero { position: relative; z-index: 1; padding-top: 3.25rem; padding-bottom: 2.9rem; }
.hero-band .hero__brand { color: #fff; }
.hero-band .hero__title { color: #fff; }
.hero-band .hero__sub { color: rgba(255, 255, 255, 0.8); }
.hero-band .hero__points li { color: rgba(255, 255, 255, 0.85); }
.hero-band .hero__points .icon { color: #4ade80; }
.hero-band .hero__eyebrow { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); }
.hero-band .hero__eyebrow .icon { color: #4ade80; }
.hero-band .hero__finder .configurator { box-shadow: 0 30px 70px -25px rgba(8, 15, 30, 0.75); }

.hero--finder { align-items: stretch; }
.hero--finder .hero__copy { align-self: center; }
.hero__points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.55rem; }
.hero__points li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-muted); font-size: 0.95rem; }
.hero__points .icon { flex: none; width: 1.05rem; height: 1.05rem; color: var(--ok); }

.hero__finder { display: flex; }
.hero__finder .configurator { margin: 0; width: 100%; align-self: center; box-shadow: var(--shadow-xl); }
.hero__finder .configurator__fields { grid-template-columns: 1fr; }

.finder__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.finder__popular-label { font-size: 0.8rem; color: var(--ink-dim); font-weight: 600; }
.chip {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-muted);
  border-radius: var(--r-pill); padding: 0.32rem 0.72rem; font: inherit; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--primary); background: var(--surface-2); transform: translateY(-1px); }
.chip:active { transform: translateY(0); }

.trust-bar {
  width: min(var(--max), calc(100% - var(--gutter))); margin: 0 auto 0.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.25rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-bar .trust-item:not(:last-child) { border-right: 1px solid var(--line); padding-right: 1rem; }
.trust-item__icon { flex: none; width: 2.7rem; height: 2.7rem; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.trust-item__icon .icon { width: 1.35rem; height: 1.35rem; }
.trust-bar .trust-item:nth-child(1) .trust-item__icon { color: #e11d48; background: #fff1f2; }
.trust-bar .trust-item:nth-child(2) .trust-item__icon { color: #2563eb; background: #eff5ff; }
.trust-bar .trust-item:nth-child(3) .trust-item__icon { color: #059669; background: #ecfdf3; }
.trust-bar .trust-item:nth-child(4) .trust-item__icon { color: #d97706; background: #fff7ed; }
.trust-item strong { display: block; font-family: var(--display); font-size: 0.94rem; color: var(--ink); }
.trust-item span span, .trust-item > span > span { display: block; color: var(--ink-muted); font-size: 0.8rem; margin-top: 0.1rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--cta), transparent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.step:hover::before { transform: scaleX(1); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.step__icon { width: 2.7rem; height: 2.7rem; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.step__icon .icon { width: 1.45rem; height: 1.45rem; }
@media (min-width: 901px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 2.9rem; right: -0.95rem; z-index: 2;
    width: 1.1rem; height: 1.1rem; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong);
    transform: rotate(45deg); background: var(--bg, transparent);
  }
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--display); font-weight: 700; font-size: 1.15rem; width: 2.7rem; height: 2.7rem; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, var(--cta-2, #ef4444), var(--cta)); color: var(--cta-ink); box-shadow: 0 8px 18px -8px var(--cta-glow); }
.step h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.step p { margin: 0; color: var(--ink-muted); font-size: 0.93rem; line-height: 1.55; }

.filter-bar {
  position: sticky; top: 0.75rem; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 0.9rem;
  padding: 0.8rem 1rem; margin-bottom: 1.4rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.filter-bar__field { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-muted); }
.filter-bar__field--price { gap: 0.35rem; }
.filter-bar__dash { color: var(--ink-dim); }
.filter-bar select, .filter-bar input[type="number"] {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: var(--r-sm); padding: 0.42rem 0.55rem; font: inherit; font-size: 0.85rem;
}
.filter-bar input[type="number"] { width: 5rem; }
.filter-bar select:focus-visible, .filter-bar input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; user-select: none;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.38rem 0.75rem;
  font-size: 0.85rem; color: var(--ink-muted); transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.filter-chip:hover { border-color: var(--primary); color: var(--ink); }
.filter-chip input { accent-color: var(--cta); }
.filter-bar__sep { width: 1px; height: 1.4rem; background: var(--line); }
.filter-bar__count { margin-left: auto; font-size: 0.85rem; font-weight: 600; color: var(--ink-dim); }
.link-btn { border: 0; background: none; padding: 0; color: var(--cta); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 2.5rem 0 1rem; gap: 1.75rem; }
  .hero__visual { min-height: 220px; order: -1; }
  .hero--finder .hero__copy { order: 0; }
  .hero-band .hero { padding-top: 2.25rem; padding-bottom: 2rem; }
  .hero-band {
    background:
      linear-gradient(180deg, rgba(13, 22, 38, 0.86) 0%, rgba(13, 22, 38, 0.72) 55%, rgba(13, 22, 38, 0.9) 100%),
      radial-gradient(90% 60% at 50% 0%, rgba(220, 38, 38, 0.28), transparent 60%),
      url("../img/hero/hero.jpg") center center / cover no-repeat,
      linear-gradient(165deg, #223043 0%, #101a2e 74%);
  }
  .hero-band__blob--1 { width: 17rem; height: 17rem; top: -5rem; }
  .hero-band__blob--2 { width: 15rem; height: 15rem; bottom: -5rem; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-bar .trust-item:not(:last-child) { border-right: 0; padding-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .filter-bar { position: static; }
  .configurator__fields { grid-template-columns: 1fr; }
  .product-page { grid-template-columns: 1fr; }
  .product-page__gallery { position: static; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout, .grid-2 { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  /* tablet: tighten vertical rhythm + slightly denser grids */
  .section { padding: 1.6rem 0; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.9rem; }
  .configurator { padding: 1.3rem 1.25rem; }
  .product-page { gap: 1.75rem; padding: 1.5rem 0 1rem; }
  .product-page__price { font-size: 1.7rem; }
}
@media (max-width: 600px) {
  /* more usable width on phones */
  :root { --gutter: 1.6rem; }

  /* 2-up product & category grids (was 1 huge column) */
  .product-grid,
  .product-grid--mosaic,
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .bundle-grid { grid-template-columns: 1fr; }

  /* the "featured" tile should not eat the whole row on phones */
  .product-card--featured { grid-column: auto; }

  /* compact card internals for a balanced 2-up ratio */
  .product-card__body { padding: 0.7rem 0.75rem 0.85rem; gap: 0.3rem; }
  .product-card__media { padding: 7%; }
  .product-card__title { font-size: 0.86rem; line-height: 1.3; }
  .product-card__price { font-size: 1.08rem; }
  .product-card__vat { font-size: 0.62rem; }
  .product-card__foot { padding-top: 0.5rem; gap: 0.4rem; }
  .product-card__stock { font-size: 0.64rem; padding: 0.2rem 0.45rem; }
  .product-card__save { font-size: 0.7rem; }
  .product-card__oldprice { font-size: 0.75rem; }
  .product-card__discount { font-size: 0.7rem; padding: 0.26rem 0.44rem; }
  /* the whole card is a link; drop the decorative button to save height */
  .product-card__btn { display: none; }

  /* section + heading rhythm */
  .section { padding: 1.3rem 0; }
  .section__head { margin-bottom: 0.85rem; }

  /* forms: smaller controls so the finder/checkout fit the viewport */
  .configurator { padding: 1.1rem 1rem; margin: 1rem auto 1.75rem; }
  .configurator__title { font-size: 1.2rem; }
  .field { font-size: 0.85rem; }
  .field input, .field select, .field textarea { padding: 0.62rem 0.7rem; }
  .btn--lg { padding: 0.75rem 1.2rem; font-size: 0.95rem; }

  /* product page price/title trimmed for small screens */
  .product-page { gap: 1.3rem; }
  .product-page__price { font-size: 1.5rem; }

  /* offer hero: keep the giant % from overflowing */
  .offer-hero__percent { font-size: clamp(6rem, 34vw, 11rem); opacity: 0.5; }
}

@media (max-width: 560px) {
  .cart-item {
    grid-template-columns: 56px 1fr auto;
    grid-template-areas: "thumb info remove" "thumb qty total";
    row-gap: 0.65rem; column-gap: 0.8rem;
  }
  .cart-item__thumb { grid-area: thumb; width: 56px; height: 56px; align-self: start; }
  .cart-item__info { grid-area: info; }
  .cart-item__remove { grid-area: remove; align-self: start; }
  .cart-item__qty { grid-area: qty; }
  .cart-item__total { grid-area: total; align-self: center; }
  .cart-items__foot { flex-direction: column; }
  .cart-items__foot .btn { width: 100%; }
}
@media (max-width: 560px) {
  .header-actions { width: 100%; justify-content: flex-start; margin-left: 0; gap: 0.4rem; }
  .header-divider { display: none; }
  .vehicle-chip { margin-right: auto; }
  .vehicle-chip__label { display: none; }
  .vehicle-chip__name { max-width: 8.5rem; }
  .nav { gap: 0.1rem; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}
@media (max-width: 520px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-header__inner { gap: 0.75rem; }
  .trust-bar { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
