/* ===== Látky Úsvit — design system ===== */
:root{
  --emerald-900:#0e2f23;
  --emerald-700:#164d39;
  --emerald-500:#1f7a56;
  --gold:#e8b84b;
  --gold-dim:#c89a3a;
  --pink:#f2a6c0;
  --cream:#faf6ee;
  --paper:#fffdf8;
  --ink:#16201a;
  --line:#dcd4c2;
  --radius:18px;
  --radius-sm:10px;
  --shadow:0 18px 40px -20px rgba(14,47,35,.35);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw:1240px;
}
*{box-sizing:border-box}
html,body{overflow-x:clip}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font-body);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);margin:0 0 .4em;color:var(--emerald-900)}
p{margin:0 0 1em}
.skip-link{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--emerald-900);padding:.5em 1em;z-index:999}
.skip-link:focus{left:8px;top:8px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media (prefers-reduced-motion: reduce){*{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* ===== Layout helpers ===== */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}
.section{padding-block:clamp(2.5rem,7vw,5.5rem)}
.grid{display:grid;gap:clamp(1rem,2vw,1.8rem)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:860px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:1rem}.mb-1{margin-bottom:1rem}.mt-2{margin-top:2rem}.mb-2{margin-bottom:2rem}
.center{text-align:center}

/* ===== Header ===== */
.site-header{position:sticky;top:0;z-index:100;background:rgba(250,246,238,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{max-width:var(--maxw);margin-inline:auto;padding:.7rem clamp(1rem,4vw,2.5rem);display:flex;align-items:center;gap:1.5rem}
.logo{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.logo-mark{width:38px;height:38px;aspect-ratio:1/1}
.logo-word{font-family:var(--font-display);font-size:1.3rem;color:var(--emerald-900);white-space:nowrap}
.logo-word em{color:var(--gold-dim);font-style:normal}
.menu-toggle{display:none;background:none;border:0;padding:.4rem;cursor:pointer;color:var(--emerald-900);min-width:44px;min-height:44px}
.icon-close{display:none}
.main-nav{display:flex;align-items:center;gap:1.6rem;margin-left:auto}
.main-nav ul{display:flex;gap:1.3rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.main-nav a{font-size:.95rem;font-weight:600;color:var(--emerald-700);position:relative;padding:.3rem 0}
.main-nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--gold);transition:width .25s ease}
.main-nav a:hover::after,.main-nav a.is-active::after{width:100%}
.main-nav a.is-active{color:var(--emerald-900)}
.cart-link{position:relative;display:flex;align-items:center;color:var(--emerald-900);min-width:44px;min-height:44px;justify-content:center}
.cart-count{position:absolute;top:-4px;right:-6px;background:var(--gold);color:var(--emerald-900);font-size:.7rem;font-weight:700;border-radius:999px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.cart-link.bump .cart-count{animation:bump .35s ease}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.4)}100%{transform:scale(1)}}
@media (max-width:860px){
  .menu-toggle{display:flex;align-items:center;justify-content:center}
  .main-nav{position:fixed;top:0;right:0;height:100vh;width:min(78vw,320px);background:var(--emerald-900);flex-direction:column;align-items:flex-start;padding:5.5rem 1.6rem 2rem;gap:2rem;
    transform:translateX(100%);visibility:hidden;transition:transform .35s ease,visibility .35s;margin-left:0}
  .main-nav.is-open{transform:translateX(0);visibility:visible}
  .main-nav ul{flex-direction:column;gap:1.1rem}
  .main-nav a{color:var(--cream)}
  .main-nav a.is-active{color:var(--gold)}
  .cart-link{color:var(--cream)}
  body:has(.main-nav.is-open) .icon-open{display:none}
  body:has(.main-nav.is-open) .icon-close{display:block}
}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:999px;font-weight:700;font-size:.95rem;cursor:pointer;border:2px solid transparent;min-height:44px;position:relative;overflow:hidden;isolation:isolate;transition:color .3s,border-color .3s,transform .15s}
.btn-fill{background:var(--emerald-900);color:var(--cream)}
.btn-fill::before{content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--gold);z-index:-1;transition:left .3s ease}
.btn-fill:hover::before{left:0}
.btn-fill:hover{color:var(--emerald-900)}
.btn-outline{background:transparent;border-color:var(--emerald-900);color:var(--emerald-900)}
.btn-outline::before{content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--emerald-900);z-index:-1;transition:left .3s ease}
.btn-outline:hover::before{left:0}
.btn-outline:hover{color:var(--cream)}
.btn-ghost{background:transparent;border-color:rgba(250,246,238,.5);color:var(--cream)}
.btn-ghost:hover{border-color:var(--cream);background:rgba(255,255,255,.08)}
.btn:active{transform:scale(.97)}
.btn-sm{padding:.5rem 1.1rem;font-size:.85rem;min-height:36px}

