/* ===========================================================
   Vaflarnica Kvadrat — Y2K chrome / liquid metal design system
   =========================================================== */

:root {
  --forest-900: #10261b;
  --forest-800: #16351f;
  --forest-700: #1f4a2c;
  --forest-600: #2c6338;
  --forest-500: #3d7f48;
  --bone-100: #fbf7ee;
  --bone-200: #f3ecdc;
  --bone-300: #e9ddc3;
  --brass-200: #f0d9a0;
  --brass-400: #d9ad57;
  --brass-500: #c2903c;
  --brass-700: #8c6324;
  --chrome-1: #f7f5ee;
  --chrome-2: #cdd6cf;
  --chrome-3: #9fb0a2;
  --ink: #15241b;

  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "URW Palladio L", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-label: "Segoe UI Semibold", system-ui, "Helvetica Neue", Arial, sans-serif;

  --radius-bubble: 2.5rem;
  --radius-card: 1.75rem;
  --shadow-paper: 0 1px 2px rgba(16, 38, 27, 0.08), 0 14px 30px -12px rgba(16, 38, 27, 0.35);
  --shadow-soft: 0 10px 24px -14px rgba(16, 38, 27, 0.4);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bone-100);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.1;
  color: var(--forest-900);
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 3px;
  border-radius: 0.3em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass-400);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 999;
  border-radius: 0 0 0.6rem 0;
}
.skip-link:focus { left: 0; }

/* ---------- Grain overlay ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transition: left 0.5s var(--ease-out);
  z-index: 1;
}
.btn:hover::before { left: 100%; }
.btn > * { position: relative; z-index: 2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(160deg, var(--brass-200), var(--brass-500) 55%, var(--brass-700));
  color: var(--forest-900);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(140, 99, 36, 0.55); }

.btn-ghost {
  background: transparent;
  border-color: var(--forest-700);
  color: var(--forest-800);
}
.btn-ghost:hover { background: rgba(31, 74, 44, 0.08); }

.btn-ghost-dark {
  background: transparent;
  border-color: var(--bone-200);
  color: var(--bone-100);
}
.btn-ghost-dark:hover { background: rgba(251, 247, 238, 0.12); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(16,38,27,0.97), rgba(16,38,27,0.9));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 173, 87, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--bone-100);
  flex-shrink: 0;
}
.brand-mark { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.brand-word { width: 9.75rem; height: 1.45rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  color: var(--bone-200);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--brass-400);
  transition: right 0.3s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--brass-200); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(251,247,238,0.08);
  color: var(--bone-100);
}
.cart-link:hover { background: rgba(251,247,238,0.18); }
.cart-link svg { width: 1.4rem; height: 1.4rem; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--brass-400);
  color: var(--forest-900);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.cart-count.bump { animation: bump 0.4s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(251,247,238,0.08);
  color: var(--bone-100);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 20rem);
    background: linear-gradient(180deg, var(--forest-900), var(--forest-700));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), visibility 0.35s;
    z-index: 200;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { font-size: 1.2rem; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(16,38,27,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    z-index: 150;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% -10%, var(--forest-600), var(--forest-900) 60%);
  color: var(--bone-100);
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--brass-200);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--bone-100);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--chrome-1) 0%, var(--brass-200) 35%, var(--chrome-1) 55%, var(--brass-400) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34rem; color: var(--bone-200); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-illustration { width: 100%; max-width: 24rem; height: auto; }

.steam path {
  animation: steamRise 3.4s ease-in-out infinite;
  transform-origin: center;
}
.steam path:nth-child(2) { animation-delay: 0.6s; }
@keyframes steamRise {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-6px) scale(1.04); opacity: 0.4; }
  100% { transform: translateY(0) scale(1); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
  .steam path { animation: none; }
}

.rotating-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  width: 8.5rem;
  height: 8.5rem;
  animation: spin 24s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .rotating-badge { animation: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Section rhythm ---------- */
.section { padding: 5rem 0; position: relative; }
.section-tight { padding: 3.5rem 0; }
.section-dark { background: var(--forest-900); color: var(--bone-100); }
.section-dark h2, .section-dark h3 { color: var(--bone-100); }
.section-bone { background: var(--bone-200); }

.section-head { max-width: 42rem; margin: 0 0 2.75rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.kicker {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brass-700);
  margin-bottom: 0.75rem;
}
.section-dark .kicker { color: var(--brass-200); }

