/* Domaće i Fino — design system. Folk-art ornament, linen & embroidery-red. */
:root {
  --cream: #f6efe1;
  --linen: #efe4cc;
  --beige: #e6d8b8;
  --olive: #6b7a3a;
  --olive-dark: #4d5a28;
  --brown: #3f2e1f;
  --terracotta: #b5542f;
  --red: #8a3b2a;
  --white: #fffaf0;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(63,46,31,.35);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}
* { 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(--brown);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brown); color: var(--white);
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--brown); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5vw + 1rem, 4.2rem); }
h2 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.2vw + .8rem, 1.5rem); }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 2px solid var(--beige); }
.site-header__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { flex-shrink: 0; }
.logo__word { font-family: var(--font-display); font-size: 1.3rem; color: var(--brown); display: flex; flex-direction: column; line-height: 1.1; }
.logo__word em { font-style: normal; color: var(--terracotta); font-size: .85em; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.main-nav a { font-size: .95rem; padding: 6px 2px; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--terracotta);
  transition: right .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--terracotta); }
.site-header__actions { display: flex; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; color: var(--brown); position: relative; background: transparent; border: none; cursor: pointer;
}
.icon-btn:hover { background: var(--beige); }
.icon-btn--cart .cart-badge {
  position: absolute; top: 2px; right: 2px; background: var(--terracotta); color: var(--white);
  font-size: .68rem; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; padding: 0 3px;
}
.cart-badge.bump { 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; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brown); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: var(--cream);
    padding: 90px 24px 24px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    box-shadow: var(--shadow); z-index: 150;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  min-height: 44px; text-align: center;
}
.btn span, .btn { z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; width: 100%; left: -100%; z-index: 0;
  transition: left .3s ease;
}
.btn--primary { background: var(--terracotta); color: var(--white); }
.btn--primary::before { background: var(--red); }
.btn--primary:hover::before { left: 0; }
.btn--secondary { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--secondary::before { background: var(--brown); }
.btn--secondary:hover { color: var(--white); }
.btn--secondary:hover::before { left: 0; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost::before { background: rgba(255,255,255,.2); }
.btn--ghost:hover::before { left: 0; }
.btn--small { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Reveal / motion ---------- */
.reveal { opacity: 0; }
.reveal.in-view {
  opacity: 1; transform: none !important; clip-path: inset(0 0 0 0) !important;
  transition: opacity .7s ease, transform .7s ease, clip-path .7s ease;
}
.reveal[data-reveal="up"] { transform: translateY(28px); }
.reveal[data-reveal="left"] { transform: translateX(-28px); }
.reveal[data-reveal="right"] { transform: translateX(28px); }
.reveal[data-reveal="clip"] { clip-path: inset(0 0 100% 0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { transition: none !important; transform: none !important; clip-path: none !important; opacity: 1 !important; }
  * { animation: none !important; }
}

/* ---------- Hero (home) ---------- */
.hero-split { position: relative; overflow: hidden; min-height: 86vh; display: grid; }
.hero-split__cream, .hero-split__olive {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.hero-split__cream { background: var(--linen); clip-path: polygon(0 0, 54% 0, 46% 100%, 0 100%); z-index: 2; }
.hero-split__olive { background: var(--olive-dark); color: var(--white); clip-path: polygon(54% 0, 100% 0, 100% 100%, 46% 100%); }
.hero-split__divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; background: var(--terracotta);
  clip-path: polygon(8% 0, 92% 0, 84% 100%, 0% 100%); z-index: 3; animation: slideDivider 1.1s ease forwards;
}
@keyframes slideDivider { from { left: 0; } to { left: 50%; } }
.hero-split__content { padding: 60px 6%; max-width: 620px; }
.hero-split__content--right { padding-left: 10%; }
.hero-split__eyebrow { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); font-size: .85rem; }
.hero-split__content--right .hero-split__eyebrow { color: var(--beige); }
.hero-split__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.hero-logo-assemble { width: 120px; height: 120px; }
.hero-logo-assemble path, .hero-logo-assemble circle { opacity: 0; transform: translateY(14px) scale(.7); transform-origin: center; animation: assemble .7s ease forwards; }
.hero-logo-assemble .p1 { animation-delay: .1s; } .hero-logo-assemble .p2 { animation-delay: .25s; }
.hero-logo-assemble .p3 { animation-delay: .4s; } .hero-logo-assemble .p4 { animation-delay: .55s; }
.hero-logo-assemble .p5 { animation-delay: .7s; }
@keyframes assemble { to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-split__divider { animation: none; left: 50%; }
  .hero-logo-assemble path, .hero-logo-assemble circle { opacity: 1; transform: none; animation: none; }
}
@media (max-width: 860px) {
  .hero-split { min-height: auto; }
  .hero-split__cream, .hero-split__olive { position: relative; clip-path: none; }
  .hero-split__olive { padding-top: 0; }
  .hero-split__divider { display: none; }
  .hero-split__content--right { padding-left: 6%; }
}

/* ---------- Grain / texture overlay ---------- */
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; z-index: 1; mix-blend-mode: multiply; }

/* ---------- Feature blocks (home intro) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 60px 0; }
.feature-card {
  background: var(--beige); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.feature-card svg { color: var(--terracotta); }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Section divider ornament ---------- */
.ornament-divider { display: block; width: 100%; height: 28px; color: var(--terracotta); margin: 10px 0; }

/* ---------- Category / product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.cat-card, .product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s ease;
}
.cat-card:hover, .product-card:hover { transform: translateY(-6px); }
.cat-card__media, .product-card__media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.cat-card__media img, .product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img, .product-card:hover img { transform: scale(1.07); }
.cat-card__body, .product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--olive-dark); }
.product-card__price { font-weight: 700; font-size: 1.15rem; color: var(--terracotta); }
.product-card__avail { font-size: .82rem; }
.product-card__avail--yes { color: var(--olive-dark); }
.product-card__avail--no { color: var(--red); }
.badge { display: inline-flex; align-self: flex-start; background: var(--linen); color: var(--brown); font-size: .75rem; padding: 3px 10px; border-radius: 999px; }

/* horizontal scroll-snap strip on mobile */
.product-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.product-strip > * { scroll-snap-align: start; }
@media (min-width: 760px) { .product-strip { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); overflow: visible; } }

/* ---------- Table matcher (signature feature) ---------- */
.matcher { background: var(--beige); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.matcher-groups { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; }
.matcher-group { display: flex; flex-direction: column; gap: 8px; }
.matcher-group span.label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--olive-dark); }
.matcher-group .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--olive); background: var(--white);
  color: var(--brown); cursor: pointer; font-weight: 600;
}
.chip.is-active { background: var(--olive); color: var(--white); }
.matcher-result { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.matcher-card { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 10px; padding: 10px 16px; box-shadow: var(--shadow); min-width: 220px; }
.matcher-card img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.matcher-card span { display: flex; flex-direction: column; }
.matcher-card em { font-style: normal; color: var(--terracotta); font-weight: 700; }
.matcher-hint { color: var(--olive-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--linen); padding: 70px 0 50px; text-align: center; position: relative; overflow: hidden; }
.page-hero .container { max-width: 760px; }
.page-hero p { color: var(--olive-dark); font-size: 1.05rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--olive-dark); padding: 16px 0; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--brown); font-weight: 600; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 740px; margin: 0 auto; padding: 20px 0 70px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { text-decoration: underline; color: var(--terracotta); }

