/* ============================================
   Palivahecko E-shop — Palivové dřevo
   Prémiový editorial design — světlé dřevo + ember
   Playfair Display + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..700&family=DM+Sans:opsz,wght@9..40,300..700&display=swap');

:root {
  --bg:         #FBF9F4;
  --bg-warm:    #F1E9DA;
  --bg-cream:   #F5EFE3;
  --paper:      #FFFFFF;
  --bg-dark:    #271D16;
  --bg-darker:  #1F160F;

  --brown:       #9A6A33;
  --brown-hover: #7C5223;
  --brown-light: #C49A63;
  --brown-pale:  #F3E9D8;
  --brown-mid:   #E0CDA9;

  --ember:       #C9791C;
  --ember-deep:  #A85F12;
  --gold:        #D9A441;

  --text:       #2A1F16;
  --text-mid:   #5A4A3B;
  --text-light: #897665;
  --text-muted: #AC9C8A;

  --border:       #E3D7C0;
  --border-light: #ECE3D2;

  --shadow-sm:  0 2px 10px rgba(42,31,22,0.05);
  --shadow:     0 14px 40px -16px rgba(42,31,22,0.16);
  --shadow-md:  0 30px 70px -28px rgba(42,31,22,0.22);
  --shadow-lift:0 40px 80px -30px rgba(42,31,22,0.25);

  --r:    10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  --display: 'Playfair Display', Georgia, serif;
  --heading: 'Playfair Display', Georgia, serif;
  --font:    'DM Sans', system-ui, sans-serif;
  --t:       0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1 { font-family: var(--display); font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
a  { color: inherit; text-decoration: none; transition: var(--t); }
p  { max-width: 64ch; color: var(--text-mid); }

/* ===== LAYOUT ===== */
.container        { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 760px; }
.section          { padding: 6.5rem 0; background: var(--bg); }
.section-soft     { background: var(--bg-cream); }
.section-gray     { background: var(--bg-warm); }

/* ===== SECTION HEADER ===== */
.section-header { margin-bottom: 3.5rem; max-width: 680px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ember-deep); margin-bottom: 1rem;
}
.section-tag::before {
  content: ''; width: 28px; height: 1.5px; background: var(--ember); display: inline-block;
}
.section-header h2 { color: var(--text); margin-bottom: 0.85rem; }
.section-lead { font-size: 1.05rem; color: var(--text-light); font-weight: 400; line-height: 1.7; }

.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.centered .section-tag { justify-content: center; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--bg-dark); color: #F6EFE2;
  padding: 0.95rem 1.9rem; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--t);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.btn-primary:hover { background: var(--ember); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(201,121,28,0.5); }
.btn-primary.btn-wide  { width: 100%; justify-content: center; }
.btn-primary.btn-large { padding: 1.05rem 2.3rem; font-size: 0.85rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text); border: 1.5px solid var(--border);
  padding: 0.9rem 1.7rem; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  background: transparent; transition: var(--t); text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-outline:hover { border-color: var(--ember); color: var(--ember-deep); background: var(--brown-pale); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--paper); border: 1.5px solid var(--border); color: var(--text-mid);
  padding: 0.6rem 1.2rem; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: var(--t);
}
.btn-secondary:hover { border-color: var(--ember); color: var(--ember-deep); background: var(--brown-pale); }

