/* E-PRODUCTEN — Dutch robot vacuum shop
   Design ref: mqshop.net — editorial, warm, zero AI feel */

:root {
  --ink: #18332d;
  --green: #214d42;
  --lime: #d9ef4b;
  --sand: #f5f2e9;
  --soft: #e9ede5;
  --line: #d9ddd7;
  --muted: #66726e;
  --white: #fff;
  --clay: #d85837;
  --bg: #f7f7f2;
  --max: 1200px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(24,51,45,.06);
  --shadow: 0 4px 18px rgba(24,51,45,.08);
  --shadow-lg: 0 12px 40px rgba(24,51,45,.12);
  --display: Manrope, sans-serif;
  --body: "DM Sans", sans-serif;
}

/* fonts loaded via <link> in layout.ejs */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.8rem); }
h2 { font-size: clamp(1.3rem, 1.4vw + .8rem, 1.9rem); }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr { position: absolute; left: -9999px; }

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 10px 16px;
  background: var(--green); color: var(--white); z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Topbar — very dark ──────────────────────────────────────── */
.topbar {
  background: #122b25;
  color: var(--white);
  font-size: 11px;
  letter-spacing: .015em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 24px; min-height: 34px;
  max-width: var(--max); margin: 0 auto;
}
.topbar-note {
  color: #c5d1cd;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-links { display: flex; gap: 0; flex: 0 0 auto; }
.topbar-links a {
  color: #c5d1cd; font-weight: 500; white-space: nowrap;
  line-height: 1; padding: 0;
}
.topbar-links a + a {
  margin-left: 18px; padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.topbar-links a:hover { color: var(--white); text-decoration: none; }
@media (max-width: 900px) {
  .topbar-note { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .topbar-links { flex-wrap: wrap; gap: 0; }
  .topbar-links a { font-size: 10px; }
  .topbar-links a + a { margin-left: 10px; padding-left: 10px; }
}

/* ── Header — light sticky ───────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,252,.96);
  box-shadow: 0 1px 0 rgba(24,51,45,.08);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px) auto;
  align-items: center; gap: 20px;
  padding: 14px 24px;
  max-width: var(--max); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 1.3rem/1 var(--display);
  color: var(--ink); letter-spacing: -0.04em;
}
.brand:hover { text-decoration: none; }
.brand-logo { display: block; }
.brand-logo.mobile { display: none; }
.brand.small { font-size: .95rem; }
.brand.small.footer-brand { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 6px; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle span {
  display: block; height: 2px; margin: 5px auto; width: 20px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: flex; gap: 24px; overflow-x: auto; align-items: center;
  min-width: 0;
}
.primary-nav a {
  position: relative;
  color: var(--ink); font-weight: 600; padding: 6px 0;
  white-space: nowrap; font-size: 13px;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--clay); transition: right .2s;
}
.primary-nav a:hover::after { right: 0; }
.primary-nav a:hover { text-decoration: none; }

.site-search { position: relative; max-width: 340px; width: 100%; }
.site-search input {
  width: 100%; padding: 11px 40px 11px 16px;
  border: 0; border-radius: 999px;
  background: #f0f2ed; font: inherit; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(24,51,45,.1);
  transition: background .2s, box-shadow .2s;
}
.site-search input:focus {
  outline: 0; background: var(--white);
  box-shadow: inset 0 0 0 2px var(--green), 0 8px 24px rgba(24,51,45,.08);
}
.site-search input::placeholder { color: #78827e; }
.site-search button {
  position: absolute; right: 4px; top: 3px; width: 36px; height: 36px;
  border-radius: 999px; border: 0; background: transparent;
  color: #708078; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.site-search button:hover { color: var(--ink); }
.suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 70;
  max-height: min(560px, calc(100vh - 150px)); overflow-y: auto;
  background: var(--white); border: 1px solid rgba(24,51,45,.12); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(17,43,35,.2);
}
.suggest-item {
  display: grid; grid-template-columns: 50px 1fr auto; gap: 12px;
  align-items: center; padding: 9px 14px; color: var(--ink);
  border-top: 1px solid #edf0eb;
}
.suggest-item:hover { background: #f4f7f1; text-decoration: none; }
.suggest-item img { width: 48px; height: 46px; object-fit: contain; background: #f6f7f3; border-radius: 5px; }
.suggest-item .s-name {
  font: 600 13px/1.35 var(--display);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.suggest-item .s-price { font: 700 14px var(--display); white-space: nowrap; }
.suggest-all {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 0 16px;
  font-size: 12px; font-weight: 700; color: var(--ink);
  border-top: 1px solid var(--line); background: #eef3e9;
}
.suggest-all:hover { text-decoration: none; background: #e3eadc; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; gap: 4px; font-size: 12px; }
.lang-switch a {
  padding: 3px 8px; border-radius: 4px; color: var(--muted); font-weight: 600;
}
.lang-switch a.active { background: var(--soft); color: var(--ink); }
.cart-link {
  position: relative; display: inline-flex; align-items: center;
  padding: 9px 15px; border-radius: 5px;
  background: var(--green); color: var(--white);
  font-size: 13px; font-weight: 600;
}
.cart-link:hover { background: var(--ink); text-decoration: none; color: var(--white); }
.cart-badge {
  font-weight: 700;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .nav-toggle { display: inline-block; grid-row: 1; }
  .brand-logo.desktop { display: block; width: 110px; height: 24px; }
  .brand-logo.mobile { display: none; }
  .site-search {
    grid-row: 2; grid-column: 1 / -1;
    max-width: none;
  }
  .header-tools { grid-row: 1; grid-column: 4; }
  .primary-nav {
    position: fixed; top: var(--nav-top, 110px); left: 0; right: 0;
    background: var(--white);
    padding: 0 24px; flex-direction: column; gap: 0; align-items: stretch;
    max-height: 0; overflow: hidden; transition: max-height .22s ease-out;
    z-index: 45; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .primary-nav[data-open="true"] {
    max-height: 70vh; overflow-y: auto; padding: 6px 24px 14px;
    box-shadow: 0 24px 44px rgba(0,0,0,.14);
  }
  .primary-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 2px; border-bottom: 1px solid var(--line);
    font-weight: 600; font-size: 15px; text-align: left;
  }
  .primary-nav a::after {
    content: "›"; position: static; height: auto; background: none;
    color: var(--muted); font-size: 1.1rem;
  }
  .primary-nav a:last-child { border-bottom: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(13,22,19,.35); z-index: 42;
  }
  body.nav-open .site-header { z-index: 46; }
  .lang-switch { display: none; }
}

/* ── Focus rings ─────────────────────────────────────────────── */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px; border-radius: 4px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 5px;
  font-family: var(--display); font-weight: 700; font-size: .88rem; line-height: 1;
  border: 0; cursor: pointer;
  transition: background .15s, transform .04s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--lime); color: var(--ink); }
.btn.primary:hover { background: #cde03f; text-decoration: none; }
.btn.ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); text-decoration: none; }
.btn.small { padding: 8px 14px; font-size: .82rem; }
.btn.big { padding: 15px 28px; font-size: .95rem; }
.btn.block { display: flex; width: 100%; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link.block { display: block; text-align: center; margin-top: 10px; }
.link-danger { background: none; border: 0; color: var(--clay); padding: 0; cursor: pointer; font: inherit; }

/* ── Hero — dark with styled background ──────────────────────── */
.hero {
  position: relative;
  min-height: min(80vh, 660px);
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 50% 70% at 75% 50%, rgba(33,77,66,.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(217,239,75,.06) 0%, transparent 50%),
    linear-gradient(165deg, #0d1f19 0%, #122b25 40%, #18332d 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; right: -5%; top: -20%; z-index: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,239,75,.04) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 100px 24px 70px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 11px; color: var(--lime); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217,239,75,.2);
}
.hero-text { max-width: 580px; }
.hero-text h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.5vw + 1rem, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.02;
  color: var(--white);
}
.hero .lead {
  font-size: 1rem; color: #b9cbc5; max-width: 46ch; line-height: 1.6;
}
.hero-cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-cta .btn.primary { background: var(--lime); color: var(--ink); }
.hero-cta .btn.primary:hover { background: #cde03f; }
.hero-cta .btn.ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.hero-cta .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.hero-trust {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  color: #8a9f96; font-size: .84rem;
}

.hero-visual { flex: 0 0 auto; }
.hero-product-card {
  position: relative;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.hero-product-card::before { display: none; }
.hero-product-card img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.hero-product-tag {
  position: absolute; left: -12px; bottom: -16px;
  background: var(--white); border-radius: 10px;
  padding: 10px 14px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  max-width: 190px;
}
.hero-product-name { font: 600 .8rem var(--display); color: var(--ink); }
.hero-product-price { font: 800 .92rem var(--display); color: var(--green); }
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; align-items: flex-start; padding: 80px 24px 60px; }
  .hero-visual { align-self: center; }
  .hero-product-card { width: 240px; height: 240px; }
}
@media (max-width: 600px) {
  .hero { min-height: 65vh; }
  .hero-product-card { width: 200px; height: 200px; padding: 20px; }
}

/* ── Trust bar ───────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 18px 24px;
  max-width: var(--max); margin: 0 auto;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem;
}
.trust-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--soft);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.trust-icon svg { fill: var(--green); display: block; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item b { color: var(--ink); font-size: .84rem; font-weight: 700; }
.trust-item small { color: var(--muted); font-size: .76rem; }
@media (max-width: 900px) { .trust-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .trust-inner { grid-template-columns: 1fr; } }

/* ── Section ─────────────────────────────────────────────────── */
.section { padding: 56px 24px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.5vw + .8rem, 2rem);
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin: 6px 0 0;
}
.eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
}
.section-link {
  font-family: var(--display);
  font-weight: 700; font-size: 13px; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px;
}