/* ---------- Legal TOC ---------- */
.legal-toc { background: var(--beige); border-radius: var(--radius); padding: 20px 24px; margin: 0 auto 10px; max-width: 740px; }
.legal-toc h2 { font-size: 1.05rem; margin-bottom: .5em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }

/* ---------- Notice ---------- */
.notice { border-radius: 10px; padding: 16px 20px; background: var(--linen); border-left: 4px solid var(--olive); margin-bottom: 1.4em; }
.notice--warning { border-left-color: var(--terracotta); background: #f6e3d5; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 720px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  min-height: 44px; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--beige); background: var(--white);
  font: inherit; color: var(--brown); accent-color: var(--terracotta);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field-error { color: var(--red); font-size: .82rem; min-height: 1.2em; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status--ok { color: var(--olive-dark); }
.form-status--error { color: var(--red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-legal { background: var(--beige); border-radius: var(--radius); padding: 26px; }
.contact-legal dl { margin: 0; }
.contact-legal dt { font-weight: 700; margin-top: 10px; }
.contact-legal dd { margin: 0 0 6px; }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 10px; padding: 6px 20px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; min-height: 44px; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--terracotta); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 16px; color: var(--olive-dark); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
.product-detail__gallery img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.product-detail__thumbs { display: flex; gap: 8px; }
.product-detail__thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; }
.product-detail__price { font-size: 1.8rem; color: var(--terracotta); font-weight: 700; }
.qty-stepper { display: flex; align-items: center; gap: 10px; }
.qty-stepper button { width: 44px; height: 44px; border-radius: 8px; border: 2px solid var(--olive); background: var(--white); font-size: 1.2rem; cursor: pointer; }
.qty-stepper input { width: 56px; height: 44px; text-align: center; border: 2px solid var(--beige); border-radius: 8px; }
.product-detail__section { margin-top: 20px; }
.product-detail__section h3 { margin-bottom: .3em; }
.nutrition-table { width: 100%; border-collapse: collapse; }
.nutrition-table td, .nutrition-table th { padding: 6px 4px; border-bottom: 1px solid var(--beige); text-align: left; }
@media (max-width: 820px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Cart table / summary ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.cart-table th { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--beige); font-size: .85rem; text-transform: uppercase; color: var(--olive-dark); }
.cart-table td { padding: 14px 8px; border-bottom: 1px solid var(--beige); vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-remove { color: var(--red); background: none; border: none; cursor: pointer; font-weight: 600; min-height: 44px; }
.cart-summary { background: var(--beige); border-radius: var(--radius); padding: 24px; max-width: 380px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary__row--total { font-weight: 700; font-size: 1.2rem; border-top: 2px solid var(--white); margin-top: 8px; padding-top: 14px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--olive-dark); }

/* ---------- Grid / spacing utilities ---------- */
.section { padding: 60px 0; }
.section--tight { padding: 32px 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer-ornament { display: block; }
.site-footer { background: var(--brown); color: var(--linen); padding-top: 10px; }
.logo__word--footer { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 40px 0; }
.footer-col h3 { color: var(--white); font-size: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { text-decoration: underline; }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter-form input[type=email] { flex: 1; min-height: 44px; border-radius: 8px; border: none; padding: 0 12px; min-width: 160px; }
.footer-legal { font-size: .85rem; opacity: .85; }
.footer-bottom { text-align: center; padding: 16px 0; font-size: .82rem; opacity: .8; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; margin: 0 auto;
  background: var(--brown); color: var(--white); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); z-index: 300; display: flex; flex-direction: column; gap: 14px;
}
.cookie-banner a { text-decoration: underline; color: var(--white); }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Product cards and details */
.product-card { display: flex; flex-direction: column; background: var(--linen); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -12px rgba(63,46,31,.5); }
.product-card__media { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--beige); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.product-desc { font-size: .9rem; color: var(--brown); opacity: .85; margin: 0 0 12px; flex: 1; }
.product-meta { display: flex; gap: 12px; align-items: center; font-size: .85rem; margin-bottom: 12px; flex-wrap: wrap; }
.weight, .availability { padding: 4px 10px; background: var(--cream); border-radius: 6px; font-weight: 500; }
.availability.available { color: var(--olive); }
.availability.unavailable { color: var(--red); }
.product-footer { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.price { font-weight: 700; font-size: 1.2rem; color: var(--terracotta); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-detail__gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__thumbs { display: flex; gap: 8px; }
.thumb { width: 80px; height: 80px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color .2s; background: var(--linen); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--terracotta); }
.product-detail__info h1 { margin-top: 0; }
.product-detail__header { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.product-weight { color: var(--brown); opacity: .7; font-size: .95rem; margin: 0; }
.product-description { line-height: 1.7; margin-bottom: 24px; }
.product-purchase { display: flex; gap: 12px; align-items: stretch; margin-bottom: 30px; }
.product-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--beige); }
.product-section h3 { margin-top: 0; font-size: 1rem; }
.product-section p { margin: 0; font-size: .9rem; line-height: 1.6; }

/* Qty stepper */
.qty-stepper { display: flex; border: 1px solid var(--beige); border-radius: 8px; overflow: hidden; }
.qty-minus, .qty-plus { width: 44px; height: 44px; border: none; background: var(--cream); cursor: pointer; font-weight: 700; color: var(--brown); transition: background .2s; }
.qty-minus:hover, .qty-plus:hover { background: var(--beige); }
.qty-input { border: none; width: 60px; text-align: center; font-weight: 600; font-size: 1rem; background: transparent; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Nutrition table */
.nutrition-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nutrition-table td { padding: 8px 12px; border-bottom: 1px solid var(--beige); }
.nutrition-table tr:last-child td { border-bottom: none; }
.nutrition-table td:first-child { font-weight: 500; color: var(--brown); }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cart-table th { background: var(--beige); padding: 12px; text-align: left; font-weight: 600; }
.cart-table td { padding: 12px; border-bottom: 1px solid var(--linen); }
.cart-table a { color: var(--terracotta); text-decoration: underline; }
.cart-empty { text-align: center; padding: 40px 20px; }
.cart-empty p { margin-bottom: 20px; }
.cart-summary { background: var(--linen); padding: 20px; border-radius: var(--radius); margin: 30px 0; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-total { font-weight: 700; font-size: 1.2rem; padding: 12px 0; border-top: 2px solid var(--beige); margin-top: 8px; }

/* Form elements */
select, textarea { font-family: inherit; font-size: 1rem; }
select { padding: 10px 12px; border: 1px solid var(--beige); border-radius: 6px; background: var(--white); cursor: pointer; }
select:focus { outline: none; border-color: var(--terracotta); }
textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--beige); border-radius: 6px; resize: vertical; }
textarea:focus { outline: none; border-color: var(--terracotta); }
input[type="text"], input[type="email"], input[type="tel"] { padding: 10px 12px; border: 1px solid var(--beige); border-radius: 6px; font-size: 1rem; width: 100%; }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus { outline: none; border-color: var(--terracotta); }
input[type="checkbox"] { cursor: pointer; }
.hp-field { display: none; }

/* Page hero and breadcrumbs */
.page-hero { background: linear-gradient(135deg, var(--linen) 0%, var(--beige) 100%); padding: 40px 20px; margin-bottom: 40px; }
.page-hero h1 { margin-top: 0; }
.page-hero p { margin: 0; opacity: .9; }
.breadcrumbs { display: flex; gap: 8px; font-size: .9rem; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--terracotta); text-decoration: underline; }
.breadcrumbs span { color: var(--brown); }
.breadcrumbs span::before { content: " / "; margin: 0 4px; }

/* Prose and legal */
.prose { max-width: 800px; }
.prose h2 { margin-top: 30px; margin-bottom: 16px; }
.prose h3 { margin-top: 20px; margin-bottom: 12px; }
.prose ul { margin: 0 0 16px 20px; padding: 0; }
.prose ul li { margin-bottom: 8px; }
.prose ol { margin: 0 0 16px 20px; padding: 0; }
.prose ol li { margin-bottom: 8px; }
.legal-toc { background: var(--linen); padding: 20px; border-radius: var(--radius); margin-bottom: 30px; }
.legal-toc h2 { margin-top: 0; font-size: 1.1rem; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--terracotta); }

/* Contact layout */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.contact-form { background: var(--linen); padding: 30px; border-radius: var(--radius); }
.contact-legal { padding: 30px; background: var(--linen); border-radius: var(--radius); }
.contact-legal h3 { margin-top: 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; }
.faq-item summary { padding: 16px; background: var(--linen); border-radius: var(--radius); cursor: pointer; font-weight: 500; list-style: none; user-select: none; transition: background .2s; }
.faq-item summary:hover { background: var(--beige); }
.faq-item summary::marker, .faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { background: var(--beige); }
.faq-content { padding: 16px; background: var(--cream); border-radius: 0 0 var(--radius) var(--radius); margin-top: -2px; font-size: .95rem; line-height: 1.7; }
.faq-content p { margin: 0 0 12px; }

/* Utilities */
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.cluster { display: flex; gap: 16px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.section { padding: 40px 0; }
.section--tight { padding: 20px 0; }
.btn--block { width: 100%; }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 20px; }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .product-purchase { flex-direction: column; }
}

/* COMPONENTS: .class - what it is
.container - centered max-width page wrapper
.site-header / .main-nav / .nav-toggle - sticky header, nav, mobile burger
.icon-btn - round header icon button (search/account/wishlist/cart)
.cart-badge - cart item count bubble, .bump = pulse animation
.btn, .btn--primary, .btn--secondary, .btn--ghost, .btn--small, .btn--block - button variants with fill-sweep hover
.reveal, [data-reveal=up|left|right|clip], .delay-1..3 - scroll reveal animation hooks
.hero-split, .hero-split__cream, .hero-split__olive, .hero-split__divider, .hero-split__content - split-screen hero
.hero-logo-assemble - animated SVG logo assembling in hero
.grain-overlay - fixed full-viewport SVG noise texture
.feature-grid, .feature-card - three intro highlight cards on home
.ornament-divider - decorative SVG section divider
.card-grid, .cat-card, .product-card - category/product card grids
.product-strip - horizontal scroll-snap strip on mobile
.matcher, .matcher-groups, .matcher-group, .chip, .matcher-result, .matcher-card, .matcher-hint - Slagalica stola signature feature
.page-hero - inner page top banner
.breadcrumbs - breadcrumb trail
.prose - readable-measure long-form legal text
.legal-toc - table of contents box for legal pages
.notice, .notice--warning - callout box
.form-grid, .field, .field--full, .field-error, .form-status, .hp-field - form layout & validation
.contact-layout, .contact-legal - contact page two-column layout + legal data block
.faq, .faq-item - details/summary FAQ accordion
.product-detail, .product-detail__gallery, .product-detail__thumbs, .qty-stepper, .nutrition-table - product page layout
.cart-table, .cart-summary, .cart-empty, .cart-remove - cart page layout
.section, .section--tight, .text-center, .stack, .cluster, .grid-2 - spacing/layout utilities
.site-footer, .footer-grid, .footer-col, .newsletter-form, .footer-bottom - footer layout
.cookie-banner - fixed cookie consent banner
*/

/* .footer-brand - brand description text */
.footer-brand {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--brown);
  margin-bottom: 1.5rem;
}

