/* ==========================================================================
   Vaše kantýna — statická HTML verze
   Barvy a typografie dle logomanuálu:
   základní tmavě šedá #575254, pastelové doplňkové barvy,
   nadpisy PT Serif, texty Source Sans 3 (náhrada Myriad Pro).
   ========================================================================== */

:root {
  --brand-primary: #575254;
  --brand-primary-dark: #423e40;
  --brand-accent: #edbf83;
  --brand-dark: #3d3a3c;
  --brand-cream: #f4f2ef;
  --brand-rose: #dd9ca5;
  --brand-pink: #e5c6d6;
  --brand-blue: #9dd4d6;
  --brand-mint: #9bd0b7;

  --bg: #ffffff;
  --fg: #3d3a3c;
  --muted-fg: #6f6b69;
  --border: #e2ded9;

  --font-sans: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  --font-heading: "PT Serif", Georgia, serif;

  --radius: 0.5rem;
  --radius-lg: 0.7rem;
  --radius-xl: 0.9rem;
  --container: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ── Hlavička ─────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
}

.site-header .brand img {
  height: 2rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-header .brand img {
    height: 2.25rem;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(61, 58, 60, 0.8);
  text-decoration: none;
  transition: color 0.15s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle:hover {
  background: var(--brand-cream);
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  display: none;
  flex-direction: column;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__bar {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1rem;
}

.mobile-nav__bar span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--brand-primary);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
}

.mobile-nav nav a {
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav nav a:hover {
  background: var(--brand-cream);
}

/* ── Sekce ────────────────────────────────────────────────────────────── */

.section {
  padding-block: 4rem;
  background: var(--bg);
}

.section--muted {
  background: var(--brand-cream);
}

.section--dark {
  background: var(--brand-dark);
  color: #fff;
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}

.section-heading {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 2.25rem;
  }
}

.eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
}

.section--dark .eyebrow {
  color: var(--brand-accent);
}

.section-heading .lead {
  margin-top: 1rem;
  color: var(--muted-fg);
}

.prose {
  white-space: pre-line;
  line-height: 1.75;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  background: var(--brand-cream);
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    padding-block: 6rem;
  }
}

.hero__eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(87, 82, 84, 0.8);
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--brand-dark);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero__subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__image {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  aspect-ratio: 10 / 11;
  overflow: hidden;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .hero__image {
    max-width: none;
  }
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Tlačítka ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--lg {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--brand-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-primary-dark);
}

.btn--outline {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--brand-primary);
  color: #fff;
}

.btn--accent {
  background: var(--brand-accent);
  color: var(--brand-dark);
}

.btn--accent:hover {
  background: #e6b26a;
}

.btn--accent-outline {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  background: transparent;
}

.btn--accent-outline:hover {
  background: var(--brand-accent);
  color: var(--brand-dark);
}

.btn svg {
  width: 1em;
  height: 1em;
}

/* Rozbalovací „Objednat oběd" (bez JS, přes <details>) */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown summary {
  list-style: none;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown summary::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}

.dropdown[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.dropdown__menu {
  position: absolute;
  left: 0;
  z-index: 50;
  margin-top: 0.5rem;
  min-width: 16rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 10px 30px rgba(61, 58, 60, 0.12);
}

.dropdown__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}

.dropdown__menu a + a {
  border-top: 1px solid var(--border);
}

.dropdown__menu a:hover {
  background: var(--brand-cream);
}

/* ── Karty na úvodní stránce ──────────────────────────────────────────── */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg);
}

.card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: 1.75rem;
}

.card__body h3 {
  font-size: 1.5rem;
}

.card__body p {
  margin-top: 0.75rem;
  color: var(--muted-fg);
}

.card__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── O nás ────────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }
}

.about-grid h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .about-grid h2 {
    font-size: 2.25rem;
  }
}

.about-grid .prose {
  color: rgba(61, 58, 60, 0.85);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .about-grid .prose {
    font-size: 1.125rem;
  }
}

/* ── Hodnoty ──────────────────────────────────────────────────────────── */

.value-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: var(--brand-primary);
}

.value-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.value-card:nth-child(5n + 1) .value-card__icon { background: rgba(221, 156, 165, 0.4); }
.value-card:nth-child(5n + 2) .value-card__icon { background: rgba(157, 212, 214, 0.4); }
.value-card:nth-child(5n + 3) .value-card__icon { background: rgba(155, 208, 183, 0.4); }
.value-card:nth-child(5n + 4) .value-card__icon { background: rgba(237, 191, 131, 0.4); }
.value-card:nth-child(5n + 5) .value-card__icon { background: rgba(229, 198, 214, 0.4); }

