/* ==========================================================================
   Batohy Kopretina — design system
   Retro terminal: mono type, scanlines, amber/green on dark, rust + cream + slate
   ========================================================================== */

:root {
  --c-bg: #15110e;
  --c-bg-alt: #1c1712;
  --c-panel: #221c16;
  --c-line: #3b332a;
  --c-cream: #f1e8d6;
  --c-cream-dim: #c9bda4;
  --c-rust: #c25a32;
  --c-rust-dim: #8a3f23;
  --c-amber: #e7a53c;
  --c-green: #93b25a;
  --c-slate: #5a6c8a;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", "SFMono-Regular", "Liberation Mono", Menlo, monospace;
  --font-body: ui-sans-serif, "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 3px;
  --measure: 68ch;
  --container: 1180px;
  --dur: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0s; }
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-amber); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-mono); font-weight: 700; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- texture layers ---------- */
.grain-overlay {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 2; mix-blend-mode: overlay; opacity: 0.6;
}
.scanlines {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.18) 0px, rgba(0,0,0,0.18) 1px, transparent 2px, transparent 3px);
  opacity: 0.35;
}

/* ---------- icons ---------- */
.sprite-sheet { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; color: currentColor; }
.icon--sm { width: 15px; height: 15px; vertical-align: -2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-bg) 92%, black);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--c-cream); }
.logo__mark { width: 32px; height: 32px; color: var(--c-amber); flex: none; }
.logo__word { font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1.1; display: flex; flex-direction: column; }
.logo__word-accent { color: var(--c-rust); }

.nav-primary { display: none; gap: 24px; font-family: var(--font-mono); font-size: 0.9rem; }
.nav-primary a { color: var(--c-cream-dim); position: relative; padding: 4px 2px; }
.nav-primary a:hover, .nav-primary a.is-active { color: var(--c-amber); }
.nav-primary a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--c-amber);
  transition: right var(--dur) ease;
}
.nav-primary a:hover::after { right: 0; }
@media (min-width: 880px) { .nav-primary { display: flex; } }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.cart-link { position: relative; color: var(--c-cream); display: inline-flex; }
.cart-badge {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 3px;
  background: var(--c-rust); color: var(--c-cream); font-family: var(--font-mono); font-size: 0.65rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.cart-badge.is-empty { opacity: 0.55; }
.cart-badge.bump { animation: bump 0.4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.nav-toggle {
  background: none; border: 1px solid var(--c-line); color: var(--c-cream); border-radius: var(--radius);
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
}
.icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.nav-panel {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 85vw); height: 100vh;
  background: var(--c-panel); border-left: 1px solid var(--c-line);
  transform: translateX(100%); visibility: hidden; transition: transform var(--dur) ease;
  z-index: 60; overflow-y: auto;
}
.nav-panel.is-open { transform: translateX(0); visibility: visible; }
.nav-panel__inner { padding: 90px 28px 40px; display: flex; flex-direction: column; gap: 4px; }
.nav-panel__heading { font-family: var(--font-mono); color: var(--c-slate); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 18px 0 4px; }
.nav-panel a { color: var(--c-cream-dim); font-family: var(--font-mono); padding: 8px 0; border-bottom: 1px dashed var(--c-line); }
.nav-panel a:hover, .nav-panel a.is-active { color: var(--c-amber); }
html.nav-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid var(--c-rust); cursor: pointer;
  background: transparent; color: var(--c-cream); min-height: 44px; text-align: center; justify-content: center;
  isolation: isolate; transition: color var(--dur) ease, border-color var(--dur) ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; width: 100%; left: -100%; z-index: -1;
  background: var(--c-rust); transition: left var(--dur) ease;
}
.btn:hover::before { left: 0; }
.btn--primary { background: var(--c-rust); border-color: var(--c-rust); }
.btn--primary::before { background: var(--c-amber); }
.btn--primary:hover { color: var(--c-bg); border-color: var(--c-amber); }
.btn--ghost { border-color: var(--c-line); color: var(--c-cream-dim); }
.btn--ghost::before { background: var(--c-line); }
.btn--ghost:hover { color: var(--c-cream); }
.btn--outline { border-color: var(--c-amber); color: var(--c-amber); }
.btn--outline::before { background: var(--c-amber); }
.btn--outline:hover { color: var(--c-bg); }
.btn--sm { padding: 9px 16px; font-size: 0.8rem; min-height: 38px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 12% 0); transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; clip-path: none; }
}