/* ===== Hero / page-hero ===== */
.page-hero{background:linear-gradient(160deg,var(--emerald-900),var(--emerald-700));color:var(--cream);padding:clamp(3rem,8vw,5rem) 0;position:relative;overflow:hidden}
.page-hero .wrap{position:relative;z-index:2}
.page-hero h1{color:var(--cream);font-size:clamp(2rem,5vw,3rem)}
.page-hero p{color:rgba(250,246,238,.85);max-width:46ch}
.page-hero .deco{position:absolute;inset:0;opacity:.5;pointer-events:none}

/* ===== Breadcrumbs ===== */
.breadcrumbs{font-size:.85rem;color:rgba(250,246,238,.75);margin-bottom:1rem}
.breadcrumbs a{text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color .2s}
.breadcrumbs a:hover{text-decoration-color:currentColor}
.breadcrumbs span{opacity:.6;margin:0 .3em}

/* ===== Prose (legal pages) ===== */
.prose{max-width:68ch;margin-inline:auto}
.prose h2{margin-top:2em;font-size:1.4rem}
.prose h3{margin-top:1.4em;font-size:1.15rem}
.prose ul,.prose ol{padding-left:1.3em}
.prose li{margin-bottom:.4em}

/* ===== Legal TOC ===== */
.legal-toc{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.5rem;max-width:68ch;margin:0 auto 2.5rem}
.legal-toc h2{font-size:1.1rem;margin-bottom:.6em}
.legal-toc ol{margin:0;padding-left:1.3em}
.legal-toc a{color:var(--emerald-700);font-weight:600}
.legal-toc a:hover{text-decoration:underline}

/* ===== Notice ===== */
.notice{border-radius:var(--radius-sm);padding:1rem 1.2rem;border:1px solid var(--line);background:var(--paper);display:flex;gap:.7rem;align-items:flex-start}
.notice-success{border-color:var(--emerald-500);background:#eef7f1}
.notice-warning{border-color:var(--gold);background:#fdf6e4}

/* ===== Cards ===== */
.card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.card:hover{transform:translateY(-6px)}
.pin-card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.6rem;position:relative}

/* ===== Product cards / strip ===== */
.product-strip{display:flex;gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}
.product-strip .product-card{scroll-snap-align:start;flex:0 0 260px}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.4rem}
.product-card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:transform .3s ease}
.product-card:hover{transform:translateY(-6px)}
.product-card .thumb{aspect-ratio:4/3;overflow:hidden}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.product-card:hover .thumb img{transform:scale(1.08)}
.product-card .body{padding:1rem 1.1rem 1.2rem}
.product-card .cat{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--emerald-500);font-weight:700}
.product-card h3{font-size:1.05rem;margin:.25em 0}
.product-card .price{font-weight:700;color:var(--emerald-900)}

/* ===== Product detail ===== */
.product-detail{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:start}
@media (max-width:860px){.product-detail{grid-template-columns:1fr}}
.product-detail .gallery{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3}
.product-detail .gallery img{width:100%;height:100%;object-fit:cover}
.product-detail .price{font-size:1.6rem;font-weight:700;color:var(--emerald-900);margin:.3em 0}
.product-detail .meta-list{list-style:none;padding:0;margin:1em 0;border-top:1px solid var(--line)}
.product-detail .meta-list li{padding:.5em 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:1em}
.qty-row{display:flex;align-items:center;gap:.8rem;margin:1em 0}
.qty-row button{width:36px;height:36px;border-radius:999px;border:1px solid var(--line);background:var(--paper);cursor:pointer;font-size:1.1rem}

