/* ============ Zelený Interiér — design system ============ */
:root{
  --olive-900:#2a3620;
  --olive-700:#3f4f2c;
  --olive-500:#5c7242;
  --terracotta-600:#b5623a;
  --terracotta-500:#c97a4f;
  --terracotta-200:#e9c3a6;
  --saffron:#d99a3d;
  --cream:#f6f1e6;
  --cream-dark:#ece3d1;
  --ink:#24231f;
  --paper:#fffcf5;
  --radius-lg:1.4rem;
  --radius-md:0.9rem;
  --shadow-soft:0 18px 40px -20px rgba(42,54,32,.35);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --maxw: 1180px;
}

*{ 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 .5em; line-height:1.15; color:var(--olive-900); }
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 1.25rem; }
section{ padding:4.5rem 0; }
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.8rem 1.6rem; border-radius:999px; border:2px solid var(--olive-900);
  background:var(--olive-900); color:var(--cream); font-weight:600; font-size:.95rem;
  cursor:pointer; position:relative; overflow:hidden; isolation:isolate;
  transition:color .35s ease, border-color .35s ease;
}
.btn::before{
  content:""; position:absolute; inset:0; width:100%; left:-100%;
  background:var(--terracotta-600); z-index:-1; transition:left .35s ease;
}
.btn:hover::before, .btn:focus-visible::before{ left:0; }
.btn:hover, .btn:focus-visible{ border-color:var(--terracotta-600); }
.btn.ghost{ background:transparent; color:var(--olive-900); }
.btn.ghost::before{ background:var(--olive-900); }
.btn.ghost:hover{ color:var(--cream); }
.btn.small{ padding:.55rem 1.1rem; font-size:.85rem; }
:focus-visible{ outline:3px solid var(--terracotta-600); outline-offset:2px; }

