/* Palacinke Maslina — vintage travel-poster design system */
:root{
  --aubergine:#2e1a3a;
  --aubergine-deep:#1c1026;
  --lime:#a3c93a;
  --lime-deep:#7a9a24;
  --ivory:#f6efd9;
  --gold:#e9c74a;
  --cream:#f3e0a8;
  --ink:#241530;
  --terracotta:#c6572f;
  --radius:18px;
  --radius-sm:10px;
  --shadow-paper:0 18px 40px -16px rgba(28,16,38,.45), 0 2px 0 rgba(28,16,38,.08);
  --font-display:"Rockwell","Georgia","Iowan Old Style",serif;
  --font-body:"Avenir Next","Segoe UI",system-ui,sans-serif;
  --font-mono:"JetBrains Mono",Menlo,Consolas,monospace;
  --maxw:1180px;
  --gap:1.5rem;
}
*{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(--ivory);
  -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);line-height:1.08;margin:0 0 .5em}
p{margin:0 0 1em;line-height:1.6}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
:focus-visible{outline:3px solid var(--terracotta);outline-offset:3px;border-radius:4px}

/* ===== layout helpers ===== */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.25rem}
.grid{display:grid;gap:var(--gap)}
.grid-2{grid-template-columns:1fr;gap:var(--gap)}
.grid-3{grid-template-columns:1fr;gap:var(--gap)}
@media(min-width:720px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}}
.stack{display:flex;flex-direction:column;gap:1rem}
.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}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}.mb-3{margin-bottom:3rem}
.section{padding:clamp(3rem,6vw,5.5rem) 0}
.section--dark{background:var(--aubergine);color:var(--ivory)}
.section--lime{background:var(--lime);color:var(--aubergine-deep)}

/* ===== reveal / motion ===== */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease,clip-path .7s ease}
.reveal.in-view{opacity:1;transform:none}
.reveal--stagger .reveal-item{transition-delay:calc(var(--i,0) * 90ms)}
@media(prefers-reduced-motion:reduce){.reveal{transition:none;opacity:1;transform:none}}

/* ===== header ===== */
.site-header{position:sticky;top:0;z-index:50;background:var(--ivory);border-bottom:3px solid var(--aubergine)}
.site-header__inner{max-width:var(--maxw);margin:0 auto;padding:.85rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:flex;align-items:center;gap:.6rem}
.logo__mark{width:40px;height:40px;flex:none}
.logo__word{font-family:var(--font-display);font-size:1.25rem;letter-spacing:.01em;color:var(--aubergine)}
.logo__word em{display:block;font-style:normal;font-size:.62em;letter-spacing:.14em;text-transform:uppercase;color:var(--terracotta)}
.logo--footer .logo__word{color:var(--ivory)}
.logo--footer .logo__word em{color:var(--gold)}
.nav-toggle{display:inline-flex;background:none;border:none;color:var(--aubergine);padding:.4rem;cursor:pointer;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.nav-close{display:none;background:none;border:none;color:var(--ivory);position:absolute;top:1rem;right:1rem;min-width:44px;min-height:44px;cursor:pointer}
.main-nav{display:flex;align-items:center;gap:1.4rem;font-weight:600}
.main-nav a{position:relative;padding:.3rem .1rem;min-height:44px;display:inline-flex;align-items:center}
.main-nav a:not(.nav-cart)::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--terracotta);transition:right .25s ease}
.main-nav a:not(.nav-cart):hover::after,.main-nav a.is-active::after{right:0}
.nav-cart{background:var(--aubergine);color:var(--ivory);padding:.5rem .9rem;border-radius:999px;display:inline-flex;gap:.5rem;align-items:center}
.cart-count{background:var(--gold);color:var(--aubergine-deep);border-radius:999px;min-width:1.4em;padding:0 .35em;font-size:.8em;text-align:center;font-weight:800;transition:transform .25s}
.cart-count--bump{animation:bump .4s ease}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.5)}100%{transform:scale(1)}}

