/* ===== Skate Zora — stylesheet ===== */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }

:root {
  --ink: #241321;
  --aubergine: #4a2545;
  --aubergine-deep: #2c1530;
  --aubergine-soft: #6b3b63;
  --lime: #c3e85c;
  --lime-deep: #9bc93a;
  --lime-text: #4f6b17;
  --ivory: #faf5ea;
  --paper: #fffcf6;
  --pink: #f1c9d6;
  --mint: #cfeedd;
  --line: rgba(36, 19, 33, 0.14);
  --shadow: 0 18px 40px -20px rgba(44, 21, 48, 0.45);
  --radius: 18px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-label: "Courier New", ui-monospace, monospace;
  --maxw: 1180px;
  --dur: 0.5s;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

p { margin: 0 0 1em; }

a { color: var(--aubergine); text-decoration: none; }
a:hover { color: var(--aubergine-deep); }

.script {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime-text);
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  left: -9999px;
}

/* honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--aubergine-deep);
  background: var(--aubergine-deep);
  color: var(--ivory);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  left: -100%;
  background: var(--lime);
  z-index: -1;
  transition: left 0.35s ease;
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--aubergine-deep); }
.btn:active { transform: scale(0.97); }

.btn-lime {
  background: var(--lime);
  border-color: var(--lime-deep);
  color: var(--aubergine-deep);
}
.btn-lime::before { background: var(--aubergine-deep); }
.btn-lime:hover, .btn-lime:focus-visible { color: var(--ivory); }

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost::before { background: var(--ivory); opacity: 0.18; }
.btn-ghost:hover, .btn-ghost:focus-visible { color: inherit; }

.btn-block { width: 100%; }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.85rem; }

/* ===== Icon sprite usage ===== */
.icon {
  width: 1.3em; height: 1.3em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ivory);
  border-bottom: 2px solid var(--aubergine-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-svg { width: 10.5rem; height: auto; display: block; }

.main-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  color: var(--aubergine-deep);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--lime-deep);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--aubergine-deep);
  min-height: 44px; min-width: 44px;
  justify-content: center;
}
.cart-count {
  position: absolute;
  top: -2px; right: -8px;
  background: var(--lime-deep);
  color: var(--aubergine-deep);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 1.3em;
  height: 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.2em;
}
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-count.bump { animation: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 2px solid var(--aubergine-deep);
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--aubergine-deep);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--aubergine-deep);
    padding: 6rem 1.75rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 55;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.4rem; }
  .main-nav a { color: var(--ivory); font-size: 1.15rem; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(20, 8, 20, 0.45);
    z-index: 54;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}

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

/* ===== Scallop divider ===== */
.scallop {
  display: block;
  width: 100%;
  height: 20px;
}
.scallop-seam, .scallop-wrap {
  position: relative;
  z-index: 2;
}
.scallop-seam { margin-bottom: -1px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--aubergine-deep);
  color: var(--ivory);
  overflow: hidden;
  padding: 3rem 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 3rem;
}
.hero-eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime);
  font-size: 0.8rem;
}
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.01em;
  margin: 0.3em 0 0.5em;
}
.hero p.lede { font-size: 1.1rem; max-width: 34ch; color: rgba(250,245,234,0.85); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.hero-tabs {
  display: flex;
  gap: 0.6rem;
  margin: 1.8rem 0 0;
  flex-wrap: wrap;
}
.hero-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 2px solid rgba(250,245,234,0.35);
  background: transparent;
  color: rgba(250,245,234,0.75);
  cursor: pointer;
  min-height: 44px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-tab:hover { border-color: var(--lime); }
.hero-tab[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--aubergine-deep);
}

.hero-visual { position: relative; }
.hero-art {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3.2;
}
.hero-mood-label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
  font-size: 1.3rem;
  margin-top: 0.8rem;
}
.hero-mood-photo {
  position: absolute;
  left: -0.5rem;
  bottom: 1.6rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--lime);
  box-shadow: var(--shadow);
}
.hero-mood-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .hero-mood-photo { position: static; width: 5rem; height: 5rem; margin-top: 0.8rem; }
}

.route-line {
  stroke-dasharray: 6 6;
  stroke-dashoffset: 400;
  animation: draw 2.6s ease forwards;
}
.pin {
  transform-origin: 50% 100%;
  opacity: 0;
  animation: drop 0.6s ease forwards 1.9s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-40px) scale(0.6); }
  60% { opacity: 1; transform: translateY(4px) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .route-line { stroke-dashoffset: 0; animation: none; }
  .pin { opacity: 1; animation: none; transform: none; }
}

