/* Moja Záhradka — 8-bit arcade garden style */

:root {
  --sky: #68c7ec;
  --sky-dark: #2f9fcf;
  --sky-pale: #e3f7fd;
  --sun: #ffcf3f;
  --sun-dark: #f2a600;
  --green: #5a9c3f;
  --green-dark: #35641f;
  --green-pale: #e8f4dc;
  --terracotta: #c76b3f;
  --terracotta-dark: #96492a;
  --cream: #fff8e6;
  --ink: #23301a;
  --white: #ffffff;
  --px: 4px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font-display: "Arial Black", "Segoe UI", Arial, sans-serif;
  --font-mono: "Consolas", "Lucida Console", "Courier New", monospace;
  --font-body: "Segoe UI", Verdana, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

a { color: var(--green-dark); text-decoration: none; }

p { margin: 0 0 1em; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pixel-corners {
  clip-path: polygon(
    0 8px, 8px 8px, 8px 0,
    calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
    8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)
  );
}

.pixel-corners-sm {
  clip-path: polygon(
    0 4px, 4px 4px, 4px 0,
    calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
    100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
    4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
  );
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
  padding: .85em 1.4em;
  border: 3px solid var(--ink);
  background: var(--sun);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  min-height: 44px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--green-dark);
  z-index: 0;
  transition: left .22s steps(4);
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--white); }
.btn:hover::before { left: 0; }
.btn:active { transform: translate(0,0); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary::before { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; }
.btn-sm { padding: .55em 1em; font-size: .8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- icon sprite ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; flex-shrink: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.25rem;
}
.logo { display: flex; align-items: center; gap: .55rem; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-word { width: 150px; height: 28px; }
.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
}
.main-nav a { position: relative; padding: .3em 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--terracotta);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.cart-link { position: relative; display: flex; align-items: center; color: var(--ink); min-width: 44px; min-height: 44px; justify-content: center; }
.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .68rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 0 3px;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0%{transform:scale(1);} 40%{transform:scale(1.5);} 100%{transform:scale(1);} }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 3px solid var(--ink);
  background: var(--sun);
  cursor: pointer;
}
.menu-toggle span { display: block; height: 3px; background: var(--ink); }

@media (max-width: 420px) {
  .logo-word { width: 112px; height: 21px; }
  .logo-mark { width: 32px; height: 32px; }
  .header-inner { gap: .6rem; padding: .6rem .8rem; }
  .header-actions { gap: .5rem; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: min(78vw, 320px);
    background: var(--green-dark);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
    padding: 5rem 1.5rem 2rem;
    border-left: 3px solid var(--ink);
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.4rem; }
  .main-nav a { color: var(--white); }
}

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  border-bottom: 3px solid var(--ink);
  background: var(--sky-pale);
  overflow: hidden;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero-bg-layer.active { opacity: 1; }
.hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(104,199,236,.55), rgba(255,248,230,.92) 85%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.25rem 1rem;
}
.hero-tabs {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.hero-tab {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  padding: .5em 1em;
  border: 3px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
}
.hero-tab.active { background: var(--sun); transform: translate(-2px,-2px); }
.hero-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--terracotta-dark);
  display: block;
  margin-bottom: .5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  color: var(--green-dark);
  text-shadow: 3px 3px 0 var(--white);
  max-width: 16ch;
}
.hero-sub {
  max-width: 48ch;
  font-size: 1.05rem;
  min-height: 3em;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .5rem; }

.hero-illustration-wrap { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 1; pointer-events: none; }
.hero-illustration { width: 100%; height: auto; display: block; }
.sun-pulse { animation: sunpulse 3.5s ease-in-out infinite; transform-origin: center; }
@keyframes sunpulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.08); } }

.marquee {
  position: relative;
  border-top: 3px solid var(--ink);
  background: var(--green-dark);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  z-index: 2;
}
.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  padding: .7rem 0;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .95rem;
  padding: 0 1.2rem;
  text-transform: uppercase;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; clip-path: none; }