/* ── Product grids ───────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid, .grid.grid-4 { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 700px) { .grid, .grid.grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Featured — first row asymmetric */
.featured .grid {
  grid-template-columns: repeat(12, 1fr);
}
.featured .grid .card:nth-child(1) { grid-column: span 7; }
.featured .grid .card:nth-child(2) { grid-column: span 5; }
.featured .grid .card:nth-child(n+3) { grid-column: span 3; }
@media (max-width: 1000px) {
  .featured .grid { grid-template-columns: repeat(6, 1fr); }
  .featured .grid .card:nth-child(1) { grid-column: span 3; }
  .featured .grid .card:nth-child(2) { grid-column: span 3; }
  .featured .grid .card:nth-child(n+3) { grid-column: span 2; }
}
@media (max-width: 700px) {
  .featured .grid { grid-template-columns: repeat(2, 1fr); }
  .featured .grid .card:nth-child(1),
  .featured .grid .card:nth-child(2),
  .featured .grid .card:nth-child(n+3) { grid-column: span 1; }
}

/* ── Category grid — with stagger ────────────────────────────── */
.cat-visual-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cat-visual-grid > :nth-child(even) { transform: translateY(14px); }
@media (max-width: 900px) {
  .cat-visual-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-visual-grid > :nth-child(even) { transform: none; }
}
@media (max-width: 500px) { .cat-visual-grid { grid-template-columns: 1fr; } }