/* ===== HEADER — GLASS ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,249,244,0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(42,31,22,0.18); background: rgba(251,249,244,0.9); border-bottom-color: var(--border-light); }
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 86px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 70px; width: auto; display: block; object-fit: contain; }
.logo-img-footer { height: 54px; width: auto; display: block; object-fit: contain; }
.main-nav   { display: flex; align-items: center; gap: 2.25rem; }
.main-nav a { font-size: 0.86rem; font-weight: 500; color: var(--text-mid); letter-spacing: 0.01em; }
.main-nav a:hover { color: var(--ember-deep); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.cart-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-dark); color: #F6EFE2;
  padding: 0.6rem 1.25rem; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 0.83rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--t); position: relative;
}
.cart-btn:hover { background: var(--ember); color: #fff; }
.cart-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  background: var(--ember); color: #fff; font-size: 0.62rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -5px; right: -5px; border: 2px solid var(--bg);
}
.cart-count.hidden { display: none; }

.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ===== HERO — LIGHT EDITORIAL ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 86px;
  background: var(--bg-cream);
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 25%, rgba(201,121,28,0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 12% 85%, rgba(154,106,51,0.12) 0%, transparent 52%);
}
.hero-grid-overlay { position: absolute; inset: 0; opacity: 0; }
.hero-content {
  position: relative; z-index: 2;
  padding: 4rem 3rem 4rem 4rem;
  max-width: 620px;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--ember-deep); padding: 0.45rem 1rem; border-radius: var(--r-pill);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-title       { color: var(--text); margin-bottom: 1.25rem; }
.hero-title span  { color: var(--ember-deep); font-style: italic; font-weight: 500; }
.hero-subtitle    { color: var(--text-mid); font-size: 1.08rem; max-width: 46ch; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-actions     { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat       { display: flex; flex-direction: column; }
.stat-num   { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ember-deep); line-height: 1; }
.stat-label { font-size: 0.64rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; }
.stat-divider { width: 1px; height: 30px; background: var(--border); }

.hero-visual {
  position: relative; z-index: 2;
  padding: 4rem 4rem 4rem 2rem;
  display: flex; align-items: center; justify-content: center; flex: 1;
  animation: fadeUp 1.1s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-product-preview {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl); padding: 1.85rem; width: 100%; max-width: 360px;
  box-shadow: var(--shadow-md);
}
.hero-product-preview h4 {
  font-family: var(--font);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1rem;
}
.hero-product-list { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-product-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-cream); border: 1px solid var(--border-light);
  border-radius: var(--r); padding: 0.9rem 1rem;
  border-left: 3px solid var(--ember);
  transition: var(--t);
}
.hero-product-row:hover { transform: translateX(3px); border-left-color: var(--ember-deep); }
.hero-product-row .p-name   { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.hero-product-row .p-sub    { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.12rem; }
.hero-product-row .p-price  { font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--ember-deep); }
.hero-cta-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-light); text-align: center; }
.hero-cta-row small { font-size: 0.72rem; color: var(--text-muted); }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--text-muted); font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; z-index: 2;
}
.scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--brown-light), transparent); animation: scrollPulse 2s ease-in-out infinite; }

/* ===== PRODUCTS — BENTO ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-8px); }
.product-card.featured { border-color: var(--ember); border-width: 2px; }

.product-badge {
  display: inline-flex; align-items: center;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: var(--r-pill);
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
}
.badge-green  { color: #3B6D11; border: 1px solid rgba(59,109,17,0.25); }
.badge-amber  { color: var(--ember-deep); border: 1px solid rgba(201,121,28,0.3); }
.badge-orange { color: var(--brown-hover); border: 1px solid var(--brown-mid); }

.product-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.product-icon-wrap { display: none; }
.product-card h3,
.product-card .product-subtitle,
.product-card .product-desc,
.product-card .product-features,
.product-card .product-price-area,
.product-card .length-selector,
.product-card .product-qty,
.product-card .add-to-cart { margin-left: 1.75rem; margin-right: 1.75rem; }
.product-card h3 { margin-top: 1.5rem; }
.product-card .add-to-cart { margin-bottom: 1.75rem; }

.product-card h3 { font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 0.15rem; }
.product-subtitle { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.product-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.1rem; }
.product-features li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: var(--text-mid); }
.product-features li::before { content: ''; width: 6px; height: 6px; background: var(--ember); border-radius: 50%; flex-shrink: 0; }

.product-price-area {
  margin-bottom: 1rem; padding: 1.15rem 1.2rem;
  background: var(--bg-cream); border-radius: var(--r-lg);
  border: 1px solid var(--border-light); text-align: center;
}
.product-price { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.product-price-unit { font-family: var(--font); font-size: 0.76rem; color: var(--text-muted); display: block; margin-top: 0.3rem; font-weight: 400; }
.product-price-vat { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.3rem; }

/* LENGTH SELECTOR */
.length-selector { margin-bottom: 0.85rem; }
.length-selector > label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.length-options { display: flex; gap: 0.4rem; }
.length-opt     { display: none; }
.length-label { padding: 0.45rem 0.85rem; border: 1.5px solid var(--border); border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 600; color: var(--text-light); cursor: pointer; transition: var(--t); background: var(--paper); }
.length-label:hover { border-color: var(--ember); color: var(--ember-deep); }
.length-opt:checked + .length-label { border-color: var(--ember); background: var(--brown-pale); color: var(--ember-deep); }
.length-note { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 0.4rem; font-style: italic; }

