/* Puževka — design system. Linocut print style: carved SVG shapes, ink + one accent, rough edges. */

:root {
  --ink: #2a2a1f;
  --cream: #f3ead4;
  --cream-2: #ecdfc0;
  --moss: #4a5a2e;
  --moss-dark: #2f3b22;
  --earth: #6b4a30;
  --terracotta: #c9622f;
  --terracotta-dark: #a24c22;
  --line: #2a2a1f;
  --radius: 10px;
  --shadow: 0 10px 24px -8px rgba(42,42,31,.35);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --maxw: 1180px;
  --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);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--moss-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; color: var(--moss-dark); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; border-radius: 4px; }

.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(--moss-dark); color: var(--cream);
  padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.flow > * + * { margin-top: 1em; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--terracotta-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 3px solid var(--ink);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .7rem clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .55rem; color: var(--moss-dark); }
.logo__mark { width: 40px; height: 40px; aspect-ratio: 1/1; flex: none; }
.logo__word { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; }
.logo--footer .logo__mark { width: 34px; height: 34px; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--ink); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink);
}
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); }
.site-nav a { font-weight: 600; position: relative; padding: .3em 0; color: var(--ink); }
.site-nav a:not(.nav-cart)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--terracotta); transition: right .25s ease;
}
.site-nav a:not(.nav-cart):hover::after, .site-nav a.is-active::after { right: 0; }
.nav-cart { display: flex; align-items: center; gap: .3rem; color: var(--moss-dark); }
.nav-cart .icon { transition: transform .2s ease; }
.cart-count {
  background: var(--terracotta); color: var(--cream); font-size: .72rem; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.nav-cart.bump .icon { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(-8deg); } 100% { transform: scale(1); } }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    background: var(--moss-dark); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 5.5rem 1.5rem 2rem; gap: 1.4rem; z-index: 60;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a, .site-nav a:not(.nav-cart) { color: var(--cream); font-size: 1.05rem; }
  .nav-cart { color: var(--cream); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: .95rem; padding: .78em 1.5em; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--terracotta); color: var(--cream);
  position: relative; overflow: hidden; isolation: isolate; min-height: 44px;
}
.btn--ghost { background: transparent; color: var(--ink); }
.btn--dark { background: var(--moss-dark); color: var(--cream); border-color: var(--moss-dark); }
.btn--outline { background: transparent; color: var(--moss-dark); border-color: var(--moss-dark); }
.btn--sm { padding: .5em 1.1em; font-size: .85rem; }
.btn--sweep::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%; z-index: -1;
  background: var(--moss-dark); transition: left .3s ease;
}
.btn--sweep:hover::before, .btn--sweep:focus-visible::before { left: 0; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.cookie-banner .btn--ghost { color: var(--cream); border-color: var(--cream); }

/* ---------- Hero / page composition ---------- */
.hero {
  position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__title {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 700; letter-spacing: -.01em;
}
.hero__underline { position: relative; display: inline-block; }
.hero__underline svg {
  position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .35em;
  color: var(--terracotta); stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.1s .3s ease forwards;
}
@media (prefers-reduced-motion: reduce) { .hero__underline svg { stroke-dashoffset: 0; animation: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lede { font-size: 1.15rem; max-width: 34em; }
.hero__visual { position: relative; aspect-ratio: 4/5; }
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  filter: sepia(.12) saturate(1.05); border: 3px solid var(--ink); box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; width: 112px; height: 112px; right: -18px; bottom: -18px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
}
.hero__shape { position: absolute; z-index: -1; color: var(--moss); opacity: .4; }

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  border-bottom: 3px solid var(--ink);
}
.page-hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero p { max-width: 42em; font-size: 1.05rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: .4em; flex-wrap: wrap; font-size: .85rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--earth); }
.breadcrumbs span[aria-current] { color: var(--moss-dark); font-weight: 700; }
.breadcrumbs li { display: inline-flex; gap: .4em; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4em; color: var(--earth); }
.breadcrumbs ol { display: flex; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }

/* ---------- Scroll-snap product strip & cards ---------- */
.product-strip {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.2rem;
  -webkit-overflow-scrolling: touch;
}
.product-strip .card { scroll-snap-align: start; flex: 0 0 260px; }
.card {
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; border: 2px solid var(--ink); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.07); }
.card__title { font-size: 1.1rem; margin: 0; }
.card__price { font-weight: 700; color: var(--terracotta-dark); font-size: 1.05rem; }
.card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, clip-path .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }
.reveal--stagger.in-view > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Season wheel (signature feature) ---------- */
.season {
  background: var(--moss-dark); color: var(--cream); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); border: 3px solid var(--ink);
}
.season h2, .season .eyebrow { color: var(--cream); }
.season-wheel {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin: 1.2rem 0 1.5rem;
}
.season-wheel button {
  background: rgba(243,234,212,.1); border: 2px solid var(--cream); color: var(--cream);
  border-radius: 10px; padding: .6rem .3rem; font-weight: 700; font-size: .82rem; min-height: 44px;
}
.season-wheel button.is-active { background: var(--terracotta); border-color: var(--terracotta); }
.season-panel { background: var(--cream); color: var(--ink); border-radius: 8px; padding: 1.1rem 1.3rem; }
.season-panel h3 { margin-top: 0; }
.season-status { font-weight: 700; display: inline-block; padding: .3em .8em; border-radius: 999px; font-size: .85rem; }
.season-status.is-open { background: #dce8c9; color: var(--moss-dark); }
.season-status.is-closed { background: #e6d4bd; color: var(--earth); }

/* ---------- Divider / decorative SVGs ---------- */
.divider { width: 100%; height: 36px; color: var(--moss); display: block; }
.footer-divider { width: 100%; height: 30px; color: var(--moss); display: block; }
.ornament { width: 54px; height: 54px; color: var(--terracotta); }

/* ---------- Timeline / route layout (home composition) ---------- */
.route {
  position: relative; max-width: 900px; margin: 0 auto; padding: 1rem 0;
}
.route__path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; color: var(--moss); opacity: .55; }
.route__steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 3.5rem); }
.route__step {
  display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start;
}
.route__step:nth-child(even) { grid-template-columns: 1fr 56px; }
.route__step:nth-child(even) .route__num { order: 2; }
.route__step:nth-child(even) .route__body { order: 1; text-align: right; }
@media (max-width: 620px) {
  .route__step, .route__step:nth-child(even) { grid-template-columns: 48px 1fr; }
  .route__step:nth-child(even) .route__num { order: 0; }
  .route__step:nth-child(even) .route__body { order: 0; text-align: left; }
}
.route__num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--terracotta); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 700; border: 3px solid var(--ink);
}
.route__body { background: var(--cream-2); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.3rem; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 68ch; margin: 0 auto; font-size: 1.02rem; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose ul li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }
.legal-toc {
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; max-width: 68ch; margin: 0 auto 2rem;
}
.legal-toc h2 { font-size: 1.05rem; margin-bottom: .6em; }
.legal-toc ol { list-style: decimal; padding-left: 1.3em; }
.legal-toc li { margin-bottom: .3em; }