.cat-visual {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 0; border-radius: var(--radius-lg);
  overflow: hidden; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.cat-visual:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.cat-visual-img {
  aspect-ratio: 1/1; background: #f0f2ed;
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
}
.cat-visual-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-visual-body { padding: 14px 16px 16px; }
.cat-visual-body h3 { font-family: var(--display); font-size: .92rem; margin: 0 0 2px; }
@media (max-width: 700px) {
  .cat-visual-img { padding: 14px; }
  .cat-visual-body { padding: 10px 12px 14px; }
}

/* ── Story / Why-us ──────────────────────────────────────────── */
.story {
  background: var(--sand);
  padding: 70px 24px;
}
.story-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
  max-width: var(--max); margin: 0 auto;
}
.story-grid h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.8vw + .7rem, 2.2rem);
  letter-spacing: -0.025em;
}
.story-points {
  list-style: none; padding: 0; margin: 20px 0 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.story-points li {
  color: var(--muted); font-size: .92rem;
  padding-left: 20px; position: relative;
}
.story-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay);
}
.story-points strong { color: var(--ink); }
.story-visual img {
  max-width: 100%; margin-inline: auto; display: block;
  filter: drop-shadow(0 10px 28px rgba(24,51,45,.12));
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── Card — no borders, editorial ────────────────────────────── */
.card {
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media {
  position: relative;
  aspect-ratio: 1/1;
  background: #f0f2ed;
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
  transition: transform .25s ease;
}
.card:hover .card-media img { transform: scale(1.03); }
.ph-image { width: 60%; height: 60%; background: linear-gradient(135deg, #ddd, #eee); border-radius: 8px; }
.ph-image.big { width: 100%; height: 100%; aspect-ratio: 1/1; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 5px; }
.card-title {
  color: var(--ink); font: 600 .88rem/1.35 var(--display);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.4em;
}
.card-title:hover { color: var(--green); text-decoration: none; }
.card-brand {
  color: var(--muted); font-size: 10px; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 600;
}
.card-cat {
  color: var(--muted); font-size: 10px; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 600;
}
.card-stock { color: #4d715e; font-size: 11px; font-weight: 500; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: auto; padding-top: 6px;
}
.card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card-price .price { font: 700 1.05rem var(--display); color: var(--ink); }
.card-price .price-old {
  font-size: .82rem; color: var(--muted); text-decoration: line-through;
  font-weight: 400;
}
.card-add {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 14px; border-radius: 5px;
  background: var(--green); color: var(--white);
  font: 600 11px var(--display); letter-spacing: .02em;
  white-space: nowrap; flex: 0 0 auto;
}
.card-add:hover { background: var(--ink); text-decoration: none; }

@media (max-width: 700px) {
  .card-media { padding: 14px; }
  .card-body { padding: 10px 12px 14px; gap: 3px; }
  .card-cat { font-size: 9px; }
  .card-title { font-size: .82rem; min-height: 2.2em; }
  .card-price .price { font-size: .95rem; }
  .card-meta { font-size: .7rem; }
}

/* ── Catalog head ─────────────────────────────────────────────── */
.catalog-head { padding: 26px 24px 8px; }
.catalog-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-top: 8px; flex-wrap: wrap;
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; }
.filters .label { color: var(--muted); }
.filters select, .filters input {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); font-size: .88rem; font-family: inherit;
}
.results-count { color: var(--muted); font-size: .88rem; }

/* ── Product page ─────────────────────────────────────────────── */
.product {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  padding: 26px 24px 8px;
}
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.pg-main {
  aspect-ratio: 1/1; background: var(--white); border-radius: var(--radius-lg);
  border: 0; box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pg-main img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.pg-thumbs { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pg-thumb {
  width: 64px; height: 64px; padding: 6px; border-radius: 8px;
  border: 2px solid transparent; background: var(--white); cursor: pointer;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pg-thumb.active { border-color: var(--green); }
.product-info .crumb { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.price-block { padding: 16px 0; border-block: 1px solid var(--line); margin: 14px 0; }
.price.big { font: 800 1.9rem var(--display); letter-spacing: -.01em; color: var(--ink); }
.price-meta { display: flex; gap: 10px; align-items: center; margin-top: 5px; }
.tag.good { background: #e3f0e1; color: #2a5e3f; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.add-to-cart { display: flex; gap: 10px; align-items: end; margin-top: 8px; flex-wrap: wrap; }
.qty { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); }
.qty input {
  width: 72px; padding: 11px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit;
}
.assurance {
  list-style: none; padding: 14px 16px; margin: 20px 0 0;
  background: var(--sand); border-radius: var(--radius-lg); color: var(--muted); font-size: .88rem;
}
.assurance li { padding: 3px 0; }
.meta.small { display: grid; grid-template-columns: max-content 1fr; gap: 4px 10px; margin-top: 18px; color: var(--muted); }
.meta.small dt { font-weight: 600; }
.meta.small dd { margin: 0; }

.product-desc { padding: 26px 24px 50px; }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.1em; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }

/* ── Cart / Checkout ──────────────────────────────────────────── */
.cart-page { padding: 26px 24px; }
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
@media (max-width: 800px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-lines { display: flex; flex-direction: column; gap: 14px; }
.cart-line {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 14px;
  padding: 14px; border: 0; border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cl-img { display: flex; align-items: center; justify-content: center; background: #f0f2ed; border-radius: 8px; }
.cl-body { display: flex; flex-direction: column; gap: 5px; }
.cl-title { font: 600 .9rem var(--display); color: var(--ink); }
.cl-title:hover { color: var(--green); text-decoration: none; }
.cl-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cl-qty input { width: 56px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; font-size: .88rem; }
.cl-remove { margin-top: 4px; }
.cl-price { text-align: right; font: 700 1rem var(--display); }
.cart-summary {
  background: var(--sand); border-radius: var(--radius-lg); padding: 20px; align-self: start;
}
.cart-summary.sticky { position: sticky; top: 90px; }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; margin: 10px 0; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; text-align: right; }
.cart-summary .total { font: 800 1.05rem var(--display); color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.empty-state { text-align: center; padding: 50px 24px; }

.coupon-box { margin: 12px 0; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .88rem; text-transform: uppercase; background: var(--white);
}
.coupon-form .btn { white-space: nowrap; }
.coupon-ok { color: var(--green); font-weight: 600; margin: 0 0 6px; }
.coupon-err { color: var(--clay); margin: 6px 0 0; }

.checkout-page { padding: 26px 24px 50px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
@media (max-width: 900px) {
  .checkout-grid { display: flex; flex-direction: column; }
  .checkout-grid .cart-summary { order: -1; position: static; }
}
.co-form { display: flex; flex-direction: column; gap: 10px; }
.co-form h3 { margin-top: 18px; }
.co-form label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--muted); }
.co-form input, .co-form select, .co-form textarea {
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: .95rem; font-family: inherit; color: var(--ink);
}
.co-form textarea { resize: vertical; }
.co-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 500px) { .co-form .two { grid-template-columns: 1fr; } }
.co-form .check { flex-direction: row; align-items: flex-start; gap: 10px; padding: 8px 0; }
.co-form .check input { margin-top: 2px; }
.mini-cart { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.mini-cart li { display: grid; grid-template-columns: 46px 1fr auto auto; gap: 8px 10px; align-items: center; }
.mini-cart img { border-radius: 6px; background: var(--white); }
.mc-qty { color: var(--muted); }

/* ── Order result ─────────────────────────────────────────────── */
.order-result { padding: 50px 24px; }
.or-card { padding: 36px; border-radius: var(--radius-lg); background: var(--sand); text-align: center; max-width: 600px; margin: 0 auto; }
.or-card.ok { background: #e3f0e1; }
.or-card.fail { background: #fdecea; }
.or-card.pending { background: #fef8e8; }
.error-page { padding: 80px 24px; text-align: center; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: #0d1f19; color: #8a9f96;
  font-size: .88rem;
}
.site-footer a { color: #8a9f96; }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
  padding: 50px 24px 20px;
  max-width: var(--max); margin: 0 auto;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: var(--display);
  color: var(--white); margin-bottom: 10px; font-size: .88rem;
  letter-spacing: .02em;
}
.footer-col a { display: block; padding: 3px 0; font-size: .84rem; }
.footer-col .brand.small { color: var(--white); }

.breadcrumbs {
  padding: 12px 24px 0; color: var(--muted); font-size: .82rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--clay); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.faq-list details {
  border: 0; border-radius: var(--radius-lg); background: var(--white);
  padding: 4px 18px; box-shadow: var(--shadow-sm);
  transition: box-shadow .15s;
}
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary {
  cursor: pointer; padding: 14px 0; font: 600 .95rem var(--display);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 14px; color: var(--muted); }

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter {
  background: var(--ink);
  color: var(--white);
  margin-top: 50px;
}
.newsletter-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 18px;
  padding: 30px 24px; align-items: center;
  max-width: var(--max); margin: 0 auto;
}
.newsletter h3 { font-family: var(--display); color: var(--white); margin: 0; font-size: 1.2rem; }
.newsletter .muted { color: #8a9f96; }
.newsletter-form { display: flex; gap: 8px; min-width: 280px; }
.newsletter-form input {
  flex: 1; padding: 11px 16px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.1); font: inherit; font-size: .92rem; color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { background: rgba(255,255,255,.16); outline: 0; }
.newsletter-form .btn.primary { background: var(--lime); color: var(--ink); border: 0; border-radius: 999px; }
.newsletter-form .btn.primary:hover { background: #cde03f; }
@media (max-width: 700px) {
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-form { min-width: 0; }
}

/* ── Sticky mobile buy bar ────────────────────────────────────── */
.mobile-buy {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 14px; align-items: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,.05);
}
.mobile-buy .mb-info { flex: 1; min-width: 0; }
.mobile-buy .mb-name { font: 600 .8rem var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-buy .mb-price { font: 800 1rem var(--display); }
@media (max-width: 780px) {
  .mobile-buy { display: flex; }
  body.has-mobile-buy { padding-bottom: 72px; }
}

.paylogos { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; align-items: center; }
.paylogos img {
  width: 44px; height: 28px; box-sizing: border-box;
  object-fit: contain; object-position: center;
  background: rgba(255,255,255,.08); padding: 3px 5px; border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid #1a2e24; padding: 16px 24px 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: #546e62; font-size: .82rem;
  max-width: var(--max); margin: 0 auto;
}
.footer-support {
  border-top: 1px solid rgba(255,255,255,.06); padding: 12px 24px 4px;
  max-width: var(--max); margin: 0 auto;
}
.footer-support a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.email-plain { font-weight: 600; color: var(--lime); word-break: break-all; }
.site-footer .email-plain { color: var(--lime); }

/* ── Legal pages ──────────────────────────────────────────────── */
.legal { padding: 26px 24px 50px; max-width: 880px; }
.legal address { font-style: normal; padding: 12px 14px; background: var(--sand); border-radius: var(--radius); }
.legal h2 { margin-top: 1.5em; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .88rem; }
.cookie-table th, .cookie-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cookie-table th { background: var(--sand); font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.contact-form label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  padding: 11px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit;
}
.ok { color: var(--green); font-weight: 600; }
.legal-sep { border: 0; border-top: 1px solid var(--line); margin: 36px 0 22px; }
.legal-encart { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0 20px; }
.legal-contact-block { background: var(--sand); border-radius: var(--radius-lg); padding: 18px 20px; }
.legal-contact-block h2 { margin-top: 0; font-size: 1rem; }
.legal-contact-block address { font-style: normal; line-height: 1.65; }
.legal-contact-block a { color: var(--green); }

/* ── Cookie banner ────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: var(--white); border: 0; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 20px; flex-wrap: wrap;
}
.cookie-actions { display: flex; gap: 8px; }

/* ── Info tabs ─────────────────────────────────────────────────── */
.info-tabs { margin-top: 30px; }
.tab-btns { display: flex; gap: 4px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tab-btn {
  background: none; border: 0; cursor: pointer;
  padding: 10px 14px; margin-bottom: -2px;
  font: 700 .9rem var(--display); color: var(--muted);
  border-bottom: 3px solid transparent;
}
.tab-btn[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--clay); }
.tab-panel { padding: 16px 2px 6px; max-width: 800px; }
@media (max-width: 600px) { .tab-btn { padding: 8px 10px; font-size: .84rem; } }

/* ── Cart qty stepper ─────────────────────────────────────────── */
.cl-qty { display: inline-flex; align-items: stretch; margin: 8px 0 4px; }
.cl-qty .qty-btn {
  width: 36px; border: 1px solid var(--line); background: var(--white);
  font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.cl-qty .qty-btn:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.cl-qty .qty-btn:last-of-type { border-radius: 0 var(--radius) var(--radius) 0; }
.cl-qty .qty-btn:active { background: var(--soft); }
.cl-qty label { display: block; }
.cl-qty input {
  width: 50px; height: 38px; text-align: center; font-size: .95rem;
  border: 1px solid var(--line); border-left: 0; border-right: 0;
  border-radius: 0; -moz-appearance: textfield; appearance: textfield;
}
.cl-qty input::-webkit-outer-spin-button,
.cl-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-summary .pay-note { margin: 12px 0 0; }
.cart-summary .paylogos { margin-top: 6px; }
.cart-summary .paylogos img { width: 38px; height: 24px; }

.co-policies { line-height: 1.6; }
.co-policies a { font-weight: 600; }

/* ── Checkout submit ──────────────────────────────────────────── */
.btn.loading { opacity: .85; cursor: progress; pointer-events: none; }
.spinner {
  display: inline-block; width: 16px; height: 16px; vertical-align: -3px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white);
  border-radius: 50%; animation: spin .7s linear infinite; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── About page ──────────────────────────────────────────────── */
.about-lead { font-size: 1.04rem; line-height: 1.65; }

/* ── Tracking ──────────────────────────────────────────────────── */
.track-form { margin: 16px 0 6px; }
.track-fields { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.track-fields label { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; font-weight: 600; }
.track-fields input {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: .92rem; min-width: 200px; background: var(--white);
}
.track-fields input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(33,77,66,.12); }
.track-result { margin: 12px 0 6px; padding: 12px 14px; border-radius: var(--radius); }
.track-result.ok { background: #e3f0e1; border: 1px solid var(--green); }
.track-result.none { background: #fdf3f3; border: 1px solid #e6b3b3; }
.track-steps { display: flex; gap: 5px; margin: 8px 0; }
.track-steps .ts { flex: 1; height: 5px; border-radius: 3px; background: var(--soft); }
.track-steps .ts.on { background: var(--green); }
.track-steps .ts.on.warn { background: #e0a030; }
@media (max-width: 700px) {
  .track-fields { flex-direction: column; align-items: stretch; }
  .track-fields input { min-width: 0; width: 100%; }
}
@media (max-width: 500px) {
  .cart-line { grid-template-columns: 68px 1fr; }
  .cart-line > :last-child { grid-column: 1 / -1; justify-self: end; }
  .footer-support { text-align: left; line-height: 1.8; }
}
