/* Penzion Al Capone Mníšek – vzhled webu.
   Převzato z návrhu Macaly (Tailwind): vínová, terakota, olivová, krémová,
   písma Fraunces + Source Sans 3. Barvy jsou proměnné – pro jinou instalaci
   (Dobříš) se mění v administraci (Nastavení → Vzhled), ne tady. */

/* Písma: podmnožiny Fraunces (500–700, optická velikost) a Source Sans 3 (400–700)
   jen se znaky pro češtinu, slovenštinu, němčinu a angličtinu – 2 soubory místo 4. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/fraunces.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/sourcesans3.woff2) format('woff2'); }

:root {
  /* Výchozí paleta; layout ji přepisuje hodnotami z nastavení. */
  --wine: #6a2533;
  --wine-deep: #4f1722;
  --terra: #d76e42;          /* dekorativní (ikony, okraje, podbarvení) */
  --accent: #b9532a;         /* tlačítka s bílým textem – kontrast 4,8:1 */
  --accent-text: #b04f27;    /* text v barvě terakoty na krémové – 4,9:1 */
  --accent-on-dark: #e08a63; /* terakota na vínovém pozadí – 5,4:1 */
  --olive: #5d6f3b;
  --cream: #f9f6f0;
  --cream-dark: #eee8dd;
  --ink: #2c2620;
  --muted-fg: #655b52;
  --border: #ddd3c6;
  --card: #fff;
  --danger: #b4232a;
  --ok: #3f6b33;

  --radius: .75rem;
  --radius-sm: .5rem;
  --shadow-sm: 0 1px 2px rgba(44, 38, 32, .06), 0 1px 3px rgba(44, 38, 32, .05);
  --shadow-md: 0 4px 10px rgba(44, 38, 32, .08), 0 2px 4px rgba(44, 38, 32, .05);
  --shadow-lg: 0 12px 28px rgba(44, 38, 32, .14), 0 4px 10px rgba(44, 38, 32, .06);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, .font-display { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--wine) 55%, transparent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--wine); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { left: .5rem; }

/* --- rozvržení ---------------------------------------------------------- */
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.wrap-5xl { max-width: 64rem; }
.wrap-4xl { max-width: 56rem; }
.wrap-3xl { max-width: 48rem; }
.wrap-2xl { max-width: 42rem; }
.section { padding-top: 4rem; padding-bottom: 4rem; }
.section-sm { padding-top: 3rem; padding-bottom: 3rem; }
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--cream-dark) 60%, transparent); }
.lead { max-width: 42rem; color: var(--muted-fg); }
.muted { color: var(--muted-fg); }
.small { font-size: .875rem; }
.xs { font-size: .75rem; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-gap-sm { gap: .75rem; }
.grid-gap-lg { gap: 2.5rem; }
@media (min-width: 640px) {
  .sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-main-aside { grid-template-columns: 2fr 1fr; }
  .md-center { align-items: center; }
}
@media (min-width: 1024px) {
  .lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-split { grid-template-columns: 1fr 1.2fr; }
}

/* --- nadpisy sekcí ---------------------------------------------------- */
.kicker { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); }
.section-title { margin-bottom: 1.5rem; }
.section-title h1, .section-title h2 { font-size: 1.875rem; color: var(--wine); margin-top: .1rem; }
.h3 { font-size: 1.25rem; color: var(--wine); }
.h4 { font-size: 1.125rem; color: var(--wine); }

