/* Cvetličarna Jutro — vintage travel-poster design system */
:root{
  --cobalt:#1c3f8f;
  --cobalt-dark:#132a63;
  --lemon:#f7d93b;
  --white:#fdfcf6;
  --coral:#e8572f;
  --ink:#1a1a1a;
  --paper:#fbf7ec;
  --line:rgba(26,26,26,.14);
  --radius:14px;
  --shadow-paper:0 18px 40px -16px rgba(19,42,99,.35);
  --font-display:"Georgia","Iowan Old Style","Palatino Linotype",serif;
  --font-body:"Avenir Next","Segoe UI",system-ui,sans-serif;
  --font-label:"Courier New",ui-monospace,monospace;
  --ease:cubic-bezier(.2,.8,.2,1);
}
*{box-sizing:border-box}
html,body{overflow-x:clip}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--font-display);line-height:1.08;margin:0 0 .5em}
p{margin:0 0 1em}
.skip-link{position:absolute;left:-999px;top:0;background:var(--lemon);color:var(--ink);padding:.5em 1em;z-index:200}
.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

/* ---------- Layout utilities ---------- */
.wrap{max-width:1180px;margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}
.grid{display:grid;gap:1.5rem}
.stack{display:flex;flex-direction:column}
.u-mt-lg{margin-top:clamp(2rem,6vw,4.5rem)}
.u-mb-lg{margin-bottom:clamp(2rem,6vw,4.5rem)}
.visually-hidden{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

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

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:var(--cobalt);color:var(--white);box-shadow:0 2px 0 var(--lemon)}
.site-header__row{max-width:1180px;margin-inline: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:.6rem;color:var(--white)}
.logo__word{display:flex;flex-direction:column;line-height:1}
.logo__word-top{font-family:var(--font-display);font-size:1.05rem;letter-spacing:.02em}
.logo__word-bottom{font-family:var(--font-label);font-size:.78rem;letter-spacing:.22em;color:var(--lemon)}
.logo--light{color:var(--white)}
.nav-toggle{display:none;background:none;border:0;color:var(--white);padding:.4rem;cursor:pointer}
.nav{display:flex;align-items:center;gap:1.4rem;font-size:.95rem}
.nav a{padding:.3rem .1rem;position:relative}
.nav a:not(.nav__cart)::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--lemon);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.nav a:hover::after,.nav a.is-active::after{transform:scaleX(1)}
.nav a.is-active{color:var(--lemon)}
.nav__cart{display:flex;align-items:center;gap:.4rem;background:var(--lemon);color:var(--cobalt-dark);padding:.4rem .8rem;border-radius:999px;font-weight:600}
.cart-badge{background:var(--cobalt-dark);color:var(--white);min-width:1.4em;height:1.4em;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem}
.cart-badge.bump{animation:bump .4s var(--ease)}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.4)}100%{transform:scale(1)}}
.nav__close{display:none}

@media (max-width:860px){
  .nav-toggle{display:inline-flex}
  .nav{
    position:fixed;inset:0 0 0 auto;width:min(84vw,340px);
    background:var(--cobalt);flex-direction:column;align-items:flex-start;
    padding:5rem 1.6rem 2rem;gap:1.2rem;
    transform:translateX(100%);visibility:hidden;
    transition:transform .35s var(--ease),visibility .35s var(--ease);
  }
  .nav.is-open{transform:translateX(0);visibility:visible}
  .nav__close{display:inline-flex;position:absolute;top:1.2rem;right:1.2rem;background:none;border:0;color:var(--white)}
  .nav__cart{margin-top:.4rem}
}

