/* Ořechy Kapka — Chalkboard style design system */
:root {
  --slate: #23241f;
  --slate-2: #2b2d26;
  --slate-3: #33352c;
  --cream: #f3e9d7;
  --cream-dim: #cfc4ab;
  --terracotta: #c0633b;
  --terracotta-light: #d98558;
  --olive: #5c6b4a;
  --olive-light: #8a9a74;
  --chalk-line: rgba(243,233,215,.35);
  --radius: 14px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Consolas", "SFMono-Regular", monospace;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--terracotta-light); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(35,36,31,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--chalk-line);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .5rem; }
.logo-word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; }
.logo-word-accent { color: var(--terracotta-light); }
.main-nav { display: flex; gap: 1.4rem; }
.main-nav a { font-size: .95rem; color: var(--cream-dim); position: relative; padding: .25rem 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--terracotta-light); transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; display: flex; align-items: center; color: var(--cream); }
.cart-count {
  position: absolute; top: -8px; right: -10px; background: var(--terracotta);
  color: var(--cream); font-size: .68rem; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)} }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); padding: .4rem; min-width: 44px; min-height: 44px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    background: var(--slate-2); flex-direction: column; padding: 5rem 1.5rem 2rem; gap: 1.5rem;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease;
    border-left: 1px solid var(--chalk-line);
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.4rem; border-radius: 999px; border: 1px solid var(--terracotta);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; cursor: pointer;
  background: transparent; color: var(--cream); position: relative; overflow: hidden; isolation: isolate;
}
.btn-sweep::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--terracotta);
  transition: left .3s ease; z-index: -1;
}
.btn-sweep:hover::before, .btn-sweep:focus-visible::before { left: 0; }
.btn-primary { background: var(--terracotta); border-color: var(--terracotta); }
.btn-ghost { background: transparent; border-color: var(--cream-dim); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-sm { padding: .45rem 1rem; min-height: 36px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- hero / home ---------- */
.hero {
  position: relative; padding: 5rem 0 4rem; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); color: var(--cream); }
.hero-title em { font-style: normal; color: var(--terracotta-light); }
.hero-lead { color: var(--cream-dim); max-width: 42ch; font-size: 1.1rem; }
.hero-art { position: relative; aspect-ratio: 1/1; }
.route-path { stroke-dasharray: 6 8; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.pin-drop { transform-origin: center bottom; animation: drop 1.1s cubic-bezier(.3,1.4,.4,1) both; }
@keyframes drop { 0% { transform: translateY(-40px) scale(.6); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .route-path, .pin-drop { animation: none; } }

.number-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin: 3rem 0; }
.number-card { position: relative; padding: 2rem 1.5rem; background: var(--slate-2); border-radius: var(--radius); border: 1px solid var(--chalk-line); }
.number-card .num { font-family: var(--font-display); font-size: 3.2rem; color: var(--terracotta); opacity: .8; display: block; }
.number-card h3 { margin-top: .3rem; }
.number-card p { color: var(--cream-dim); margin: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 15% 0); transition: opacity .6s ease, transform .6s ease, clip-path .6s ease; }
.reveal.in-view { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- section dividers / decorative ---------- */
.divider { width: 100%; height: 36px; display: block; margin: 2rem 0; }
.section { padding: 3rem 0; }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head p { color: var(--cream-dim); }

/* ---------- product cards / strip ---------- */
.product-strip {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--slate-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--chalk-line);
  scroll-snap-align: start; min-width: 240px; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.08); }
.product-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card h3 { font-size: 1.1rem; margin: 0; }
.product-card .price { color: var(--terracotta-light); font-weight: 700; }
.product-card .tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .72rem; border: 1px solid var(--olive-light); color: var(--olive-light); border-radius: 999px; padding: .15rem .6rem; }