.value-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.value-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-fg);
}

/* ── Čísla ────────────────────────────────────────────────────────────── */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
  text-align: center;
}

@media (min-width: 768px) {
  .stat {
    padding: 2rem;
  }
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--brand-primary);
}

@media (min-width: 768px) {
  .stat__value {
    font-size: 3rem;
  }
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* ── Služby ───────────────────────────────────────────────────────────── */

.service-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

.service__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--brand-cream);
  color: var(--brand-primary);
}

.service__icon svg {
  width: 1rem;
  height: 1rem;
}

.service h3 {
  font-size: 1.25rem;
  align-self: center;
}

.service div p {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* ── Galerie ──────────────────────────────────────────────────────────── */

.filter-bar {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.filter-bar--tight {
  margin-top: 0.75rem;
}

.filter-btn {
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(61, 58, 60, 0.7);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: rgba(87, 82, 84, 0.5);
  color: var(--brand-primary);
}

.filter-btn.active {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-grid figure.hidden {
  display: none;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

/* ── Kontaktní karta s mapou ──────────────────────────────────────────── */

.contact-card {
  display: grid;
  overflow: hidden;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

@media (min-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card__info {
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .contact-card__info {
    padding: 2.25rem;
  }
}

.contact-card__info h3 {
  font-size: 1.5rem;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-list svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--brand-primary);
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--brand-primary);
}

.contact-card iframe {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
}

/* Kontaktní stránka — karty poboček */

.branch-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 3rem auto 0;
}

@media (min-width: 768px) {
  .branch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.branch-card {
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

.branch-card h3 {
  font-size: 1.5rem;
}

.contact-list .muted {
  color: var(--muted-fg);
}

/* ── Formulář ─────────────────────────────────────────────────────────── */

.form-wrap {
  max-width: 48rem;
  margin: 2.5rem auto 0;
}

.inquiry-form {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

@media (min-width: 768px) {
  .inquiry-form {
    padding: 2rem;
  }
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.375rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 1px;
  border-color: var(--brand-accent);
}

.field .hint {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.gdpr input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-primary);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
  text-align: center;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  width: 3rem;
  height: 3rem;
  color: var(--brand-primary);
}

.form-success h3 {
  font-size: 1.5rem;
}

.form-success p {
  color: var(--muted-fg);
}

/* ── Závěrečné CTA ────────────────────────────────────────────────────── */

.cta-box {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.cta-box h2 {
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .cta-box h2 {
    font-size: 2.25rem;
  }
}

.cta-box p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-box .btn {
  margin-top: 2rem;
}

.cta-box .actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta-box .actions .btn {
  margin-top: 0;
}

/* ── Patička ──────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer__brand img {
  height: 4rem;
  width: auto;
}

.site-footer__brand p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer h4 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: var(--brand-accent);
}

.site-footer .contact-list {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer .contact-list svg {
  color: var(--brand-accent);
}

.site-footer .contact-list a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
  .site-footer__bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ── Cookie lišta ─────────────────────────────────────────────────────── */

.cookie-bar {
  position: fixed;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  z-index: 60;
  display: none;
  max-width: 48rem;
  margin-inline: auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(61, 58, 60, 0.15);
  backdrop-filter: blur(8px);
}

.cookie-bar.visible {
  display: block;
}

@media (min-width: 768px) {
  .cookie-bar {
    inset-inline: auto 1rem;
    bottom: 1rem;
  }
}

.cookie-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .cookie-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── Fade-in animace ──────────────────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   WordPress specifika
   ========================================================================== */

/* ── Jídelníček — přestylování tabulky generované pluginem (legacy markup:
      #jidelak > #jidlistek > table.foodmenu s inline barvami) ─────────────── */

#jidelak {
  max-width: 52rem;
  margin-inline: auto;
}

#jidelak .noprint > div {
  display: inline-block;
  margin: 0 0.35rem 1.5rem;
}

#jidelak .noprint a {
  display: inline-block;
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.875rem;
  color: rgba(61, 58, 60, 0.7);
  text-decoration: none;
  transition: all 0.15s;
}

#jidelak .noprint a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

#jidelak .noprint hr,
#jidelak .cleaner {
  display: none;
}

#jidlistek {
  text-align: left;
}

table.foodmenu {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--fg) !important;
  background: var(--bg);
  font-size: 0.9rem;
}

table.foodmenu caption {
  padding-bottom: 1rem;
  caption-side: top;
  text-align: center;
}