/* ===== Sections ===== */
.section { padding: 4.5rem 0; position: relative; }
.section-ivory { background: var(--ivory); }
.section-paper { background: var(--paper); }
.section-head { max-width: 46ch; margin-bottom: 2.5rem; }
.section-head .script { display: block; font-size: 1.3rem; margin-bottom: 0.2em; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* ===== Why / value block ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.why-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.why-badge {
  position: absolute;
  bottom: -1.2rem; right: -1.2rem;
  width: 7rem; height: 7rem;
}
.why-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.why-list .icon { color: var(--lime-deep); margin-top: 0.15em; }

/* ===== Builder (signature feature) ===== */
.builder {
  background: var(--aubergine);
  color: var(--ivory);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.builder-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.builder-head h2 { color: var(--ivory); }
.builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.builder-preview {
  background: rgba(250,245,234,0.06);
  border: 1px solid rgba(250,245,234,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.builder-art { width: 100%; max-width: 360px; height: auto; margin: 0 auto 1rem; }
#builder-deck-group { transform-origin: 150px 60px; transition: transform 0.4s ease; }
#builder-deck-group.is-longboard { transform: scaleX(1.18); }
.builder-wheel { transition: r 0.3s ease, fill 0.3s ease; }
.builder-note {
  font-size: 0.92rem;
  background: rgba(195,232,92,0.14);
  border: 1px solid rgba(195,232,92,0.4);
  border-radius: 12px;
  padding: 0.8em 1em;
  min-height: 3.2em;
  display: flex;
  align-items: center;
}
.builder-options { display: grid; gap: 1.4rem; }
.builder-field fieldset { border: none; margin: 0; padding: 0; }
.builder-field legend {
  font-family: var(--font-label);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 0.6rem;
}
.builder-choices { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.builder-choice {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5em 0.9em;
  border-radius: 10px;
  border: 2px solid rgba(250,245,234,0.3);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  min-height: 44px;
}
.builder-choice[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--aubergine-deep); }
.builder-swatch { width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid rgba(250,245,234,0.5); cursor: pointer; padding: 0; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.builder-swatch span { width: 1.4rem; height: 1.4rem; border-radius: 50%; display: block; }
.builder-swatch[aria-pressed="true"] { border-color: var(--lime); }
.builder-total { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,234,0.25); }
.builder-total .amount { font-family: var(--font-display); font-size: 1.8rem; color: var(--lime); }

/* ===== Product grid / strip ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.filter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-chip {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5em 1em;
  border-radius: 999px;
  border: 2px solid var(--aubergine-deep);
  background: transparent;
  color: var(--aubergine-deep);
  cursor: pointer;
  min-height: 44px;
}
.filter-chip[aria-pressed="true"] { background: var(--aubergine-deep); color: var(--ivory); }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-cat { font-family: var(--font-label); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime-text); }
.card-body h3 { font-size: 1.15rem; margin: 0; }
.card-body h3 a { color: var(--aubergine-deep); }
.card-price { font-weight: 700; font-size: 1.1rem; margin-top: auto; }
.card-actions { margin-top: 0.6rem; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    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-grid .card { scroll-snap-align: start; }
}

/* ===== Product detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-price-big { font-family: var(--font-display); font-size: 2.2rem; color: var(--aubergine-deep); margin: 0.3em 0 1em; }
.qty-row { display: flex; align-items: center; gap: 0.8rem; margin: 1.2rem 0; }
.qty-row input { width: 4rem; padding: 0.5em; border: 2px solid var(--aubergine-deep); border-radius: 10px; font-size: 1rem; text-align: center; }
.spec-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.spec-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 0.4em; }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th, .cart-table td { text-align: left; padding: 0.9rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-info { display: flex; gap: 0.8rem; align-items: center; }
.cart-item-info img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-qty-input { width: 3.5rem; padding: 0.4em; border: 2px solid var(--aubergine-deep); border-radius: 8px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--aubergine); text-decoration: underline; cursor: pointer; font-size: 0.85rem; min-height: 44px; }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary-box { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; min-width: 280px; box-shadow: var(--shadow); }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 0.6rem; }
.cart-summary-total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 0.6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }

.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.payment-note { background: var(--mint); border-radius: 14px; padding: 1rem 1.2rem; font-size: 0.9rem; margin-top: 1rem; }

/* ===== Forms ===== */
.form-field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 700; font-size: 0.92rem; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 2px solid var(--aubergine-deep);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  accent-color: var(--aubergine);
}
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible {
  outline: 3px solid var(--lime-deep);
  outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg { padding: 0.8em 1em; border-radius: 10px; font-size: 0.92rem; margin-top: 1rem; }
.form-msg.ok { background: var(--mint); color: var(--aubergine-deep); }
.form-msg.err { background: var(--pink); color: var(--aubergine-deep); }
.form-msg:empty { display: none; }

.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 10rem;
  padding: 0.7em 1em;
  border-radius: 999px;
  border: 2px solid rgba(250,245,234,0.4);
  background: rgba(250,245,234,0.06);
  color: var(--ivory);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(250,245,234,0.6); }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--aubergine-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; color: var(--lime-deep); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 1.1rem; max-width: 70ch; }

/* ===== Legal pages ===== */
.legal-page { max-width: 72ch; margin: 0 auto; }
.legal-page h2 { margin-top: 2em; font-size: 1.4rem; }
.legal-page ul { padding-left: 1.2em; }
.updated-note { font-family: var(--font-label); font-size: 0.82rem; color: var(--aubergine-soft); }

/* ===== 404 ===== */
.notfound { text-align: center; padding: 6rem 1rem; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); }

/* ===== Footer ===== */
.site-footer { background: var(--aubergine-deep); color: var(--ivory); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-grid h3 { color: var(--lime); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-label); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-grid a { color: rgba(250,245,234,0.85); }
.footer-grid a:hover { color: var(--lime); }
.footer-brand p { color: rgba(250,245,234,0.75); max-width: 30ch; }
.footer-bottom {
  border-top: 1px solid rgba(250,245,234,0.2);
  padding: 1.2rem 0 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(250,245,234,0.7);
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px;
  margin: 0 auto;
  background: var(--aubergine-deep);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  z-index: 90;
  display: grid;
  gap: 1rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--lime); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

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

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .why-grid { grid-template-columns: 1fr; }
  .builder-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 3rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .builder { padding: 1.5rem; }
  #builder-add { white-space: normal; height: auto; line-height: 1.25; font-size: 0.85rem; padding: 0.75em 1em; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr; padding: 0.6rem 0; }
  .cart-table td { border: none; padding: 0.3rem 0.6rem; }
}