/* ===== Forms ===== */
.form-grid{display:grid;gap:1.1rem;max-width:620px}
.field{display:flex;flex-direction:column;gap:.35rem}
.field label{font-weight:600;font-size:.9rem}
.field input,.field select,.field textarea{font:inherit;padding:.7rem .9rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);accent-color:var(--emerald-700)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--emerald-500)}
.field-row{display:flex;gap:.6rem;flex-wrap:wrap}
.field-error{color:#a3283f;font-size:.82rem}
.form-msg{min-height:1.2em;font-size:.9rem}
.form-msg.is-success{color:var(--emerald-700)}
.form-msg.is-error{color:#a3283f}
input[type="checkbox"],input[type="radio"]{accent-color:var(--emerald-700);width:1.1em;height:1.1em}

/* ===== Cart ===== */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th,.cart-table td{text-align:left;padding:.8rem .6rem;border-bottom:1px solid var(--line)}
.cart-table img{width:64px;height:64px;object-fit:cover;border-radius:var(--radius-sm)}
.cart-summary{background:var(--paper);border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow);max-width:360px;margin-left:auto}
.cart-summary .total-row{display:flex;justify-content:space-between;font-weight:700;font-size:1.15rem;margin:1em 0}

/* ===== Contact layout ===== */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3rem)}
@media (max-width:860px){.contact-layout{grid-template-columns:1fr}}
.contact-info ul{list-style:none;padding:0;display:grid;gap:.9rem}
.contact-info li{display:flex;gap:.7rem;align-items:flex-start}
.contact-info .icon{flex-shrink:0;color:var(--emerald-700);margin-top:.15em}

/* ===== FAQ ===== */
.faq{max-width:68ch;margin-inline:auto;display:grid;gap:.8rem}
.faq-item{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.3rem 1.1rem}
.faq-item summary{cursor:pointer;font-weight:700;padding:.8rem 0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-item summary::after{content:"+";font-size:1.3rem;color:var(--gold-dim);transition:transform .25s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{padding-bottom:1rem;color:var(--emerald-700)}

/* ===== Dividers / decorative ===== */
.divider{width:100%;height:auto;display:block}
.badge-seal{width:120px;height:120px}
.grain-overlay{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;opacity:.05;mix-blend-mode:multiply;z-index:1}

/* ===== Reveal / motion ===== */
.reveal{opacity:1;transform:none}
body.js .reveal{opacity:0;transform:translateY(24px);clip-path:inset(0 0 12% 0);transition:opacity .7s ease, transform .7s ease, clip-path .7s ease}
body.js .reveal.in-view{opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0)}
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}

/* ===== Hero word-rise (home only, defined fully in home styles below) ===== */
.word-rise{display:inline-block;overflow:hidden}
.word-rise span{display:inline-block;transform:translateY(110%);transition:transform .7s cubic-bezier(.2,.8,.2,1)}
body.js.loaded .word-rise span{transform:translateY(0)}

/* ===== Cookie banner ===== */
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;max-width:560px;margin-inline:auto;background:var(--emerald-900);color:var(--cream);border-radius:var(--radius);padding:1.2rem 1.4rem;box-shadow:var(--shadow);z-index:200;display:flex;flex-direction:column;gap:.8rem}
.cookie-banner a{text-decoration:underline;color:var(--gold)}
.cookie-actions{display:flex;gap:.7rem;justify-content:flex-end}

/* ===== Footer ===== */
.site-footer{background:var(--emerald-900);color:rgba(250,246,238,.85);padding:clamp(2.5rem,6vw,4rem) 0 1rem}
.footer-inner{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem);display:grid;grid-template-columns:1.3fr 2fr 1.2fr;gap:2.5rem}
@media (max-width:860px){.footer-inner{grid-template-columns:1fr}}
.footer-logo{color:var(--cream);font-size:1.3rem}
.footer-addr{display:flex;gap:.5rem;align-items:center;color:rgba(250,246,238,.7)}
.footer-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.footer-nav h3{color:var(--cream);font-size:.95rem;margin-bottom:.6em}
.footer-nav ul{list-style:none;padding:0;margin:0;display:grid;gap:.5em}
.footer-nav a{color:rgba(250,246,238,.8)}
.footer-nav a:hover{color:var(--gold)}
.footer-newsletter input[type=email]{flex:1;min-width:0;padding:.7rem .9rem;border-radius:var(--radius-sm);border:1px solid rgba(250,246,238,.3);background:rgba(255,255,255,.06);color:var(--cream)}
.footer-newsletter input::placeholder{color:rgba(250,246,238,.5)}
.footer-bottom{max-width:var(--maxw);margin-inline:auto;padding:1.2rem clamp(1rem,4vw,2.5rem) 0;border-top:1px solid rgba(250,246,238,.15);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;font-size:.85rem}
.footer-bottom a{display:inline-flex;gap:.4em;align-items:center}

/* ===== Icons ===== */
.icon{flex-shrink:0}