/* ---------- oversized number / section grid (home composition) ---------- */
.num-section { position: relative; padding: 90px 0; border-top: 1px solid var(--c-line); }
.num-section__num {
  position: absolute; top: -0.2em; left: 0; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(5rem, 16vw, 11rem); color: var(--c-panel); z-index: 0; line-height: 1; user-select: none;
  -webkit-text-stroke: 1px var(--c-line);
}
.num-section__body { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 70px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero__eyebrow { font-family: var(--font-mono); color: var(--c-amber); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; }
.hero__title { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 0.98; color: var(--c-cream); margin: 14px 0 20px; }
.hero__title em { font-style: normal; color: var(--c-rust); }
.hero__lede { font-size: 1.1rem; color: var(--c-cream-dim); max-width: 42ch; }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__art { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.3) saturate(1.3) contrast(1.05); transition: filter 0.6s ease; }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, color-mix(in srgb, var(--c-rust) 55%, transparent), transparent 60%); mix-blend-mode: color; }
.hero__svg { position: absolute; bottom: -10px; right: -10px; width: 46%; color: var(--c-amber); opacity: 0.9; }
.cursor-blink { display: inline-block; width: 0.55em; height: 1em; background: var(--c-amber); vertical-align: -0.15em; animation: blink 1.1s step-end infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor-blink { animation: none; } }

/* ---------- dividers / ornaments ---------- */
.divider { width: 100%; height: 32px; color: var(--c-line); display: block; }
.divider--footer { color: var(--c-line); margin-bottom: -1px; }
.pattern-strip { height: 14px; width: 100%; background-image: radial-gradient(var(--c-line) 1px, transparent 1.5px); background-size: 14px 14px; opacity: 0.6; }

/* ---------- Kapacitometr (signature feature) ---------- */
.kapacitometr { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); position: relative; }
.kapacitometr__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.kapacitometr__title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--c-amber); margin: 0; }
.kapacitometr__sub { color: var(--c-cream-dim); font-family: var(--font-mono); font-size: 0.85rem; }
.kapacitometr__grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .kapacitometr__grid { grid-template-columns: 1fr 1fr; } }
.trip-options { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.trip-btn {
  font-family: var(--font-mono); text-align: left; padding: 14px; border: 1px solid var(--c-line); background: var(--c-bg-alt);
  color: var(--c-cream-dim); border-radius: var(--radius); cursor: pointer; min-height: 44px; transition: border-color var(--dur), color var(--dur);
}
.trip-btn strong { display: block; color: var(--c-cream); font-size: 0.95rem; }
.trip-btn span { font-size: 0.75rem; }
.trip-btn:hover { border-color: var(--c-amber); }
.trip-btn.is-active { border-color: var(--c-amber); color: var(--c-amber); background: color-mix(in srgb, var(--c-amber) 10%, var(--c-bg-alt)); }
.trip-btn.is-active strong { color: var(--c-amber); }

.gauge { display: flex; flex-direction: column; gap: 16px; }
.gauge__track { height: 26px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-bg-alt); overflow: hidden; }
.gauge__fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--c-rust), var(--c-amber)); transition: width 0.6s ease; }
.gauge__readout { font-family: var(--font-mono); font-size: 1.4rem; color: var(--c-amber); }
.gauge__label { font-family: var(--font-mono); font-size: 0.8rem; color: var(--c-cream-dim); }
.kapacitometr__results { margin-top: 10px; display: grid; gap: 10px; }
.kapacitometr__result { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px dashed var(--c-line); border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.85rem; align-items: center; }
.kapacitometr__result a { color: var(--c-cream); }
.kapacitometr__result a:hover { color: var(--c-amber); }

/* ---------- product cards / strip ---------- */
.product-strip, .product-grid { display: grid; gap: 22px; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 680px) {
  .product-strip { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .product-strip .product-card { scroll-snap-align: start; }
}
@media (min-width: 681px) { .product-strip { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }

.product-card {
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--dur) ease, border-color var(--dur) ease;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--c-amber); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-family: var(--font-mono); font-size: 0.7rem; color: var(--c-slate); text-transform: uppercase; letter-spacing: 0.08em; }
.product-card__name { font-size: 1.02rem; margin: 0; }
.product-card__name a { color: var(--c-cream); }
.product-card__short { color: var(--c-cream-dim); font-size: 0.88rem; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-card__price { font-family: var(--font-mono); color: var(--c-amber); font-weight: 700; }

/* ---------- badge / seal ---------- */
.seal { width: 120px; height: 120px; color: var(--c-amber); }

/* ---------- generic sections ---------- */
.section { padding: 70px 0; }
.section__head { max-width: 60ch; margin-bottom: 36px; }
.eyebrow { font-family: var(--font-mono); color: var(--c-amber); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--c-line); position: relative; }
.page-hero__eyebrow { font-family: var(--font-mono); color: var(--c-amber); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0 12px; }
.page-hero__lede { color: var(--c-cream-dim); max-width: var(--measure); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-family: var(--font-mono); font-size: 0.82rem; color: var(--c-cream-dim); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.breadcrumbs a { color: var(--c-cream-dim); }
.breadcrumbs a:hover { color: var(--c-amber); }
.breadcrumbs span[aria-hidden] { color: var(--c-slate); }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: var(--measure); font-family: var(--font-body); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; color: var(--c-amber); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--c-cream-dim); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; }
.prose strong { color: var(--c-cream); }