/* PRODUCT QTY */
.product-qty  { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.product-qty label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.qty-controls { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--r-pill); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; background: var(--bg-cream); border: none; cursor: pointer; font-size: 1.05rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; transition: var(--t); }
.qty-btn:hover { background: var(--ember); color: #fff; }
.qty-display { width: 44px; text-align: center; font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--text); }
.add-to-cart { margin-top: auto; }

/* ===== SHIPPING CALC (nepoužito, ponecháno pro jistotu) ===== */
.shipping-calc-box { background: var(--paper); border: 1px solid var(--border-light); border-radius: var(--r-xl); padding: 2.25rem; box-shadow: var(--shadow-sm); }
.calc-form { display: grid; grid-template-columns: 1fr auto; gap: 0.85rem; align-items: end; margin-bottom: 1rem; }
.calc-input-group { display: flex; flex-direction: column; gap: 0.35rem; }
.calc-input-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.calc-input-group input { padding: 0.7rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--r); font-family: var(--font); font-size: 0.88rem; color: var(--text); background: var(--bg-cream); transition: var(--t); outline: none; }
.calc-input-group input:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(201,121,28,0.12); background: var(--paper); }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.why-card {
  padding: 2rem; background: var(--paper);
  border: 1px solid var(--border-light); border-radius: var(--r-xl);
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-num { font-family: var(--display); font-size: 2.8rem; font-weight: 700; color: var(--brown-mid); letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.75rem; }
.why-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.88rem; color: var(--text-light); margin: 0; line-height: 1.65; }

/* ===== ORDER FORM ===== */
.order-layout    { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.order-form-wrap { background: var(--paper); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--border-light); }
.form-section         { padding: 1.6rem 0; border-bottom: 1px solid var(--border-light); }
.form-section:first-child { padding-top: 0; }
.form-section:last-child  { border-bottom: none; padding-bottom: 0; }
.form-section-title { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem; }
.step-num { width: 26px; height: 26px; background: var(--ember); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.78rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--font); font-size: 0.9rem; color: var(--text);
  background: var(--bg-cream); transition: var(--t); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(201,121,28,0.12); background: var(--paper); }
