/* ===== Deskovky Zvoneček — design system ===== */
:root {
  --rust: #b8502c;
  --rust-dark: #8f3a1f;
  --cream: #f6ead5;
  --cream-2: #efddbb;
  --slate: #37506b;
  --slate-dark: #22344a;
  --ink: #2a241d;
  --green: #4c6b3f;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --shadow-paper: 0 18px 40px -20px rgba(34, 24, 12, 0.45);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--rust-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; color: var(--slate-dark); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

/* grain overlay */
.leaf-grain {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== header ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 3px solid var(--slate-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__mark { flex-shrink: 0; }
.brand__word { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; color: var(--slate-dark); }
.brand__word strong { color: var(--rust-dark); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { font-weight: 600; color: var(--slate-dark); position: relative; padding: .3rem 0; }
.site-nav a:not(.cart-link)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--rust);
  transition: right .25s ease;
}
.site-nav a:not(.cart-link):hover::after, .site-nav a.is-active::after { right: 0; }
.cart-link { display: flex; align-items: center; gap: .4rem; background: var(--slate-dark); color: var(--cream); padding: .5rem .8rem; border-radius: 999px; }
.cart-count { background: var(--rust); color: #fff; border-radius: 999px; min-width: 1.4em; text-align: center; padding: 0 .35em; font-size: .85em; }
.cart-link.bump .cart-count { animation: bump .35s ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.4)} 100%{transform:scale(1)} }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--slate-dark); display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--slate-dark); flex-direction: column; align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem; gap: 1.4rem; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s ease; z-index: 50;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { color: var(--cream); }
  .cart-link { color: var(--cream); }
}

/* ===== hero ===== */
.hero { position: relative; padding: 3.5rem 0 5rem; overflow: hidden; }
.hero__layers { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero__badge {
  position: absolute; top: -1.5rem; right: 1rem; width: 130px; height: 130px; animation: spin 24s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__badge { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); margin-bottom: .6rem; }
.hero__lede { font-size: 1.15rem; max-width: 34ch; }
.hero__art { position: relative; aspect-ratio: 4/5; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-paper); }
.hero__art-shape { position: absolute; width: 65%; z-index: -1; }
.hero__art-shape--1 { top: -8%; left: -12%; }
.hero__art-shape--2 { bottom: -10%; right: -15%; width: 55%; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* parallax depth planes */
.depth { position: relative; }
.depth__plane { position: absolute; inset: 0; pointer-events: none; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.4em; border-radius: 999px;
  font-weight: 700; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  position: relative; overflow: hidden; isolation: isolate; min-height: 44px;
}
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--rust-dark); }
.btn--outline { background: transparent; border-color: var(--slate-dark); color: var(--slate-dark); }
.btn--ghost { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sweep::before {
  content: ""; position: absolute; inset: 0; width: 100%; left: -100%; background: rgba(0,0,0,.18); z-index: -1;
  transition: left .3s ease;
}
.btn--sweep:hover::before { left: 0; }
.btn--sm { padding: .45em 1em; font-size: .9rem; min-height: 36px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, clip-path .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.r1 { transition-delay: .05s; } .reveal.r2 { transition-delay: .15s; } .reveal.r3 { transition-delay: .25s; } .reveal.r4 { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* ===== section basics ===== */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--cream-2); }
.section--dark { background: var(--slate-dark); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section__head { max-width: 60ch; margin-bottom: 2.4rem; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--rust-dark); display: block; margin-bottom: .5rem; }

/* divider */
.divider { display: block; width: 100%; height: 48px; }

/* ===== product grid & cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-paper);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; border: 1px solid rgba(34,24,12,.08);
}
.product-card:hover { transform: translateY(-6px); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rust-dark); font-weight: 700; }
.product-card__meta { display: flex; gap: .9rem; font-size: .85rem; color: var(--slate); margin: .2rem 0 .6rem; }
.product-card__meta span { display: inline-flex; align-items: center; gap: .3em; }
.product-card__price { font-weight: 800; font-size: 1.15rem; color: var(--slate-dark); margin-top: auto; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .6rem; }

/* scroll-snap strip (mobile) */
.product-strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.product-strip .product-card { min-width: 240px; scroll-snap-align: start; }

/* ===== icon set ===== */
.icon { stroke: currentColor; flex-shrink: 0; }

/* ===== finder (signature feature) ===== */
.finder { background: var(--slate-dark); color: var(--cream); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow-paper); }
.finder__controls { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1.6rem 0 2rem; }
.finder__group label { display: block; font-weight: 700; margin-bottom: .5rem; }
.finder__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 2px solid var(--cream); background: transparent; color: var(--cream); border-radius: 999px;
  padding: .4em 1em; cursor: pointer; font-weight: 600; min-height: 44px;
}
.chip[aria-pressed="true"] { background: var(--rust); border-color: var(--rust); }
.finder__results { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); min-height: 60px; }
.finder__result { background: rgba(255,255,255,.06); border-radius: 12px; padding: 1rem; }
.finder__empty { opacity: .8; font-style: italic; }