/* ---------- mix builder (signature feature) ---------- */
.mix-builder {
  background: var(--slate-2); border: 1px solid var(--chalk-line); border-radius: var(--radius);
  padding: 2rem; display: grid; gap: 1.5rem;
}
.mix-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.mix-chip {
  display: flex; justify-content: space-between; gap: .5rem; align-items: center;
  background: var(--slate-3); border: 1px solid var(--chalk-line); border-radius: 10px;
  padding: .7rem .9rem; color: var(--cream); cursor: pointer; font-size: .85rem; min-height: 44px;
  transition: border-color .2s ease, background .2s ease;
}
.mix-chip-price { color: var(--cream-dim); font-family: var(--font-mono); font-size: .75rem; }
.mix-chip.is-picked { border-color: var(--terracotta); background: rgba(192,99,59,.22); }
.mix-result { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.mix-total { font-family: var(--font-display); font-size: 2rem; color: var(--terracotta-light); }
.mix-bar-track { width: 100%; height: 6px; background: var(--slate-3); border-radius: 999px; overflow: hidden; }
.mix-bar { height: 100%; width: 0; background: var(--terracotta); transition: width .3s ease; }

/* ---------- inner-page components ---------- */
.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--chalk-line); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero p { color: var(--cream-dim); max-width: 60ch; }

.breadcrumbs { display: flex; gap: .4rem; font-size: .85rem; color: var(--cream-dim); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--cream-dim); }
.breadcrumbs a:hover { color: var(--cream); }
.breadcrumbs .sep { opacity: .5; }

.notice { border-radius: 10px; padding: 1rem 1.2rem; border: 1px solid var(--olive-light); background: rgba(92,107,74,.18); margin-bottom: 1.5rem; }
.notice-warning { border-color: var(--terracotta); background: rgba(192,99,59,.15); }

.prose { max-width: 68ch; color: var(--cream-dim); }
.prose h2 { color: var(--cream); margin-top: 2rem; }
.prose h3 { color: var(--cream); margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose a { color: var(--terracotta-light); text-decoration: underline; }

.legal-toc { background: var(--slate-2); border: 1px solid var(--chalk-line); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 2rem; max-width: 60ch; }
.legal-toc h2 { font-size: 1.1rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; color: var(--cream-dim); }
.legal-toc a { color: var(--cream-dim); }
.legal-toc a:hover { color: var(--cream); }

.form-grid { display: grid; gap: 1.1rem; max-width: 46rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; color: var(--cream-dim); }
.field input, .field textarea, .field select {
  background: var(--slate-3); border: 1px solid var(--chalk-line); border-radius: 8px; color: var(--cream);
  padding: .65rem .8rem; font-family: var(--font-body); font-size: .95rem; min-height: 44px; accent-color: var(--terracotta);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--terracotta-light); }
