/* AB Květinářství — self-hosted fonts (no external CDN) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-Italic-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Jost-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Jost-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Jost-600.ttf') format('truetype');
}

:root {
  --ink: oklch(0.24 0.015 75);
  --bg: oklch(0.97 0.012 75);
  --bg-card: oklch(0.995 0.005 75);
  --border: oklch(0.89 0.015 75);
  --muted: oklch(0.52 0.02 75);
  --muted2: oklch(0.35 0.02 75);
  --muted3: oklch(0.45 0.02 75);
  --green: oklch(0.42 0.075 150);
  --green-hover: oklch(0.35 0.08 150);
  --green-light: oklch(0.93 0.03 150);
  --green-light-text: oklch(0.3 0.08 150);
  --green-text: oklch(0.3 0.06 150);
  --terracotta: oklch(0.68 0.09 25);
  --terracotta-bg: oklch(0.94 0.03 25);
  --terracotta-text: oklch(0.5 0.08 25);
  --footer-bg: oklch(0.24 0.015 75);
  --footer-text: oklch(0.7 0.01 75);
  --footer-text-dim: oklch(0.6 0.01 75);
  --footer-line: oklch(0.35 0.01 75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', 'Segoe UI', Tahoma, sans-serif;
  min-height: 100vh;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-hover); text-decoration: underline; }
h1, h2, h3, .serif { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight: 600; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.top-banner {
  background: var(--green);
  color: oklch(0.98 0.01 150);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--ink); }
.nav a.active { font-weight: 500; }
.nav a:hover { text-decoration: underline; }

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-light-text);
  padding: 9px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
}
.cart-link:hover { text-decoration: none; opacity: 0.9; }
.cart-badge {
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.btn {
  display: inline-block;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-hover); color: white; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green-light); color: var(--green); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.section { padding: 72px 48px; }
.section-title { font-size: 34px; text-align: center; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 40px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}
.hero-copy { padding: 80px 48px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.hero-eyebrow { color: var(--terracotta); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.hero h1 { font-size: 56px; line-height: 1.08; margin: 0; }
.hero p { font-size: 17px; color: var(--muted); max-width: 460px; line-height: 1.6; }
.hero-media { background-size: cover; background-position: center; min-height: 320px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

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

.usp-bar {
  padding: 24px 48px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.usp-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.usp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1280px; margin: 0 auto; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.cat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: block; }
.cat-card-img { height: 180px; background-size: cover; background-position: center; }
.cat-card-body { padding: 20px; }
.cat-card-body h3 { font-size: 22px; margin: 0 0 6px; }
.cat-card-body p { color: var(--muted); font-size: 14px; margin: 0; }

.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.product-img { height: 170px; background-size: cover; background-position: center; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 19px; margin: 0; }
.product-body p { color: var(--muted); font-size: 13px; margin: 0; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--terracotta); font-weight: 600; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-price { font-weight: 600; font-size: 16px; }
.add-btn { background: var(--green); color: white; border: none; padding: 8px 16px; border-radius: 2px; font-size: 13px; font-weight: 500; cursor: pointer; }
.add-btn:hover { background: var(--green-hover); }

.katalog-product .product-img { height: 150px; }
.katalog-product .product-body h3 { font-size: 18px; }
.katalog-product .product-body p { font-size: 12.5px; line-height: 1.5; }
.katalog-product .product-price { font-size: 15px; }
.katalog-product .add-btn { padding: 7px 14px; font-size: 12.5px; }

.testimonials { background: var(--terracotta-bg); padding: 56px 48px; }
.testimonial-card { background: var(--bg-card); padding: 24px; border-radius: 4px; }
.testimonial-card p { font-size: 14px; line-height: 1.6; margin: 0 0 12px; color: oklch(0.3 0.02 75); }
.testimonial-card span { font-size: 13px; color: var(--muted); font-weight: 500; }

.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 48px 24px; }
.site-footer.simple { padding: 28px 48px; text-align: center; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: white; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: var(--footer-text-dim); max-width: 280px; }
.footer-heading { color: white; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-links a { color: var(--footer-text-dim); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--footer-text-dim); }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; border-top: 1px solid var(--footer-line); padding-top: 20px; font-size: 12px; color: var(--footer-text-dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: oklch(0.99 0.005 75); border-top: 1px solid var(--border);
  padding: 16px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; box-shadow: 0 -4px 16px oklch(0.24 0.015 75 / 0.08);
  font-size: 13px; z-index: 50;
}
.cookie-banner span { color: oklch(0.4 0.02 75); max-width: 640px; }
.cookie-banner button { background: var(--green); color: white; border: none; padding: 10px 22px; border-radius: 2px; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }

.toast { position: fixed; bottom: 24px; right: 24px; background: var(--ink); color: white; padding: 14px 22px; border-radius: 2px; font-size: 14px; z-index: 60; }

.tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tab { border: 1px solid var(--green); border-radius: 20px; padding: 9px 20px; font-size: 13.5px; font-weight: 500; cursor: pointer; background: transparent; color: var(--green); }
.tab.active { background: var(--green); color: white; }

.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 26px; }

.form-field {
  padding: 11px 12px; border: 1px solid var(--border); border-radius: 2px; font-size: 13.5px;
  font-family: 'Jost', sans-serif; width: 100%;
}
.form-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); }
.form-check input { margin-top: 2px; }

.qty-btn { width: 28px; height: 28px; border: 1px solid var(--border); background: white; border-radius: 2px; cursor: pointer; font-size: 14px; }

.photo-ph {
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: white; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.page-hero { padding: 64px 48px 24px; text-align: center; }
.page-hero h1 { font-size: 40px; margin: 0 0 12px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.narrow { max-width: 1000px; margin: 0 auto; padding: 24px 48px 80px; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }
.price-card h3 { font-size: 20px; margin: 0 0 10px; }
.price-card .price { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.price-card p.note { font-size: 13px; color: var(--muted); margin: 0; }

.callout { background: var(--green-light); border-radius: 4px; padding: 24px 28px; margin-bottom: 56px; text-align: center; }
.callout p { margin: 0; font-size: 15px; color: var(--green-text); font-weight: 500; }

.steps-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 56px; }
@media (max-width: 700px) { .steps-2col { grid-template-columns: 1fr; } }
.step-row { display: flex; gap: 14px; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--green); flex-shrink: 0; }
.step-row p { font-size: 14px; color: var(--muted2); margin: 0; line-height: 1.6; }

.plain-list { font-size: 14.5px; color: var(--muted2); line-height: 2; padding-left: 20px; margin: 0 0 56px; }

.contact-grid { padding: 0 48px 80px; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; padding: 0 24px 60px; } }
.info-stack { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.info-label { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--terracotta); margin: 0 0 6px; }
.info-stack p { font-size: 15.5px; margin: 0; line-height: 1.6; }
.map-photo { height: 220px; border-radius: 4px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.map-photo span { position: absolute; bottom: 10px; left: 10px; background: oklch(0.98 0.005 75 / 0.85); font-size: 12px; padding: 6px 12px; border-radius: 2px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 760px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-item { text-align: center; }
.value-dot { width: 10px; height: 10px; background: var(--green); border-radius: 2px; margin: 0 auto 14px; transform: rotate(45deg); }
.value-item h3 { font-size: 15px; margin: 0 0 8px; font-family: 'Jost', sans-serif; font-weight: 600; }
.value-item p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.legal-nav .dot { color: oklch(0.8 0.01 75); }
.legal-body { padding: 0 48px 96px; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; font-size: 14.5px; color: var(--muted2); line-height: 1.75; }
.legal-body h2 { font-size: 26px; color: var(--ink); margin: 0 0 16px; scroll-margin-top: 90px; }
.legal-body p { margin: 0 0 12px; }

.package-card { border: 1px solid var(--border); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.package-card.featured { border: 2px solid var(--green); }
.package-badge { position: absolute; top: -12px; right: 20px; background: var(--terracotta); color: white; font-size: 11px; padding: 4px 10px; border-radius: 20px; }
.package-card h3 { font-size: 22px; margin: 0; }
.package-price { font-size: 24px; font-weight: 600; margin: 0; }
.package-card ul { font-size: 13.5px; color: var(--muted3); line-height: 1.9; padding-left: 18px; margin: 0; }
.package-card .btn { margin-top: auto; }

.numbered-step { text-align: center; }
.numbered-step .num-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 19px; margin: 0 auto 14px; }
.numbered-step h3 { font-size: 15.5px; margin: 0 0 6px; font-family: 'Jost', sans-serif; font-weight: 600; }
.numbered-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.order-summary .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.order-summary .row.total { font-size: 17px; font-weight: 600; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px; }
.order-summary .hint { font-size: 11.5px; color: var(--muted); margin: 8px 0 20px; }
.checkout-fields { display: flex; flex-direction: column; gap: 10px; }
.checkout-fields h4 { font-size: 14px; margin: 0 0 4px; }

.empty-cart { text-align: center; padding: 80px 0; color: var(--muted); }
.empty-cart p { font-size: 16px; margin: 0 0 16px; }
.order-done { text-align: center; padding: 12px 0; }
.order-done .emoji { font-size: 32px; margin-bottom: 8px; }
.order-done h3 { font-size: 20px; margin: 0 0 8px; }
.order-done p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