/* ===== page hero (inner pages) ===== */
.page-hero { background: var(--slate-dark); color: var(--cream); padding: 3.4rem 0 2.6rem; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumbs a, .page-hero .breadcrumbs span { color: var(--cream); }

/* breadcrumbs */
.breadcrumbs { display: flex; gap: .5em; font-size: .9rem; opacity: .85; margin-bottom: .8rem; }
.breadcrumbs a { text-decoration: underline; }

/* ===== notices ===== */
.notice { border-radius: 12px; padding: 1rem 1.2rem; border: 2px solid var(--slate); background: var(--cream-2); margin-bottom: 1.4rem; }
.notice--success { border-color: var(--green); background: #e9f1e4; }
.notice--error { border-color: var(--rust-dark); background: #fbe7de; }
.notice--info { border-color: var(--slate); }

/* ===== prose (legal pages) ===== */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }

/* legal TOC */
.legal-toc { background: var(--cream-2); border-radius: 12px; padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; }

/* ===== forms ===== */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; padding: .7em .85em; border: 2px solid var(--slate); border-radius: 10px; background: #fff; accent-color: var(--rust);
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rust); }
.field-error { color: var(--rust-dark); font-size: .85rem; min-height: 1.2em; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.3em; font-weight: 700; }
.form-msg--ok { color: var(--green); }
.form-msg--error { color: var(--rust-dark); }

/* newsletter */
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1; min-width: 160px; }

/* ===== FAQ ===== */
.faq { max-width: 72ch; }
.faq-item { border-bottom: 2px solid var(--cream-2); padding: .9rem 0; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--rust); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: .7rem; }

/* ===== contact layout ===== */
.contact-layout { display: grid; gap: 2.4rem; grid-template-columns: 1.1fr .9fr; align-items: start; }
.contact-info { background: var(--cream-2); border-radius: var(--radius); padding: 1.8rem; }
.contact-info h2 { font-size: 1.1rem; }
.contact-info ul { list-style: none; padding: 0; display: grid; gap: .8rem; }
.contact-info li { display: flex; gap: .7em; align-items: flex-start; }