/* ============ Header ============ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,241,230,.92); backdrop-filter:blur(6px);
  border-bottom:1px solid var(--cream-dark);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:.8rem; gap:1rem;
}
.logo{ display:flex; align-items:center; gap:.6rem; }
.logo svg{ width:42px; height:42px; flex:none; }
.logo-word{ width:150px; height:28px; }
.main-nav{ display:flex; align-items:center; gap:1.6rem; }
.main-nav a{
  font-size:.92rem; font-weight:600; color:var(--olive-700);
  position:relative; padding:.2rem 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background:var(--terracotta-600); transition:right .3s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current]::after{ right:0; }
.header-actions{ display:flex; align-items:center; gap:.9rem; }
.cart-link{ position:relative; display:inline-flex; padding:.4rem; }
.cart-link svg{ width:26px; height:26px; }
.cart-count{
  position:absolute; top:-2px; right:-4px; background:var(--terracotta-600); color:#fff;
  font-size:.68rem; font-weight:700; min-width:18px; height:18px; border-radius:999px;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
  transform:scale(1); transition:transform .25s ease;
}
.cart-count.bump{ transform:scale(1.4); }
.menu-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:.4rem;
  flex-direction:column; gap:5px;
}
.menu-toggle span{ width:24px; height:2px; background:var(--olive-900); display:block; }

@media (max-width: 860px){
  .menu-toggle{ display:flex; }
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:min(78vw,320px); height:100vh;
    background:var(--paper); flex-direction:column; align-items:flex-start;
    padding:5.5rem 1.6rem 2rem; gap:1.4rem; box-shadow:var(--shadow-soft);
    transform:translateX(100%); visibility:hidden; transition:transform .35s ease, visibility .35s ease;
  }
  .main-nav.open{ transform:translateX(0); visibility:visible; }
  .main-nav a{ font-size:1.05rem; }
}

/* ============ Footer ============ */
.site-footer{ background:var(--olive-900); color:var(--cream); padding-top:3.5rem; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:2.4rem;
  padding-bottom:2.5rem; border-bottom:1px solid rgba(246,241,230,.15);
}
.footer-grid h4{ color:var(--cream); font-family:var(--font-body); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:1rem; }
.footer-grid ul{ display:flex; flex-direction:column; gap:.55rem; }
.footer-grid a{ color:var(--cream-dark); font-size:.92rem; }
.footer-grid a:hover{ color:var(--terracotta-200); }
.footer-brand p{ color:var(--cream-dark); font-size:.9rem; max-width:280px; }
.newsletter-form{ display:flex; gap:.5rem; margin-top:.5rem; flex-wrap:wrap; }
.newsletter-form input[type=email]{
  flex:1; min-width:150px; padding:.65rem .9rem; border-radius:999px; border:1px solid rgba(246,241,230,.3);
  background:rgba(246,241,230,.08); color:var(--cream); font-size:.88rem;
}
.newsletter-form input[type=email]::placeholder{ color:rgba(246,241,230,.55); }
.newsletter-form .btn{ background:var(--terracotta-600); border-color:var(--terracotta-600); color:#fff; }
.newsletter-form .btn::before{ background:var(--saffron); }
.footer-note{ font-size:.82rem; color:rgba(246,241,230,.6); padding:1.4rem 0 2rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.form-msg{ font-size:.85rem; margin-top:.5rem; min-height:1.2em; }
.form-msg.ok{ color:var(--saffron); }
.form-msg.error{ color:var(--terracotta-200); }

@media (max-width:760px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

/* ============ Reveal / motion ============ */
.reveal{ opacity:1; transform:none; }
.js .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.js .reveal.in-view{ opacity:1; transform:translateY(0); }
.js .reveal.fade-only{ transform:none; }
.js .reveal.clip{ clip-path:inset(0 0 100% 0); }
.js .reveal.clip.in-view{ clip-path:inset(0 0 0% 0); }
@media (prefers-reduced-motion: reduce){
  .js .reveal{ transition:none !important; opacity:1 !important; transform:none !important; clip-path:none !important; }
}

/* ============ Hero ============ */
.hero{
  position:relative; padding:3.5rem 0 5rem; overflow:hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(217,154,61,.18), transparent 60%),
    var(--cream);
}
.hero .container{
  display:grid; grid-template-columns:1.05fr .95fr; gap:2.5rem; align-items:center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:.5rem; font-size:.78rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--terracotta-600); font-weight:700; margin-bottom:1rem;
}
.hero h1{
  font-size:clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing:-.01em;
}
.hero h1 em{ color:var(--terracotta-600); font-style:normal; }
.hero p.lead{ font-size:1.1rem; color:var(--olive-700); max-width:34ch; }
.hero-cta{ display:flex; gap:1rem; margin-top:1.6rem; flex-wrap:wrap; }
.hero-art{ position:relative; aspect-ratio:1/1; }
.hero-art img{
  width:100%; height:100%; object-fit:cover; border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}
.hero-art .arch-frame{
  position:absolute; inset:0; width:100%; height:100%; pointer-events:none;
}
.hero-route{
  position:absolute; left:-10%; bottom:-8%; width:60%; max-width:220px;
}
.hero-route path.route-line{
  stroke-dasharray:4 6; animation:dash 40s linear infinite;
}
@keyframes dash{ to{ stroke-dashoffset:-400; } }
.hero-route .pin-dot{ transform-origin:center; animation:pindrop .9s ease-out both; }
@keyframes pindrop{ from{ transform:translateY(-18px) scale(.4); opacity:0; } to{ transform:translateY(0) scale(1); opacity:1; } }
@media (prefers-reduced-motion: reduce){
  .hero-route path.route-line{ animation:none; }
  .hero-route .pin-dot{ animation:none; opacity:1; transform:none; }
}

@media (max-width:860px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-art{ order:-1; aspect-ratio:4/3; }
}

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

/* ============ Section headers ============ */
.section-head{ max-width:640px; margin-bottom:2.6rem; }
.section-head .kicker{
  display:inline-block; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--terracotta-600); font-weight:700; margin-bottom:.6rem;
}
.section-head h2{ font-size:clamp(1.8rem,3.2vw,2.6rem); }
.section-head p{ color:var(--olive-700); }
.section-alt{ background:var(--cream-dark); }