/* ===== Home page ===== */
.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;font-weight:700;color:var(--emerald-500)}
.hero{position:relative;padding-top:clamp(2.5rem,6vw,4rem)}
.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:center}
@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}
.hero h1{font-size:clamp(2.6rem,7vw,4.6rem);line-height:1.05;margin:.3em 0}
.hero-lead{max-width:48ch;font-size:1.05rem}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.hero-art{aspect-ratio:1/1}
.hero-svg{width:100%;height:100%}
.feature-section{background:var(--paper)}
.feature-head{max-width:60ch;margin-bottom:2rem}
.planner{padding:1.8rem;max-width:620px}
.planner-result{font-weight:700;color:var(--emerald-700);min-height:1.3em;margin-top:.8rem}
.map-section .pin-map{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-top:1.5rem}
@media (max-width:960px){.map-section .pin-map{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.map-section .pin-map{grid-template-columns:1fr}}
.map-section .pin-card:nth-child(2){transform:translateY(-10px)}
.map-section .pin-card:nth-child(3){transform:translateY(12px)}
.strip-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:1rem;margin-bottom:1.3rem}
.about-teaser{background:var(--paper)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:center}
@media (max-width:860px){.about-grid{grid-template-columns:1fr}}
.about-photo{border-radius:var(--radius);box-shadow:var(--shadow);aspect-ratio:4/3;object-fit:cover;width:100%}

/* COMPONENTS:
.wrap - centered max-width content wrapper
.section - vertical page section spacing
.grid / .grid-2 / .grid-3 / .grid-4 - responsive grid helpers
.page-hero - dark hero band used at top of inner pages
.breadcrumbs - small trail of links inside page-hero
.prose - readable-measure long-form legal text block
.legal-toc - boxed table of contents for legal pages
.notice / .notice-success / .notice-warning - callout box variants
.card - generic lifting card surface
.pin-card - map-pin styled card used on home composition
.product-strip - horizontal scroll-snap row of product cards (mobile)
.product-grid - responsive grid of product cards (catalog)
.product-card - single product card (thumb/body/cat/price)
.product-detail - two-column product page layout
.qty-row - quantity stepper row on product/cart pages
.form-grid / .field / .field-row / .field-error / .form-msg - form layout and states
.cart-table - cart items table
.cart-summary - cart totals box
.contact-layout / .contact-info - two-column contact page layout
.faq / .faq-item - details/summary accordion list
.divider - full-width decorative svg divider
.badge-seal - small decorative seal/badge svg
.grain-overlay - fixed full-screen texture overlay
.reveal (+ .d1-.d4) - scroll-reveal animation target and stagger delays
.word-rise - word-by-word rising headline wrapper
.btn / .btn-fill / .btn-outline / .btn-ghost / .btn-sm - button variants
.cookie-banner / .cookie-actions - consent banner
.site-header / .main-nav / .cart-link / .cart-count - header & nav
.site-footer / .footer-nav / .footer-newsletter / .footer-bottom - footer
*/

/* ===== Additional styles ===== */
.qty-row input{padding:.6rem .8rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);font:inherit}
.catalog-head{margin-bottom:1.5em}
.cart-wrapper{align-items:stretch}
@media (max-width:860px){.cart-wrapper{grid-template-columns:1fr}}
.product-cat{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--emerald-500);font-weight:700}
.product-price{font-weight:700;color:var(--emerald-900)}

/* ===== Missing components ===== */
.footer-brand{font-family:var(--font-display);color:var(--cream);font-size:1.1rem;line-height:1.4}
.newsletter-form{display:flex;gap:.6rem;flex-wrap:wrap}
.hero-text{font-size:1.1rem;line-height:1.6;max-width:52ch}
.word-rise-wrap{display:block}
.planner-form{background:var(--paper);border-radius:var(--radius);padding:1.8rem}
.strip-section{background:var(--paper)}
.qty-input{padding:.6rem .8rem;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);font:inherit;width:60px;text-align:center}
.btn-delete{display:inline-flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;color:var(--emerald-900);font-size:1.3rem;padding:.4rem;min-width:36px;min-height:36px;border-radius:999px;transition:background-color .2s,color .2s}
.btn-delete:hover{background:rgba(31,122,86,.1);color:var(--emerald-700)}
.product-info{background:var(--paper);border-radius:var(--radius);padding:1.4rem}

/* wg-contrast-autofix */
footer.site-footer div.footer-inner div.footer-newsletter h3 { color: #ffffff !important; }