/* ===== product detail ===== */
.product-detail { display: grid; gap: 2.4rem; grid-template-columns: 1fr 1fr; align-items: start; }
.product-detail__media { position: relative; }
.product-detail__media img { border-radius: var(--radius); box-shadow: var(--shadow-paper); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.product-detail__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 1.4rem; }
.product-detail__meta span { display: inline-flex; align-items: center; gap: .4em; background: var(--cream-2); padding: .4em .8em; border-radius: 999px; font-size: .9rem; }
.product-detail__price { font-size: 1.8rem; font-weight: 800; color: var(--slate-dark); margin: .6rem 0 1.2rem; }
.qty-stepper { display: inline-flex; align-items: center; border: 2px solid var(--slate); border-radius: 999px; overflow: hidden; }
.qty-stepper button { background: var(--cream-2); border: none; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.qty-stepper input { width: 3em; text-align: center; border: none; font: inherit; font-weight: 700; }

/* ===== cart ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid var(--cream-2); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-row__product { display: flex; align-items: center; gap: .8rem; }
.cart-summary { background: var(--cream-2); border-radius: var(--radius); padding: 1.6rem; max-width: 380px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary__total { font-weight: 800; font-size: 1.2rem; border-top: 2px solid var(--slate); padding-top: .6rem; margin-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }

/* ===== utilities ===== */
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-sm { gap: .6rem; } .gap-md { gap: 1.2rem; } .gap-lg { gap: 2rem; }
.mt-0 { margin-top: 0; } .mt-sm { margin-top: .6rem; } .mt-md { margin-top: 1.2rem; } .mt-lg { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; } .mb-sm { margin-bottom: .6rem; } .mb-md { margin-bottom: 1.2rem; } .mb-lg { margin-bottom: 2.4rem; }
.grid-2 { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.text-center { text-align: center; }

/* ===== footer ===== */
.site-footer { background: var(--slate-dark); color: var(--cream); padding: 3rem 0 1.5rem; }
.footer__inner { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
.footer__brand p { opacity: .85; font-size: .92rem; }
.footer__brand a { color: var(--cream); text-decoration: underline; }
.footer__col h3 { color: var(--cream); font-size: .95rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .8rem; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__col a { color: var(--cream); opacity: .85; }
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .85rem; opacity: .8; }

/* ===== cookie banner ===== */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; margin: 0 auto;
  background: var(--slate-dark); color: var(--cream); border-radius: 14px; padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-paper); z-index: 60; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1 1 240px; font-size: .9rem; }
.cookie-banner a { color: var(--cream); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; }

@media (max-width: 860px) {
  .hero__layers, .product-detail, .contact-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* COMPONENTS: .class - what it is
.site-header - sticky top header bar
.brand / .brand__mark / .brand__word - logo lockup
.site-nav - main navigation (mobile off-canvas on small screens)
.nav-toggle - hamburger button for mobile nav
.cart-link / .cart-count - cart link with live count badge
.hero / .hero__layers / .hero__badge / .hero__art - home hero composition
.depth / .depth__plane - parallax depth layer wrapper
.btn / .btn--primary / .btn--outline / .btn--ghost / .btn--sweep / .btn--sm - button variants
.reveal / .in-view / .r1-.r4 - scroll-reveal animation hooks with stagger
.section / .section--alt / .section--dark / .section__head / .eyebrow - section scaffolding
.divider - SVG wave section divider
.product-grid / .product-card / .product-card__media / .product-card__body - catalog cards
.product-strip - horizontal scroll-snap product row (mobile)
.icon - inline SVG sprite icon
.finder / .finder__controls / .finder__group / .finder__chips / .chip / .finder__results / .finder__result / .finder__empty - signature "Hledač herního večera" tool
.page-hero - inner page header band
.breadcrumbs - breadcrumb trail
.notice / .notice--success / .notice--error / .notice--info - alert/notice box
.prose - readable long-form legal/text content
.legal-toc - table of contents box for legal pages
.form-grid / .field / .field--full / .field-error / .hp / .form-msg - form layout and states
.newsletter-form - footer newsletter signup
.faq / .faq-item - FAQ accordion (details/summary)
.contact-layout / .contact-info - contact page layout
.product-detail / .product-detail__media / .product-detail__meta / .product-detail__price / .qty-stepper - product detail page
.cart-table / .cart-row__product / .cart-summary / .cart-empty - cart/checkout page
.site-footer / .footer__inner / .footer__brand / .footer__col / .footer__bottom - footer layout
.cookie-banner / .cookie-banner__actions - cookie consent banner
.flex / .flex-wrap / .items-center / .justify-between / .gap-sm/md/lg / .mt-*/.mb-* / .grid-2 / .grid-3 / .text-center - spacing & layout utilities
*/

/* ===== added page content ===== */
.product-card__link { display: block; text-decoration: none; color: inherit; height: 100%; display: flex; flex-direction: column; }
.product-card__blurb { font-size: .9rem; color: var(--slate); margin: .4rem 0 .8rem; flex: 1; }
.contact-info { }
.cart-table tbody tr { border-bottom: 1px solid var(--cream-2); }
.qty-input { padding: .3rem; border: 1px solid var(--slate); border-radius: 4px; font-family: inherit; }
.remove-btn { }
.order-2 { order: 2; }
.hero__text {
  position: relative;
  z-index: 2;
}

.footer__newsletter {
}

.items-start {
  align-items: flex-start;
}

/* wg-contrast-autofix */
#siteNav a.cart-link { color: #ffffff !important; }
section.section.section--dark div.wrap.grid-2 div.reveal.in-view span.eyebrow { color: #ffffff !important; }