/* --- tlačítka --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: .625rem 1.25rem;
  font-size: .875rem; font-weight: 600; line-height: 1.25; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.is-loading { opacity: .9; cursor: progress; }
.btn.is-loading::before {
  content: ""; width: 1em; height: 1em; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::before { animation-duration: 2s; } }
.btn-primary { background: var(--wine); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--wine-deep); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--wine); }
.btn-outline { background: var(--card); color: var(--wine); border-color: var(--border); }
.btn-outline:hover { background: var(--cream-dark); }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent-text); text-decoration: underline; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .4rem .8rem; font-size: .8125rem; }
.btn-block { display: flex; width: 100%; }

/* --- hlavička ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--cream) 95%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--wine); text-decoration: none; line-height: 1.2; }
.brand span { color: var(--accent-text); }
.brand img { max-height: 2.75rem; width: auto; }
@media (min-width: 640px) { .brand { font-size: 1.25rem; } }
.main-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 900px) { .main-nav { display: flex; } }
.nav-link {
  border-radius: .375rem; padding: .5rem .75rem; font-size: .875rem; font-weight: 500;
  color: color-mix(in srgb, var(--ink) 80%, transparent); text-decoration: none; transition: background-color .15s, color .15s;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--cream-dark); color: var(--wine); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: flex; gap: .125rem; font-size: .75rem; font-weight: 600; }
.lang-switch a { padding: .25rem .4rem; border-radius: .25rem; text-decoration: none; color: var(--muted-fg); }
.lang-switch a[aria-current="true"] { background: var(--cream-dark); color: var(--wine); }
.mobile-nav {
  display: flex; gap: .25rem; overflow-x: auto; padding: .5rem 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); scrollbar-width: none;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav .nav-link { white-space: nowrap; padding: .375rem .75rem; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

.promo-bar { background: var(--wine); color: #fff; font-size: .875rem; text-align: center; padding: .5rem 1rem; }
.promo-bar a { color: #fff; font-weight: 600; }

/* --- hero ---------------------------------------------------------------- */
.hero { position: relative; display: flex; min-height: 70vh; align-items: center; justify-content: center; overflow: hidden; }
.hero > img, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(to bottom right, color-mix(in srgb, var(--wine-deep) 90%, transparent), color-mix(in srgb, var(--wine) 85%, transparent), color-mix(in srgb, var(--terra) 70%, transparent)); }
.paper-texture { background-image: radial-gradient(color-mix(in srgb, var(--border) 50%, transparent) 1px, transparent 1px); background-size: 22px 22px; }
.hero .paper-texture { position: absolute; inset: 0; opacity: .4; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--wine-deep) 88%, transparent) 0%, color-mix(in srgb, var(--wine-deep) 45%, transparent) 45%, color-mix(in srgb, var(--wine-deep) 25%, transparent) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 56rem; margin: 0 auto; padding: 5rem 1rem; text-align: center; }
.hero-content .kicker { color: var(--cream-dark); }
.hero h1 { margin-top: .75rem; font-size: 2.25rem; color: #fff; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-sub { max-width: 36rem; margin: 1rem auto 0; font-size: 1.125rem; color: var(--cream-dark); }
.hero-search { max-width: 48rem; margin: 2rem auto 0; text-align: left; }

/* --- záhlaví podstránek: stejný vzhled jako úvodní hero, jednotná výška -- */
.page-hero { min-height: 20rem; }
@media (min-width: 768px) { .page-hero { min-height: 24rem; } }
.page-hero .hero-content { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3rem; } }

/* Box s nadpisem a seznamem (Okolí – sport, restaurace) */
.text-box h2 { font-size: 1.375rem; color: var(--wine); }
.text-box p { margin-top: .75rem; line-height: 1.6; }
.text-box ul { margin: .75rem 0 0; padding: 0; list-style: none; }
.text-box li { position: relative; margin: .5rem 0; padding-left: 1.25rem; line-height: 1.55; }
.text-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--terra); }

/* --- vyhledávací lišta ---------------------------------------------------- */
.search-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 1rem; border-radius: var(--radius); background: color-mix(in srgb, var(--card) 95%, transparent); box-shadow: var(--shadow-lg); }
.search-bar.compact { border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .search-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.search-bar label { font-size: .75rem; font-weight: 600; color: var(--muted-fg); }
.search-bar .control { margin-top: .25rem; padding: .5rem; }
.search-bar .btn { grid-column: span 2; align-self: end; padding-top: .625rem; padding-bottom: .625rem; }
@media (min-width: 640px) { .search-bar .btn { grid-column: auto; } }
.search-hint { grid-column: 1 / -1; font-size: .75rem; color: var(--muted-fg); }

/* --- formuláře ---------------------------------------------------------- */
.control {
  display: block; width: 100%; margin-top: .25rem; padding: .5rem .75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--cream);
  font-size: .9375rem; color: var(--ink); min-height: 2.5rem;
}
.control:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 22%, transparent); }
textarea.control { min-height: 6rem; resize: vertical; }
.field { display: block; font-size: .875rem; font-weight: 500; }
.field .req { color: var(--accent-text); }
.field-error { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 500; color: var(--danger); }
.control[aria-invalid="true"] { border-color: var(--danger); }
.fieldset { margin: 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); min-width: 0; }
.fieldset legend { padding: 0 .25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--wine); }
.check { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.check input { margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--accent); flex-shrink: 0; }
.choice {
  display: flex; align-items: center; gap: .75rem; padding: .75rem; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); font-size: .875rem;
}
.choice:hover { background: var(--cream-dark); }
.choice:has(input:checked) { border-color: var(--terra); background: color-mix(in srgb, var(--terra) 10%, var(--card)); }
.choice input { accent-color: var(--accent); width: 1rem; height: 1rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
/* IČO + tlačítko ARES vedle sebe; stav pod tím */
.ico-row { display: flex; gap: .5rem; margin-top: .25rem; }
.ico-row .control { flex: 1; min-width: 0; margin-top: 0; }
.ico-row .btn { flex: none; white-space: nowrap; }
[data-ares-status] { display: block; font-weight: 400; }
[data-ares-status].is-ok { color: var(--success, #3d6b2f); }
[data-ares-status].is-error { color: var(--danger); }
details.more summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--wine); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- zprávy ------------------------------------------------------------- */
.alert { border-radius: var(--radius-sm); padding: .75rem 1rem; font-size: .875rem; font-weight: 500; border: 1px solid; }
.alert-error { border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 8%, var(--card)); color: var(--danger); }
.alert-ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, var(--card)); color: var(--ok); }
.alert-info { border-color: color-mix(in srgb, var(--terra) 40%, transparent); background: color-mix(in srgb, var(--terra) 8%, var(--card)); color: var(--ink); }

