/* Sušionica — design system. Ceramic-glaze rustic smokehouse style. */

:root {
  --rust: #8a2e1f;
  --rust-dark: #5a1f1a;
  --wood: #6b4226;
  --wood-dark: #3f2a1a;
  --cream: #f3e6d4;
  --cream-light: #fbf4e8;
  --apricot: #e08a4c;
  --petrol: #1f4452;
  --ink: #2a1c14;
  --line: rgba(42, 28, 20, 0.14);
  --radius-l: 28px;
  --radius-m: 16px;
  --radius-s: 10px;
  --shadow-1: 0 10px 30px rgba(42, 20, 10, 0.14);
  --shadow-2: 0 2px 10px rgba(42, 20, 10, 0.1);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 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-light);
  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); line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack { display: flex; flex-direction: column; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mt-0{margin-top:0}.mt-1{margin-top:12px}.mt-2{margin-top:24px}.mt-3{margin-top:48px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:12px}.mb-2{margin-bottom:24px}.mb-3{margin-bottom:48px}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 12% 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
.reveal--1 { transition-delay: .05s; }
.reveal--2 { transition-delay: .15s; }
.reveal--3 { transition-delay: .25s; }
.reveal--4 { transition-delay: .35s; }

/* ---------- header ---------- */
.icon-sprite { position: absolute; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream-light); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--rust-dark); }
.logo__word { width: 120px; height: 18px; aspect-ratio: 210/30; }
.menu-toggle { display: none; background: none; border: none; color: var(--rust-dark); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__close { display: none; }
.nav__list { display: flex; gap: 22px; list-style: none; }
.nav__link { position: relative; font-weight: 600; font-size: .95rem; color: var(--ink); padding: 6px 2px; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--rust); transition: width .25s ease; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--rust-dark); }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--rust-dark); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--apricot); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--cream-light); flex-direction: column; align-items: stretch; padding: 24px; gap: 24px;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s ease; box-shadow: var(--shadow-1); }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__close { display: flex; align-self: flex-end; background: none; border: none; color: var(--rust-dark); width: 44px; height: 44px; }
  .nav__list { flex-direction: column; gap: 14px; }
  .cart-link { align-self: flex-start; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; cursor: pointer; font-size: .95rem; }
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--rust-dark); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: rgba(0,0,0,.05); }
.btn--small { padding: 8px 18px; min-height: 38px; font-size: .85rem; }
.btn--sweep { position: relative; overflow: hidden; background: var(--rust); color: #fff; z-index: 0; }
.btn--sweep::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--rust-dark); transition: left .3s ease; z-index: -1; }
.btn--sweep:hover::before { left: 0; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 90px) 0 60px; }
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero__headline { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--rust-dark); margin-bottom: .3em; }
.hero__lede { font-size: 1.15rem; max-width: 40ch; color: var(--wood-dark); }
.hero__art { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-1); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) saturate(1.3) hue-rotate(-6deg); transition: filter .6s ease; }
.hero--scrolled .hero__art img { filter: sepia(.05) saturate(1.1) hue-rotate(0deg); }
.hero__badge { position: absolute; width: 96px; height: 96px; bottom: -18px; left: -18px; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } }

/* ---------- map-like pinned canvas (home composition) ---------- */
.pin-canvas { position: relative; background: var(--cream); border-radius: var(--radius-l); padding: clamp(32px, 6vw, 64px); overflow: hidden; }
.pin-canvas__texture { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.pin-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.pin-card { position: relative; background: var(--cream-light); border-radius: var(--radius-m); padding: 26px; box-shadow: var(--shadow-2); transition: transform .3s ease, box-shadow .3s ease; }
.pin-card:nth-child(2n) { transform: translateY(14px); }
.pin-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.pin-card__pin { position: absolute; top: -14px; left: 20px; width: 28px; height: 28px; color: var(--rust); }
.pin-card h3 { color: var(--petrol); margin-top: 6px; }

/* ---------- product strip ---------- */
.product-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.product-strip .product-card { scroll-snap-align: start; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.product-card { background: var(--cream-light); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-2); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.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.06); }
.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__price { font-weight: 700; color: var(--rust-dark); }
.product-card__cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--petrol); }