.divider {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 1; }
.reveal.js-hidden {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 15% 0);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), clip-path 0.7s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-hidden { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Map composition (home) ---------- */
.map-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--forest-800);
  isolation: isolate;
}
.map-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.25) contrast(1.05) brightness(0.55) sepia(0.2);
}
.map-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(16,53,31,0.9), rgba(140,99,36,0.55));
  mix-blend-mode: multiply;
}
.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.55;
}
.map-canvas {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 1.25rem;
  padding: 2.5rem 1.25rem;
  min-height: 34rem;
}
@media (min-width: 760px) {
  .map-canvas {
    padding: 3rem;
    min-height: 40rem;
  }
  .map-pin {
    position: absolute;
    width: min(19rem, 80vw);
  }
  .map-pin:nth-of-type(1) { top: 6%; left: 4%; }
  .map-pin:nth-of-type(2) { top: 4%; right: 5%; }
  .map-pin:nth-of-type(3) { bottom: 8%; left: 8%; }
  .map-pin:nth-of-type(4) { bottom: 5%; right: 6%; }
}
.map-pin-card {
  background: var(--bone-100);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-paper);
  position: relative;
}
.map-pin-flag {
  position: absolute;
  top: -1.1rem;
  left: 1.5rem;
  width: 2.2rem;
  height: 2.2rem;
}
.map-pin-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.map-pin-card p { margin-bottom: 0.9rem; font-size: 0.92rem; color: var(--forest-800); }
.map-pin-card .tiny-link { font-family: var(--font-label); font-weight: 700; font-size: 0.85rem; color: var(--brass-700); }
.map-pin-card .tiny-link svg { width: 0.9rem; height: 0.9rem; vertical-align: -0.1em; }

/* ---------- Builder (signature feature) ---------- */
.builder {
  background: var(--bone-100);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-paper);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.builder-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .builder-grid { grid-template-columns: 1.3fr 1fr; }
}
.builder-step { margin-bottom: 1.75rem; }
.builder-step h3 {
  font-family: var(--font-label);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--forest-700);
  margin-bottom: 0.9rem;
}
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.75rem; }
.option-card {
  position: relative;
  display: block;
  cursor: pointer;
}
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card .option-face {
  display: block;
  border: 2px solid var(--bone-300);
  border-radius: 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--bone-100);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.option-card .opt-name { display: block; font-weight: 700; font-size: 0.95rem; color: var(--forest-900); }
.option-card .opt-price { display: block; font-size: 0.82rem; color: var(--brass-700); margin-top: 0.15rem; }
.option-card input:checked + .option-face {
  border-color: var(--brass-500);
  background: linear-gradient(160deg, var(--brass-200), var(--bone-100));
  transform: translateY(-2px);
}
.option-card input:focus-visible + .option-face { outline: 3px solid var(--brass-500); outline-offset: 2px; }

.builder-summary {
  background: var(--forest-900);
  color: var(--bone-100);
  border-radius: var(--radius-card);
  padding: 2rem;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.builder-summary h3 { color: var(--bone-100); font-size: 1.1rem; }
.builder-summary-list { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 0.92rem; }
.builder-summary-list li { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px dashed rgba(251,247,238,0.2); }
.builder-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 1.6rem; margin: 1rem 0 1.5rem; color: var(--brass-200); }
.builder-total span:first-child { font-size: 1rem; color: var(--bone-200); font-family: var(--font-body); }

/* ---------- Product grid / strip ---------- */
.filter-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-chip {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--forest-700);
  background: transparent;
  color: var(--forest-800);
  cursor: pointer;
  min-height: 44px;
}
.filter-chip[aria-pressed="true"] {
  background: var(--forest-800);
  color: var(--bone-100);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.75rem;
}

.product-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.product-strip .product-card { min-width: 15.5rem; scroll-snap-align: start; }
@media (min-width: 760px) {
  .product-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bone-100);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 36px -16px rgba(16,38,27,0.45); }
.product-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .thumb-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--forest-900); color: var(--brass-200);
  font-family: var(--font-label); font-size: 0.72rem; font-weight: 700;
  padding: 0.3rem 0.65rem; border-radius: 999px;
}
.product-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin: 0; }
.product-body p { font-size: 0.9rem; color: var(--forest-800); margin: 0; flex: 1; }
.product-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--brass-700); }
.product-link-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 0.4rem; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; gap: 2.5rem; }
@media (min-width: 880px) { .product-detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-detail .thumb { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-paper); }
.product-detail .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.75rem 0 1.25rem; }
.tag-pill { font-family: var(--font-label); font-size: 0.75rem; font-weight: 700; background: var(--forest-800); color: var(--bone-100); padding: 0.3rem 0.7rem; border-radius: 999px; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--bone-300); border-radius: 999px; }
.qty-control button { width: 2.5rem; height: 2.5rem; border: none; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--forest-900); }
.qty-control input { width: 2.5rem; border: none; text-align: center; font-size: 1rem; background: transparent; }