/* --- karty ------------------------------------------------------------- */
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.card-pad { padding: 1.5rem; }
.card-pad-sm { padding: 1rem; }
.card-link { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: box-shadow .2s; }
.card-link:hover { box-shadow: var(--shadow-md); }
.card-link:hover h3 { color: var(--accent-text); }
.card-media { width: 100%; height: 11rem; object-fit: cover; }
.card-media.tall { height: 16rem; }
.card-placeholder { display: flex; height: 11rem; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--wine), var(--wine-deep), color-mix(in srgb, var(--terra) 60%, transparent)); }
.card-placeholder span { font-family: var(--font-display); font-size: 4.5rem; font-weight: 600; color: rgba(255,255,255,.5); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.card-meta { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: .875rem; }
.price-from { font-weight: 600; color: var(--accent-text); }
.icon-tile { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--cream-dark); color: var(--wine); }
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; }
.chip { border: 1px solid var(--border); border-radius: 999px; background: var(--card); padding: .5rem 1rem; font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.chips-sm { gap: .5rem; }
.chips-sm .chip { border: 0; background: var(--cream-dark); padding: .25rem .75rem; font-size: .75rem; box-shadow: none; }
.check-list { list-style: none; display: grid; gap: .5rem; }
@media (min-width: 640px) { .check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-list li { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; }
.check-list svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--accent); }
.check-list.lg li { gap: .75rem; font-size: 1rem; }
.check-list.lg svg { width: 1.25rem; height: 1.25rem; }
.dl { display: grid; gap: .75rem; font-size: .875rem; margin: 1.25rem 0 0; }
.dl > div { display: flex; justify-content: space-between; gap: 1rem; }
.dl dt { color: var(--muted-fg); }
.dl dd { margin: 0; font-weight: 500; text-align: right; }
.price-big { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: var(--wine); }
.price-big small { font-family: var(--font-sans); font-size: 1rem; font-weight: 400; color: var(--muted-fg); }

/* --- tmavý pruh (konference) ------------------------------------------ */
.dark-band { border-top: 1px solid var(--border); background: var(--wine-deep); color: #fff; }
.dark-band .kicker { color: var(--accent-on-dark); }
.dark-band h2 { font-size: 1.875rem; margin-top: .5rem; }
.dark-band p { opacity: .92; }
.rounded-img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.h-48 { height: 12rem; } .h-56 { height: 14rem; } .h-64 { height: 16rem; }
@media (min-width: 768px) { .md-h-64 { height: 16rem; } }

/* --- galerie a lightbox ------------------------------------------------- */
.gallery { display: grid; gap: 1rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery-item { display: block; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); cursor: zoom-in; transition: box-shadow .2s; }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 14rem; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery.small-tiles .gallery-item img { height: 12rem; }
.photo-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .photo-grid.multi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-grid .gallery-item img { height: 16rem; }
.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0, 0, 0, .9); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 85vh; max-width: 100%; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox button { position: absolute; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; line-height: 1; padding: .6rem .9rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; }
.lightbox .lb-next { right: 1rem; }
.lightbox .lb-count { position: absolute; bottom: 1rem; color: rgba(255,255,255,.7); font-size: .875rem; }