/* ============ Route / timeline (home composition) ============ */
.route-section{ position:relative; }
.route-wrap{ position:relative; }
.route-svg-bg{
  position:absolute; left:50%; top:0; width:3px; height:100%; transform:translateX(-50%);
  display:none;
}
.route-stops{ display:flex; flex-direction:column; gap:3rem; position:relative; }
.route-connector{
  position:absolute; left:28px; top:30px; bottom:30px; width:2px;
  background:repeating-linear-gradient(to bottom, var(--terracotta-500) 0 8px, transparent 8px 16px);
}
.route-stop{
  display:grid; grid-template-columns:60px 1fr; gap:1.4rem; align-items:start; position:relative;
}
.route-pin{
  width:60px; height:60px; border-radius:50%; background:var(--paper); border:2px solid var(--terracotta-500);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-soft); flex:none; z-index:1;
  transform:scale(.6) translateY(-10px); opacity:0; transition:transform .5s ease, opacity .5s ease;
}
.route-stop.in-view .route-pin{ transform:scale(1) translateY(0); opacity:1; }
.route-pin svg{ width:28px; height:28px; stroke:var(--olive-900); }
.route-card{
  background:var(--paper); border-radius:var(--radius-md); padding:1.6rem 1.8rem; box-shadow:var(--shadow-soft);
  display:grid; grid-template-columns:1fr 160px; gap:1.4rem; align-items:center;
}
.route-card h3{ font-size:1.25rem; margin-bottom:.4rem; }
.route-card p{ color:var(--olive-700); font-size:.95rem; margin-bottom:.8rem; }
.route-card img{ border-radius:var(--radius-md); aspect-ratio:1/1; object-fit:cover; }
.route-card a.link{ font-weight:700; color:var(--terracotta-600); font-size:.9rem; }

@media (max-width:700px){
  .route-card{ grid-template-columns:1fr; }
  .route-card img{ order:-1; aspect-ratio:16/9; }
}

/* ============ Light Compass (signature feature) ============ */
.compass-section{ background:var(--olive-900); color:var(--cream); position:relative; overflow:hidden; }
.compass-section::before{
  content:""; position:absolute; inset:0; opacity:.08;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 2 L78 40 L40 78 L2 40 Z' fill='none' stroke='%23f6f1e6' stroke-width='1'/%3E%3C/svg%3E");
  background-size:80px 80px;
}
.compass-section .container{ position:relative; }
.compass-section .section-head h2{ color:var(--cream); }
.compass-section .section-head p{ color:var(--cream-dark); }
.compass-section .kicker{ color:var(--saffron); }
.compass-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:2.5rem; align-items:start; }
.compass-dial{ display:flex; flex-direction:column; gap:.8rem; }
.compass-option{
  display:flex; align-items:center; gap:.9rem; padding:.9rem 1.1rem; border-radius:var(--radius-md);
  border:2px solid rgba(246,241,230,.25); background:rgba(246,241,230,.05); cursor:pointer;
  font-weight:600; color:var(--cream); text-align:left; transition:border-color .25s ease, background .25s ease;
}
.compass-option svg{ width:26px; height:26px; flex:none; stroke:var(--saffron); }
.compass-option:hover{ border-color:var(--saffron); }
.compass-option[aria-pressed="true"]{ border-color:var(--saffron); background:rgba(217,154,61,.18); }
.compass-option .opt-desc{ font-weight:400; font-size:.82rem; color:var(--cream-dark); display:block; }
.compass-results{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.1rem; }
.compass-card{
  background:var(--paper); color:var(--ink); border-radius:var(--radius-md); padding:1rem; display:flex; flex-direction:column; gap:.4rem;
}
.compass-card img{ aspect-ratio:1/1; object-fit:cover; border-radius:.7rem; }
.compass-card h4{ font-size:.98rem; margin:0; }
.compass-card .price{ color:var(--terracotta-600); font-weight:700; }
.compass-empty{ color:var(--cream-dark); font-size:.9rem; grid-column:1/-1; }
@media (max-width:860px){ .compass-grid{ grid-template-columns:1fr; } .compass-results{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .compass-results{ grid-template-columns:1fr 1fr; } }

/* ============ Product grid / catalog ============ */
.filters{ display:flex; gap:.6rem; flex-wrap:wrap; margin-bottom:2.2rem; }
.filters button{
  padding:.5rem 1.1rem; border-radius:999px; border:1.5px solid var(--olive-500); background:transparent;
  color:var(--olive-700); font-weight:600; font-size:.85rem; cursor:pointer;
}
.filters button[aria-pressed="true"]{ background:var(--olive-900); color:var(--cream); border-color:var(--olive-900); }
.product-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.6rem; }
.product-card{
  background:var(--paper); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-soft);
  display:flex; flex-direction:column; transition:transform .3s ease;
}
.product-card:hover{ transform:translateY(-6px); }
.product-card .thumb{ aspect-ratio:1/1; overflow:hidden; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.product-card:hover .thumb img{ transform:scale(1.08); }
.product-card .body{ padding:1.1rem 1.2rem 1.3rem; display:flex; flex-direction:column; gap:.5rem; flex:1; }
.product-card .cat{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--terracotta-600); font-weight:700; }
.product-card h3{ font-size:1.05rem; margin:0; }
.product-card .price{ font-weight:700; color:var(--olive-900); margin-top:auto; }
.product-card .row{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-top:.4rem; }
@media (max-width:980px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){
  .product-grid{ grid-template-columns:1fr 1fr; gap:1rem; }
}