/* ---------- legal TOC ---------- */
.legal-toc { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 36px; max-width: var(--measure); }
.legal-toc p { font-family: var(--font-mono); color: var(--c-amber); margin-bottom: 10px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.legal-toc ol { padding-left: 1.2em; columns: 1; }
@media (min-width: 640px) { .legal-toc ol { columns: 2; } }
.legal-toc a { color: var(--c-cream-dim); font-size: 0.92rem; }
.legal-toc a:hover { color: var(--c-amber); }

/* ---------- notice ---------- */
.notice { border: 1px solid var(--c-line); border-left: 3px solid var(--c-amber); background: var(--c-panel); padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.92rem; color: var(--c-cream-dim); }
.notice--success { border-left-color: var(--c-green); }
.notice--error { border-left-color: var(--c-rust); }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: var(--measure); }
.form-grid--2col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid--2col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 0.82rem; color: var(--c-cream-dim); }
.field input, .field select, .field textarea {
  background: var(--c-bg-alt); border: 1px solid var(--c-line); color: var(--c-cream); border-radius: var(--radius);
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem; min-height: 44px; accent-color: var(--c-amber);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--c-amber); outline-offset: 1px; border-color: var(--c-amber);
}
.field-error { color: var(--c-rust); font-size: 0.82rem; margin: 0; }
.field-success { color: var(--c-green); font-size: 0.88rem; margin: 10px 0 0; display: flex; align-items: center; gap: 6px; }
.field--full { grid-column: 1 / -1; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: var(--measure); }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-panel); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 18px; font-family: var(--font-mono); color: var(--c-cream); list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--c-amber); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item div { padding: 0 18px 18px; color: var(--c-cream-dim); }

/* ---------- product detail ---------- */
.product-detail { display: grid; gap: 40px; }
@media (min-width: 880px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail__media { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-family: var(--font-mono); font-size: 1.8rem; color: var(--c-amber); margin: 12px 0; }
.product-detail__features { margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.product-detail__features li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-cream-dim); }
.product-detail__features .icon { color: var(--c-green); flex: none; margin-top: 3px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--radius); }
.qty-stepper button { background: none; border: none; color: var(--c-cream); width: 40px; height: 44px; cursor: pointer; font-size: 1.1rem; }
.qty-stepper input { width: 46px; text-align: center; background: none; border: none; color: var(--c-cream); font-family: var(--font-mono); height: 44px; }

