/* Kuhinja Bura - design system */
:root {
  --midnight: #0e1b33;
  --midnight-2: #16294a;
  --silver: #c9d6e3;
  --ice: #eef3f7;
  --paper: #f7f8fa;
  --accent: #c87b4a;
  --ink: #16213a;
  --line: #d7dee6;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 4px;
  --max: 1200px;
  --gap: clamp(1rem, 2vw, 2rem);
}

* { 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(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.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(--midnight); color: #fff; padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,250,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--max); margin-inline: auto;
  padding: .9rem clamp(1.1rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .55rem; color: var(--midnight); flex-shrink: 0; }
.logo__mark { color: var(--midnight); flex-shrink: 0; }
.logo__word { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.logo__word span { color: var(--accent); }
.logo--footer { color: var(--ice); }
.logo--footer .logo__mark { color: var(--ice); }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: clamp(.8rem, 2vw, 1.8rem); }
.main-nav a { font-size: .95rem; position: relative; padding: .3rem 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link { position: relative; display: flex; color: var(--midnight); }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.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; background: none; border: 0; color: var(--midnight); padding: .3rem; }

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    background: var(--midnight); padding: 5rem 1.5rem 2rem;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease;
    z-index: 150;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.4rem; }
  .main-nav a { color: var(--ice); font-size: 1.05rem; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero / reveal ---------- */
.reveal { opacity: 1; }
.reveal.js-armed { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 12% 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.js-armed.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal.js-armed { transition: none; opacity: 1; transform: none; clip-path: none; }
}

.page-hero {
  position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(circle at 80% 20%, var(--midnight-2), var(--midnight) 70%);
  color: var(--ice); overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18ch; }
.page-hero p { color: var(--silver); max-width: 48ch; font-size: 1.05rem; }
.page-hero__grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; mix-blend-mode: overlay; pointer-events: none; }

.hero-home__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .hero-home__grid { grid-template-columns: 1.1fr .9fr; } }
.hero-home__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-home__art { display: flex; justify-content: center; }
.hero-mark { width: min(100%, 360px); aspect-ratio: 1; }
.hero-mark__path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw-mark 2.4s ease forwards .2s; }
.hero-mark__dot { animation: dot-travel 2.4s ease forwards .2s; offset-path: path("M130 90c0 55 0 90 44 110-30 22-44 55-44 110m130-220c-44 22-56 72-56 110s12 88 56 110"); }
@keyframes draw-mark { to { stroke-dashoffset: 0; } }
@keyframes dot-travel { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-mark__path { stroke-dashoffset: 0; animation: none; }
  .hero-mark__dot { animation: none; opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; min-height: 44px; transition: color .25s ease, border-color .25s ease;
  background: var(--midnight); color: #fff;
}
.btn--sweep::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--accent); z-index: 0;
  transition: left .35s ease;
}
.btn--sweep { z-index: 0; }
.btn--sweep span, .btn--sweep { position: relative; }
.btn--sweep:hover::before, .btn--sweep:focus-visible::before { left: 0; }
.btn--sweep { isolation: isolate; }
.btn--ghost { background: transparent; color: var(--midnight); border-color: var(--midnight); }
.btn--ghost:hover { background: var(--midnight); color: #fff; }
.btn--outline-light { background: transparent; color: var(--ice); border-color: var(--silver); }
.btn--outline-light:hover { background: var(--ice); color: var(--midnight); }
.btn--small { padding: .6rem 1.1rem; font-size: .85rem; min-height: 40px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Sections / grid utilities ---------- */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section--tight { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.section--dark { background: var(--midnight); color: var(--ice); }
.section--ice { background: var(--ice); }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent); font-weight: 700; }
.section-head { max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: .4rem; font-size: .85rem; color: #6a7488; padding: 1rem 0; flex-wrap: wrap; }
.breadcrumbs a { color: var(--midnight); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.1rem; }
.prose p, .prose li { color: #3a4458; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent); text-decoration: underline; }

.legal-toc { background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; max-width: 68ch; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1rem; margin-bottom: .6rem; }
.legal-toc ol { padding-left: 1.2em; list-style: decimal; }
.legal-toc a { color: var(--midnight); }
.legal-toc a:hover { text-decoration: underline; }

/* ---------- Notices ---------- */
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; border: 1px solid var(--line); background: #fff; max-width: 68ch; }
.notice--info { border-color: #9fc1dd; background: #eef5fb; }
.notice--success { border-color: #9cc9a3; background: #eef7ef; }
.notice--warning { border-color: #e2c08a; background: #fbf3e6; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; max-width: 46rem; }
.form-grid--2col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid--2col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; accent-color: var(--accent); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-error { color: #b4443c; font-size: .8rem; margin: 0; min-height: 1em; }
.field--full { grid-column: 1 / -1; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: .9rem; min-height: 1.2em; }
.form-msg.is-success { color: #2b7a37; }
.form-msg.is-error { color: #b4443c; }

/* ---------- FAQ ---------- */
.faq { max-width: 68ch; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: .2rem 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 1rem 0; 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.3rem; color: var(--accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 1rem; color: #3a4458; }

/* ---------- Product cards / catalog ---------- */
.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; }
.product-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px -20px rgba(14,27,51,.35); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--ice); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.product-card__name { font-size: 1rem; margin: 0; }
.product-card__price { font-weight: 700; margin-top: auto; }
.product-card__actions { display: flex; gap: .6rem; margin-top: .4rem; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail__media { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--ice); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; font-family: var(--font-display); }
.product-detail__meta { display: flex; gap: 1.2rem; font-size: .85rem; color: #6a7488; margin: 1rem 0; flex-wrap: wrap; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty-control button { border: 0; background: none; width: 40px; height: 44px; font-size: 1.1rem; }
.qty-control input { width: 44px; text-align: center; border: 0; background: none; font: inherit; min-height: 44px; }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th, .cart-table td { padding: .8rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.cart-row__name { font-weight: 600; }
.cart-summary { max-width: 24rem; margin-left: auto; background: var(--ice); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.cart-summary__line { display: flex; justify-content: space-between; padding: .4rem 0; }
.cart-summary__total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .8rem; }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: .9fr 1.1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-info__item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-info__item svg { color: var(--accent); flex-shrink: 0; margin-top: .15rem; }

/* ---------- Gift builder (signature feature) ---------- */
.gift-builder { background: var(--midnight); color: var(--ice); border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.8rem); position: relative; overflow: hidden; }
.gift-builder__slots { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.6rem 0; }
@media (min-width: 760px) { .gift-builder__slots { grid-template-columns: repeat(3, 1fr); } }
.gift-slot { border: 1px dashed var(--silver); border-radius: var(--radius); padding: 1rem; transition: border-color .3s ease, background .3s ease; }
.gift-slot.is-filled { border-style: solid; border-color: var(--accent); background: rgba(200,123,74,.12); }
.gift-slot__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--silver); margin-bottom: .5rem; }
.gift-slot select { width: 100%; padding: .6rem; border-radius: var(--radius); border: 1px solid var(--silver); background: var(--midnight-2); color: var(--ice); min-height: 44px; }
.gift-slot__chosen { font-size: .85rem; margin-top: .5rem; color: var(--ice); min-height: 1.2em; }
.gift-builder__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(201,214,227,.3); padding-top: 1.2rem; }
.gift-builder__total { font-size: 1.3rem; font-weight: 700; }
.gift-builder__discount { color: var(--accent); font-weight: 600; font-size: .9rem; }

/* ---------- Dividers / ornaments ---------- */
.divider-line { width: 100%; height: 40px; color: var(--silver); }
.divider-line path { fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: var(--silver); position: relative; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { max-width: var(--max); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.1rem, 4vw, 2.5rem) 2rem; display: grid; gap: 2.2rem; grid-template-columns: 1fr; position: relative; z-index: 2; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .4rem; }
.newsletter-form .field { flex-direction: row; gap: .5rem; }
.newsletter-form input { flex: 1; min-width: 0; }
.site-footer__bottom { border-top: 1px solid rgba(201,214,227,.25); padding: 1.2rem clamp(1.1rem, 4vw, 2.5rem); font-size: .8rem; text-align: center; position: relative; z-index: 2; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; max-width: 640px; margin-inline: auto;
  background: var(--midnight); color: var(--ice); border-radius: 8px; padding: 1.2rem 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--silver); flex: 1 1 240px; }
.cookie-banner a { text-decoration: underline; color: var(--ice); }
.cookie-banner__actions { display: flex; gap: .6rem; }
.cookie-banner[hidden] { display: none; }

@media (max-width: 420px) {
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
}

/* COMPONENTS:
.wrap - centered max-width content wrapper
.site-header / .site-header__inner - sticky header bar
.logo / .logo__mark / .logo__word - brand logo lockup
.main-nav - primary nav, mobile off-canvas via .is-open
.cart-link / .cart-count - header cart icon + animated badge (.bump)
.menu-toggle - mobile nav hamburger button
.reveal / .js-armed / .in-view - scroll reveal animation hook
.page-hero / .page-hero__grain - inner page hero band with grain overlay
.btn, .btn--sweep, .btn--ghost, .btn--outline-light, .btn--small - button variants
.section / .section--tight / .section--dark / .section--ice - vertical section padding+theme
.grid / .grid-2 / .grid-3 / .grid-4 - responsive grid helpers
.eyebrow - small uppercase label above headings
.section-head / .section-head--center - heading+intro wrapper
.breadcrumbs - page breadcrumb trail
.prose - long-form legal/article text column
.legal-toc - table of contents box for legal pages
.notice / .notice--info / .notice--success / .notice--warning - alert/callout box
.form-grid / .form-grid--2col - form layout grid
.field / .field--full / .field-error - form field wrapper + inline error
.hp-field - visually hidden honeypot field
.form-msg - form submit status text
.faq / .faq-item - FAQ accordion (details/summary)
.product-strip - horizontal scroll-snap product row (mobile)
.product-grid - responsive product card grid
.product-card / .product-card__media / .product-card__body / .product-card__cat / .product-card__name / .product-card__price / .product-card__actions - product card parts
.product-detail / .product-detail__media / .product-detail__price / .product-detail__meta - product page layout
.qty-control - quantity stepper input
.cart-table / .cart-row__name - cart items table
.cart-summary / .cart-summary__line / .cart-summary__total - cart totals box
.contact-layout / .contact-info / .contact-info__item - contact page split layout
.gift-builder / .gift-builder__slots / .gift-slot / .gift-slot__label / .gift-slot__chosen / .gift-builder__footer / .gift-builder__total / .gift-builder__discount - BURA slagalica gift-box builder feature
.divider-line - decorative single-line SVG section divider
.site-footer / .site-footer__inner / .footer-col / .footer-contact / .newsletter-form / .site-footer__bottom - footer layout
.cookie-banner / .cookie-banner__actions - cookie consent banner
.skip-link / .sr-only - accessibility helpers
.text-center / .mt-0 / .mt-1 / .mt-2 / .mt-3 / .mb-0 - spacing/alignment utilities
*/

/* ---------- Missing component styles ---------- */
.site-footer__grain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .25; mix-blend-mode: overlay; pointer-events: none;
}

.footer-brand,
.footer-news {
  display: flex; flex-direction: column; gap: 1rem;
}

.hero-home {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(circle at 80% 20%, var(--midnight-2), var(--midnight) 70%);
  color: var(--ice); overflow: hidden;
}
.hero-home .wrap { position: relative; z-index: 2; }

.hero-home__copy {
  position: relative; z-index: 2; color: var(--ice);
}
.hero-home__copy h1 {
  color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18ch;
}
.hero-home__copy p {
  color: var(--silver); max-width: 48ch; font-size: 1.05rem;
}

.product-card__short {
  font-size: .9rem; color: #6a7488; margin: 0 0 .5em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.cart-row {
  display: flex; gap: 1rem; align-items: center;
  padding: .8rem .6rem; border-bottom: 1px solid var(--line);
}

.product-detail__body {
  display: flex; flex-direction: column; gap: 1.2rem;
}

/* wg-contrast-autofix */
#cookie-decline { color: #ffffff !important; }