/* ---------- Buttons ---------- */
.btn{
  position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-label);letter-spacing:.06em;text-transform:uppercase;font-size:.82rem;
  padding:.75rem 1.5rem;border-radius:999px;border:2px solid currentColor;cursor:pointer;
  background:transparent;color:var(--cobalt);transition:color .35s var(--ease);min-height:44px;
}
.btn::before{content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--cobalt);transition:left .35s var(--ease);z-index:-1}
.btn:hover::before{left:0}
.btn:hover{color:var(--white)}
.btn--lemon{background:var(--lemon);color:var(--cobalt-dark);border-color:var(--lemon)}
.btn--lemon::before{background:var(--cobalt-dark)}
.btn--lemon:hover{color:var(--white)}
.btn--coral{background:var(--coral);color:var(--white);border-color:var(--coral)}
.btn--coral::before{background:var(--cobalt-dark)}
.btn--ghost{background:transparent;color:var(--white);border-color:var(--white)}
.btn--ghost::before{background:var(--white)}
.btn--ghost:hover{color:var(--cobalt-dark)}
.btn--block{width:100%}

/* ---------- Hero (home) ---------- */
.hero{position:relative;background:linear-gradient(180deg,var(--cobalt) 0%,#2a56b8 60%,var(--lemon) 100%);overflow:hidden;color:var(--white)}
.hero__frame{max-width:1180px;margin-inline:auto;padding:clamp(1rem,4vw,2.5rem);border:10px solid var(--white);border-radius:18px;margin-top:1.5rem;margin-bottom:1.5rem;position:relative;overflow:hidden}
.hero__grid{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;align-items:center;padding:clamp(1.5rem,5vw,3.5rem)}
.hero__title{font-size:clamp(2.6rem,6vw,4.6rem);color:var(--white)}
.hero__title em{font-style:normal;color:var(--lemon)}
.hero__lede{font-size:1.1rem;max-width:34ch}
.hero__actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.hero__art{position:relative;aspect-ratio:1/1}
.hero__art svg{width:100%;height:100%}
.hero__layer{transition:transform 1s var(--ease),opacity 1s var(--ease)}
.hero--split .hero__layer-sky{transform:translateX(-6%)}
.hero--split .hero__layer-hill{transform:translateX(6%)}
.hero--split .hero__layer-sun{transform:translateY(-6%)}
.hero.is-settled .hero__layer{transform:none}
@media (max-width:860px){.hero__grid{grid-template-columns:1fr}}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{background:var(--cobalt);color:var(--white);padding:clamp(2.5rem,8vw,5rem) 0 clamp(2rem,6vw,3.5rem);position:relative;overflow:hidden}
.page-hero h1{font-size:clamp(2.2rem,5vw,3.4rem)}
.page-hero p{max-width:50ch;opacity:.9}
.page-hero .wrap{position:relative;z-index:2}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{font-family:var(--font-label);font-size:.78rem;letter-spacing:.04em;opacity:.85;display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1rem}
.breadcrumbs a{text-decoration:underline}
.breadcrumbs span[aria-hidden]{opacity:.6}

/* ---------- Section dividers / decoration ---------- */
.divider{display:block;width:100%;height:auto}
.footer-divider{display:block;width:100%;height:50px}

/* ---------- Cards ---------- */
.card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-paper);padding:1.4rem;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.card:hover{transform:translateY(-6px)}

/* ---------- Product grid / strip ---------- */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.6rem}
.product-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-paper);display:flex;flex-direction:column;transition:transform .35s var(--ease)}
.product-card:hover{transform:translateY(-6px)}
.product-card__media{aspect-ratio:4/3;overflow:hidden;position:relative}
.product-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.product-card:hover .product-card__media img{transform:scale(1.07)}
.product-card__body{padding:1rem 1.1rem 1.3rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.product-card__cat{font-family:var(--font-label);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--coral)}
.product-card__price{font-weight:700;color:var(--cobalt-dark);margin-top:auto}
.product-strip{display:flex;gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}
.product-strip .product-card{min-width:230px;scroll-snap-align:start}
@media (min-width:860px){.product-strip{overflow-x:visible;display:grid;grid-template-columns:repeat(4,1fr)}}

/* ---------- Product detail ---------- */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:start}
.product-detail__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-paper);aspect-ratio:1/1}
.product-detail__media img{width:100%;height:100%;object-fit:cover}
.product-detail__price{font-size:1.6rem;color:var(--cobalt-dark);font-weight:700}
@media (max-width:760px){.product-detail{grid-template-columns:1fr}}