.reveal.js-hide { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.js-hide.in-view { opacity: 1; transform: translateY(0); }
.reveal.js-hide[data-delay="1"] { transition-delay: .08s; }
.reveal.js-hide[data-delay="2"] { transition-delay: .16s; }
.reveal.js-hide[data-delay="3"] { transition-delay: .24s; }
.reveal.js-hide[data-delay="4"] { transition-delay: .32s; }

/* ---------- section basics ---------- */
.section { padding: 3.2rem 0; }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--green-dark); }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--terracotta-dark);
  display: inline-block;
  margin-bottom: .4rem;
}
.bg-sky { background: var(--sky-pale); }
.bg-green { background: var(--green-pale); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink a { color: var(--sun); }

.divider-grass { display: block; width: 100%; height: 16px; }
.ornament-wateringcan { width: 72px; height: 72px; flex-shrink: 0; }

/* ---------- sejbomat (signature feature) ---------- */
.sejbomat {
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  position: relative;
}
.sejbomat-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.sejbomat-head h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--terracotta-dark); }
.sejbomat-controls { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.sejbomat-controls select {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: .6em .8em;
  border: 3px solid var(--ink);
  background: var(--sky-pale);
  min-height: 44px;
}
.sejbomat-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  border: 3px solid var(--ink);
  padding: 3px;
  background: var(--ink);
  overflow-x: auto;
}
.sejbomat-month {
  background: var(--white);
  text-align: center;
  padding: .5rem .2rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  min-width: 42px;
}
.sejbomat-month .m-label { display: block; font-weight: 700; margin-bottom: .4rem; text-transform: uppercase; }
.sejbomat-month .m-dot { display: block; width: 14px; height: 14px; margin: 0 auto; border: 2px solid var(--ink); }
.sejbomat-month[data-stage="vnutri"] .m-dot { background: var(--sun); }
.sejbomat-month[data-stage="vonku"] .m-dot { background: var(--sky); }
.sejbomat-month[data-stage="vysadba"] .m-dot { background: var(--green); }
.sejbomat-month[data-stage="uroda"] .m-dot { background: var(--terracotta); }
.sejbomat-month[data-stage=""] .m-dot { background: transparent; border-color: #ccc; }
.sejbomat-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; font-family: var(--font-mono); font-size: .78rem; }
.sejbomat-legend span { display: inline-flex; align-items: center; gap: .4em; }
.sejbomat-legend i { width: 12px; height: 12px; border: 2px solid var(--ink); display: inline-block; }
.sejbomat-tip { margin-top: 1.2rem; padding: .9rem 1rem; background: var(--green-pale); border: 2px dashed var(--green-dark); font-size: .92rem; }

/* ---------- category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}
.cat-card {
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--ink); }
.cat-card .icon { width: 30px; height: 30px; color: var(--green-dark); }
.cat-card h3 { font-size: 1.05rem; margin: 0; }
.cat-card p { font-size: .88rem; margin: 0; color: #4a4a3c; }

/* ---------- product strip / grid ---------- */
.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
}
.product-strip .product-card { scroll-snap-align: start; }
@media (min-width: 720px) {
  .product-strip { grid-auto-columns: 32%; }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.3rem;
}
.product-card {
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--ink); }
.product-media { aspect-ratio: 4/3; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--sky-pale); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-body { padding: 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-cat { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; color: var(--terracotta-dark); }
.product-name { font-size: 1rem; margin: 0; }
.product-name a { color: var(--ink); }
.product-short { font-size: .86rem; color: #4a4a3c; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; }
.product-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--green-dark); }

/* ---------- filters ---------- */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filter-btn {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .5em .9em;
  border: 3px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  min-height: 44px;
}
.filter-btn.active { background: var(--sun); }

/* ---------- tips ---------- */
.tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.1rem; }
.tip-card { background: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow-sm); padding: 1.2rem; }
.tip-card h3 { font-size: 1rem; }
.tip-card p { font-size: .9rem; margin: 0; }

/* ---------- about teaser / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}
.split-media { position: relative; }
.split-media img { border: 3px solid var(--ink); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-badge { position: absolute; bottom: -22px; right: -18px; width: 92px; height: 92px; }

/* ---------- newsletter / footer ---------- */
.site-footer { background: var(--green-dark); color: var(--cream); border-top: 3px solid var(--ink); }
.footer-top { padding: 2.6rem 0 1.8rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 2rem; }
.footer-grid h4 { font-family: var(--font-mono); text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; color: var(--sun); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { color: var(--cream); font-size: .92rem; }
.footer-grid a:hover { color: var(--sun); }
.footer-newsletter input[type="email"] {
  width: 100%;
  padding: .7em .8em;
  border: 3px solid var(--ink);
  font-family: var(--font-mono);
  min-height: 44px;
}
.footer-newsletter form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .6rem; }
.footer-newsletter .btn { flex-shrink: 0; }
.footer-contact { display: flex; align-items: center; gap: .5em; color: var(--cream); font-size: .92rem; margin-top: .5rem; }
.footer-bottom {
  border-top: 2px solid rgba(255,255,255,.25);
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: .78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: var(--cream); text-decoration: underline; }
.footer-bottom a:hover { color: var(--sun); }
.form-msg { font-size: .85rem; margin-top: .5rem; min-height: 1.2em; }
.form-msg.ok { color: var(--sun); }
.form-msg.err { color: #ffb4a0; }

/* ---------- forms (general) ---------- */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; font-weight: 700; }
.form-row input, .form-row textarea, .form-row select {
  padding: .75em .8em;
  border: 3px solid var(--ink);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  min-height: 44px;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row:has(input:invalid[required]:not(:placeholder-shown)) input { border-color: var(--terracotta-dark); }
input:focus, textarea:focus, select:focus, button:focus, a:focus {
  outline: 3px solid var(--sky-dark);
  outline-offset: 2px;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--green-dark); width: 18px; height: 18px; }