/* .product-card__avail - availability status badge */
.product-card__avail {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 0.5rem;
}

.product-card__avail--yes {
  background-color: rgba(107, 122, 58, 0.15);
  color: var(--olive-dark);
}

.product-card__avail--no {
  background-color: rgba(138, 59, 42, 0.15);
  color: var(--red);
}

/* .qty-update - quantity input field */
.qty-update {
  width: 60px;
  padding: 8px 10px;
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brown);
  background-color: var(--white);
  text-align: center;
}

.qty-update:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181, 84, 47, 0.1);
}

/* .thumb - gallery thumbnail button */
.thumb {
  display: inline-block;
  width: clamp(45px, 12vw, 70px);
  height: clamp(45px, 12vw, 70px);
  padding: 3px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background-color: var(--linen);
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  font-size: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  border-color: var(--terracotta);
}

.thumb.active {
  border-color: var(--terracotta);
  box-shadow: var(--shadow);
}

/* wg-contrast-autofix */
footer.site-footer div.container.footer-grid div.footer-brand p { color: #ffffff !important; }
div.container.footer-grid div.footer-brand form.newsletter-form label.sr-only { color: #ffffff !important; }
header.site-header div.site-header__bar.container button.nav-toggle span.sr-only { color: #ffffff !important; }