/* ---------- Forms ---------- */
.form-grid{display:grid;gap:1.1rem}
.field{display:flex;flex-direction:column;gap:.35rem}
.field label{font-family:var(--font-label);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}
.field input,.field select,.field textarea{
  font-family:var(--font-body);font-size:1rem;padding:.7rem .9rem;border:2px solid var(--line);
  border-radius:8px;background:var(--white);accent-color:var(--cobalt);min-height:44px;
}
.field textarea{min-height:120px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--cobalt)}
.field-error{color:var(--coral);font-size:.85rem;min-height:1.2em}
.field.has-error input,.field.has-error textarea{border-color:var(--coral)}
.form-msg{font-size:.85rem;min-height:1.2em}
.newsletter-form{display:flex;flex-wrap:wrap;gap:.5rem}
.newsletter-form input[type=email]{flex:1;min-width:0;padding:.6rem .8rem;border-radius:8px;border:2px solid transparent;min-height:44px}
.newsletter-form .form-msg{width:100%}

/* ---------- Notices ---------- */
.notice{border-radius:10px;padding:1rem 1.2rem;border:2px solid var(--line);background:var(--white)}
.notice--info{border-color:var(--cobalt)}
.notice--success{border-color:#2f9e44;background:#f1fbf3}
.notice--error{border-color:var(--coral);background:#fdf1ec}

/* ---------- Prose (legal pages) ---------- */
.prose{max-width:70ch;font-size:1.02rem}
.prose h2{margin-top:2.2em;font-size:1.5rem}
.prose h3{margin-top:1.6em;font-size:1.2rem}
.prose ul,.prose ol{padding-left:1.3em}
.prose li{margin-bottom:.4em}
.legal-toc{background:var(--white);border:2px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.4rem;margin-bottom:2rem}
.legal-toc h2{font-size:1.1rem;margin-bottom:.6em}
.legal-toc ol{margin:0;padding-left:1.2em}
.legal-toc a{text-decoration:underline}

/* ---------- FAQ ---------- */
.faq{display:flex;flex-direction:column;gap:.9rem;max-width:70ch}
.faq-item{background:var(--white);border-radius:10px;border:2px solid var(--line);padding:.2rem 1.2rem}
.faq-item summary{cursor:pointer;padding:.9rem 0;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq-item summary::after{content:"+";font-size:1.4rem;color:var(--coral)}
.faq-item[open] summary::after{content:"\2212"}
.faq-item p{padding-bottom:1rem}

/* ---------- Cart / checkout ---------- */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th,.cart-table td{text-align:left;padding:.8rem .6rem;border-bottom:2px solid var(--line)}
.cart-table img{width:64px;height:64px;object-fit:cover;border-radius:8px}
.cart-qty{display:inline-flex;align-items:center;gap:.5rem}
.cart-qty input{width:3.2em;text-align:center;padding:.4rem;border:2px solid var(--line);border-radius:6px;min-height:40px}
.cart-summary{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-paper);padding:1.4rem;display:flex;flex-direction:column;gap:.8rem;max-width:380px}
.cart-summary__row{display:flex;justify-content:space-between}
.cart-summary__total{font-weight:700;font-size:1.2rem;border-top:2px solid var(--line);padding-top:.6rem}
.cart-empty{padding:2rem 0}

/* ---------- Contact layout ---------- */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3rem)}
.contact-info{display:flex;flex-direction:column;gap:1rem}
.contact-info__item{display:flex;gap:.7rem;align-items:flex-start}
.contact-info__item svg{flex-shrink:0;color:var(--coral);margin-top:.15em}
@media (max-width:760px){.contact-layout{grid-template-columns:1fr}}

/* ---------- Badges / seals ---------- */
.seal{width:84px;height:84px}