.check-row { display: flex; align-items: flex-start; gap: .6em; font-size: .88rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- page header banner (inner pages) ---------- */
.page-banner {
  background: var(--sky-pale);
  border-bottom: 3px solid var(--ink);
  padding: 2.4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.page-banner h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: var(--green-dark); max-width: 24ch; }
.breadcrumb { font-family: var(--font-mono); font-size: .8rem; margin-bottom: .6rem; }
.breadcrumb a { color: var(--terracotta-dark); }

/* ---------- content pages (legal, faq) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; color: var(--green-dark); }
.prose ul { padding-left: 1.2em; }

.faq-item { border: 3px solid var(--ink); background: var(--white); margin-bottom: .9rem; box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.2rem 1.1rem; font-size: .94rem; }

/* ---------- catalog / product page ---------- */
.breadcrumb-row { margin-bottom: 1rem; }
.product-detail { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 860px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail .product-media { aspect-ratio: 4/3; }
.product-detail-body h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--green-dark); }
.product-detail-price { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--terracotta-dark); margin: .6rem 0 1rem; }
.qty-row { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.qty-field { display: flex; border: 3px solid var(--ink); }
.qty-field button { width: 44px; height: 44px; background: var(--sky-pale); border: none; font-weight: 700; font-size: 1.1rem; cursor: pointer; }
.qty-field input { width: 54px; border: none; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); text-align: center; font-family: var(--font-mono); font-weight: 700; min-height: 44px; }
.qty-field:has(input:focus) { outline: 3px solid var(--sky-dark); }

/* ---------- cart page ---------- */
.cart-table { width: 100%; border-collapse: collapse; border: 3px solid var(--ink); background: var(--white); }
.cart-table th, .cart-table td { border-bottom: 2px solid var(--ink); padding: .8rem .6rem; text-align: left; font-size: .9rem; }
.cart-table thead th { font-family: var(--font-mono); text-transform: uppercase; font-size: .75rem; background: var(--sky-pale); }
.cart-item-name { display: flex; align-items: center; gap: .6rem; }
.cart-item-name img { width: 56px; height: 56px; object-fit: cover; border: 2px solid var(--ink); }
.cart-remove { background: none; border: none; color: var(--terracotta-dark); cursor: pointer; font-family: var(--font-mono); font-size: .8rem; text-decoration: underline; min-height: 44px; }
.cart-summary { border: 3px solid var(--ink); background: var(--sky-pale); box-shadow: var(--shadow); padding: 1.3rem; }
.cart-summary-row { display: flex; justify-content: space-between; font-family: var(--font-mono); margin-bottom: .6rem; }
.cart-summary-row.total { font-size: 1.2rem; font-weight: 700; border-top: 2px solid var(--ink); padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.3fr 1fr; } }
.thankyou { border: 3px solid var(--green-dark); background: var(--green-pale); padding: 1.5rem; text-align: center; }

@media (max-width: 480px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: block; border-bottom: 2px solid var(--ink); padding: .6rem 0; }
  .cart-table td { display: flex; justify-content: space-between; border-bottom: none; padding: .3rem .4rem; }
  .cart-table td::before { content: attr(data-label); font-family: var(--font-mono); font-weight: 700; font-size: .72rem; }
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  border-top: 3px solid var(--sun);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .88rem; max-width: 56ch; }
.cookie-banner a { color: var(--sun); text-decoration: underline; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn-ghost { border-color: var(--cream); color: var(--cream); }
.cookie-actions .btn-ghost:hover { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 4rem 1rem; }
.notfound-code { font-family: var(--font-mono); font-size: clamp(4rem, 20vw, 9rem); color: var(--sky-dark); text-shadow: 6px 6px 0 var(--ink); margin: 0; }

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