.strip-scroll{ display:none; }
@media (max-width:620px){
  .product-grid.as-strip{ display:none; }
  .strip-scroll{
    display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:.5rem;
    margin:0 -1.25rem; padding-inline:1.25rem;
  }
  .strip-scroll .product-card{ min-width:72%; scroll-snap-align:start; }
}

/* ============ Product detail ============ */
.product-detail{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.product-detail .gallery img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); aspect-ratio:1/1; object-fit:cover; }
.product-detail .cat{ color:var(--terracotta-600); font-weight:700; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; }
.product-detail h1{ font-size:clamp(1.8rem,3.4vw,2.6rem); }
.product-detail .price-row{ display:flex; align-items:baseline; gap:.8rem; margin:1rem 0; }
.product-detail .price{ font-size:1.8rem; font-weight:700; color:var(--olive-900); }
.qty-row{ display:flex; align-items:center; gap:1rem; margin:1.4rem 0; }
.qty-input{ display:flex; align-items:center; border:1.5px solid var(--olive-500); border-radius:999px; overflow:hidden; }
.qty-input button{ background:none; border:none; width:36px; height:36px; font-size:1.1rem; cursor:pointer; color:var(--olive-900); }
.qty-input input{ width:42px; text-align:center; border:none; background:none; font-size:1rem; }
.care-box{ background:var(--cream-dark); border-radius:var(--radius-md); padding:1.2rem 1.4rem; margin-top:2rem; }
.care-box h3{ font-size:1rem; display:flex; align-items:center; gap:.5rem; }
.care-box svg{ width:22px; height:22px; stroke:var(--terracotta-600); }
@media (max-width:860px){ .product-detail{ grid-template-columns:1fr; } }

/* ============ Cart / checkout ============ */
.cart-table{ width:100%; border-collapse:collapse; }
.cart-table th{ text-align:left; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--olive-700); padding-bottom:.8rem; border-bottom:1px solid var(--cream-dark); }
.cart-table td{ padding:1rem 0; border-bottom:1px solid var(--cream-dark); vertical-align:middle; }
.cart-item-info{ display:flex; align-items:center; gap:1rem; }
.cart-item-info img{ width:64px; height:64px; object-fit:cover; border-radius:.6rem; }
.cart-remove{ background:none; border:none; color:var(--terracotta-600); font-weight:700; cursor:pointer; font-size:.85rem; }
.cart-summary{ display:flex; justify-content:flex-end; margin-top:1.5rem; }
.cart-summary .box{ min-width:260px; background:var(--cream-dark); border-radius:var(--radius-md); padding:1.4rem 1.6rem; }
.cart-summary .line{ display:flex; justify-content:space-between; font-size:.92rem; margin-bottom:.5rem; }
.cart-summary .line.total{ font-weight:700; font-size:1.1rem; border-top:1px solid rgba(0,0,0,.08); padding-top:.6rem; margin-top:.4rem; }
.cart-empty{ text-align:center; padding:3rem 0; color:var(--olive-700); }
.checkout-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:3rem; margin-top:3rem; align-items:start; }
@media (max-width:860px){ .checkout-grid{ grid-template-columns:1fr; } }