/* --- mapa (načte se až na kliknutí – soukromí i rychlost) -------------- */
.map-box { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; height: 16rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream-dark) center/cover no-repeat; }
.map-box.tall { height: 20rem; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box .map-cta { position: relative; text-align: center; padding: 1rem; background: color-mix(in srgb, var(--card) 92%, transparent); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); max-width: 18rem; }

/* --- tabulky ------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; }
.table th { padding: .75rem 1rem; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--cream-dark) 60%, transparent); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-fg); }
.table td { padding: .75rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .name { font-weight: 500; color: var(--wine); }
.table .price { font-weight: 600; color: var(--accent-text); text-align: right; white-space: nowrap; }
.tag { display: inline-block; margin-left: .5rem; border-radius: 999px; background: var(--cream-dark); padding: .125rem .5rem; font-size: .75rem; color: var(--muted-fg); }

/* --- kalendář dostupnosti ---------------------------------------------- */
.avail-cal { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .avail-cal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.avail-month h4 { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; text-transform: capitalize; margin-bottom: .5rem; color: var(--wine); }
.avail-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; font-size: .8125rem; text-align: center; }
.avail-grid .dow { font-size: .6875rem; text-transform: uppercase; color: var(--muted-fg); padding: .2rem 0; }
.avail-grid .day { padding: .4rem 0; border-radius: .375rem; }
.avail-grid .free { background: color-mix(in srgb, var(--olive) 26%, var(--card)); color: var(--ink); font-weight: 600; }
.avail-grid .busy { background: var(--cream-dark); color: var(--muted-fg); text-decoration: line-through; }
.avail-grid .past { color: var(--muted-fg); }
.avail-legend { display: flex; gap: 1rem; font-size: .75rem; color: var(--muted-fg); margin-top: .75rem; }
.avail-legend span::before { content: ''; display: inline-block; width: .8rem; height: .8rem; border-radius: .2rem; margin-right: .35rem; vertical-align: -1px; }
.avail-legend .l-free::before { background: color-mix(in srgb, var(--olive) 26%, var(--card)); border: 1px solid var(--border); }
.avail-legend .l-busy::before { background: var(--cream-dark); border: 1px solid var(--border); }

/* --- rezervace: kroky a výběr ------------------------------------------- */
.steps { display: flex; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.steps li { display: flex; flex: 1; align-items: center; gap: .5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .5rem .75rem; background: var(--card); font-size: .875rem; font-weight: 500; color: var(--muted-fg); }
.steps .num { display: flex; height: 1.5rem; width: 1.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: var(--cream-dark); font-size: .75rem; font-weight: 700; }
.steps .is-active { border-color: var(--terra); background: color-mix(in srgb, var(--terra) 10%, var(--card)); color: var(--accent-text); }
.steps .is-active .num { background: var(--accent); color: #fff; }
.steps .is-done { border-color: color-mix(in srgb, var(--olive) 40%, transparent); background: color-mix(in srgb, var(--olive) 10%, var(--card)); color: var(--olive); }
.steps .is-done .num { background: var(--olive); color: #fff; }
.steps a { color: inherit; text-decoration: none; }
@media (max-width: 479px) { .steps .label { font-size: .8125rem; } }

.room-option { display: grid; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
@media (min-width: 640px) { .room-option { grid-template-columns: 9rem 1fr; } }
.room-option.is-selected { border-color: var(--terra); box-shadow: 0 0 0 1px var(--terra); background: color-mix(in srgb, var(--terra) 6%, var(--card)); }
.room-option img { width: 100%; height: 7rem; object-fit: cover; border-radius: var(--radius-sm); }
.room-option h3 { font-size: 1.125rem; color: var(--wine); }
.occ-lines { display: grid; gap: .5rem; margin-top: .75rem; }
.occ-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .5rem .75rem; border-radius: var(--radius-sm); background: var(--cream); }
.occ-line .who { font-size: .875rem; font-weight: 500; }
.occ-line .amount { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--wine); }
.occ-line .per { display: block; font-family: var(--font-sans); font-size: .75rem; font-weight: 400; color: var(--muted-fg); }
.occ-line select { width: auto; min-width: 4.5rem; margin: 0; }
.soldout { font-size: .875rem; font-weight: 600; color: var(--danger); }

.summary-bar { position: sticky; bottom: 0; z-index: 30; margin-top: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--card) 97%, transparent); box-shadow: var(--shadow-lg); padding: .875rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.summary-bar .total { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--wine); }
.summary-box { padding: 1rem; }
.summary-box .row { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; padding: .25rem 0; }
.summary-box .row.total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .6rem; font-weight: 600; }
.summary-box .row.total .v { font-family: var(--font-display); font-size: 1.5rem; color: var(--wine); }
.checkout-layout { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr 20rem; align-items: start; } .checkout-layout aside { position: sticky; top: 5.5rem; } }
.extra-row { justify-content: space-between; }
.extra-row .name { display: block; font-weight: 600; }
.extra-row .basis { display: block; font-size: .75rem; color: var(--muted-fg); }
.extra-row .p { font-weight: 600; color: var(--wine); white-space: nowrap; }
.extra-row select { width: auto; margin: 0; min-height: 2rem; padding: .2rem .5rem; }

