:root {
  --bg: #e7eef2;
  --surface: #f7fafc;
  --ink: #142028;
  --accent: #0b4f6c;
  --accent-ink: #f3f8fb;
  --field: #0b4f6c;
  --field-ink: #f3f8fb;
  --margin: clamp(1rem, 3vw, 2rem);
  --display: "Literata", Georgia, serif;
  --sans: "Figtree", "Avenir Next", sans-serif;
  --display-weight: 500;
  --track: -0.03em;
  --btn-radius: 0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--track);
  line-height: 0.92;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3vw, 3.1rem); }
h3 { font-size: 1.45rem; line-height: 1.15; }
p { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: transparent; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute;
  left: var(--margin);
  top: -4rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.55rem 0.8rem;
  z-index: 90;
}
.skip:focus { top: 0.6rem; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.disclaimer {
  margin: 0;
  padding: 0.75rem var(--margin);
  background: var(--surface);
  font-size: 0.98rem;
}
.disclaimer a { text-decoration: underline; text-underline-offset: 0.18em; }

.cookie-modal { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; }
.cookie-modal[hidden] { display: none; }
.cookie-window {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--field);
  color: var(--field-ink);
  padding: 1.1rem var(--margin);
}
.cookie-window p { margin: 0; max-width: 68ch; }
.cookie-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cookie-window .btn { background: var(--field-ink); color: var(--field); }
.cookie-window .btn-ghost { color: var(--field-ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
}
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem var(--margin);
}
.header-tools { display: flex; align-items: center; gap: 0.9rem; }
.logo {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 1.55rem;
  letter-spacing: var(--track);
  text-decoration: none;
  line-height: 0.95;
}
.burger { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.nav-panel {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.2rem var(--margin) 1rem;
}
.nav-toggle:checked ~ .nav-panel { display: flex; }
.nav-panel a { text-decoration: none; }
.nav-panel a[aria-current="page"] { color: var(--accent); }

.btn, .pokladna-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.05rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
}
.header-tools .cart-link {
  background: transparent;
  color: inherit;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
}
.btn-ghost {
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  min-height: 44px;
  padding: 0.3rem 0;
}
.cart-link span { margin-left: 0.3rem; }

main { display: flex; flex-direction: column; }
.section { padding: 4.5rem 0; }
.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-inline: var(--margin); }

