/* Pizza Kut — hlavný štýl webu (bez externých CDN, systémové fonty) */

:root {
  --bg: oklch(0.97 0.014 55);
  --text: oklch(0.24 0.02 40);
  --text-light: oklch(0.45 0.03 40);
  --text-lighter: oklch(0.55 0.02 40);
  --border: oklch(0.88 0.02 50);
  --surface: oklch(0.99 0.004 60);
  --surface-alt: oklch(0.945 0.02 50);
  --primary: oklch(0.52 0.19 29);
  --primary-dark: oklch(0.44 0.18 29);
  --dark: oklch(0.22 0.03 40);
  --accent: oklch(0.78 0.14 75);
  --accent-text: oklch(0.4 0.1 60);
  --accent-bg: oklch(0.94 0.06 75);
  --green: oklch(0.45 0.09 132);
  --font-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --font-sans: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-serif); margin: 0; }

input, textarea, select, button { font-family: var(--font-sans); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.page-fade { animation: pk-fade .4s ease; }
@keyframes pk-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Top bar */
.topbar {
  background: var(--dark);
  color: oklch(0.94 0.02 50);
  font-size: 13px;
  padding: 7px 24px;
  text-align: center;
}
.topbar a { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 19px; flex: 0 0 auto;
}
.brand-name { font-family: var(--font-serif); font-size: 22px; line-height: 1; }
.brand-sub { font-size: 11px; letter-spacing: .06em; color: var(--text-light); }

.main-nav { display: flex; gap: 22px; margin-left: 24px; flex: 1; }
.main-nav a { color: var(--text); font-weight: 600; }
.main-nav a[aria-current="page"] { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.btn-cta {
  display: inline-block;
  background: var(--primary); color: #fff; border: none; padding: 10px 18px;
  border-radius: 24px; font-weight: 700; cursor: pointer; font-size: 14px;
}
.btn-cta:hover { color: #fff; text-decoration: none; background: var(--primary-dark); }
.cart-btn {
  position: relative; background: var(--surface-alt); border: 1px solid var(--border);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 18px;
}
.cart-badge {
  position: absolute; top: -6px; right: -6px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800; border-radius: 50%; width: 20px; height: 20px;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.show { display: flex; }
.burger {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 42px; height: 42px; font-size: 18px; cursor: pointer;
}
.mobile-nav {
  display: none; border-top: 1px solid var(--border); padding: 14px 24px;
  flex-direction: column; gap: 14px; background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-weight: 600; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .btn-cta { display: none; }
  .burger { display: block; }
}

/* Buttons */
.btn { display: inline-block; border: none; cursor: pointer; font-weight: 700; border-radius: 26px; font-size: 16px; padding: 14px 26px; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); text-decoration: none; }
.btn-dark { background: var(--dark); color: #fff; border: none; border-radius: 20px; font-weight: 700; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--dark); border: none; font-weight: 800; border-radius: 22px; cursor: pointer; }
.btn-sm { font-size: 13px; padding: 8px 14px; border-radius: 20px; }

/* Hero */
.hero {
  padding: clamp(32px, 6vw, 72px) 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; background: var(--accent-bg); color: var(--accent-text);
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 20px; }
.hero p { font-size: 18px; line-height: 1.6; color: var(--text-light); max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { border-radius: 20px; overflow: hidden; aspect-ratio: 5/4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

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

/* Stats strip */
.stats {
  background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid {
  padding: 36px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center;
}
.stat-num { font-family: var(--font-serif); font-size: 26px; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-light); }

/* Section headers */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.section-title-center { font-size: clamp(26px, 3vw, 34px); margin: 0 0 28px; text-align: center; }
.section-lead { color: var(--text-light); max-width: 640px; margin: 0; }

/* Grids */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-cards-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid-3steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.grid-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* Dish card */
.dish-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.dish-media { aspect-ratio: 4/3; overflow: hidden; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-name { font-weight: 700; font-size: 16px; }
.dish-desc { font-size: 13px; color: var(--text-light); flex: 1; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.price { font-weight: 800; color: var(--primary); }

/* Small list row (drinks) */
.row-card {
  display: flex; justify-content: space-between; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
}
.row-card .name { font-weight: 700; font-size: 14px; }
.row-card .desc { font-size: 12px; color: var(--text-light); }
.row-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* Steps */
.step { text-align: center; padding: 20px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin: 0 auto 12px;
}
.step-title { font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--text-light); }

/* Dark promo band */
.promo-band { background: var(--dark); color: oklch(0.96 0.01 50); }
.promo-grid { padding: clamp(36px, 5vw, 64px) 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: center; }
.promo-grid .kicker { font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.promo-grid h3 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 12px; }
.promo-grid p { color: oklch(0.85 0.01 50); margin: 0 0 18px; max-width: 460px; }
.promo-media { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .promo-grid { grid-template-columns: 1fr; } }

/* Guide teaser card */
.guide-teaser { cursor: pointer; background: var(--surface-alt); border-radius: 16px; padding: 20px; }
.guide-teaser .t { font-weight: 700; margin-bottom: 8px; }
.guide-teaser .e { font-size: 14px; color: var(--text-light); }

/* Testimonial */
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.stars { color: var(--accent); font-size: 16px; margin-bottom: 10px; }
.testimonial p { font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.testimonial .who { font-weight: 700; font-size: 13px; }

/* Newsletter */
.newsletter-band { background: var(--accent-bg); }
.newsletter-inner { max-width: 800px; margin: 0 auto; padding: clamp(36px,5vw,56px) 24px; text-align: center; }
.newsletter-inner h3 { font-size: 26px; margin: 0 0 10px; }
.newsletter-inner p { color: var(--accent-text); margin: 0 0 20px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input { padding: 12px 16px; border-radius: 22px; border: 1px solid oklch(0.7 0.08 65); min-width: 220px; font-size: 14px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-card h3 { font-size: 20px; }
.field { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 14px; width: 100%; }
textarea.field { resize: vertical; }
.form-note { font-size: 12px; color: var(--text-lighter); }
.form-success { background: oklch(0.94 0.06 140); border: 1px solid oklch(0.8 0.08 140); color: oklch(0.32 0.08 140); padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.form-error { background: oklch(0.94 0.06 25); border: 1px solid oklch(0.8 0.1 25); color: oklch(0.4 0.15 25); padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }

label.field-label { font-size: 13px; font-weight: 700; color: var(--text-light); display: block; margin-bottom: 4px; }

/* Menu tabs */
.tabs-bar {
  padding: 24px 0 0; display: flex; gap: 10px; flex-wrap: wrap; position: sticky; top: 64px; background: var(--bg); z-index: 5;
}
.tab-btn {
  background: var(--surface-alt); color: var(--text); border: none; padding: 11px 18px;
  border-radius: 20px; font-weight: 600; font-size: 13px; cursor: pointer;
}
.tab-btn.active { background: var(--primary); color: #fff; font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Builder */
.builder-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 32px; }
@media (max-width: 860px) { .builder-layout { grid-template-columns: 1fr; } }
.builder-step-title { font-weight: 800; margin-bottom: 10px; }
.builder-step { margin-bottom: 22px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: #fff; color: var(--text); border: 1.5px solid var(--border); padding: 9px 15px;
  border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.chip.selected { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
.builder-summary {
  background: var(--surface-alt); border-radius: 16px; padding: 24px; align-self: start; position: sticky; top: 150px;
}
.builder-summary h4 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 14px; font-weight: 400; }
.builder-summary-text { font-size: 13px; color: var(--text-light); margin-bottom: 16px; min-height: 20px; }
.builder-price-row {
  display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border);
  padding-top: 14px; margin-bottom: 16px;
}
.builder-price-row .label { font-weight: 700; }
.builder-price-row .val { font-weight: 800; font-size: 20px; color: var(--primary); }
.builder-add-btn { width: 100%; background: var(--primary); color: #fff; border: none; padding: 13px; border-radius: 22px; font-weight: 800; cursor: pointer; font-size: 15px; }
.builder-media { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 20px; }
.builder-media img { width: 100%; height: 100%; object-fit: cover; }

/* Combos */
.combo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.combo-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.combo-name { font-family: var(--font-serif); font-size: 21px; }
.combo-save { background: var(--accent-bg); color: var(--accent-text); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 14px; white-space: nowrap; }
.combo-desc { font-size: 14px; color: var(--text-light); }
.combo-items { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-items span { background: var(--surface-alt); border-radius: 10px; padding: 5px 10px; font-size: 12px; }
.combo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.old-price { text-decoration: line-through; color: var(--text-lighter); font-size: 13px; margin-right: 8px; }

/* Seasonal */
.seasonal-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.seasonal-period { font-size: 11px; font-weight: 800; color: var(--green); }

/* Guide accordion */
.guide-list { display: flex; flex-direction: column; gap: 14px; max-width: 800px; margin: 0 auto; }
.guide-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.guide-q { padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: none; width: 100%; text-align: left; font: inherit; color: inherit; }
.guide-q .title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.guide-q .excerpt { font-size: 13px; color: var(--text-light); }
.guide-q .icon { font-size: 20px; flex: 0 0 auto; color: var(--primary); }
.guide-body { padding: 0 20px 20px; font-size: 14px; line-height: 1.7; color: oklch(0.35 0.02 40); border-top: 1px solid var(--surface-alt); display: none; }
.guide-item.open .guide-body { display: block; padding-top: 14px; }

.glossary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.glossary-item { background: var(--surface-alt); border-radius: 12px; padding: 14px 16px; }
.glossary-item .term { font-weight: 800; font-size: 13px; }
.glossary-item .def { font-size: 13px; color: var(--text-light); }

/* Feature boxes (about) */
.feature-box { background: var(--surface-alt); border-radius: 14px; padding: 20px; }
.feature-box .t { font-weight: 800; margin-bottom: 6px; }
.feature-box .d { font-size: 13px; color: var(--text-light); }
.branch-box { border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.branch-box .t { font-weight: 800; margin-bottom: 6px; }
.branch-box .d { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item .label { font-weight: 800; font-size: 13px; color: var(--text-light); }
.contact-info-item .value { font-size: 16px; font-weight: 700; }
.contact-map { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; margin-top: 20px; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }

/* Cart */
.cart-item {
  display: flex; justify-content: space-between; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; gap: 12px; flex-wrap: wrap;
}
.cart-item .info { flex: 1; min-width: 140px; }
.cart-item .name { font-weight: 700; font-size: 15px; }
.cart-item .unit { font-size: 13px; color: var(--text-light); }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.subtotal { font-weight: 800; min-width: 64px; text-align: right; color: var(--primary); }
.remove-btn { background: none; border: none; color: var(--text-lighter); cursor: pointer; font-size: 18px; }
.cart-summary { border-top: 1px solid var(--border); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.cart-summary .line { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-light); }
.cart-summary .total { display: flex; justify-content: space-between; font-weight: 800; font-size: 20px; margin-top: 6px; }
.cart-empty, .order-done { text-align: center; padding: 60px 20px; }
.cart-empty .icon, .order-done .icon { font-size: 40px; margin-bottom: 12px; }
.order-done .icon { font-size: 48px; }

/* Legal */
.legal-page { max-width: 760px; margin: 0 auto; padding: 48px 24px 90px; }
.legal-page h1 { font-size: 30px; margin: 0 0 20px; }
.legal-page h3 { font-size: 19px; margin: 26px 0 8px; }
.legal-page p { font-size: 14px; line-height: 1.7; color: oklch(0.35 0.02 40); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: oklch(0.94 0.02 50);
  padding: 16px 24px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; align-items: center; z-index: 60;
}
.cookie-banner p { font-size: 13px; max-width: 560px; margin: 0; }
.cookie-banner a { color: var(--accent); }

/* Toast */
.toast {
  position: fixed; bottom: 90px; right: 24px; background: var(--dark); color: #fff; padding: 12px 18px;
  border-radius: 12px; font-size: 13px; font-weight: 600; z-index: 70; display: none;
}
.toast.show { display: block; }

/* Footer */
.site-footer { background: var(--dark); color: oklch(0.85 0.01 50); }
.footer-grid { padding: 56px 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 15px; }
.footer-title { font-family: var(--font-serif); font-size: 19px; color: #fff; }
.footer-about { font-size: 13px; line-height: 1.6; }
.social-row { display: flex; gap: 8px; margin-top: 14px; }
.social-row a { width: 32px; height: 32px; border-radius: 50%; background: oklch(0.3 0.02 40); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.footer-heading { font-weight: 800; color: #fff; margin-bottom: 12px; font-size: 13px; letter-spacing: .04em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-links a { color: oklch(0.85 0.01 50); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid oklch(0.3 0.02 40); padding: 18px 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: 12px; color: oklch(0.65 0.01 50); max-width: var(--max); margin: 0 auto;
}

/* Visually hidden */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