/* ============ Forms ============ */
.form-field{ margin-bottom:1.2rem; display:flex; flex-direction:column; gap:.4rem; }
.form-field label{ font-size:.85rem; font-weight:700; color:var(--olive-700); }
.form-field input, .form-field textarea, .form-field select{
  padding:.75rem .9rem; border-radius:.7rem; border:1.5px solid var(--cream-dark); background:var(--paper);
  font-size:.95rem; accent-color:var(--terracotta-600); font-family:inherit;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color:var(--terracotta-600); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
fieldset{ border:1.5px solid var(--cream-dark); border-radius:var(--radius-md); padding:1rem 1.2rem; margin-bottom:1.2rem; }
fieldset legend{ font-weight:700; color:var(--olive-700); padding:0 .4rem; }
.radio-row{ display:flex; gap:1.4rem; flex-wrap:wrap; }
.radio-row label{ display:flex; align-items:center; gap:.5rem; font-weight:400; font-size:.92rem; }

/* ============ Misc content blocks ============ */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; } }
.two-col img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); aspect-ratio:4/3; object-fit:cover; }
.ornament-divider{ width:100%; height:48px; margin:0 auto; }
.badge-row{ display:flex; gap:1.6rem; flex-wrap:wrap; justify-content:center; margin-top:2rem; }
.badge{ display:flex; flex-direction:column; align-items:center; gap:.5rem; width:120px; text-align:center; }
.badge svg{ width:54px; height:54px; }
.badge span{ font-size:.82rem; color:var(--olive-700); font-weight:600; }

.faq-list details{
  border-bottom:1px solid var(--cream-dark); padding:1.2rem 0;
}
.faq-list summary{ font-weight:700; cursor:pointer; font-size:1.05rem; color:var(--olive-900); display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:"+"; font-size:1.4rem; color:var(--terracotta-600); flex:none; }
.faq-list details[open] summary::after{ content:"−"; }
.faq-list p{ margin-top:.8rem; color:var(--olive-700); }

.legal-content h2{ margin-top:2rem; font-size:1.4rem; }
.legal-content p, .legal-content li{ color:var(--olive-700); }
.legal-content ul{ padding-left:1.4rem; margin-bottom:1em; }

.page-hero{ padding:3.5rem 0 2.5rem; text-align:center; }
.page-hero h1{ font-size:clamp(2rem,4vw,3rem); }
.page-hero p{ color:var(--olive-700); max-width:46ch; margin:0 auto; }

.cookie-banner{
  position:fixed; left:1rem; right:1rem; bottom:1rem; z-index:200; max-width:560px; margin:0 auto;
  background:var(--olive-900); color:var(--cream); border-radius:var(--radius-md); padding:1.3rem 1.5rem;
  box-shadow:var(--shadow-soft); display:flex; flex-direction:column; gap:.9rem;
  transform:translateY(120%); transition:transform .4s ease;
}
.cookie-banner.show{ transform:translateY(0); }
.cookie-banner p{ margin:0; font-size:.88rem; color:var(--cream-dark); }
.cookie-banner a{ color:var(--terracotta-200); text-decoration:underline; }
.cookie-actions{ display:flex; gap:.8rem; flex-wrap:wrap; }
.cookie-actions .btn.ghost{ color:var(--cream); border-color:rgba(246,241,230,.5); }
.cookie-actions .btn.ghost::before{ background:var(--cream); }
.cookie-actions .btn.ghost:hover{ color:var(--olive-900); }

.not-found{ text-align:center; padding:6rem 0; }
.not-found svg{ width:160px; height:160px; margin:0 auto 1.5rem; }

.icon{ width:1em; height:1em; }