.hero-photo { width: 100%; height: 70svh; object-fit: cover; }
.hero-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem var(--margin) 0.4rem;
  background: var(--bg);
}
.hero-title { display: block; }
.hero-title span { display: block; }
.hero-facts { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.hero-card .support { max-width: 36ch; margin: 0; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.quiet-link { text-underline-offset: 0.18em; }

.band-head, .moment-head, .section > h2 { padding-inline: var(--margin); margin-bottom: 1.2rem; }
.band { display: grid; gap: 0.8rem; padding-inline: var(--margin); }
.band a { color: inherit; text-decoration: none; }
.band img { width: 100%; height: 16rem; object-fit: cover; }
.band-title { margin: 0.6rem 0 0; font-size: 1.35rem; }
.band-caption { margin: 1rem var(--margin) 0; }

.moments { display: grid; gap: 1.6rem; padding-inline: var(--margin); }
.moment img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-top: 0.7rem; }
.moment p { max-width: 42ch; }
.gap-a, .gap-b, .gap-c, .gap-d, .gap-e, .gap-f { display: none; }

.menu-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.menu-cols { display: flex; flex-direction: column; gap: 1.6rem; }
.menu-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-row a { text-decoration: none; font-family: var(--display); font-size: 1.25rem; }
.menu-desc { margin: 0.2rem 0 0.45rem; max-width: 48ch; }
.menu-item { margin-bottom: 1.1rem; }
.price, .price-lg, .line-total { font-variant-numeric: tabular-nums; }
.switch > input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pick { display: flex; gap: 1.2rem; margin: 0 0 1.2rem; }
.pick label { cursor: pointer; font-family: var(--display); font-size: 1.35rem; }
#rano:checked ~ .pick label[for="rano"],
#vecer:checked ~ .pick label[for="vecer"] { color: var(--accent); }
#vecer:checked ~ .group-rano,
#rano:checked ~ .group-vecer { display: none; }
.group-rano, .group-vecer { display: flex; flex-direction: column; }

.about-facts { display: grid; gap: 0.4rem; font-family: var(--display); font-size: 1.4rem; }
.about-copy { font-size: 1.2rem; line-height: 1.45; }
.about-copy img { width: 9rem; height: 11rem; object-fit: cover; float: left; margin: 0.2rem 1rem 0.5rem 0; }
.soft { color: var(--ink); }

.quote-block { display: grid; background: var(--surface); }
.quote-block img { width: 100%; height: 22rem; object-fit: cover; }
.quote-block blockquote { margin: 0; padding: 1.6rem var(--margin); }
.quote-block p { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.2; margin: 0; }

.faq-q { margin-top: 0.4rem; }
.faq-a { margin: 0 0 1rem; max-width: 62ch; }

.visit img { width: 100%; height: 58svh; object-fit: cover; }
.visit-card { padding: 1.4rem var(--margin) 2.5rem; }
.hours { width: min(22rem, 100%); border-collapse: collapse; margin: 0.4rem 0 1rem; }
.hours td { padding: 0.28rem 0; font-variant-numeric: tabular-nums; }
.hours td:last-child { text-align: right; }

.site-footer { padding: 3.5rem var(--margin) 2rem; }
.footer-name {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: var(--track);
  line-height: 0.88;
  margin: 0 0 1rem;
}
.footer-meta { max-width: 36rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem; margin: 1.4rem 0 1rem; }
.footer-links a { text-decoration: none; }
.legal-line { max-width: 70ch; font-size: 0.95rem; }

.page-intro { padding: 2.4rem var(--margin) 0.4rem; max-width: 40rem; }
.prose { max-width: 68ch; padding: 0.6rem var(--margin) 4rem; }
.prose h2 { margin: 2rem 0 0.7rem; }
.prose li { margin: 0 0 0.4rem; }
.prose img { margin: 0.4rem 0 1rem; }

.split, .product-hero, .checkout-grid {
  display: grid;
  gap: 1.3rem;
  padding: 1.2rem var(--margin) 4rem;
}
.product-hero img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.price-lg { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0.3rem 0; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1rem 0; }
.note { background: var(--surface); padding: 1rem 1.1rem; margin-top: 1.2rem; }
.note p { margin: 0; }
.spec, .hours { width: 100%; }
.spec { border-collapse: collapse; margin: 0.8rem 0 1.2rem; }
.spec th, .spec td { text-align: left; padding: 0.5rem 0.6rem 0.5rem 0; vertical-align: top; }
.spec th { width: 38%; font-weight: 600; }
.crumbs { margin-bottom: 0.8rem; }
.crumbs a { color: inherit; }

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.3rem;
}
.cart-line img { width: 96px; height: 120px; object-fit: cover; }
.qty { display: flex; align-items: center; gap: 0.6rem; margin: 0.35rem 0; }
.qty button { width: 36px; height: 36px; background: var(--surface); color: var(--ink); }
.cart-total { margin-top: 1.4rem; max-width: 36rem; }
.checkout-jump { margin-top: 0.8rem; }
.order-card { background: var(--surface); padding: 1.2rem; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.sum-lines li, .sum-row { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 0.4rem; }
.form, .form-grid { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; }
label.choice { display: flex; align-items: center; gap: 0.55rem; }
input, select, textarea {
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--surface);
  border: 0;
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  width: 100%;
}
label.choice input { width: auto; }
textarea { min-height: 7rem; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
legend { font-family: var(--display); font-size: 1.25rem; margin-bottom: 0.2rem; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.field-error { color: var(--accent); }
.thanks-modal {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.thanks-modal[hidden] { display: none; }
.thanks-window { background: var(--bg); color: var(--ink); padding: 1.6rem; width: min(28rem, 100%); position: relative; }
.thanks-close { position: absolute; top: 0.5rem; right: 0.7rem; font-size: 1.4rem; }
.ingredient { display: grid; gap: 0.8rem; margin: 0 0 1.6rem; }
.ingredient img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.voice { margin: 0 0 1.8rem; max-width: 46ch; }
.voice p { font-family: var(--display); font-size: 1.35rem; line-height: 1.25; margin: 0 0 0.35rem; }

@media (max-width: 899px) {
  .product-hero { display: flex; flex-direction: column; }
  .product-hero > div:first-child { order: 2; }
  .product-hero img { aspect-ratio: 4/3; max-height: 16rem; object-fit: cover; }
}
@media (min-width: 900px) {
  .burger { display: none; }
  .nav-panel { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 0 var(--margin) 0.9rem; }
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.25rem; }
  .menu-layout h2, .faq-table h2 { grid-column: 1 / -1; }
  .menu-photo { grid-column: 1 / 6; }
  .menu-cols { grid-column: 6 / -1; }
  .about-facts { grid-column: 1 / 5; }
  .about-copy { grid-column: 5 / -1; }
  .faq-q { grid-column: 1 / 6; }
  .faq-a { grid-column: 6 / -1; margin-top: 0.35rem; }
  .quote-block { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .quote-block img { height: 100%; min-height: 22rem; }
  .split, .product-hero, .checkout-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .cart-line { grid-template-columns: 120px 1fr auto; }
  .ingredient { grid-template-columns: 16rem 1fr; align-items: center; }
}
@media (max-width: 700px) {
  .cookie-window { flex-direction: column; align-items: flex-start; }
  .line-total { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

[data-part="hero"] { order: 1; }
[data-part="about"] { order: 2; background: #d5e3ea; }
[data-part="how"] { order: 3; }
[data-part="steps"] { order: 4; }
[data-part="price"] { order: 5; background: #0b4f6c; color: #f4f8fb; }
[data-part="quote"] { order: 6; }
[data-part="faq"] { order: 7; }
[data-part="visit"] { order: 8; }
[data-part="price"] a { color: inherit; }
[data-part="price"] .btn { background: #f4f8fb; color: #0b4f6c; }
[data-part="price"] .menu-desc { color: #d5e4ec; }
.hero { padding: 0.85rem 0.85rem 0; background: #d5e3ea; }
.hero-photo { height: 68svh; }
.hero-card { background: transparent; padding-top: 1.1rem; }
.band { grid-template-columns: 1fr; }
.band a { background: #d5e3ea; padding: 0.65rem; }
.band img { height: 18rem; }
.visit-card { background: var(--bg); }
@media (min-width: 900px) {
  .nav-panel { justify-content: flex-end; }
  .header-bar { padding-bottom: 0.2rem; }
  .band { grid-template-columns: 1fr 1fr; }
  .band img { height: 24rem; }
  .moments { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .moment { background: #f7fafc; padding: 0.7rem; }
  .moment img { aspect-ratio: 5/4; }
  .about { padding-top: 3rem; padding-bottom: 3rem; }
}
.site-footer { background: #d5e3ea; }
.footer-name { color: #0b4f6c; font-size: clamp(2.4rem, 5vw, 4.2rem); }