table.foodmenu caption h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--brand-dark);
}

table.foodmenu caption a.noprint {
  font-size: 0.8rem;
  color: var(--muted-fg);
}

table.foodmenu td {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0.6rem 0.9rem !important;
  vertical-align: middle;
}

/* Buňka se dnem (má rowspan) */
table.foodmenu td[rowspan] {
  border-right: 1px solid var(--border) !important;
  background: var(--brand-cream);
  text-align: center;
}

table.foodmenu td[rowspan] h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--brand-dark);
}

/* Řádek s polévkou má v originále inline tmavě červené pozadí */
table.foodmenu tr[style*="background"] {
  background: transparent !important;
  color: inherit !important;
}

table.foodmenu tr[style*="BF0101"] td,
table.foodmenu tr[style*="bf0101"] td {
  background: rgba(237, 191, 131, 0.18) !important;
  color: var(--fg) !important;
  font-weight: 500;
}

/* ── Contact Form 7 ───────────────────────────────────────────────────────── */

.wpcf7 {
  max-width: 48rem;
  margin-inline: auto;
}

.wpcf7 form {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

@media (min-width: 768px) {
  .wpcf7 form {
    padding: 2rem;
  }
}

.wpcf7 label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 1px;
  border-color: var(--brand-accent);
}

.wpcf7 input[type="submit"] {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  background: var(--brand-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--brand-primary-dark);
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--destructive);
}

.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--brand-mint) !important;
  background: rgba(155, 208, 183, 0.15);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--destructive) !important;
  background: rgba(184, 50, 62, 0.06);
}

/* ── Obsah vkládaný WP editorem (galerie, obecné stránky) ─────────────────── */

.entry-content {
  max-width: 52rem;
  margin-inline: auto;
}

.entry-content .wp-block-gallery,
.entry-content .gallery {
  margin-top: 2.5rem;
}

.entry-content img {
  border-radius: var(--radius-lg);
}

/* ── Lightbox galerie ─────────────────────────────────────────────────── */

.gallery-grid figure {
  cursor: zoom-in;
}

.entry-content .wp-block-gallery img,
.entry-content .gallery img {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(43, 40, 42, 0.93);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 72rem);
  max-height: 84vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__btn {
  position: absolute;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(43, 40, 42, 0.5);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.lightbox__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__caption {
  position: absolute;
  inset-inline: 4rem;
  bottom: 1.1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .lightbox__btn {
    width: 2.25rem;
    height: 2.25rem;
  }
  .lightbox__prev {
    left: 0.5rem;
  }
  .lightbox__next {
    right: 0.5rem;
  }
}

/* ── Jídelníček (data ze SIS API) ─────────────────────────────────────────── */

a.filter-btn {
  text-decoration: none;
  display: inline-block;
}

.menu-days {
  max-width: 48rem;
  margin: 2.5rem auto 0;
  display: grid;
  gap: 1.25rem;
}

.menu-day {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
}

.menu-day--today {
  border-color: var(--brand-accent);
}

.menu-day__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--brand-cream);
}

.menu-day--today .menu-day__head {
  background: rgba(237, 191, 131, 0.25);
}

.menu-day__head h3 {
  font-size: 1.25rem;
}

.menu-day__head span {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.menu-day__head strong {
  margin-left: 0.3rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.menu-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-day li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.menu-day li + li {
  border-top: 1px solid var(--border);
}

.menu-day__label {
  flex-shrink: 0;
  width: 4rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.menu-day__label.is-soup {
  color: var(--brand-primary);
}

.menu-day__dish {
  flex: 1;
}

.menu-day__alergeny {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.menu-day__notice {
  margin: 0;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--brand-primary);
}

.menu-pdf {
  margin-top: 2.5rem;
  text-align: center;
}

.menu-pdf__actions {
  margin-bottom: 1.25rem;
}

.menu-pdf img,
.menu-pdf object {
  width: 100%;
  max-width: 56rem;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.menu-pdf img {
  height: auto;
  box-shadow: 0 10px 30px rgba(87, 82, 84, 0.12);
}

.menu-pdf object {
  height: 80vh;
}

.menu-pdf__pages canvas {
  display: block;
  width: 100%;
  max-width: 56rem;
  height: auto;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(87, 82, 84, 0.12);
  background: #fff;
}

.menu-pdf__fallback {
  padding: 2rem 1rem;
  color: var(--muted-fg);
}

.menu-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.menu-empty {
  max-width: 36rem;
  margin: 3rem auto 0;
  padding: 2.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--muted-fg);
}