.form-group input.error, .form-group select.error { border-color: #dc2626; background: #fef2f2; }
.req { color: var(--ember-deep); }

/* ORDER CART PREVIEW */
.order-cart-preview { margin-bottom: 0.85rem; }
.cart-empty-note { font-size: 0.86rem; color: var(--text-muted); font-style: italic; }
.order-cart-preview-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.order-cart-preview-item:last-child { border-bottom: none; }
.item-name  { color: var(--text-mid); }
.item-price { font-weight: 700; color: var(--text); }
.order-price-summary { background: var(--bg-cream); border: 1px solid var(--border-light); border-radius: var(--r-lg); padding: 1rem 1.15rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; padding: 0.3rem 0; color: var(--text-light); }
.price-row.total { font-size: 0.95rem; color: var(--text); font-weight: 600; }
.price-row.total strong { color: var(--text); font-family: var(--font); font-weight: 600; }
.price-row.total strong:last-child { font-family: var(--display); font-size: 1.25rem; color: var(--ember-deep); font-weight: 700; }

/* SHIPPING OPTIONS (nepoužito) */
.shipping-options { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.75rem; }
.shipping-option { cursor: pointer; }
.shipping-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.shipping-card { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-lg); background: var(--paper); transition: var(--t); }
.shipping-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: var(--t); }
.shipping-option input:checked + .shipping-card { border-color: var(--ember); background: var(--brown-pale); }
.shipping-option input:checked + .shipping-card .shipping-radio { border-color: var(--ember); background: var(--ember); box-shadow: inset 0 0 0 3px var(--brown-pale); }
.ship-icon { width: 38px; height: 38px; background: var(--bg-cream); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border-light); }
.ship-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ship-body  { flex: 1; }
.ship-body strong { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); }
.ship-body span   { font-size: 0.74rem; color: var(--text-light); }
.ship-price { font-family: var(--display); font-size: 0.86rem; font-weight: 700; color: var(--ember-deep); }

/* TERMÍN VYZVEDNUTÍ */
.pickup-place {
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--brown-pale); border: 1px solid var(--brown-mid);
  border-radius: var(--r-lg); padding: 0.75rem 1rem; margin-bottom: 1rem;
  font-size: 0.86rem; color: var(--text-mid);
}
.pickup-place svg { width: 17px; height: 17px; stroke: var(--ember-deep); fill: none; stroke-width: 2; flex-shrink: 0; }
.pickup-place strong { color: var(--text); font-weight: 700; }
.time-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }
.slot-opt   { display: none; }
.slot-label {
  padding: 0.95rem 0.4rem; border: 2px solid var(--border); border-radius: 12px;
  font-size: 0.95rem; font-weight: 700; color: var(--text-mid);
  cursor: pointer; transition: var(--t); background: var(--paper); text-align: center;
}
.slot-label:hover { border-color: var(--ember); background: var(--brown-pale); color: var(--ember-deep); }
.slot-label:active { transform: scale(0.95); }
.slot-opt:checked + .slot-label { border-color: var(--ember); background: var(--brown-pale); color: var(--ember-deep); box-shadow: 0 0 0 3px rgba(201,121,28,0.12); }
.time-slots.error .slot-label { border-color: #dc2626; }
.pickup-note { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.7rem; font-style: italic; }

/* PLATBA NA MÍSTĚ */
.payment-onsite { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; border: 1.5px solid var(--brown-mid); border-radius: var(--r-lg); background: var(--brown-pale); }
.payment-onsite .pay-icon { width: 40px; height: 40px; background: var(--paper); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border-light); }
.payment-onsite .pay-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.payment-onsite .pay-body strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.payment-onsite .pay-body span { font-size: 0.78rem; color: var(--text-light); }

/* ZÁVAZNÁ OBJEDNÁVKA */
.binding-notice { display: flex; gap: 0.65rem; align-items: flex-start; background: var(--brown-pale); border: 1px solid var(--brown-mid); border-radius: var(--r-lg); padding: 0.9rem 1.05rem; margin-bottom: 1rem; font-size: 0.86rem; color: var(--text-mid); line-height: 1.55; }
.binding-notice svg { width: 19px; height: 19px; stroke: var(--ember-deep); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 0.1rem; }
.binding-notice strong { color: var(--ember-deep); font-weight: 700; }

.price-vat-note { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.5rem; }

/* CHECKBOX */
.checkbox-label { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.84rem; color: var(--text-mid); cursor: pointer; margin-bottom: 0.6rem; line-height: 1.5; }
.checkbox-label input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.15rem; accent-color: var(--ember); }
.link { color: var(--ember-deep); text-decoration: underline; text-underline-offset: 2px; }