/* --- potvrzení / správa rezervace -------------------------------------- */
.success-icon { margin: 0 auto; display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 999px; background: color-mix(in srgb, var(--olive) 15%, transparent); color: var(--olive); font-size: 1.875rem; }
.res-code { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; letter-spacing: .04em; color: var(--accent-text); }
@media (min-width: 640px) { .res-code { font-size: 3rem; } }
.status-pill { display: inline-block; border-radius: 999px; padding: .2rem .7rem; font-size: .8125rem; font-weight: 600; border: 1px solid; }
.status-pending { border-color: color-mix(in srgb, var(--terra) 50%, transparent); background: color-mix(in srgb, var(--terra) 12%, var(--card)); color: var(--accent-text); }
.status-confirmed { border-color: color-mix(in srgb, var(--olive) 50%, transparent); background: color-mix(in srgb, var(--olive) 12%, var(--card)); color: var(--olive); }
.status-cancelled, .status-noshow { border-color: var(--border); background: var(--cream-dark); color: var(--muted-fg); }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted-fg); }
.kv .v { font-weight: 600; text-align: right; }
.qr-box { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 640px) { .qr-box { grid-template-columns: 11rem 1fr; } }
.qr-box svg { width: 11rem; height: 11rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.guest-card { border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 1rem; }

/* --- textové stránky ---------------------------------------------------- */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.375rem; color: var(--wine); margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.125rem; color: var(--wine); margin: 1.5rem 0 .5rem; }
.prose p { margin: 0 0 1rem; line-height: 1.65; }
.prose ul { margin: 0 0 1rem 1.25rem; }
.prose li { margin: .25rem 0; line-height: 1.6; }
.prose a { color: var(--accent-text); }

/* --- patička ------------------------------------------------------------ */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--border); background: var(--wine-deep); color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-title { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.site-footer .brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.site-footer p, .site-footer li { font-size: .875rem; opacity: .92; }
.site-footer ul { list-style: none; margin-top: .5rem; display: grid; gap: .25rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 1rem; text-align: center; font-size: .75rem; opacity: .8; }
.footer-bottom a { margin: 0 .4rem; }
.site-footer .footer-operator, .site-footer .footer-credit { margin: .4rem 0 0; font-size: inherit; opacity: 1; }
.footer-bottom .footer-credit a { margin: 0; }
.no-margin-footer .site-footer { margin-top: 0; }

/* --- cookie lišta ------------------------------------------------------- */
.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; max-width: 40rem; margin: 0 auto; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-lg); font-size: .875rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cookie-bar, .no-print { display: none !important; }
  body { background: #fff; }
}

/* --- doplňky ------------------------------------------------------------ */
@media (min-width: 640px) {
  .search-bar.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-bar.compact .btn { grid-column: span 2; }
}
.map-cta svg { width: 1.75rem; height: 1.75rem; margin: 0 auto; color: var(--wine); }
.review-card { margin: 0; }
.review-card blockquote { margin: 0; }
@media (max-width: 639px) {
  .header-actions .lang-switch { display: none; }
  .header-actions .btn { padding: .5rem .85rem; }
}
.lang-mobile { color: var(--muted-fg); font-weight: 600; }
@media (min-width: 640px) { .lang-mobile { display: none; } }
/* dostatečně velké dotykové plochy odkazů (WCAG 2.5.8) */
.site-footer a, .footer-bottom a { display: inline-block; padding: .2rem 0; min-height: 24px; }
.footer-bottom a { margin: .1rem .4rem; }