/* ---------- platter planner (signature feature) ---------- */
.platter-planner { background: var(--petrol); color: var(--cream-light); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.platter-planner h2 { color: var(--cream-light); }
.platter-planner__controls { display: flex; flex-direction: column; gap: 18px; }
.platter-planner__controls label { font-weight: 700; display: block; margin-bottom: 6px; }
.platter-planner__controls input, .platter-planner__controls select { width: 100%; padding: 10px 14px; border-radius: 999px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; min-height: 44px; }
.platter-planner__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.platter-planner__row { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.08); border-radius: var(--radius-s); }
.platter-planner__total { font-size: 1.1rem; }
@media (max-width: 760px) { .platter-planner { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: clamp(40px, 7vw, 72px) 0 48px; text-align: left; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--rust-dark); }
.page-hero p { max-width: 56ch; color: var(--wood-dark); font-size: 1.05rem; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--wood); margin: 18px 0; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--rust-dark); font-weight: 700; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { color: var(--rust-dark); margin-top: 1.6em; }
.prose h3 { color: var(--petrol); margin-top: 1.2em; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.legal-toc { background: var(--cream); border-radius: var(--radius-m); padding: 20px 24px; margin-bottom: 32px; max-width: 70ch; margin-inline: auto; }
.legal-toc h2 { margin-top: 0; font-size: 1.1rem; }
.legal-toc ol { padding-left: 1.2em; }

/* ---------- notice ---------- */
.notice { border-radius: var(--radius-m); padding: 18px 22px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 20px; }
.notice--warning { background: #fdecc8; }
.notice--success { background: #dff0e2; }
.notice--error { background: #fbe2de; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { min-height: 44px; padding: 10px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: #fff; font-size: 1rem; accent-color: var(--rust); }
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rust); }
.field-error { color: var(--rust); font-size: .82rem; }
.field--full { grid-column: 1 / -1; }
.hp-field { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.form-msg { font-weight: 700; margin-top: 8px; }
.newsletter-form .field { flex-direction: row; gap: 8px; }
.newsletter-form input[type="email"] { flex: 1; border-radius: 999px; background: rgba(255,255,255,.5); }

/* ---------- FAQ ---------- */
.faq { max-width: 70ch; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream); border-radius: var(--radius-m); padding: 6px 22px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.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 { padding-bottom: 16px; color: var(--wood-dark); }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-detail__media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1/1; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; color: var(--rust-dark); font-weight: 700; }
.product-detail__qty { display: flex; align-items: center; gap: 10px; }
.product-detail__qty input { width: 70px; min-height: 44px; border-radius: var(--radius-s); border: 1.5px solid var(--line); text-align: center; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-s); }
.cart-summary { background: var(--cream); border-radius: var(--radius-m); padding: 24px; max-width: 360px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.cart-summary__total { font-weight: 700; font-size: 1.2rem; color: var(--rust-dark); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__item { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- misc decorative ---------- */
.divider { color: var(--rust); display: block; }
.badge-seal { width: 72px; height: 72px; color: var(--rust); }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; z-index: 1; mix-blend-mode: multiply; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 { color: var(--rust-dark); font-size: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--wood-dark); color: var(--cream); margin-top: 60px; }
.site-footer .divider { width: 100%; color: var(--apricot); }
.site-footer__inner { max-width: var(--container); margin: 0 auto; padding: 20px 20px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col { min-width: 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-tag { color: rgba(243,230,212,.8); font-size: .92rem; }
.site-footer__bottom { border-top: 1px solid rgba(243,230,212,.15); padding: 16px 20px; text-align: center; font-size: .82rem; color: rgba(243,230,212,.7); }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .newsletter-form .field { flex-direction: column; } }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto; background: var(--wood-dark); color: #fff; border-radius: var(--radius-m); padding: 20px 24px; box-shadow: var(--shadow-1); z-index: 100; display: flex; flex-direction: column; gap: 14px; }
.cookie-banner a { text-decoration: underline; color: var(--apricot); }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }

@media (max-width: 390px) {
  .hero__headline { font-size: 2.1rem; }
}

/*
COMPONENTS:
.container - centered max-width content wrapper
.section - vertical page section padding
.grid / .grid-2 / .grid-3 - responsive grid layouts
.reveal / .reveal--1..4 - scroll-reveal animation state + stagger delays
.site-header / .site-header__inner - sticky top header
.logo / .logo__mark / .logo__word - logo lockup
.menu-toggle / .nav / .nav__list / .nav__link / .nav__close - navigation + mobile menu
.cart-link / .cart-count - header cart icon and live badge
.btn / .btn--primary / .btn--ghost / .btn--small / .btn--sweep - button variants
.hero / .hero__inner / .hero__headline / .hero__lede / .hero__art / .hero__badge - home hero
.pin-canvas / .pin-canvas__texture / .pin-grid / .pin-card / .pin-card__pin - map-like pinned card canvas
.product-strip / .product-grid / .product-card - catalog product listings
.platter-planner / .platter-planner__controls / .platter-planner__list / .platter-planner__row / .platter-planner__total - signature feature widget
.page-hero - inner page hero/header band
.breadcrumbs - page breadcrumb trail
.prose - readable long-form legal/content text column
.legal-toc - table of contents box for legal pages
.notice / .notice--warning / .notice--success / .notice--error - callout boxes
.form-grid / .field / .field-error / .field--full / .hp-field / .form-msg - form layout and validation
.faq / .faq-item - FAQ accordion (details/summary)
.product-detail / .product-detail__media / .product-detail__price / .product-detail__qty - product page layout
.cart-table / .cart-summary - cart and checkout layout
.contact-layout / .contact-info / .contact-info__item - contact page layout
.divider / .badge-seal / .grain-overlay - decorative SVG elements
.site-footer / .site-footer__inner / .footer-col - footer layout
.cookie-banner / .cookie-banner__actions - cookie consent banner
*/

/* ---------- footer logo variant ---------- */
.logo--footer {
  gap: 6px;
  color: var(--apricot);
}

.logo--footer .logo__word {
  width: 90px;
  height: 14px;
}

/* ---------- footer contact mail ---------- */
.footer-mail {
  color: var(--apricot);
  font-size: 0.9rem;
}

/* ---------- info notice variant ---------- */
.notice--info {
  background: #d4e7f0;
}

/* ---------- quantity spinner input ---------- */
.qty-input {
  width: 70px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  text-align: center;
  font-size: 1rem;
  background: #fff;
  accent-color: var(--rust);
}

.qty-input:focus {
  border-color: var(--rust);
}

/* ---------- breadcrumbs separator ---------- */
.breadcrumbs__sep {
  color: var(--wood);
  margin: 0 4px;
}

/* wg-contrast-autofix */
footer.site-footer div.site-footer__inner div.footer-col h3 { color: #ffffff !important; }