/* ---------- Notices ---------- */
.notice {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem;
  background: var(--cream-2); display: flex; gap: .7rem; align-items: flex-start;
}
.notice--info { border-color: var(--moss); }
.notice--warn { border-color: var(--terracotta-dark); background: #f6e3d2; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 760px; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .7em .9em; border: 2px solid var(--ink); border-radius: 8px; background: var(--cream);
  accent-color: var(--terracotta); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-error { color: var(--terracotta-dark); font-size: .85rem; min-height: 1.2em; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 700; min-height: 1.4em; }
.form-msg.is-success { color: var(--moss-dark); }
.form-msg.is-error { color: var(--terracotta-dark); }

.newsletter-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.newsletter-form input[type="email"] {
  flex: 1 1 160px; padding: .6em .9em; border-radius: 999px; border: 2px solid var(--cream); background: rgba(243,234,212,.08);
  color: inherit; min-height: 44px;
}
.footer-col--news .form-msg { flex-basis: 100%; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--ink); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; font-weight: 700; color: var(--terracotta-dark); }
.qty-stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 44px; height: 44px; background: var(--cream-2); border: none; font-size: 1.2rem; font-weight: 700; }
.qty-stepper input { width: 48px; text-align: center; border: none; background: transparent; font: inherit; font-weight: 700; min-height: 44px; }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .8em .6em; border-bottom: 2px solid var(--cream-2); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 2px solid var(--ink); }
.cart-row__name { display: flex; align-items: center; gap: .7em; font-weight: 700; }
.cart-summary {
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.3rem;
  display: flex; flex-direction: column; gap: .6rem; max-width: 380px;
}
.cart-summary__total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; }
.cart-empty { text-align: center; padding: 3rem 1rem; }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info__item { display: flex; gap: .7em; align-items: flex-start; }
.contact-info__item .icon { flex: none; color: var(--terracotta-dark); margin-top: .1em; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--cream-2); overflow: hidden; }
.faq-item summary {
  padding: 1em 1.3em; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1em;
  min-height: 44px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3em; color: var(--terracotta-dark); transition: transform .2s ease; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding: 0 1.3em 1.2em; }