/* ---------- Signature feature: Cvetni Kompas ---------- */
.kompas{background:var(--cobalt-dark);color:var(--white);border-radius:var(--radius);padding:clamp(1.6rem,4vw,2.6rem);position:relative;overflow:hidden}
.kompas__grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.kompas__controls{display:flex;flex-direction:column;gap:1rem}
.kompas__group{display:flex;flex-wrap:wrap;gap:.5rem}
.kompas__chip{font-family:var(--font-label);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;padding:.5rem 1rem;border-radius:999px;border:2px solid var(--white);background:transparent;color:var(--white);cursor:pointer;min-height:44px}
.kompas__chip.is-active{background:var(--lemon);border-color:var(--lemon);color:var(--cobalt-dark)}
.kompas__result{background:var(--white);color:var(--ink);border-radius:10px;padding:1.2rem;min-height:120px;display:flex;gap:1rem;align-items:center}
.kompas__result img{width:84px;height:84px;object-fit:cover;border-radius:8px;flex-shrink:0}
.kompas__needle{position:absolute;inset:auto -40px -40px auto;width:160px;height:160px;opacity:.15}
@media (max-width:760px){.kompas__grid{grid-template-columns:1fr}}

/* ---------- Cookie banner ---------- */
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:300;background:var(--cobalt-dark);color:var(--white);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:0 20px 40px -10px rgba(0,0,0,.4)}
.cookie-banner p{margin:0;max-width:50ch}
.cookie-banner__actions{display:flex;gap:.6rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--cobalt-dark);color:var(--white);margin-top:4rem;position:relative}
.site-footer__grid{max-width:1180px;margin-inline:auto;padding:0 clamp(1rem,4vw,2.5rem) 2rem;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2rem}
.footer-col h3{font-family:var(--font-label);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.8em;color:var(--lemon)}
.footer-col{display:flex;flex-direction:column;gap:.5rem}
.footer-col a{opacity:.9}
.footer-col a:hover{text-decoration:underline}
.footer-contact{display:flex;align-items:center;gap:.5rem;opacity:.9}
.footer-copy{text-align:center;padding:1rem 0 1.6rem;opacity:.75;font-size:.85rem}
@media (max-width:860px){.site-footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.site-footer__grid{grid-template-columns:1fr}}

/* ---------- Texture overlay ---------- */
.grain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.06;mix-blend-mode:overlay}

/* COMPONENTS: .wrap - max-width content wrapper
COMPONENTS: .grid - generic grid helper
COMPONENTS: .reveal - scroll-reveal base state (paired with .in-view)
COMPONENTS: .reveal--stagger - staggered reveal delay via --i
COMPONENTS: .site-header - sticky top header bar
COMPONENTS: .logo - logo lockup (mark + wordmark)
COMPONENTS: .nav - primary navigation / off-canvas mobile menu
COMPONENTS: .nav-toggle - mobile menu hamburger button
COMPONENTS: .cart-badge - cart count bubble in nav
COMPONENTS: .btn / .btn--lemon / .btn--coral / .btn--ghost / .btn--block - button variants with fill-sweep hover
COMPONENTS: .hero - home page poster hero section
COMPONENTS: .hero__frame - thick white poster frame
COMPONENTS: .hero__art / .hero__layer - animated SVG hero layers (paper-slide motion)
COMPONENTS: .page-hero - inner page top banner
COMPONENTS: .breadcrumbs - small breadcrumb trail
COMPONENTS: .divider / .footer-divider - decorative SVG section dividers
COMPONENTS: .card - generic elevated card
COMPONENTS: .product-grid - responsive catalog grid
COMPONENTS: .product-card - single product card
COMPONENTS: .product-strip - horizontal scroll-snap product strip (mobile)
COMPONENTS: .product-detail - two-column product page layout
COMPONENTS: .form-grid / .field / .field-error - form layout and validation
COMPONENTS: .notice - inline alert box (info/success/error)
COMPONENTS: .prose - long-form legal text measure
COMPONENTS: .legal-toc - table of contents box for legal pages
COMPONENTS: .faq / .faq-item - accordion FAQ built on details/summary
COMPONENTS: .cart-table / .cart-summary - cart & checkout layout
COMPONENTS: .contact-layout / .contact-info - contact page split layout
COMPONENTS: .seal - small decorative badge svg sizing
COMPONENTS: .kompas - Cvetni Kompas signature feature panel
COMPONENTS: .cookie-banner - fixed cookie consent banner
COMPONENTS: .site-footer - global footer
COMPONENTS: .grain - subtle noise texture overlay
*/