/* ---------- cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.cart-table th, .cart-table td { padding: 12px 10px; border-bottom: 1px solid var(--c-line); text-align: left; font-size: 0.92rem; }
.cart-table th { font-family: var(--font-mono); color: var(--c-slate); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); }
.cart-row__name { display: flex; gap: 12px; align-items: center; }
.cart-summary { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; max-width: 360px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 10px; font-family: var(--font-mono); font-size: 0.9rem; color: var(--c-cream-dim); }
.cart-summary__row--total { color: var(--c-cream); font-size: 1.1rem; border-top: 1px solid var(--c-line); padding-top: 10px; margin-top: 4px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--c-cream-dim); }

/* ---------- contact layout ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 880px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.contact-card__row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--c-cream-dim); }
.contact-card__row .icon { color: var(--c-amber); flex: none; margin-top: 2px; }

/* ---------- utilities ---------- */
.u-grid { display: grid; gap: 24px; }
.u-flex { display: flex; gap: 14px; align-items: center; }
.u-mt-1 { margin-top: 8px; } .u-mt-2 { margin-top: 16px; } .u-mt-3 { margin-top: 32px; } .u-mt-4 { margin-top: 56px; }
.u-mb-1 { margin-bottom: 8px; } .u-mb-2 { margin-bottom: 16px; } .u-mb-3 { margin-bottom: 32px; }
.u-text-center { text-align: center; }
.u-cols-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.u-cols-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 100px 20px; }
.error-404__code { font-family: var(--font-mono); font-size: clamp(5rem, 20vw, 10rem); color: var(--c-panel); -webkit-text-stroke: 1px var(--c-rust); line-height: 1; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); padding-top: 50px; color: var(--c-cream-dim); position: relative; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 36px; }
@media (min-width: 880px) { .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.2fr; } }
.site-footer__tag { font-size: 0.9rem; margin: 12px 0; }
.site-footer__contact { font-size: 0.88rem; display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.site-footer__contact a { color: var(--c-cream-dim); }
.site-footer__heading { font-family: var(--font-mono); color: var(--c-cream); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__row input { flex: 1; min-width: 160px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-cream); border-radius: var(--radius); padding: 10px 12px; min-height: 44px; }
.newsletter__hint { font-size: 0.82rem; margin-bottom: 10px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0 24px; border-top: 1px solid var(--c-line); font-family: var(--font-mono); font-size: 0.78rem; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 80; background: var(--c-panel); border: 1px solid var(--c-amber); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.cookie-banner__inner { padding: 18px 20px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cookie-banner__inner p { margin: 0; font-size: 0.88rem; color: var(--c-cream-dim); max-width: 60ch; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
@media (min-width: 600px) { .cookie-banner { max-width: 640px; left: auto; } }

/* COMPONENTS:
.container - centered max-width content wrapper
.site-header / .nav-primary / .nav-panel / .nav-toggle - sticky header, inline nav, off-canvas full nav, hamburger
.logo / .logo__mark / .logo__word - brand lockup
.cart-link / .cart-badge - header cart icon with live count, .bump animates on add
.btn / .btn--primary / .btn--ghost / .btn--outline / .btn--sm / .btn--block - button variants with fill-sweep hover
.reveal / .reveal.in-view / .reveal-stagger - scroll reveal animation hooks
.num-section / .num-section__num / .num-section__body - oversized number section layout (home composition)
.hero / .hero__grid / .hero__title / .hero__art / .hero__svg - home hero with duotone photo + SVG
.cursor-blink - blinking terminal cursor accent
.divider / .pattern-strip - decorative SVG dividers and dot pattern
.kapacitometr / .trip-options / .trip-btn / .gauge / .gauge__track / .gauge__fill / .kapacitometr__results - signature capacity-calculator feature
.product-strip / .product-grid / .product-card - product listing grid and mobile scroll-snap strip
.seal - circular badge/seal SVG wrapper
.section / .section__head / .eyebrow - generic content section
.page-hero - inner page header band
.breadcrumbs - page location trail
.prose - long-form legal/readable text column
.legal-toc - jump-link table of contents box for legal pages
.notice / .notice--success / .notice--error - callout banners
.form-grid / .form-grid--2col / .field / .field-error / .field-success / .field--full - form layout and states
.faq / .faq-item - accordion built on native details/summary
.product-detail / .product-detail__media / .qty-stepper - single product page layout
.cart-table / .cart-summary / .cart-empty - cart and checkout layout
.contact-layout / .contact-card / .contact-card__row - contact page split layout
.u-grid / .u-flex / .u-cols-2 / .u-cols-3 / .u-mt-* / .u-mb-* / .u-text-center - spacing & layout utilities
.error-404 / .error-404__code - 404 page layout
.site-footer / .site-footer__grid / .newsletter - footer layout and newsletter form
.cookie-banner - fixed consent banner with accept/decline
*/

/* Product detail page */
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail__grid { grid-template-columns: 1fr; gap: 2rem; }
}
.product-detail__body {}
.product-detail__media img { border-radius: var(--radius); }
.product-detail__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5em 0;
  padding: 1.5em;
  background: var(--c-panel);
  border-radius: var(--radius);
}
.product-detail__label { font-size: 0.85em; color: var(--c-cream-dim); margin: 0 0 0.5em; font-family: var(--font-mono); }
.product-detail__value { font-size: 1.1em; font-weight: 600; }
.product-detail__price { font-size: 1.5em; color: var(--c-amber); font-weight: 700; }
.product-detail__short { font-size: 1.05em; margin: 1.5em 0; }
.product-detail__features { margin: 1.5em 0; }
.product-detail__features ul { list-style: none; padding: 0; }
.product-detail__features li { padding: 0.5em 0 0.5em 1.5em; position: relative; }
.product-detail__features li:before { content: "✓"; position: absolute; left: 0; color: var(--c-green); }
.product-detail__actions { margin: 2em 0; }
.product-detail__info { margin-top: 2em; padding: 1em; background: color-mix(in srgb, var(--c-panel) 50%, transparent); border-left: 3px solid var(--c-amber); }
.product-detail__info p { margin: 0.5em 0; }

/* Quantity stepper */
.qty-stepper {
  display: inline-flex;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-stepper input { width: 50px; text-align: center; border: none; background: transparent; color: inherit; font-family: inherit; }
.qty-stepper button { border: none; background: transparent; color: inherit; cursor: pointer; padding: 0.5em 0.75em; font-size: 1em; transition: background-color var(--dur); }
.qty-stepper button:hover { background: var(--c-panel); }
.qty-stepper__minus { border-right: 1px solid var(--c-line); }
.qty-stepper__plus { border-left: 1px solid var(--c-line); }

/* Cart page */
.cart-table-wrapper { margin-bottom: 2rem; }
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.cart-table th { text-align: left; padding: 1em 0; border-bottom: 1px solid var(--c-line); font-family: var(--font-mono); font-size: 0.85em; color: var(--c-cream-dim); }
.cart-table td { padding: 1em 0; border-bottom: 1px solid var(--c-line); }
.cart-table a { color: var(--c-amber); }
.cart-empty { text-align: center; padding: 3rem 0; }
.cart-summary {
  padding: 1.5em;
  background: var(--c-panel);
  border-radius: var(--radius);
}
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 1em; }
.cart-summary__total { font-weight: 700; font-size: 1.2em; padding-top: 1em; border-top: 1px solid var(--c-line); }
.btn--lg { padding: 1em 2em; font-size: 1.05em; }

/* Contact page */
.contact-layout {}
.contact-card { padding: 2em; background: var(--c-panel); border-radius: var(--radius); }
.contact-card__row { margin-bottom: 2em; }
.contact-card__row:last-child { margin-bottom: 0; }
.contact-card__label { display: flex; align-items: center; gap: 0.75em; margin-bottom: 0.75em; font-weight: 600; }

/* Forms */
.field--full { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: flex-start; gap: 0.75em; }
.checkbox input { margin-top: 0.25em; }
.form-grid--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) {
  .form-grid--2col { grid-template-columns: 1fr; }
}

/* Prose sections */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.5em; margin-bottom: 0.75em; }
.prose h3 { font-size: 1.1em; margin-top: 1.25em; margin-bottom: 0.5em; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }

/* FAQ */
.faq { margin: 2em 0; }
.faq-item { margin-bottom: 1em; }
.faq-item summary { cursor: pointer; padding: 1em; background: var(--c-panel); border-radius: var(--radius); font-weight: 600; user-select: none; }
.faq-item summary:hover { background: color-mix(in srgb, var(--c-panel) 80%, var(--c-amber)); }
.faq-item details[open] summary { background: var(--c-line); }
.faq-item details > div { padding: 1em; background: color-mix(in srgb, var(--c-panel) 50%, transparent); margin-top: 0.5em; border-radius: var(--radius); }
.faq-item details > div p { margin-bottom: 0.75em; }
.faq-item details > div p:last-child { margin-bottom: 0; }

/* Utility classes */
.u-text-center { text-align: center; }
.u-grid { display: grid; gap: 1.5rem; }
.u-cols-1 { grid-template-columns: 1fr; }
.u-cols-2 { grid-template-columns: repeat(2, 1fr); }
.u-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .u-cols-2, .u-cols-3 { grid-template-columns: 1fr; }
}
.u-mt-1 { margin-top: 0.5em; }
.u-mt-2 { margin-top: 1em; }
.u-mt-3 { margin-top: 1.5em; }
.u-mb-1 { margin-bottom: 0.5em; }
.u-mb-2 { margin-bottom: 1em; }
.u-mb-3 { margin-bottom: 1.5em; }


/* ---------- Missing footer & product card styles ---------- */

/* Footer brand section */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Logo modifier for footer (smaller than header) */
.logo--footer {
  gap: 8px;
}
.logo--footer .logo__mark {
  width: 24px;
  height: 24px;
}
.logo--footer .logo__word {
  font-size: 0.8rem;
}

/* Footer tagline / made description */
.site-footer__made {
  margin: 0;
  font-size: 0.88rem;
  color: var(--c-cream-dim);
}

/* Product card title (combined name + price) */
.product-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-cream);
}

/* Product card metadata (volume, specs) */
.product-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--c-cream-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* wg-contrast-autofix */
main section.num-section span.num-section__num { color: #ffffff !important; }
#kapacitometr span.num-section__num { color: #ffffff !important; }
