/* Svíčky Lípa — stained glass / jewel-tone design system */
:root{
  --sage:#5b6e53;
  --sage-dark:#3d4a37;
  --oat:#f3ecdd;
  --oat-deep:#e8dcc0;
  --clay:#c97b55;
  --clay-deep:#a8572f;
  --gold:#e8c77e;
  --ink:#2a2620;
  --paper:#fffaf0;
  --line:rgba(42,38,32,.14);
  --radius:14px;
  --shadow:0 18px 40px -20px rgba(42,38,32,.35);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
html,body{overflow-x:clip}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--oat);
  line-height:1.6;
}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--font-display);margin:0 0 .5em;line-height:1.1;font-weight:600}
h1{font-size:clamp(2.4rem,6vw,4.4rem)}
h2{font-size:clamp(1.8rem,3.4vw,2.6rem)}
h3{font-size:clamp(1.2rem,2vw,1.5rem)}
p{margin:0 0 1em}
a{color:inherit}
:focus-visible{outline:3px solid var(--clay);outline-offset:2px;border-radius:4px}
.visually-hidden{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- layout helpers ---- */
.wrap{max-width:1200px;margin-inline:auto;padding-inline:1.25rem}
.section{padding-block:clamp(3rem,7vw,6rem)}
.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.stack{display:flex;flex-direction:column;gap:1rem}
.cluster{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.center{text-align:center}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-2{margin-top:2rem}.mb-2{margin-bottom:2rem}

/* ---- header / nav ---- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(243,236,221,.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.75rem}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;font-family:var(--font-display);font-size:1.2rem;color:var(--sage-dark)}
.logo svg{width:40px;height:40px;flex:none}
.nav{display:flex;gap:1.5rem;align-items:center}
.nav a{text-decoration:none;font-size:.95rem;position:relative;padding:.3rem 0;color:var(--ink)}
.nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:2px;background:var(--clay);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(--clay-deep)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;width:44px;height:44px;align-items:center;justify-content:center}
.nav-toggle svg{width:26px;height:26px}
.cart-link{display:flex;align-items:center;gap:.4rem;text-decoration:none;font-weight:600}
.cart-link svg{width:22px;height:22px}
.cart-count{display:inline-flex;min-width:1.4em;height:1.4em;align-items:center;justify-content:center;background:var(--clay);color:#fff;border-radius:50%;font-size:.75rem;padding:0 .2em;transition:transform .3s var(--ease)}
.cart-count.is-empty{background:var(--sage)}
.cart-count.bump{animation:bump .4s var(--ease)}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.4)}100%{transform:scale(1)}}

@media (max-width:860px){
  .nav-toggle{display:flex}
  .nav{
    position:fixed;inset:0 0 0 auto;width:min(80vw,320px);
    background:var(--paper);flex-direction:column;align-items:flex-start;
    padding:5rem 1.5rem 2rem;gap:1.2rem;
    transform:translateX(100%);visibility:hidden;
    transition:transform .35s var(--ease),visibility .35s;
    box-shadow:var(--shadow);
  }
  .nav.is-open{transform:translateX(0);visibility:visible}
}

/* ---- buttons ---- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.8rem 1.6rem;border-radius:999px;border:2px solid var(--sage-dark);
  background:var(--sage-dark);color:var(--oat);font-weight:600;text-decoration:none;
  cursor:pointer;position:relative;overflow:hidden;isolation:isolate;font-size:1rem;
  min-height:44px;
}
.btn::before{content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--clay);z-index:-1;transition:left .35s var(--ease)}
.btn:hover::before{left:0}
.btn-outline{background:transparent;color:var(--sage-dark)}
.btn-outline::before{background:var(--sage-dark)}
.btn-outline:hover{color:var(--oat)}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.btn-ghost::before{background:rgba(255,255,255,.18)}
.btn-sm{padding:.5rem 1.1rem;font-size:.9rem}
.btn:disabled{opacity:.6;cursor:not-allowed}

/* ---- hero (home) ---- */
.hero{position:relative;padding-block:clamp(3rem,8vw,6rem);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center}
.hero-copy .eyebrow{color:var(--clay-deep);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
.hero-visual{position:relative;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.hero-visual img{width:100%;height:100%;object-fit:cover;filter:sepia(.25) saturate(1.3) hue-rotate(-6deg);transition:filter .2s linear}
[data-hero-shift]{--shift:0}
[data-hero-shift] img{filter:sepia(calc(.4 - var(--shift)*.3)) saturate(calc(1.1 + var(--shift)*.4)) hue-rotate(calc(-10deg + var(--shift)*10deg))}
.hero-glass{position:absolute;inset:0;mix-blend-mode:multiply;opacity:.5;pointer-events:none}
.hero-tabs{display:flex;gap:.5rem;margin-bottom:1.2rem;flex-wrap:wrap}
.hero-tab{
  border:2px solid var(--line);background:var(--paper);border-radius:999px;padding:.5rem 1.1rem;
  cursor:pointer;font-weight:600;font-size:.9rem;min-height:44px;color:var(--ink);
}
.hero-tab.is-active{background:var(--sage-dark);border-color:var(--sage-dark);color:var(--oat)}
.hero-panel{display:none}
.hero-panel.is-active{display:block}

@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}

/* ---- page hero (inner pages) ---- */
.page-hero{
  position:relative;padding:clamp(3rem,8vw,5rem) 0 clamp(2rem,5vw,3rem);
  background:linear-gradient(135deg,var(--sage) 0%,var(--sage-dark) 100%);
  color:var(--oat);overflow:hidden;
}
.page-hero h1{color:#fff}
.page-hero .wrap{position:relative;z-index:1}
.page-hero::after{
  content:"";position:absolute;right:-5%;top:-20%;width:60%;height:140%;
  background:radial-gradient(circle,var(--gold) 0%,transparent 70%);opacity:.25;
}

/* ---- breadcrumbs ---- */
.breadcrumbs{display:flex;gap:.4rem;flex-wrap:wrap;font-size:.85rem;color:var(--oat-deep);list-style:none;padding:0;margin:0 0 1rem}
.breadcrumbs a{text-decoration:none;color:var(--oat)}
.breadcrumbs li:not(:last-child)::after{content:"/";margin-left:.4rem;opacity:.6}

/* ---- sections / dividers ---- */
.divider{display:block;width:100%;height:40px;margin-block:1rem}
.section-alt{background:var(--paper)}

/* ---- cards ---- */
.card{
  background:var(--paper);border-radius:var(--radius);padding:1.5rem;
  box-shadow:var(--shadow);transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.card:hover{transform:translateY(-6px)}
.product-card{display:flex;flex-direction:column;gap:.75rem;text-decoration:none;color:var(--ink)}
.product-card .thumb{aspect-ratio:1/1;border-radius:10px;overflow:hidden}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.product-card:hover .thumb img{transform:scale(1.08)}
.product-card .price{color:var(--clay-deep);font-weight:700}
.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}

/* ---- scent finder (signature feature) ---- */
.scent-finder{background:var(--sage-dark);color:var(--oat);border-radius:var(--radius);padding:clamp(1.5rem,4vw,2.5rem);box-shadow:var(--shadow)}
.scent-finder select{
  padding:.7rem 1rem;border-radius:10px;border:2px solid rgba(255,255,255,.3);background:var(--paper);color:var(--ink);
  font-size:1rem;min-height:44px;accent-color:var(--clay);
}
.scent-result-card{display:flex;flex-direction:column;gap:.2rem;background:var(--paper);color:var(--ink);border-radius:10px;padding:1rem;text-decoration:none;margin-top:.6rem}
.scent-result-lead{font-weight:600;margin-top:1rem}

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

/* ---- forms ---- */
.form-grid{display:grid;gap:1.2rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.field{display:flex;flex-direction:column;gap:.4rem}
.field.field-wide{grid-column:1/-1}
.field label{font-weight:600;font-size:.9rem}
.field input,.field textarea,.field select{
  padding:.75rem 1rem;border-radius:10px;border:2px solid var(--line);background:var(--paper);
  font:inherit;color:var(--ink);min-height:44px;accent-color:var(--clay);
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--clay)}
.field-error{color:var(--clay-deep);font-size:.85rem;margin:0}
.field-honeypot{position:absolute !important;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.notice{padding:1rem 1.2rem;border-radius:10px;font-weight:600}
.notice-success{background:rgba(91,110,83,.15);color:var(--sage-dark)}
.notice-error{background:rgba(201,123,85,.18);color:var(--clay-deep)}

/* ---- prose (legal pages) ---- */
.prose{max-width:68ch;margin-inline:auto}
.prose h2{margin-top:2em}
.prose ul,.prose ol{padding-left:1.2em}
.legal-toc{background:var(--paper);border-radius:var(--radius);padding:1.2rem 1.5rem;margin:0 auto 2rem;max-width:68ch;box-shadow:var(--shadow)}
.legal-toc ol{margin:0;padding-left:1.2em}
.legal-toc a{text-decoration:none;color:var(--sage-dark)}

/* ---- faq ---- */
.faq{display:flex;flex-direction:column;gap:1rem;max-width:68ch;margin-inline:auto}
.faq-item{background:var(--paper);border-radius:10px;padding:.3rem 1.2rem;box-shadow:var(--shadow)}
.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[open] summary{color:var(--clay-deep)}
.faq-item p{padding-bottom:1rem}

/* ---- product detail ---- */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.product-detail .thumb{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:1/1}
.product-detail .thumb img{width:100%;height:100%;object-fit:cover}
.product-detail dl{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1rem;margin:1.2rem 0}
.product-detail dt{font-weight:700;color:var(--sage-dark)}
@media (max-width:760px){.product-detail{grid-template-columns:1fr}}

/* ---- cart / checkout ---- */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th,.cart-table td{padding:.8rem;text-align:left;border-bottom:1px solid var(--line)}
.cart-table img{width:60px;height:60px;object-fit:cover;border-radius:8px}
.cart-summary{background:var(--paper);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:1rem}
.cart-summary .total-row{display:flex;justify-content:space-between;font-weight:700;font-size:1.2rem}

/* ---- contact layout ---- */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem}
@media (max-width:760px){.contact-layout{grid-template-columns:1fr}}

/* ---- footer ---- */
.site-footer{background:var(--sage-dark);color:var(--oat);padding-block:3rem 2rem}
.footer-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.site-footer h4{color:var(--gold);font-size:1rem;font-family:var(--font-body);text-transform:uppercase;letter-spacing:.06em}
.site-footer a{text-decoration:none;color:var(--oat);opacity:.9}
.site-footer a:hover{opacity:1;text-decoration:underline}
.footer-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
.newsletter-form{display:flex;gap:.5rem;flex-wrap:wrap}
.newsletter-form input{flex:1;min-width:160px;padding:.7rem 1rem;border-radius:999px;border:none;min-height:44px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:2rem;padding-top:1.5rem;font-size:.85rem;opacity:.8}

/* ---- cookie banner ---- */
.cookie-banner{
  position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:100;
  background:var(--sage-dark);color:#fff;border-radius:var(--radius);
  padding:1.2rem 1.5rem;box-shadow:var(--shadow);display:flex;gap:1rem;flex-wrap:wrap;align-items:center;max-width:720px;margin-inline:auto;
}
.cookie-banner a{color:var(--gold);text-decoration:underline}
.cookie-banner .cluster{margin-left:auto}

/* ---- decorative / grain ---- */
.grain-overlay{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;opacity:.05;z-index:1;mix-blend-mode:overlay}

/* ---- 404 ---- */
.error-page{text-align:center;padding-block:clamp(4rem,10vw,7rem)}

/* COMPONENTS: .class - what it is
.wrap - centered max-width content container
.section - vertical rhythm block spacer
.grid / .grid-2 / .grid-3 - responsive auto-fit grids
.stack - vertical flex gap column
.cluster - horizontal flex wrap row
.site-header - sticky translucent header bar
.logo - SVG mark + wordmark link
.nav - primary navigation / off-canvas mobile menu
.nav-toggle - mobile hamburger button
.cart-link / .cart-count - header cart link and animated badge
.btn / .btn-outline / .btn-ghost / .btn-sm - button variants with fill-sweep hover
.hero / .hero-grid / .hero-copy / .hero-visual / .hero-glass - home hero composition
.hero-tabs / .hero-tab / .hero-panel - tabbed mood switcher in hero
.page-hero - inner page hero banner
.breadcrumbs - page location trail
.divider - decorative SVG section divider wrapper
.section-alt - alternate paper background section
.card - generic elevated card
.product-card / .thumb / .price - catalog + strip product tile
.product-strip - horizontal scroll-snap product row (mobile)
.scent-finder / .scent-result-card / .scent-result-lead - signature "Vůně pro váš pokoj" tool
.reveal - scroll-reveal animation target
.form-grid / .field / .field-wide / .field-error / .field-honeypot - form layout system
.notice / .notice-success / .notice-error - form feedback banners
.prose - long-form readable legal/article text
.legal-toc - legal page table of contents box
.faq / .faq-item - accordion FAQ list
.product-detail - product page two-column layout
.cart-table / .cart-summary - cart/checkout tables and summary box
.contact-layout - contact page two-column layout
.site-footer / .footer-grid / .footer-list / .newsletter-form / .footer-bottom - site footer
.cookie-banner - consent banner
.grain-overlay - fixed SVG grain texture overlay
.error-page - 404 layout
*/