@media(max-width:860px){
  .nav-toggle{display:inline-flex}
  .main-nav{
    position:fixed;inset:0 0 0 auto;width:min(82vw,340px);background:var(--aubergine);color:var(--ivory);
    flex-direction:column;align-items:flex-start;justify-content:center;gap:1.6rem;padding:2rem 2rem;
    transform:translateX(100%);visibility:hidden;transition:transform .35s ease,visibility .35s ease;
  }
  .main-nav.is-open{transform:translateX(0);visibility:visible}
  .nav-close{display:inline-flex}
  .main-nav a:not(.nav-cart)::after{display:none}
  .nav-cart{margin-top:1rem}
}
@media(min-width:861px){.nav-toggle{display:none}}

/* ===== footer ===== */
.divider{width:100%;height:60px;display:block;color:var(--aubergine)}
.site-footer{background:var(--aubergine-deep);color:var(--cream);margin-top:-1px}
.site-footer__grid{max-width:var(--maxw);margin:0 auto;padding:3rem 1.25rem 2rem;display:grid;gap:2rem;grid-template-columns:1fr;}
@media(min-width:720px){.site-footer__grid{grid-template-columns:1.4fr 1fr 1fr 1fr 1.3fr}}
.footer-col h3{font-family:var(--font-body);font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);margin-bottom:.8rem}
.footer-col a{display:block;padding:.25rem 0;color:var(--cream);opacity:.9}
.footer-col a:hover{opacity:1;text-decoration:underline}
.footer-mail{display:inline-flex;gap:.5rem;align-items:center;margin-top:.8rem;color:var(--gold)!important}
.newsletter-form{display:flex;gap:.5rem;flex-wrap:wrap}
.newsletter-form input[type=email]{flex:1;min-width:0;padding:.6rem .8rem;border-radius:var(--radius-sm);border:1px solid rgba(246,239,217,.3);background:rgba(246,239,217,.08);color:var(--ivory)}
.newsletter-form .hp{position:absolute;opacity:0;height:0;width:0;pointer-events:none}
.site-footer__bottom{text-align:center;padding:1.2rem 0;border-top:1px solid rgba(246,239,217,.15);font-size:.85rem;color:rgba(246,239,217,.65)}
.form-msg{font-size:.85rem;margin-top:.5rem}
.form-msg--ok{color:var(--lime)}
.form-msg--error{color:#ff9d7a}

/* ===== buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;position:relative;overflow:hidden;
  font-weight:700;padding:.75rem 1.5rem;border-radius:999px;border:2px solid var(--aubergine);
  background:var(--aubergine);color:var(--ivory);cursor:pointer;font-size:1rem;min-height:44px;
  transition:color .25s ease, transform .15s ease;
}
.btn--small{padding:.45rem 1rem;font-size:.85rem;min-height:36px}
.btn:active{transform:translateY(1px)}
.btn--sweep::before{
  content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--gold);transition:left .35s ease;z-index:0;
}
.btn--sweep:hover::before{left:0}
.btn--sweep span,.btn--sweep{z-index:1}
.btn--sweep:hover{color:var(--aubergine-deep)}
.btn--outline{background:transparent;color:var(--aubergine);border-color:var(--aubergine)}
.btn--outline:hover{background:var(--aubergine);color:var(--ivory)}
.btn--ghost-dark{background:transparent;border-color:var(--ivory);color:var(--ivory)}
.btn--ghost-dark:hover{background:var(--ivory);color:var(--aubergine-deep)}
.btn--lime{background:var(--lime);border-color:var(--lime-deep);color:var(--aubergine-deep)}
.btn[disabled]{opacity:.5;cursor:not-allowed}

/* ===== hero (home) ===== */
.hero{position:relative;padding:3.5rem 0 4rem;background:linear-gradient(180deg,#f8e8b6 0%,var(--ivory) 70%);overflow:hidden}
.hero__grain{position:absolute;inset:0;width:100%;height:100%;opacity:.25;mix-blend-mode:multiply;pointer-events:none}
.hero__inner{max-width:var(--maxw);margin:0 auto;padding:0 1.25rem;position:relative;display:grid;gap:2.5rem;grid-template-columns:1fr}
@media(min-width:900px){.hero__inner{grid-template-columns:1.1fr 1fr;align-items:center}}
.hero__title{font-size:clamp(2.6rem,7vw,5rem);color:var(--aubergine);letter-spacing:-.01em}
.hero__title span{color:var(--terracotta)}
.hero__lede{font-size:1.15rem;max-width:34ch}
.hero__cta{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.hero__art{position:relative;aspect-ratio:4/5;max-width:420px}
.hero__photo{position:absolute;border-radius:var(--radius);box-shadow:var(--shadow-paper);object-fit:cover}
.hero__photo--main{inset:8% 8% 0 0;width:78%;height:78%;z-index:2}
.hero__photo--small{right:0;bottom:0;width:48%;height:40%;z-index:3;border:6px solid var(--ivory)}
.hero__shape{position:absolute;inset:0;z-index:1;width:100%;height:100%;color:var(--gold)}
.hero__route{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}
.hero__route path{stroke-dasharray:6 8;stroke-dashoffset:400;animation:dash 2.4s ease forwards 1}
.hero__route circle{opacity:0;animation:pin-pop .5s ease forwards 1.8s}
@keyframes dash{to{stroke-dashoffset:0}}
@keyframes pin-pop{to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.hero__route path{stroke-dashoffset:0;animation:none}.hero__route circle{opacity:1;animation:none}}
.caption-tag{position:absolute;background:var(--ivory);border:2px solid var(--aubergine);border-radius:999px;padding:.3rem .9rem;font-size:.8rem;font-weight:700;box-shadow:var(--shadow-paper);transform:rotate(-4deg)}

/* ===== poster collage (home sections) ===== */
.collage{position:relative;display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:720px){.collage{grid-template-columns:repeat(6,1fr);grid-auto-rows:120px}}
.collage__item{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-paper)}
.collage__item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.collage__item:hover img{transform:scale(1.07)}
@media(min-width:720px){
  .collage__item--a{grid-column:1/4;grid-row:1/4}
  .collage__item--b{grid-column:4/7;grid-row:1/3}
  .collage__item--c{grid-column:4/7;grid-row:3/5}
}
.collage__cap{position:absolute;left:.9rem;bottom:.9rem;background:var(--aubergine);color:var(--ivory);padding:.3rem .8rem;border-radius:999px;font-size:.8rem;font-weight:700}

/* ===== Kompas okusa (signature feature) ===== */
.compass{display:grid;gap:2.5rem;grid-template-columns:1fr;align-items:center}
@media(min-width:860px){.compass{grid-template-columns:1fr 1.2fr}}
.compass__dial{position:relative;width:min(280px,80vw);aspect-ratio:1;margin:0 auto}
.compass__face{width:100%;height:100%}
.compass__needle{position:absolute;top:50%;left:50%;width:4px;height:42%;background:var(--terracotta);transform-origin:bottom center;transform:translate(-50%,-100%) rotate(0deg);transition:transform .6s cubic-bezier(.3,1.5,.4,1);border-radius:4px}
.compass__needle::after{content:"";position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:14px;height:14px;border-radius:50%;background:var(--terracotta)}
.compass__options{display:flex;flex-direction:column;gap:1.2rem}
.compass__group{display:flex;gap:.6rem;flex-wrap:wrap}
.compass__group button{border:2px solid var(--aubergine);background:var(--ivory);border-radius:999px;padding:.5rem 1.1rem;font-weight:700;cursor:pointer;min-height:44px}
.compass__group button.is-selected{background:var(--aubergine);color:var(--ivory)}
.compass__result{margin-top:.5rem;padding:1rem 1.2rem;border-radius:var(--radius-sm);background:var(--lime);color:var(--aubergine-deep)}
.compass__result a{margin-left:.6rem}

/* ===== page hero (inner pages) ===== */
.page-hero{background:var(--aubergine);color:var(--ivory);padding:3rem 0 2.5rem;position:relative;overflow:hidden}
.page-hero h1{font-size:clamp(2.1rem,5vw,3.2rem)}
.page-hero p{max-width:50ch;color:var(--cream)}

/* ===== breadcrumbs ===== */
.breadcrumbs{font-size:.85rem;display:flex;gap:.4rem;flex-wrap:wrap;color:var(--aubergine);margin-bottom:1rem}
.breadcrumbs a{text-decoration:underline}
.breadcrumbs span[aria-hidden]{opacity:.5}

/* ===== prose (legal pages) ===== */
.prose{max-width:68ch;margin:0 auto;padding:3rem 1.25rem}
.prose h2{margin-top:2em;font-size:1.5rem}
.prose h3{margin-top:1.5em;font-size:1.15rem}
.prose p,.prose li{line-height:1.75}
.prose ul,.prose ol{padding-left:1.4rem}

/* ===== legal-toc ===== */
.legal-toc{background:var(--cream);border-radius:var(--radius);padding:1.2rem 1.4rem;margin:0 auto;max-width:68ch}
.legal-toc h2{font-size:1rem;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.6rem}
.legal-toc ol{margin:0;padding-left:1.2rem}
.legal-toc a{text-decoration:underline}

/* ===== notice ===== */
.notice{border-radius:var(--radius-sm);padding:1rem 1.2rem;border:2px solid var(--aubergine);background:var(--ivory);margin:1.2rem 0}
.notice--info{border-color:var(--aubergine)}
.notice--success{border-color:var(--lime-deep);background:#f1f7e1}
.notice--error{border-color:var(--terracotta);background:#fbe9e2}

/* ===== forms ===== */
.form-grid{display:grid;gap:1.1rem;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-weight:700;font-size:.9rem}
.field input,.field select,.field textarea{
  padding:.7rem .9rem;border-radius:var(--radius-sm);border:2px solid #d8cba3;background:#fff;font-family:inherit;font-size:1rem;accent-color:var(--terracotta);
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--aubergine)}
.field textarea{resize:vertical;min-height:120px}
.field-error{color:var(--terracotta);font-size:.82rem;min-height:1.2em}

/* ===== faq ===== */
.faq{max-width:68ch;margin:0 auto;display:flex;flex-direction:column;gap:.8rem}
.faq-item{border:2px solid var(--aubergine);border-radius:var(--radius-sm);padding:.3rem 1.1rem;background:var(--ivory)}
.faq-item summary{cursor:pointer;font-weight:700;padding:.8rem 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.4rem;color:var(--terracotta)}
.faq-item[open] summary::after{content:"\2212"}
.faq-item p{padding-bottom:1rem}

/* ===== product grid / cards (catalog) ===== */
.product-strip{display:grid;gap:1.4rem;grid-template-columns:1fr}
@media(min-width:640px){.product-strip{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.product-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:639px){.product-strip{grid-auto-flow:column;grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}
  .product-strip .product-card{scroll-snap-align:start}
}
.product-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-paper);transition:transform .3s ease;display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-6px)}
.product-card__img-wrap{aspect-ratio:4/3;overflow:hidden}
.product-card__img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.product-card:hover .product-card__img-wrap img{transform:scale(1.08)}
.product-card__body{padding:1.1rem 1.2rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.product-card__price{font-weight:800;color:var(--terracotta);font-size:1.1rem}
.product-card__tag{align-self:flex-start;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;background:var(--lime);color:var(--aubergine-deep);padding:.2rem .6rem;border-radius:999px}

/* ===== product detail ===== */
.product-detail{display:grid;gap:2rem;grid-template-columns:1fr}
@media(min-width:860px){.product-detail{grid-template-columns:1fr 1fr;align-items:start}}
.product-detail__img{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-paper);aspect-ratio:4/3}
.product-detail__img img{width:100%;height:100%;object-fit:cover}
.product-detail__price{font-size:1.8rem;font-weight:800;color:var(--terracotta)}
.product-detail__qty{display:flex;align-items:center;gap:.6rem}
.product-detail__qty button{width:38px;height:38px;border-radius:50%;border:2px solid var(--aubergine);background:#fff;font-size:1.1rem;cursor:pointer}
.product-detail__qty input{width:3.5rem;text-align:center;padding:.5rem;border-radius:var(--radius-sm);border:2px solid #d8cba3}

/* ===== cart ===== */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th,.cart-table td{text-align:left;padding:.8rem .5rem;border-bottom:1px solid #e3d6ab}
.cart-table img{width:64px;height:64px;object-fit:cover;border-radius:var(--radius-sm)}
.cart-table__remove{color:var(--terracotta);background:none;border:none;cursor:pointer;text-decoration:underline;font-weight:700}
.cart-summary{background:var(--cream);border-radius:var(--radius);padding:1.4rem;position:sticky;top:90px}
.cart-summary__row{display:flex;justify-content:space-between;padding:.4rem 0}
.cart-summary__row--total{font-weight:800;font-size:1.2rem;border-top:2px solid var(--aubergine);margin-top:.5rem;padding-top:.8rem}

/* ===== contact layout ===== */
.contact-layout{display:grid;gap:2.5rem;grid-template-columns:1fr}
@media(min-width:860px){.contact-layout{grid-template-columns:1fr 1fr}}
.contact-info{display:flex;flex-direction:column;gap:1.2rem}
.contact-info__item{display:flex;gap:.8rem;align-items:flex-start}
.contact-info__item svg{flex:none;color:var(--terracotta)}

/* ===== decorative dividers / badges ===== */
.badge-seal{width:90px;height:90px;color:var(--terracotta)}
.pattern-strip{width:100%;height:28px;color:var(--lime)}

/* ===== 404 ===== */
.not-found{text-align:center;padding:5rem 1.25rem}
.not-found__art{width:min(320px,80vw);margin:0 auto 1.5rem}

/* ===== cookie banner ===== */
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:80;background:var(--aubergine-deep);color:var(--ivory);border-radius:var(--radius);padding:1.2rem 1.4rem;box-shadow:var(--shadow-paper);display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:space-between;max-width:760px;margin:0 auto}
.cookie-banner a{text-decoration:underline;color:var(--gold)}
.cookie-banner__actions{display:flex;gap:.6rem;flex-wrap:wrap}

/* COMPONENTS:
.wrap - centered max-width container
.grid / .grid-2 / .grid-3 - responsive grid helpers
.stack - vertical flex gap helper
.mt-0..3 / .mb-0..3 - spacing utilities
.section / .section--dark / .section--lime - page section wrappers with color variants
.reveal / .reveal.in-view / .reveal--stagger - scroll-reveal animation hooks
.site-header / .main-nav / .nav-toggle / .nav-close / .nav-cart / .cart-count - header & nav
.site-footer / .footer-col / .newsletter-form / .form-msg - footer
.divider - decorative SVG section divider, color via currentColor
.btn / .btn--small / .btn--sweep / .btn--outline / .btn--ghost-dark / .btn--lime - buttons
.hero / .hero__title / .hero__lede / .hero__cta / .hero__art / .hero__photo / .hero__shape / .hero__route / .hero__grain - home hero
.caption-tag - small rotated poster caption chip
.collage / .collage__item / .collage__cap - asymmetric photo collage grid
.compass / .compass__dial / .compass__needle / .compass__options / .compass__group / .compass__result - Kompas okusa signature feature
.page-hero - inner page header band
.breadcrumbs - breadcrumb trail
.prose - long-form legal/readable text column
.legal-toc - table of contents box for legal pages
.notice / .notice--info / .notice--success / .notice--error - alert boxes
.form-grid / .form-grid--2col / .field / .field-error - form layout
.faq / .faq-item - accordion FAQ using details/summary
.product-strip / .product-card / .product-card__tag - catalog grid/strip + card
.product-detail / .product-detail__img / .product-detail__price / .product-detail__qty - product page
.cart-table / .cart-summary - cart & checkout
.contact-layout / .contact-info / .contact-info__item - contact page layout
.badge-seal / .pattern-strip - decorative bespoke SVG elements
.not-found / .not-found__art - 404 page
.cookie-banner - cookie consent banner
*/

/* ===== Missing component styles ===== */
.divider--wave{height:auto;aspect-ratio:16 / 1}
.footer-col--brand{display:flex;flex-direction:column;gap:.5rem}
.footer-col--news{display:flex;flex-direction:column;gap:.5rem}
.cart-qty{width:4rem;padding:.5rem .6rem;text-align:center;border-radius:var(--radius-sm);border:2px solid #d8cba3;background:#fff;font-family:inherit;font-size:1rem;accent-color:var(--terracotta)}