/* ---------- Cards / seals / dividers ---------- */
.seal { width: 7rem; height: 7rem; }
.hand-illustration { width: 100%; max-width: 20rem; height: auto; }

/* ---------- Grid of info cards (about / faq / delivery) ---------- */
.info-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.info-card {
  background: var(--bone-100);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-paper);
}
.info-card svg { width: 2.25rem; height: 2.25rem; color: var(--brass-500); margin-bottom: 0.75rem; }
.info-card h3 { font-size: 1.1rem; }
.info-card p { font-size: 0.92rem; color: var(--forest-800); margin: 0; }

/* ---------- Timeline (about) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.timeline .dot { width: 0.9rem; height: 0.9rem; border-radius: 999px; background: var(--brass-500); margin-top: 0.4rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--bone-100);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-paper);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--forest-800);
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 2px solid var(--bone-300);
  background: var(--bone-100);
  font: inherit;
  accent-color: var(--brass-500);
  min-height: 44px;
}
.form-row textarea { min-height: 7rem; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--brass-500); }
.form-grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; }
.checkbox-row input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--brass-500); }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { margin-top: 1rem; font-weight: 600; font-size: 0.92rem; }
.form-msg[data-state="ok"] { color: var(--forest-700); }
.form-msg[data-state="error"] { color: #8c2f2f; }
.field-error { color: #8c2f2f; font-size: 0.82rem; margin-top: 0.3rem; display: none; }
.form-row.invalid input, .form-row.invalid textarea { border-color: #8c2f2f; }
.form-row.invalid .field-error { display: block; }

/* ---------- Cart page ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th { text-align: left; font-family: var(--font-label); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest-700); padding-bottom: 0.75rem; border-bottom: 2px solid var(--bone-300); }
.cart-table td { padding: 1rem 0; border-bottom: 1px solid var(--bone-300); vertical-align: middle; }
.cart-item-name { display: flex; align-items: center; gap: 0.9rem; font-weight: 700; }
.cart-item-thumb { width: 3.5rem; height: 3.5rem; border-radius: 0.8rem; overflow: hidden; flex-shrink: 0; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-remove { background: none; border: none; color: var(--brass-700); font-weight: 700; cursor: pointer; font-size: 0.85rem; min-height: 44px; }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary-box { min-width: 16rem; background: var(--forest-900); color: var(--bone-100); border-radius: var(--radius-card); padding: 1.75rem; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.95rem; }
.cart-summary-row.total { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-200); border-top: 1px dashed rgba(251,247,238,0.25); padding-top: 0.75rem; margin-top: 0.75rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }

/* ---------- Table on legal pages ---------- */
.legal-content h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.legal-content ul { padding-left: 1.2rem; }
.legal-content { max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--bone-200); padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-bottom: 2.5rem; }
.footer-brand .brand { color: var(--bone-100); margin-bottom: 1rem; }
.footer-brand p { color: var(--bone-200); font-size: 0.9rem; max-width: 20rem; }
.footer-col h3 { font-family: var(--font-label); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brass-200); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; color: var(--bone-200); }
.footer-col a:hover { color: var(--brass-200); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.newsletter-form input { flex: 1; min-width: 10rem; padding: 0.7rem 1rem; border-radius: 0.8rem; border: 2px solid rgba(251,247,238,0.3); background: rgba(251,247,238,0.07); color: var(--bone-100); min-height: 44px; }
.newsletter-form input::placeholder { color: rgba(251,247,238,0.6); }
.footer-bottom { border-top: 1px solid rgba(251,247,238,0.15); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: rgba(251,247,238,0.65); }
.social-icons { display: flex; gap: 0.75rem; }
.social-icons a { width: 2.4rem; height: 2.4rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(251,247,238,0.08); }
.social-icons svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 300;
  max-width: 34rem;
  margin: 0 auto;
  background: var(--forest-900);
  color: var(--bone-100);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-paper);
  display: none;
  gap: 1rem;
}
.cookie-banner.visible { display: grid; }
.cookie-banner p { font-size: 0.88rem; margin: 0 0 1rem; color: var(--bone-200); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 6rem 0; }
.notfound .seal { width: 10rem; height: 10rem; margin: 0 auto 1.5rem; }

/* ---------- Misc utility ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.breadcrumb { font-size: 0.85rem; color: var(--forest-700); margin-bottom: 1.5rem; }
.breadcrumb a { font-weight: 700; }