/* FORM SUBMIT */
.form-submit { padding-top: 1.5rem; }
.submit-note { margin-top: 0.85rem; font-size: 0.76rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* SUCCESS */
.order-success { text-align: center; padding: 3.5rem 2rem; }
.success-icon { width: 60px; height: 60px; background: #2F9E44; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 0 0 10px rgba(47,158,68,0.12); }
.success-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.order-success h3 { font-size: 1.8rem; margin-bottom: 0.7rem; }
.order-success p  { color: var(--text-mid); margin: 0 auto; }

/* SIDEBAR */
.order-sidebar { display: flex; flex-direction: column; gap: 0.85rem; position: sticky; top: 100px; }
.sidebar-box { background: var(--paper); border: 1px solid var(--border-light); border-radius: var(--r-lg); padding: 1.25rem 1.4rem; }
.sidebar-box h4 { font-family: var(--font); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-box h4 svg { width: 13px; height: 13px; stroke: var(--ember); fill: none; stroke-width: 2; stroke-linecap: round; }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-list li { font-size: 0.84rem; color: var(--text-mid); padding-left: 0.95rem; position: relative; }
.sidebar-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; background: var(--ember); border-radius: 50%; }

.order-cart-items  { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.7rem; }
.order-cart-item   { display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.83rem; color: var(--text-mid); }
.order-cart-item span:last-child { font-weight: 700; color: var(--text); }
.order-empty-note  { font-size: 0.8rem; color: var(--text-muted); text-align: center; padding: 0.6rem 0; }
.order-total-box { background: var(--bg-dark); border: none; border-radius: var(--r-lg); padding: 0.95rem 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.order-total-box strong { font-size: 0.76rem; color: rgba(246,239,226,0.7); font-weight: 500; }
.total-price { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--gold); }

.trust-box { background: var(--bg-cream); }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; color: var(--text-mid); padding: 0.22rem 0; }
.trust-item svg { width: 14px; height: 14px; stroke: #2F9E44; fill: none; stroke-width: 2.5; flex-shrink: 0; }

.contact-link-small { display: block; font-size: 0.88rem; color: var(--ember-deep); font-weight: 600; margin-top: 0.35rem; }
.contact-link-small:hover { color: var(--ember); }

/* ===== CART DRAWER ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(42,31,22,0.4); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(4px); }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: -460px; bottom: 0; width: 420px; background: var(--bg); z-index: 201; transition: right 0.4s cubic-bezier(0.16,1,0.3,1); display: flex; flex-direction: column; box-shadow: -8px 0 50px -12px rgba(42,31,22,0.25); }
.cart-drawer.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.7rem; border-bottom: 1px solid var(--border-light); }
.cart-header h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.cart-close { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-cream); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--t); }
.cart-close:hover { background: var(--border); }
.cart-close svg { width: 15px; height: 15px; stroke: var(--text-mid); fill: none; stroke-width: 2; stroke-linecap: round; }
.cart-items-list { flex: 1; overflow-y: auto; padding: 1.2rem 1.7rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.cart-empty svg { width: 44px; height: 44px; stroke: var(--border); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.cart-empty p   { font-size: 0.88rem; margin: 0 auto; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--border-light); align-items: start; }
.cart-item:last-child { border-bottom: none; }
.cart-item-name   { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.cart-item-detail { font-size: 0.74rem; color: var(--text-muted); margin-top: 0.12rem; }
.cart-item-price  { font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--ember-deep); text-align: right; }
.cart-item-actions { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.cart-qty-btn { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-cream); border: 1px solid var(--border); cursor: pointer; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; transition: var(--t); }
.cart-qty-btn:hover { background: var(--ember); color: #fff; border-color: var(--ember); }
.cart-qty-num { font-size: 0.85rem; font-weight: 700; color: var(--text); min-width: 22px; text-align: center; }
.cart-item-remove { margin-left: 0.45rem; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 0.72rem; }
.cart-item-remove:hover { color: #dc2626; }
.cart-footer { padding: 1.2rem 1.7rem; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 0.6rem; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; color: var(--text-light); }
.cart-total-row.final { font-size: 0.95rem; color: var(--text); font-weight: 600; padding-top: 0.6rem; border-top: 1px solid var(--border); }
.cart-total-row.final span:last-child { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ember-deep); }
.cart-shipping-note { font-size: 0.74rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { border: none; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; background: transparent; border: none; cursor: pointer; font-family: var(--display); font-size: 1.1rem; font-weight: 500; color: var(--text); text-align: left; gap: 1rem; transition: var(--t); }
.faq-q:hover { color: var(--ember-deep); }
.faq-toggle { width: 28px; height: 28px; background: var(--bg-cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--t); }
.faq-toggle svg { width: 13px; height: 13px; stroke: var(--text-muted); fill: none; stroke-width: 2.5; transition: var(--t); }
.faq-q.open .faq-toggle { background: var(--ember); }
.faq-q.open .faq-toggle svg { stroke: #fff; transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 1.4rem; font-size: 0.92rem; color: var(--text-mid); line-height: 1.75; max-width: 68ch; }
.faq-a.open { display: block; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-icon { width: 42px; height: 42px; background: var(--brown-pale); border: 1px solid var(--brown-mid); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 17px; height: 17px; stroke: var(--ember-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item strong { display: block; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.2rem; }
.contact-item span, .contact-item a { font-size: 0.94rem; color: var(--text-mid); }
.contact-item a:hover { color: var(--ember-deep); }
.map-placeholder { background: var(--bg-cream); border: 2px dashed var(--border); border-radius: var(--r-xl); height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.86rem; text-align: center; }
.map-placeholder span { font-size: 2.4rem; }
.map-placeholder p { margin: 0 auto; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); color: rgba(246,239,226,0.6); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo .logo { margin-bottom: 0.5rem; }
.footer-logo p { font-size: 0.84rem; color: rgba(246,239,226,0.4); margin-top: 0.75rem; max-width: 28ch; line-height: 1.65; }
.footer-col h4 { font-family: var(--font); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,239,226,0.3); margin-bottom: 1rem; }
.footer-col a  { display: block; font-size: 0.86rem; color: rgba(246,239,226,0.55); margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p  { font-size: 0.78rem; color: rgba(246,239,226,0.35); margin-top: 0.5rem; line-height: 1.65; }
.footer-bottom { border-top: 1px solid rgba(246,239,226,0.08); padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: rgba(246,239,226,0.3); }
.footer-bottom a { color: rgba(246,239,226,0.45); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar {
  background: var(--bg-dark); color: rgba(246,239,226,0.85);
  font-size: 0.76rem; letter-spacing: 0.02em; overflow: hidden; white-space: nowrap;
}
.announce-track {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  padding: 0.5rem 1rem; flex-wrap: wrap;
}
.announce-track span:nth-child(even) { color: var(--ember); }

/* ===== HERO (nová šablona — foto + světlý závoj) ===== */
.hero { min-height: 92vh; display: flex; align-items: center; padding-top: 86px; background: var(--bg-cream); position: relative; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('buk.jpg');
  background-size: cover; background-position: center; transform: scale(1.05);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg-cream) 0%, rgba(245,239,227,0.92) 38%, rgba(245,239,227,0.45) 70%, rgba(245,239,227,0.15) 100%),
    linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1140px; width: 100%; margin: 0 auto; padding: 0 2rem;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-inner .hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(8px);
  border: 1px solid var(--border); color: var(--ember-deep);
  padding: 0.45rem 1rem; border-radius: var(--r-pill);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.75rem;
}
.hero-inner .hero-title { color: var(--text); margin-bottom: 1.25rem; max-width: 16ch; }
.hero-inner .hero-title span { color: var(--ember-deep); font-style: italic; font-weight: 500; }
.hero-inner .hero-subtitle { color: var(--text-mid); font-size: 1.1rem; max-width: 50ch; margin-bottom: 2.5rem; line-height: 1.75; }
.hero-inner .hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; margin-bottom: 3rem; }
.hero-meta { display: flex; align-items: center; gap: 2rem; }
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-item strong { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1; }
.hero-meta-item span { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; }
.hero-meta-divider { width: 1px; height: 34px; background: var(--border); }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--bg); border-bottom: 1px solid var(--border-light); padding: 1.75rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-cell { display: flex; align-items: center; gap: 0.85rem; }
.trust-cell svg { width: 26px; height: 26px; stroke: var(--ember); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.trust-cell strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.trust-cell span { font-size: 0.78rem; color: var(--text-light); }

/* ===== JAK TO FUNGUJE ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step-card {
  background: var(--paper); border: 1px solid var(--border-light); border-radius: var(--r-xl);
  padding: 2rem 1.6rem; text-align: center;
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-ico {
  position: relative; width: 64px; height: 64px; margin: 0 auto 1.25rem;
  border-radius: 50%; background: var(--bg-cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.step-ico svg { width: 26px; height: 26px; stroke: var(--ember-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-no {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ember); color: #fff; font-family: var(--display); font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -3px rgba(201,121,28,0.5);
}
.step-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: var(--text-light); margin: 0 auto; line-height: 1.6; }

/* ===== WHY US — SPLIT LAYOUT ===== */
.why-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.why-intro .section-tag { margin-bottom: 1rem; }
.why-intro h2 { margin-bottom: 1rem; }
.why-intro p { color: var(--text-mid); margin-bottom: 1.75rem; line-height: 1.75; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.5; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid   { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .why-grid        { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .order-layout    { grid-template-columns: 1fr; }
  .order-sidebar   { position: static; }
  .contact-grid    { grid-template-columns: 1fr; }
  .why-layout      { grid-template-columns: 1fr; gap: 2.25rem; }
  .why-intro       { text-align: left; }
}
@media (max-width: 768px) {
  .section           { padding: 4.5rem 0; }
  .hero              { min-height: 80vh; }
  .hero-photo        { background-position: 70% center; }
  .trust-grid        { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .process-grid      { grid-template-columns: 1fr 1fr; }
  .hero-meta         { gap: 1.25rem; }
  .announce-track    { font-size: 0.68rem; gap: 0.6rem; }
  .main-nav          { display: none; }
  .hamburger         { display: flex; }
  .products-grid     { grid-template-columns: 1fr; }
  .product-img       { height: 230px; }
  .cart-drawer       { width: 100%; right: -100%; }
  .footer-grid       { grid-template-columns: 1fr; }
  .footer-bottom     { flex-direction: column; gap: 0.5rem; text-align: center; }
  .why-grid          { grid-template-columns: 1fr; }
  .header-inner      { padding: 0 1rem; height: 72px; }
  .logo-img          { height: 52px; }
  .hero              { padding-top: 72px; }
  .order-form-wrap   { padding: 1.6rem 1.3rem; }
  .form-grid         { grid-template-columns: 1fr; }
  .section-header    { margin-bottom: 2.25rem; }
}
@media (max-width: 480px) {
  .container        { padding: 0 1.1rem; }
  .section          { padding: 3.5rem 0; }
  .order-form-wrap  { padding: 1.3rem 1.1rem; }
  .hero-content     { padding: 2rem 1.1rem; }
  .hero-actions     { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { text-align: center; justify-content: center; }
  .product-card h3,
  .product-card .product-subtitle,
  .product-card .product-desc,
  .product-card .product-features,
  .product-card .product-price-area,
  .product-card .length-selector,
  .product-card .product-qty,
  .product-card .add-to-cart { margin-left: 1.2rem; margin-right: 1.2rem; }
  .sidebar-box      { padding: 1rem 1.15rem; }
  .checkbox-label   { font-size: 0.78rem; }
  .time-slots       { grid-template-columns: repeat(3, 1fr); }
  .trust-grid       { grid-template-columns: 1fr; }
  .process-grid     { grid-template-columns: 1fr; }
  .hero-meta        { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .hero-meta-divider{ display: none; }
  .hero-inner .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-inner .hero-actions .btn-primary,
  .hero-inner .hero-actions .btn-outline { justify-content: center; }
}