.field-error { color: var(--terracotta-light); font-size: .8rem; min-height: 1em; }
.form-note { font-size: .85rem; min-height: 1.2em; }
.form-note.is-success { color: var(--olive-light); }
.form-note.is-error { color: var(--terracotta-light); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.faq-item { border-bottom: 1px solid var(--chalk-line); padding: .9rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--terracotta-light); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--cream-dim); margin-top: .6rem; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.product-detail .thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product-detail .thumb img { width: 100%; height: 100%; object-fit: cover; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--chalk-line); border-radius: 999px; }
.qty-control button { background: none; border: 0; color: var(--cream); width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.qty-control input { width: 3rem; background: none; border: 0; color: var(--cream); text-align: center; font-size: 1rem; }

.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cart-table th, .cart-table td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--chalk-line); }
.cart-table th { color: var(--cream-dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.cart-summary { max-width: 24rem; margin-left: auto; background: var(--slate-2); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--chalk-line); }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary .total { font-size: 1.2rem; color: var(--terracotta-light); font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info .row { display: flex; gap: .7rem; align-items: flex-start; color: var(--cream-dim); }
.contact-info svg { flex-shrink: 0; margin-top: .2rem; color: var(--terracotta-light); }

@media (max-width: 760px) {
  .hero-grid, .product-detail, .contact-layout { grid-template-columns: 1fr; }
  .cart-summary { margin-left: 0; max-width: none; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--slate-2); border-top: 1px solid var(--chalk-line); margin-top: 3rem; }
.footer-divider { width: 100%; height: 30px; display: block; }
.footer-inner { max-width: var(--maxw); margin-inline: auto; padding: 2rem 1.25rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-col h3, .footer-brand p { color: var(--cream); font-size: .95rem; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: var(--cream-dim); font-size: .9rem; }
.footer-col a:hover { color: var(--cream); }
.footer-brand p { color: var(--cream-dim); font-size: .9rem; }
.footer-mail { display: inline-flex; align-items: center; gap: .4rem; color: var(--cream-dim); font-size: .9rem; }
.newsletter-form { display: flex; flex-direction: column; gap: .6rem; }
.footer-bottom { text-align: center; padding: 1rem 0 1.5rem; color: var(--cream-dim); font-size: .8rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px; margin-inline: auto;
  background: var(--slate-3); border: 1px solid var(--chalk-line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; z-index: 80; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.cookie-banner p { margin: 0; color: var(--cream); font-size: .85rem; flex: 1 1 220px; }
.cookie-actions { display: flex; gap: .6rem; }

/* ---------- utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:1rem}.mb-1{margin-bottom:1rem}
.mt-2{margin-top:2rem}.mb-2{margin-bottom:2rem}.mt-3{margin-top:3rem}.mb-3{margin-bottom:3rem}
.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}
.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}
.text-center{text-align:center}.text-dim{color:var(--cream-dim)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
@media (max-width:760px){.grid-2{grid-template-columns:1fr}}

/* COMPONENTS: .class - what it is
.wrap - centered max-width content wrapper
.site-header / .header-inner - sticky top header bar
.logo / .logo-mark / .logo-word / .logo-word-accent - logo lockup
.main-nav - primary navigation (mobile off-canvas on small screens)
.nav-toggle - mobile menu button
.cart-link / .cart-count - header cart icon + live count badge
.btn / .btn-primary / .btn-sweep / .btn-ghost / .btn-sm / .btn-block - button variants
.hero / .hero-grid / .hero-title / .hero-lead / .hero-art - home hero section
.route-path / .pin-drop - hero motion elements (dashed route line, dropping pin)
.number-grid / .number-card - oversized-number section grid (home composition)
.reveal / .reveal-stagger / .in-view - scroll-reveal animation hooks
.divider - decorative inline SVG section divider
.section / .section-head - generic content section wrapper
.product-strip - horizontal scroll-snap product row (mobile)
.product-grid - responsive product card grid (catalog)
.product-card / .thumb / .body / .price / .tags / .tag - product card anatomy
.mix-builder / .mix-list / .mix-chip / .is-picked / .mix-result / .mix-total / .mix-bar-track / .mix-bar - Míchačka směsí widget
.page-hero - inner-page title band
.breadcrumbs - breadcrumb trail
.notice / .notice-warning - callout box
.prose - long-form legal/readable text column
.legal-toc - table of contents box for legal pages
.form-grid / .field / .field-error / .form-note / .hp-field - form layout, inputs, errors, honeypot
.faq / .faq-item - FAQ accordion (details/summary)
.product-detail / .qty-control - single product page layout + quantity stepper
.cart-table / .cart-summary - cart/checkout table and summary box
.contact-layout / .contact-info - contact page two-column layout
.site-footer / .footer-inner / .footer-col / .footer-brand / .newsletter-form / .footer-bottom - footer regions
.cookie-banner / .cookie-actions - cookie consent banner
.mt-* .mb-* .gap-* .flex .flex-col .items-center .justify-between .text-center .text-dim .grid-2 - spacing/layout utilities
*/
