/* Home Vibes – web homevibes.cz. Světlý čistý design, výrazné CTA, bez frameworku. */
:root {
  --brand: #a20992;
  --brand-600: #85077a;
  --brand-50: #fbeefa;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ok: #0f9d58;
  --warn: #b45309;
  --star: #f5a524;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { flex: none; }
:focus-visible { outline: 3px solid rgba(162, 9, 146, .45); outline-offset: 2px; }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  background: var(--brand); color: #fff; border: 0; border-radius: 12px; font: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 6px 16px rgba(162, 9, 146, .25); }
.btn:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { background: #fff; color: var(--brand); }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- vyhledávání ---------- */
.search { display: grid; grid-template-columns: 1.1fr 1.4fr .9fr auto; gap: 8px; background: #fff; border-radius: 20px; padding: 8px; box-shadow: var(--shadow-lg); align-items: stretch; }
.sf { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 14px; border-radius: 14px; min-width: 0; position: relative; }
.sf + .sf { border-left: 1px solid var(--line); border-radius: 0; }
.sf > span, .bf small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sf select, .sf-btn { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); padding: 2px 0; cursor: pointer; text-align: left; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; padding-right: 18px; }
.sf-submit { align-self: stretch; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.stepper button:hover { border-color: var(--brand); color: var(--brand); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper input { width: 34px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; color: var(--ink); }
.search-bar { box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 20px; }

/* ---------- úvod ---------- */
/* Na počítači fotka přes celý blok i s vyhledáváním, na mobilu nahoře fotka s nadpisem a vyhledávání pod ní (níže v @media). */
.hero { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: #1e293b; padding-bottom: 72px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .25) 0%, rgba(15, 23, 42, .45) 55%, rgba(15, 23, 42, .7) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 72px; }
.hero-form { position: relative; z-index: 1; width: 100%; }
.photo-credit { position: absolute; right: 10px; bottom: 6px; z-index: 2; margin: 0; font-size: 11px; color: rgba(255, 255, 255, .75); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.photo-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.hero h1 { color: #fff; max-width: 780px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero-sub { font-size: 19px; max-width: 640px; color: rgba(255, 255, 255, .92); margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 13px; margin-bottom: 12px; opacity: .9; }
.search-hero { max-width: 1000px; color: var(--ink); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -1px; padding-top: 28px; padding-bottom: 8px; }
.trust div { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.trust .ico { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.trust strong { font-size: 15px; }
.trust span { font-size: 14px; color: var(--muted); }
.section { padding-top: 64px; padding-bottom: 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.city { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 300px; color: #fff; background: #334155; box-shadow: var(--shadow); }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.city:hover img { transform: scale(1.04); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .05) 15%, rgba(15, 23, 42, .85)); }
.city-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.city h3 { font-size: 26px; margin-bottom: 4px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.city p { margin: 0 0 10px; opacity: .92; }
.city-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.city:hover { color: #fff; }
.section-map { background: var(--bg-soft); padding-bottom: 64px; margin-top: 64px; }
.map { border-radius: var(--radius); overflow: hidden; background: #e5e9f0; z-index: 0; }
.map-home { height: 460px; box-shadow: var(--shadow); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review .stars { color: var(--star); letter-spacing: 2px; }
.review blockquote { margin: 10px 0 14px; color: var(--ink-2); }
.review figcaption { font-size: 14px; color: var(--muted); }
.review blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 0; }
.reviews-more { margin: 18px 0 0; }
.rating-pill.superhost .ico { color: var(--brand, #A20992); fill: none; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); padding-bottom: 8px; }
.cta-band { background: var(--brand); color: #fff; margin-top: 72px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .9; }

/* ---------- karty bytů ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.hl { box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.card-loc .rating { margin-left: auto; font-weight: 700; color: var(--ink); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--brand); }
.card-facts { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price strong { font-size: 20px; font-weight: 800; }
.price span { font-size: 13px; color: var(--muted); }
.noimg { width: 100%; height: 100%; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(135deg, #f7e6f5, #f6f8fb 60%, #f3eef8); color: var(--ink-2); text-align: center; padding: 16px; }
.noimg::before { content: ""; width: 44px; height: 44px; margin-bottom: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74'%3E%3Crect width='74' height='74' rx='17' fill='%23a20992'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 36 37 16l22 20'/%3E%3Cpath d='M20 33v23h34V33'/%3E%3Crect x='35' y='36' width='11' height='9' stroke-width='3.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.noimg span { font-weight: 700; }
.noimg small { color: var(--muted); }

/* ---------- výpis a mapa ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); }
.page-head.has-photo { padding-top: 0; }
.city-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; background: #1e293b; margin-bottom: 22px; }
.city-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-hero .city-hero-text { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 30px; color: #fff; width: 100%; }
.city-hero-text h1 { color: #fff; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.city-hero .crumbs, .city-hero .crumbs a { color: rgba(255, 255, 255, .88); }
.city-hero .hero-shade { background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, .72) 100%); }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.results-wrap { padding-top: 20px; padding-bottom: 20px; }
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.count { margin: 0; color: var(--ink-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: #cbd5e1; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-select select { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 0; }
.results { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.results-map { position: sticky; top: calc(var(--header-h) + 16px); }
.map-list { height: calc(100vh - var(--header-h) - 32px); min-height: 420px; }
.map-toggle { display: none; }
.empty, .empty-filter { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.note { font-size: 14px; margin-top: 16px; }
.pin { background: #fff; color: var(--ink); font: 700 13px/1 var(--font); padding: 7px 10px; border-radius: 999px; box-shadow: 0 2px 10px rgba(15, 23, 42, .25);
  white-space: nowrap; transform: translate(-50%, -50%); position: absolute; border: 2px solid transparent; transition: transform .15s; }
.pin.hl, .pin:hover { background: var(--ink); color: #fff; transform: translate(-50%, -50%) scale(1.08); z-index: 1000; }
.pin-wrap { background: none; border: 0; }
.leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 240px !important; font-family: var(--font); }
.pop-item { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px; color: var(--ink); align-items: center; }
.pop-item + .pop-item { border-top: 1px solid var(--line); }
.pop-item img, .pop-item .pop-noimg { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.pop-item strong { display: block; font-size: 13px; line-height: 1.3; }
.pop-item span { font-size: 13px; color: var(--brand); font-weight: 700; }

/* ---------- detail ---------- */
.detail-head { padding-top: 22px; padding-bottom: 14px; }
.detail-head h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.detail-loc { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--ink-2); margin: 0; }
.rating-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-soft); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 14px; }
.rating-pill .ico { color: var(--star); fill: var(--star); }
.rating-pill small { font-weight: 500; color: var(--muted); }
.gallery { position: relative; display: grid; gap: 8px; border-radius: var(--radius); overflow: hidden; height: 460px; }
.gallery-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-5 .g-item:first-child { grid-row: span 2; }
.gallery-4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-4 .g-item:first-child { grid-row: span 2; }
.gallery-4 .g-item:last-of-type { grid-column: span 2; }
.gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-3 .g-item:first-child { grid-row: span 2; }
.gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery-1 { grid-template-columns: 1fr; }
.g-item { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--bg-soft); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .2s; }
.g-item:hover img { transform: scale(1.03); filter: brightness(.95); }
.g-all { position: absolute; right: 16px; bottom: 16px; }
.gallery-empty { height: 320px; border-radius: var(--radius); overflow: hidden; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 15px; }
.facts .ico { color: var(--brand); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tags span { background: var(--brand-50); color: var(--brand-600); font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block p { color: var(--ink-2); }
.amenities, .rules { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.amenities li, .rules li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.amenities .ico, .rules .ico { color: var(--ink); }
.amenities.collapsed li:nth-child(n+11) { display: none; }
.map-detail { height: 320px; }
.map-area { stroke: var(--brand); stroke-width: 2; fill: var(--brand); fill-opacity: .14; }
.detail-side { position: relative; }
.book-card { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); background: #fff; }
.book-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.book-price strong { font-size: 26px; font-weight: 800; }
.book-price span { color: var(--muted); }
.book-fields { border: 1px solid #cbd5e1; border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.bf-dates { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #cbd5e1; }
.bf-dates button { border: 0; background: #fff; text-align: left; padding: 10px 14px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; }
.bf-dates button + button { border-left: 1px solid #cbd5e1; }
.bf-dates button span { font-weight: 600; }
.bf-dates button:hover { background: var(--bg-soft); }
.bf-guests { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 10px 14px; }
.bf-row { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; }
.bf-row + .bf-row { margin-top: 8px; }
.bf .bf-hint { flex-basis: 100%; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.breakdown { font-size: 15px; margin-bottom: 14px; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-2); }
.breakdown .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; color: var(--ink); font-size: 17px; }
.breakdown .disc { color: var(--ok); }
.book-msg { background: #fff7ed; color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.book-note { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.book-note .ico { margin-top: 2px; }
.mobile-book { display: none; }

/* ---------- kalendář (výběr termínu) ---------- */
.range-pop { position: absolute; z-index: 60; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 18px; width: min(680px, calc(100vw - 24px)); }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal-month h4 { text-align: center; margin: 0 0 8px; font-size: 16px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 0; font-weight: 600; }
.cal-day { aspect-ratio: 1 / 1.02; border: 0; background: none; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink); padding: 0; }
.cal-day small { font-size: 10px; font-weight: 500; color: var(--muted); }
.cal-day:hover:not(:disabled) { background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.cal-day:disabled { color: #cbd5e1; cursor: default; text-decoration: line-through; }
.cal-day:disabled small { visibility: hidden; }
.cal-day.in-range { background: var(--brand-50); border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--ink); color: #fff; border-radius: 10px; }
.cal-day.start small, .cal-day.end small { color: rgba(255, 255, 255, .8); }
.cal-day.checkout-only { color: var(--ink-2); text-decoration: none; cursor: pointer; }
.cal-day.today { box-shadow: inset 0 0 0 1px #cbd5e1; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cal-foot p { margin: 0; font-size: 14px; color: var(--ink-2); }
.avail-cal { max-width: 680px; }
.avail-cal .range-inline { padding: 0; }

/* ---------- formuláře a ostatní ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea { font: inherit; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; width: 100%; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(162, 9, 146, .15); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -5000px; }
.alert { background: #fef2f2; color: #b91c1c; border-radius: 12px; padding: 12px 14px; }
.alert p { margin: 0; }
.booking-page { padding-top: 24px; padding-bottom: 64px; }
.booking-page.narrow { max-width: 1040px; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 16px; }
.summary img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.summary h2 { font-size: 18px; padding: 16px 16px 0; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; padding: 0 16px; margin: 0 0 12px; }
.summary dt { color: var(--muted); }
.summary .storno-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 16px 12px; padding: 10px 12px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); font-size: 14px; }
.summary .storno-note svg { flex: none; margin-top: 2px; }
.storno-page form { margin: 20px 0 8px; }
.summary dd { margin: 0; text-align: right; }
.summary .linkbtn, .summary .alert { margin: 0 16px; display: inline-block; }
.center-page { text-align: center; padding-top: 64px; padding-bottom: 80px; }
.center-page .lead { margin: 0 auto 24px; }
.big-ico { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ee; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-card { display: grid; justify-items: center; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.contact-card .ico { color: var(--brand); }
.contact-card span { color: var(--muted); font-size: 14px; }
.cities-mini { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-weight: 700; }
.cities-mini a { display: inline-flex; gap: 6px; align-items: center; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 20, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: 14px; }

/* patička */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 80px; padding-top: 48px; }
.home .site-footer, .cta-band + * { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid a { display: flex; align-items: center; gap: 8px; color: var(--ink-2); padding: 3px 0; }
.footer-grid a:hover { color: var(--brand); }
.logo-footer { margin-bottom: 10px; color: var(--ink) !important; font-weight: 800; font-size: 18px; }
.footer-h { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; padding-bottom: 28px; font-size: 13px; }

/* ---------- responzivita ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: minmax(0, 1fr); }
  .results-map { position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; display: none; padding: 0; background: #fff; }
  .results-map.open { display: block; }
  .map-list { height: 100%; border-radius: 0; }
  .map-toggle { display: inline-flex; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 45; background: var(--ink); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .detail-side { order: -1; }
  .book-card { position: static; margin-bottom: 8px; }
}
@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; font-size: 17px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .sf-dates, .sf-submit { grid-column: span 2; }
  .sf-dates { order: -1; }
  .sf + .sf { border-left: 0; }
  .sf { border: 1px solid var(--line) !important; border-radius: 12px !important; }
  /* Mobil: fotka náměstí je vidět celá nahoře, nadpis dole na ní, vyhledávání pod fotkou. */
  .hero { min-height: 0; display: block; padding-bottom: 0; background: var(--bg-soft); color: var(--ink); }
  .hero-media { position: relative; min-height: 430px; display: flex; align-items: flex-end; overflow: hidden; background: #1e293b; color: #fff; }
  .hero-media .hero-shade { background: linear-gradient(180deg, rgba(15, 23, 42, .05) 0%, rgba(15, 23, 42, .15) 40%, rgba(15, 23, 42, .78) 100%); }
  .hero .hero-inner { padding-top: 120px; padding-bottom: 44px; } /* .hero – jinak by je .wrap na úzkém displeji vynuloval */
  .hero-media .photo-credit, .city-hero .photo-credit { top: 8px; bottom: auto; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; margin-bottom: 0; }
  .hero-form { margin-top: -18px; padding-bottom: 22px; }
  .city-hero { min-height: 280px; }
  .city-hero .city-hero-text { padding-bottom: 22px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .cities { grid-template-columns: 1fr; }
  .city { min-height: 230px; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { height: 300px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .gallery .g-item:not(:first-child) { display: none; }
  .gallery .g-item:first-child { grid-row: auto !important; }
  .amenities, .rules { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .summary { order: -1; }
  .form-2 { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month + .cal-month { display: none; }
  .range-pop { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; max-height: 86vh; overflow: auto; }
  .detail .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); }
  .detail .site-footer { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 12px; }
  .section { padding-top: 48px; }
  .map-home { height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.pin-dot { color: var(--brand); font-size: 18px; line-height: 1; }
.map-detail .pin { padding: 6px 8px; }
.tiles { filter: saturate(.7) brightness(1.04) contrast(.95); }

.toolbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sort { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.sort select { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font: inherit; font-weight: 600; background: #fff; color: var(--ink); }
.pin-city { background: var(--brand); color: #fff; font-size: 14px; padding: 9px 14px; cursor: pointer; }
.pin-city:hover { background: var(--brand-600); }

/* Přepínač měny v hlavičce */
.cur-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cur-switch a { padding: 6px 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.cur-switch a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .cur-switch { margin-left: auto; } .cur-switch + .header-cta + .menu-toggle, .cur-switch ~ .menu-toggle { margin-left: 8px; } }

/* Rezervace a platba */
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; }
.steps li + li::after { content: none; }
.steps li.on { color: var(--ink); }
.steps li.on::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps li:not(:last-child) { margin-right: 14px; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.form label.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.pay-note { margin: 0; }
/* Fakturační údaje – jen se zaškrtnutým „Chci fakturu“ */
.inv-fields { display: none; gap: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; margin: -4px 0 0; min-width: 0; }
.inv-fields legend { font-weight: 600; font-size: 14px; padding: 0 6px; color: var(--ink-2); }
.form:has(input[name="want_invoice"]:checked) .inv-fields { display: grid; }
.extras-fields { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 14px; margin: 0; min-width: 0; }
.extras-fields legend { font-weight: 600; font-size: 14px; padding: 0 6px; color: var(--ink-2); }
.extras-fields .extra-price { color: var(--brand); font-weight: 600; white-space: nowrap; }
.extras-fields small { display: block; margin-top: 2px; }
.form select { font: inherit; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; width: 100%; background: #fff; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.help-call { margin: 24px auto 0; max-width: 520px; padding: 18px 20px; border: 2px solid var(--brand); border-radius: var(--radius); background: var(--brand-50); }
.help-call p { margin: 0 0 12px; }
.help-call p.small { margin: 12px 0 0; }
.help-call .btn { font-size: 1.15rem; }
.done .done-card { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 28px auto 0; max-width: 520px; }
.done-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.done-card dt { color: var(--muted); }
.done-card dd { margin: 0; text-align: right; }
.big-ico.bad { background: #fef2f2; color: #b91c1c; }
.big-ico.wait { background: var(--brand-50); }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(162, 9, 146, .2); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Přepínač jazyka */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary { border-color: var(--ink); color: var(--ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 190px; z-index: 70; display: grid; }
.lang-menu a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.lang-switch .flag, .lang-menu .flag { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12); }

.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a[aria-current] { background: var(--brand-50); color: var(--brand-600); font-weight: 700; }
@media (max-width: 860px) { .lang-switch { margin-left: auto; } .lang-switch + .cur-switch { margin-left: 0; } }

/* Mobilní hlavička: přepínače jazyka a měny se nesmí smrštit, místo dělá menší mezera a logo. */
.lang-switch, .cur-switch, .menu-toggle { flex: none; }
@media (max-width: 860px) { .header-inner { gap: 10px; } }
@media (max-width: 420px) {
  .logo { font-size: 17px; gap: 8px; }
  .logo svg { width: 32px; height: 32px; }
  .lang-switch summary { padding: 7px 8px; }
  .cur-switch a { padding: 6px 8px; }
}

/* Logo: domeček (SVG) + nápis HomeVibes.cz (průhledné PNG v barvě značky). Na úzkém mobilu jen domeček. */
.logo { gap: 9px; }
.logo-icon { flex: none; display: block; }
.logo-text { display: block; height: 25px; width: auto; }
.logo-footer .logo-text { height: 23px; }
@media (max-width: 480px) { .site-header .logo-text { display: none; } }

/* ---------- Magazín: článek, tipy na místa, nabídky bytů ---------- */
.article-head { padding-bottom: 22px; }
.article-meta { margin: 6px 0 0; }
.article-hero { margin: 24px auto 8px; }
.article-hero img, .article-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.article-body { padding-bottom: 8px; }
.article-body h2 { margin-top: 40px; }
.article-body > p { color: var(--ink-2); font-size: 17px; }
.article-list { padding-left: 20px; color: var(--ink-2); font-size: 17px; }
.article-list li { margin-bottom: 8px; }
.article-img { margin: 24px 0; }
.article-img figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.img-credit { font-size: 13px; }
.img-credit::before { content: "· "; }
.img-credit a { color: inherit; }
.article-link { margin: -4px 0 20px; }
.article-wide { margin: 28px auto 8px; }
.article-cta { margin: 28px 0 8px; }
.article-cta .btn { gap: 8px; }
.article-back { margin: 32px 0 56px; }
.map-article { height: 380px; margin: 24px 0 6px; }
.map-note { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; }
.pin.pin-tip { background: var(--brand); color: #fff; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; cursor: pointer; }
.pin.pin-tip:hover { background: var(--brand-600); }
.pop-tip { display: block; padding: 12px 14px; color: var(--ink); }
.pop-tip span { display: block; font-size: 13px; color: var(--muted); }
.tips { display: grid; gap: 14px; margin: 20px 0; }
.tip { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 90px; }
.tip:target { box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.tip-num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.tip h3 { margin: 4px 0 2px; }
.tip p { margin: 0 0 8px; color: var(--ink-2); }
.tip .tip-cat { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tip-nav { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.tip-web { margin-left: 16px; }
.offer { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; align-items: center; margin: 24px 0; padding: 14px; border-radius: var(--radius); background: var(--brand-50); color: var(--ink); border: 1px solid rgba(162, 9, 146, .18); transition: box-shadow .2s, transform .2s; }
.offer:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.offer img { width: 180px; height: 120px; object-fit: cover; border-radius: 12px; }
.offer strong { display: block; font-size: 17px; line-height: 1.3; }
.offer p { margin: 4px 0 6px; color: var(--ink-2); font-size: 15px; }
.offer-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 4px; }
.offer-meta { font-size: 14px; color: var(--muted); }
.offer-meta strong { display: inline; font-size: 15px; color: var(--ink); }
.offer-go { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.mag-card { color: var(--ink); }
.mag-card:hover { color: var(--ink); }
.mag-card .card-title { font-size: 19px; margin: 2px 0 8px; }
.mag-card .link-arrow { margin-top: auto; }
.city-guide { margin: 6px 0 0; }
.near { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.near li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; color: var(--ink-2); }
.near li .ico { color: var(--brand); margin-top: 3px; }
.near small { display: block; color: var(--muted); font-size: 13px; }
.near-dist { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) {
  .offer { grid-template-columns: 1fr; }
  .offer img { width: 100%; height: 180px; }
  .offer-go { display: none; }
  .map-article { height: 300px; }
  .near li { grid-template-columns: 22px 1fr; }
  .near-dist { grid-column: 2; }
}
/* Hlavní menu: položky se nezalamují; na užších počítačích (než se menu schová do ☰) chybí „Všechny
   apartmány“ – vede na stejnou stránku jako tlačítko Rezervovat vedle. */
.main-nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1199px) {
  .main-nav .nav-list { display: none; }
  .main-nav a { padding: 8px 9px; }
}
@media (min-width: 861px) and (max-width: 979px) { .site-header .logo-text { display: none; } }
/* Azbuka je v našem písmu širší – v ruštině a ukrajinštině menší menu a „Všechny apartmány“ až od 1400 px. */
@media (min-width: 861px) {
  html:is([lang="ru"], [lang="uk"]) .main-nav a { font-size: 14px; padding: 8px 8px; }
}
@media (min-width: 861px) and (max-width: 1399px) {
  html:is([lang="ru"], [lang="uk"]) .main-nav .nav-list { display: none; }
}
@media (min-width: 861px) and (max-width: 1099px) {
  html:is([lang="ru"], [lang="uk"]) .site-header .logo-text { display: none; }
}
.related { padding-left: 20px; margin: 0 0 8px; }
.related li { margin-bottom: 8px; font-weight: 600; }
.see { margin: 24px 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.see ul { margin: 6px 0 0; padding-left: 18px; }
.see li { margin-bottom: 4px; }
.offer.offer-noimg { grid-template-columns: 1fr auto; }

/* ---------- Cookie lišta (jen když je zapnuté měření pro PPC) ---------- */
.consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; }
.consent p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btns .btn { flex: 1 1 140px; }
.consent-btns .btn-light { border: 1px solid var(--line); box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Ochrana osobních údajů, údaje provozovatele ---------- */
.legal { padding-bottom: 56px; }
.legal h2 { margin-top: 36px; font-size: 22px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal-updated { margin-top: 32px; }
.company { margin: 20px auto 24px; max-width: 560px; line-height: 1.6; }

/* ---------- vrstvy mapy (map_layer_chips v app/magazin.php, initMap v site.js) ---------- */
.map-layers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.layer-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font: 600 14px/1.2 var(--font); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.layer-chip:hover { border-color: var(--c); }
.layer-chip .lc-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.layer-chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.layer-chip[aria-pressed="true"] .lc-ico { background: rgba(255, 255, 255, .22); color: #fff; }
.layer-chip:focus-visible { outline: 3px solid color-mix(in srgb, var(--c) 40%, transparent); outline-offset: 2px; }
/* Výpis: přepínače leží přes horní okraj mapy, ať mapa nepřijde o výšku. */
.results-map .map-layers { position: absolute; z-index: 500; top: 10px; left: 10px; right: 10px; margin: 0; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 2px; }
.results-map .map-layers::-webkit-scrollbar { display: none; }
.results-map .layer-chip { flex: none; box-shadow: 0 2px 8px rgba(15, 23, 42, .18); border-color: transparent; }
.results-map .leaflet-top { top: 50px; }
.poi { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .3); cursor: pointer; transition: transform .15s; }
.poi:hover { transform: translate(-50%, -50%) scale(1.12); }
.poi-sm { width: 12px; height: 12px; border-width: 2px; }
.poi-feat { width: auto; height: auto; display: flex; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; font: 800 13px/1 var(--font);
  letter-spacing: .02em; white-space: nowrap; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 4px 14px rgba(15, 23, 42, .3); }
.pop-poi { display: block; padding: 12px 14px 14px; color: var(--ink); font-size: 13px; line-height: 1.45; }
.pop-poi strong { display: block; font-size: 15px; line-height: 1.3; }
.pop-poi .pop-cat { display: inline-block; margin-top: 2px; color: var(--c); font-weight: 700; font-size: 12px; }
.pop-poi p { margin: 6px 0 8px; color: var(--ink-2); }
.pop-poi .pop-links { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 700; }
.pop-poi .pop-links a { color: var(--brand); }
.pop-badge { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 1100px) {
  .section-map .map-layers { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .section-map .map-layers::-webkit-scrollbar { display: none; }
  .section-map .layer-chip { flex: none; }
}
/* Zvýrazněné místo v článku (blok 'feature' – Salori ve wellness článcích). */
.feature { margin: 28px 0; padding: 24px 24px 20px; border-radius: var(--radius); background: linear-gradient(160deg, #e9f6f5 0%, #fff 60%);
  border: 1px solid #bfe3e1; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.feature:target { box-shadow: 0 0 0 2px #0f8b8d, var(--shadow); }
.feature-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #0f8b8d; color: #fff;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.feature h3 { display: flex; align-items: center; gap: 10px; margin: 12px 0 2px; font-size: 24px; line-height: 1.25; }
.feature h3 .tip-num { flex: none; background: #0f8b8d; }
.feature .tip-cat { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.feature p { color: var(--ink-2); }
.feature-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; margin: 16px 0; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.feature-facts dt { font-weight: 800; color: var(--ink); }
.feature-facts dd { margin: 0; color: var(--ink-2); }
.feature-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 4px 0 0; }
.feature-cta .btn { background: #0f8b8d; }
.feature-cta .btn:hover { background: #0b6e70; }
.feature-img { margin: 4px 0 16px; }
.feature-img img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.feature-img figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pop-photo { display: block; width: 100%; height: 130px; object-fit: cover; }
.pop-poi .pop-credit { display: block; margin-top: 8px; font-size: 11px; font-weight: 400; color: var(--muted); }
/* Logo Mapy.com na mapě (podmínka použití podkladu: viditelné, nejméně 30 px vysoké, s odkazem na mapy.com). */
.mapy-logo { display: block; line-height: 0; }
.mapy-logo img { height: 30px; width: auto; }

/* Ubytování pro firmy (/ubytovani-pro-firmy/, templates/business.php) */
@media (min-width: 861px) { .hero-biz { min-height: 540px; padding-bottom: 56px; } }
.biz-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.biz-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.biz-points > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.biz-points .ico { color: var(--brand); margin-bottom: 10px; }
.biz-points h3 { font-size: 18px; margin-bottom: 6px; }
.biz-points p { margin: 0; color: var(--ink-2); }
.section-soft { background: var(--bg-soft); padding: 56px 0; margin-top: 64px; }
.section-soft .lead { margin-bottom: 18px; }
.biz-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.biz-list li { display: flex; gap: 10px; align-items: flex-start; }
.biz-list .ico { color: var(--ok); flex: none; margin-top: 3px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.biz-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.biz-table th, .biz-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.biz-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.biz-table tbody th { font-weight: 700; }
.nowrap { white-space: nowrap; }
.form-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.biz-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-faq { padding-bottom: 64px; }
@media (max-width: 860px) {
  .biz-points { grid-template-columns: 1fr 1fr; }
  .hero-biz .biz-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .biz-points, .form-3 { grid-template-columns: 1fr; }
  .biz-form { padding: 18px; }
  .biz-table th, .biz-table td { padding: 10px 8px; }
}
.biz-near { display: flex; gap: 10px; align-items: baseline; }
.biz-near + .biz-near { margin-top: 6px; }
.biz-near strong { flex: none; min-width: 64px; color: var(--brand); }
.biz-table tbody th { width: 34%; }

/* Lišta „Rezervujte přímo u nás“ pod hlavičkou (layout.php) */
.direct-bar { background: var(--brand-50); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.direct-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.direct-bar strong { color: var(--brand-600); font-weight: 700; }
.direct-bar span { display: inline-flex; align-items: center; gap: 5px; }
.direct-bar .ico { color: var(--ok); flex: none; }
@media (max-width: 600px) {
  .direct-bar { font-size: 12.5px; }
  .direct-bar-in { gap: 2px 12px; padding-top: 6px; padding-bottom: 6px; }
  .direct-bar strong { flex-basis: 100%; }
}

/* Slevový kód v rezervaci (templates/booking.php) */
.promo-field { margin: 4px 0 8px; }
.promo-field > label { display: block; font-weight: 600; margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.promo-ok { color: var(--ok); margin: 6px 0 0; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.promo-bad { color: #b91c1c; margin: 6px 0 0; font-size: 14px; }

/* Vítejte zpět – kód pro návrat (templates/welcome.php) */
.promo-card { display: flex; width: fit-content; flex-direction: column; align-items: center; gap: 6px; margin: 8px auto 20px; padding: 18px 28px; border: 2px dashed var(--brand); border-radius: var(--radius); background: var(--brand-50); }
.promo-card .promo-code { font-size: 30px; letter-spacing: .08em; color: var(--brand-600); }
.promo-card span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.promo-card .ico { color: var(--ok); }
.welcome-why { list-style: none; padding: 0; margin: 0 auto 24px; display: flex; width: fit-content; flex-direction: column; gap: 6px; text-align: left; }
.welcome-why li { display: flex; align-items: center; gap: 8px; }
.welcome-why .ico { color: var(--ok); }
.welcome-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 20px; }
.book-promo { margin: 10px 0 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand-600); font-size: 13.5px; display: flex; gap: 6px; align-items: flex-start; }
.book-promo .ico { flex: none; margin-top: 2px; }
.reviews-detail { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.reviews-detail .review { padding: 16px 18px; }

/* Ubytování pro firmy – pro koho, srovnání s ubytovnou, PDF nabídka (templates/business.php, 14. 11. 2026) */
.biz-chips { list-style: none; padding: 0; margin: 8px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-chips li { padding: 6px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-weight: 600; font-size: 15px; }
.biz-compare td:last-child { color: var(--ink); font-weight: 600; }
.biz-compare td .ico { color: var(--ok); vertical-align: -3px; margin-right: 4px; }
.biz-compare thead th { font-size: 14px; color: var(--muted); }
.biz-h3 { margin: 28px 0 6px; font-size: 20px; }
.biz-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.biz-pdf { font-size: 15px; color: var(--ink-2); }
.biz-pdf a { margin-left: 8px; font-weight: 600; }
.biz-other p { margin: 0; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-soft); }