/* ---------- Icon helper ---------- */
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Grain overlay (texture) ---------- */
.grain-overlay {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2000; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 20px); z-index: 300;
  background: var(--moss-dark); color: var(--cream); padding: .8em 1.4em; border-radius: 999px;
  font-weight: 700; opacity: 0; transition: opacity .25s ease, transform .25s ease; box-shadow: var(--shadow);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--moss-dark); color: var(--cream); padding-top: 1rem; }
.site-footer a { color: var(--cream-2); }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 2rem;
}
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .site-footer__inner { grid-template-columns: 1fr; } }
.footer-col h3 { color: var(--cream); font-size: 1rem; margin-bottom: .7em; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-mail { display: flex; align-items: center; gap: .4em; }
.site-footer__bottom { border-top: 1px solid rgba(243,234,212,.2); text-align: center; padding: 1rem; font-size: .85rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 500; max-width: 560px; margin: 0 auto;
  background: var(--moss-dark); color: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-404__mark { width: 160px; height: 160px; margin: 0 auto 1rem; color: var(--moss); }

/* COMPONENTS:
.container - centered max-width page wrapper
.section / .section--tight - vertical page rhythm padding
.grid / .grid--2 / .grid--3 / .grid--4 - responsive auto-fit grids
.eyebrow - small uppercase label above headings
.site-header / .site-nav / .nav-toggle / .nav-cart / .cart-count - site header & navigation
.logo / .logo__mark / .logo__word - brand logo
.btn / .btn--ghost / .btn--dark / .btn--outline / .btn--sm / .btn--sweep - button variants (sweep = fill animation on hover)
.hero / .hero__grid / .hero__title / .hero__underline / .hero__lede / .hero__visual / .hero__badge / .hero__shape - home hero composition
.page-hero / .page-hero__inner - inner page header band
.breadcrumbs - breadcrumb trail nav
.product-strip - horizontal scroll-snap product row (mobile)
.card / .card__media / .card__title / .card__price / .card__footer - product/service card
.reveal / .reveal--stagger / .in-view - scroll-reveal animation hooks
.season / .season-wheel / .season-panel / .season-status - signature "Puževski kalendar" feature
.divider / .footer-divider / .ornament - decorative linocut SVG dividers and ornaments
.route / .route__path / .route__steps / .route__step / .route__num / .route__body - timeline/route layout for home
.prose - readable long-form legal text column
.legal-toc - table of contents box for legal pages
.notice / .notice--info / .notice--warn - callout boxes
.form-grid / .field / .field--full / .field-error / .hp-field / .form-msg - form layout and validation states
.newsletter-form - footer newsletter signup
.product-detail / .product-detail__media / .product-detail__price / .qty-stepper - product page layout
.cart-table / .cart-row__name / .cart-summary / .cart-summary__total / .cart-empty - cart/checkout layout
.contact-layout / .contact-info / .contact-info__item - contact page split layout
.faq / .faq-item / .faq-item__body - FAQ accordion (details/summary)
.icon - sprite icon sizing helper
.grain-overlay - fixed texture overlay
.toast - transient confirmation message
.site-footer / .footer-col / .footer-mail - site footer layout
.cookie-banner / .cookie-banner__actions - cookie consent banner
.error-404 / .error-404__mark - 404 page layout
*/

/* wg-contrast-autofix */
#cookieBanner p a { color: #ffffff !important; }
