/* Snap.com.ua — дизайн-система v2 «Карпатська ніч і золото полонини».
   Перенесено з 2026-11-17_snap-redesign/prototype/assets/css/styles.css (розділи 1–18, 21) без панелі прототипу, UI-kit, CTA B і акаунта.
   Розділ 23 — доповнення для Laravel (реальні фото, Leaflet, HTML-опис, службові сторінки). */

/* ---------- 1. Токени ---------- */
:root {
  /* Палітра v2 «Карпатська ніч і золото полонини» */
  --slate-1: #455A76;
  --slate-2: #394D6A;
  --slate-3: #2C3C55;
  --ink: #121B28;
  --gold-1: #D79005;
  --gold-2: #F2B006;
  --gold-3: #F8D237;

  --primary: var(--slate-2);
  --primary-dark: var(--ink);
  --primary-soft: #EBEFF5;
  --accent: var(--gold-3);
  --accent-soft: #FDF3D0;
  --accent-ink: #7A5200;
  --cta: var(--gold-2);
  --cta-hover: var(--gold-1);
  --cta-ink: var(--ink);
  --bg: #FFFFFF;
  --bg-alt: #F7F5EF;
  --text: var(--ink);
  --text-2: var(--slate-1);
  --line: #E1E5EC;
  --danger: #C0362C;
  --danger-soft: #FDEDEC;
  --success: #2E7D32;
  --success-soft: #E8F3E8;
  --focus: 0 0 0 3px rgb(57 77 106 / .35);
  --overlay: 18 27 40; /* #121B28 для градієнтів на фото */

  --r-card: 16px;
  --r-ctl: 12px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(18 27 40 / .06), 0 2px 8px rgb(18 27 40 / .07);
  --sh-2: 0 8px 24px rgb(18 27 40 / .14);
  --sh-3: 0 24px 48px rgb(18 27 40 / .22);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --container: 1248px;
  --gutter: 24px;
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 12px 16px; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-16 { width: 16px; height: 16px; }
.ic-24 { width: 24px; height: 24px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
[hidden] { display: none !important; }

/* ---------- 3. Сітка ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s6) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: var(--s5) 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); flex-wrap: wrap; }
.section__head p { margin: 4px 0 0; color: var(--text-2); }
.grid { display: grid; gap: var(--s3); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack > * + * { margin-top: var(--s2); }
.row { display: flex; align-items: center; gap: var(--s1); }
.row-wrap { display: flex; flex-wrap: wrap; gap: var(--s1); }

/* ---------- 4. Типографіка ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--text); letter-spacing: -0.01em; }
.h1, h1 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.h2, h2 { font-size: 28px; line-height: 1.2; font-weight: 700; }
.h3, h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.small { font-size: 14px; line-height: 1.45; }
.caption { font-size: 13px; line-height: 1.4; font-weight: 500; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }
.prose { max-width: 760px; }
.prose p { margin: 0 0 var(--s2); }

/* ---------- 5. Кнопки ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 20px;
  border-radius: var(--r-ctl); border: 1.5px solid transparent; font-weight: 700; font-size: 16px; line-height: 1;
  white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, transform .05s;
  background: transparent; color: var(--text); position: relative;
}
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--cta); color: var(--cta-ink); }
.btn--cta:hover, .btn--cta.is-hover { background: var(--cta-hover); }
.btn--cta:active, .btn--cta.is-pressed { background: var(--cta-hover); box-shadow: inset 0 2px 4px rgb(0 0 0 / .18); }
.btn--secondary { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--secondary:hover, .btn--secondary.is-hover { background: var(--primary-soft); }
.btn--secondary:active, .btn--secondary.is-pressed { background: #DDE3EC; }
.btn--ghost { color: var(--primary); padding: 0 12px; }
.btn--ghost:hover, .btn--ghost.is-hover { background: var(--primary-soft); }
.btn--ghost:active, .btn--ghost.is-pressed { background: #DDE3EC; }
.btn--light { background: #fff; color: var(--text); border-color: var(--line); }
.btn--light:hover { border-color: #C9CED6; background: #FAFBFC; }
.btn--google { font-weight: 700; }
.btn--google .g-logo, .header__google .g-logo { width: 20px; height: 20px; flex: none; }
.btn--icon { width: var(--h); padding: 0; }
.btn--sm { --h: 40px; font-size: 15px; padding: 0 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { background: #EEF0F2; color: #6B7380; border-color: transparent; cursor: not-allowed; box-shadow: none; transform: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid var(--cta-ink); border-right-color: transparent; animation: spin .8s linear infinite;
}
.btn--secondary.is-loading::after { border-color: var(--primary); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-ctl);
  border: 0; background: transparent; color: var(--text);
}
.icon-btn:hover { background: var(--bg-alt); }
.call-btn { /* кругла кнопка «Подзвонити» на картці */
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 0;
  background: var(--cta); color: var(--cta-ink); flex: none; text-decoration: none !important;
}
.call-btn:hover { background: var(--cta-hover); }

/* ---------- 6. Поля ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-size: 14px; font-weight: 600; }
.field__hint { font-size: 13px; color: var(--text-2); }
.field__error { font-size: 13px; color: var(--danger); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: #fff;
  transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
.textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-2); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: #C9CED6; }
.input:focus, .select:focus, .textarea:focus, .input.is-focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }
.field.is-error .input, .field.is-error .select, .field.is-error .textarea { border-color: var(--danger); }
.field.is-error .input:focus { box-shadow: 0 0 0 3px rgb(192 54 44 / .25); }
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235B6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.input-icon { position: relative; }
.input-icon > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.input-icon > .input { padding-left: 44px; }
.counter { display: inline-flex; align-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: #fff; }
.counter button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 10px; color: var(--primary); }
.counter button:hover { background: var(--primary-soft); }
.counter button:disabled { color: #A3AAB3; background: none; cursor: not-allowed; }
.counter output { min-width: 36px; text-align: center; font-weight: 700; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; border: 1.5px solid #B9C0C9; border-radius: 6px; margin: 0; flex: none; display: grid; place-items: center; background: #fff; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: ""; width: 12px; height: 7px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }
.check input:focus-visible { box-shadow: var(--focus); }
.check__count { margin-left: auto; color: var(--text-2); font-size: 14px; }
.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: #C9CED6; position: relative; margin: 0; transition: background .2s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .2s; }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(18px); }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { position: relative; }
.radio-pills input { position: absolute; opacity: 0; }
.radio-pills span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill); font-weight: 600; cursor: pointer; }
.radio-pills input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.radio-pills input:focus-visible + span { box-shadow: var(--focus); }
/* Подвійний повзунок ціни */
.range { position: relative; height: 44px; }
.range__track { position: absolute; left: 11px; right: 11px; top: 20px; height: 4px; border-radius: 4px; background: var(--line); }
.range__fill { position: absolute; top: 0; height: 4px; background: var(--primary); border-radius: 4px; }
.range input { position: absolute; left: 0; width: 100%; top: 10px; margin: 0; appearance: none; background: none; pointer-events: none; height: 24px; }
.range input::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: var(--sh-1); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); cursor: grab; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus); }
.range-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range-inputs .input { height: 44px; }

/* ---------- 7. Шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled, .header--solid { border-bottom-color: var(--line); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 10px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
.header__search { flex: 1; min-width: 160px; max-width: 300px; margin-left: auto; position: relative; }
.btn--icon.btn--sm, .header__actions .btn--icon.btn--sm { width: 40px; padding: 0; }
.header__search .input { height: 44px; background: var(--bg-alt); border-color: transparent; }
.header__search .input:focus { background: #fff; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__search + .header__actions { margin-left: 0; }
/* Підписи «Реклама» / «Звʼязок» біля іконок (draft-audit-design) — лише на 1024–1100 px, де меню сховане в бургер:
   ширше видиме меню й пошук не залишають місця (меню переноситься або пошук стискається до 160 px). */
.header__act-label { display: none; }
@media (min-width: 1024px) and (max-width: 1100px) {
  .header__actions .btn--icon.header__act { width: auto; padding: 0 12px; gap: 6px; }
  .header__act-label { display: inline; }
}
/* Головна: пошук у шапці зʼявляється після прокрутки повз пошук головного блоку (клас ставить app.js). */
.header__search { transition: opacity .2s, visibility .2s; }
.header--search-later:not(.is-search-shown) .header__search { opacity: 0; visibility: hidden; }
.header__mobile { display: none; gap: 4px; margin-left: auto; }
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(18 27 40 / .45); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--sh-3); animation: slideIn .2s ease-out; }
.drawer__panel a.navlink { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 17px; }
.drawer__panel a.navlink:hover { background: var(--bg-alt); text-decoration: none; }
.drawer__panel a.navlink .ic { color: var(--primary); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }

/* ---------- 8. Hero + пошук ---------- */
.hero { position: relative; padding: 0 0 var(--s5); }
.hero__media { position: relative; height: 560px; border-radius: 0 0 32px 32px; overflow: hidden; }
.hero__media > svg, .hero__media > img, .hero__media picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.hero__media picture { display: block; height: 100%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--overlay) / .62) 0%, rgb(var(--overlay) / .42) 45%, rgb(var(--overlay) / 0) 75%), linear-gradient(180deg, rgb(var(--overlay) / 0) 40%, rgb(var(--overlay) / .3) 100%); }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 72px; z-index: 2; }
.hero__title { color: #fff; font-size: 48px; font-weight: 800; max-width: 760px; text-shadow: 0 2px 16px rgb(var(--overlay) / .35); letter-spacing: -0.025em; }
.hero__sub { color: #fff; margin: 12px 0 28px; font-size: 18px; font-weight: 500; text-shadow: 0 1px 8px rgb(var(--overlay) / .4); max-width: 640px; }
.searchbox {
  background: #fff; border-radius: 20px; box-shadow: var(--sh-3); padding: 12px; display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, .9fr) auto; gap: 8px; align-items: stretch; position: relative;
}
.sb-field { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 8px 16px; border-radius: 14px; border: 1.5px solid transparent; transition: background .15s, border-color .15s; }
.sb-field:hover { background: var(--bg-alt); }
.sb-field:focus-within, .sb-field.is-focus { background: #fff; border-color: var(--primary); box-shadow: var(--focus); }
.sb-field + .sb-field::before { content: ""; position: absolute; left: -5px; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.sb-field:hover::before, .sb-field:focus-within::before, .sb-field:hover + .sb-field::before, .sb-field:focus-within + .sb-field::before { opacity: 0; }
.sb-label { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.sb-label .ic { width: 16px; height: 16px; color: var(--primary); }
.sb-input { border: 0; padding: 2px 0 0; background: transparent; font-size: 16px; width: 100%; outline: none; color: var(--text); min-height: 28px; }
.sb-input::placeholder { color: var(--text-2); opacity: 1; }
select.sb-input { appearance: none; cursor: pointer; padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235B6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; }
.sb-guests { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sb-guests button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--primary); }
.sb-guests button:hover:not(:disabled) { border-color: var(--primary); }
.sb-guests button:disabled { color: #A3AAB3; cursor: not-allowed; }
.sb-guests output { font-weight: 700; min-width: 64px; text-align: center; }
.searchbox .btn--cta { height: auto; min-height: 64px; padding: 0 28px; border-radius: 14px; font-size: 17px; }
.sb-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.sb-clear:hover { background: var(--bg-alt); }
.quick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: #fff; font-weight: 600; font-size: 14px; }
.quick a { color: #fff; background: rgb(255 255 255 / .18); border: 1px solid rgb(255 255 255 / .45); backdrop-filter: blur(6px); height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px; text-shadow: 0 1px 4px rgb(var(--overlay) / .35); }
.quick a:hover { background: rgb(255 255 255 / .3); text-decoration: none; }
/* компактний пошук у шапці: десктоп — поле, мобільний — лупа */

/* ---------- 9. Підказки ---------- */
.suggest {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; width: min(640px, calc(100vw - 32px)); background: #fff; border-radius: 16px;
  box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 8px; max-height: min(560px, 70vh); overflow: auto;
}
.suggest__group { padding: 4px 0; }
.suggest__group + .suggest__group { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.suggest__title { font-size: 12px; font-weight: 800; color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px 6px; display: flex; justify-content: space-between; }
.suggest__title button { border: 0; background: none; color: var(--primary); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 13px; padding: 0; }
.opt { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 52px; border-radius: 12px; color: var(--text); text-decoration: none !important; cursor: pointer; }
.opt:hover { background: var(--bg-alt); }
.opt.is-active { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.opt__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.opt__thumb { width: 48px; height: 40px; border-radius: 8px; overflow: hidden; flex: none; }
.opt__thumb svg { width: 100%; height: 100%; }
.opt__main { min-width: 0; flex: 1; }
.opt__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt__name b, .opt__name mark { font-weight: 800; background: none; color: inherit; }
.opt__meta { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt__side { font-size: 13px; color: var(--text-2); white-space: nowrap; font-weight: 600; }
.opt__side.price { color: var(--text); }
.suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 8px; }
.suggest__empty { padding: 16px 12px 8px; }
.suggest__empty strong { display: block; font-size: 16px; margin-bottom: 4px; }
.suggest__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 4px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 13px; color: var(--text-2); }
.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--text-2); background: #fff; }
.sk { background: linear-gradient(90deg, #EEF0F2 0, #F7F8FA 40%, #EEF0F2 80%); background-size: 300% 100%; animation: sk 1.3s ease-in-out infinite; border-radius: 8px; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-line { height: 12px; }
/* Повноекранний пошук (мобільний) */
.msearch { position: fixed; inset: 0; z-index: 90; background: #fff; display: none; flex-direction: column; }
.msearch.is-open { display: flex; }
.msearch__bar { display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 4px; border-bottom: 1px solid var(--line); }
.msearch__bar .input { height: 48px; border-color: var(--primary); box-shadow: var(--focus); }
.msearch__body { flex: 1; overflow: auto; padding: 8px; }
.msearch__body .suggest { position: static; width: auto; box-shadow: none; border: 0; padding: 0; max-height: none; }
.msearch__filters { display: flex; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.msearch__filters .select { height: 44px; width: auto; min-width: 150px; }

/* ---------- 10. Картки ---------- */
.ph { width: 100%; height: 100%; display: block; }
.card { position: relative; background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__media > svg { width: 100%; height: 100%; transition: transform .4s; }
.card:hover .card__media > svg { transform: scale(1.03); }
.card__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.card__title a { color: var(--text); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* уся картка клікабельна */
.card__loc { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-2); }
.card__loc .ic { width: 16px; height: 16px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.card__foot .call-btn, .card__foot .btn { position: relative; z-index: 2; }
.price { font-size: 14px; color: var(--text-2); }
.price b { font-size: 20px; color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; }
.card__facts { display: flex; gap: 12px; font-size: 14px; color: var(--text-2); margin-top: 4px; }
.card__facts span { display: inline-flex; align-items: center; gap: 4px; }
.card__facts .ic { width: 16px; height: 16px; }
/* компактна */
.card--compact .card__body { padding: 12px 14px 14px; }
.card--compact .card__title { font-size: 16px; }
.card--compact .price b { font-size: 17px; }
/* горизонтальна */
.card--h { flex-direction: row; }
.card--h .card__media { width: 132px; aspect-ratio: auto; flex: none; }
.card--h .card__body { padding: 12px 14px; gap: 2px; }
.card--h .card__title { font-size: 16px; }
.card--h .price b { font-size: 17px; }
.card--h .card__foot { padding-top: 6px; }
.card--h .call-btn { width: 40px; height: 40px; }
/* плитка напрямку */
.dest { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none !important; box-shadow: var(--sh-1); }
.dest > svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s; }
.dest:hover > svg { transform: scale(1.04); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--overlay) / 0) 45%, rgb(var(--overlay) / .72) 100%); }
.dest__body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.dest__name { font-size: 22px; font-weight: 800; line-height: 1.15; }
.dest__meta { font-size: 14px; font-weight: 600; opacity: .95; margin-top: 2px; }
.dest__count { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; color: var(--text); font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 99px; }
.dest--wide { aspect-ratio: auto; grid-row: span 2; }
/* тур */
.tour .card__media { aspect-ratio: 16 / 10; }
.tour__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.tour .card__loc { margin-top: 6px; }
.tour__stats { display: flex; gap: 16px; font-size: 14px; color: var(--text-2); margin-top: 6px; }
.tour__stats span { display: inline-flex; align-items: center; gap: 6px; }
.tour__stats b { color: var(--text); }
/* скелетон картки */
.card--skeleton .card__media { background: none; }
.card--skeleton .card__media .sk { position: absolute; inset: 0; border-radius: 0; }

/* Горизонтальна прокрутка (мобільні добірки) */
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.grid-6 .dest { aspect-ratio: 3 / 4; }
.grid-6 .dest__name { font-size: 18px; }
.grid-6 .dest__count { font-size: 12px; padding: 4px 8px; }
.hscroll { display: grid; gap: var(--s3); grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 11. Бейджі, вкладки, чипи ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; background: var(--bg-alt); color: var(--text); white-space: nowrap; }
.badge .ic { width: 14px; height: 14px; }
.badge--photo { background: rgb(255 255 255 / .94); color: var(--text); box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.badge--new { background: var(--accent); color: var(--text); }
.badge--verified { background: var(--accent-soft); color: var(--accent-ink); }
.badge--rating { background: var(--primary-dark); color: #fff; }
.badge--rating .ic { fill: #F8D237; stroke: #F8D237; }
.badge--primary { background: var(--primary-soft); color: var(--primary); }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-alt); border-radius: 14px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.section--alt .tabs { background: #fff; box-shadow: var(--sh-1); }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: none; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: #fff; color: var(--primary); box-shadow: var(--sh-1); }
.section--alt .tab[aria-selected="true"] { background: var(--primary-soft); box-shadow: none; }
.tab__count { font-size: 13px; font-weight: 700; color: var(--text-2); background: rgb(69 90 118 / .1); padding: 2px 8px; border-radius: 99px; }
.tab[aria-selected="true"] .tab__count { color: var(--primary); background: var(--primary-soft); }
.section--alt .tab[aria-selected="true"] .tab__count { background: #fff; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 3px; gap: 2px; background: #fff; }
.seg button { height: 38px; padding: 0 12px; border: 0; background: none; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none !important; white-space: nowrap; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip .ic { width: 16px; height: 16px; color: var(--primary); }
.chip--active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.chip button { border: 0; background: none; padding: 0; display: grid; color: inherit; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); padding: 20px 0 12px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--primary); }
.crumbs .ic { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; font-weight: 700; color: var(--text); padding: 0 8px; }
.pager a:hover { background: var(--bg-alt); text-decoration: none; }
.pager [aria-current="page"] { background: var(--primary); color: #fff; }
.pager .is-disabled { color: #A3AAB3; }

/* ---------- 12. Сторінка міста ---------- */
.page-head { padding-bottom: 24px; }
.page-head h1 { margin-bottom: 6px; }
.page-head__meta { color: var(--text-2); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.page-head__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.sheet .filters__head { display: none; }
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: var(--s6); }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 4px 20px 20px; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters__group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filters__group:last-of-type { border-bottom: 0; }
.filters__title { font-size: 15px; font-weight: 800; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 4px; }
.filters__head h2 { font-size: 18px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar__count { font-weight: 700; }
.toolbar .select { height: 44px; width: auto; min-width: 200px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.btn-filters { display: none; }
.btn-filters .badge { height: 22px; padding: 0 8px; background: var(--primary); color: #fff; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ad-slot { grid-column: 1 / -1; height: 250px; border-radius: var(--r-card); border: 1.5px dashed #C9CED6; background: repeating-linear-gradient(-45deg, #FBFAF6 0 12px, #F3F1EA 12px 24px); display: grid; place-items: center; color: var(--text-2); font-size: 14px; text-align: center; position: relative; }
.ad-slot::before { content: "Реклама"; position: absolute; top: 10px; left: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; }
.more__note { font-size: 14px; color: var(--text-2); }
.progress { width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); }
.empty { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-card); grid-column: 1 / -1; }
.empty__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--text-2); margin: 0 auto 16px; max-width: 420px; }
.mapview { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; height: 680px; }
.mapview__list { overflow: auto; display: grid; gap: 12px; align-content: start; grid-auto-rows: max-content; padding-right: 4px; }
.mapview__map { position: relative; border-radius: var(--r-card); overflow: hidden; background: #E9EDE4; }
.mapview__map > svg { width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); background: #fff; color: var(--text); font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 99px; box-shadow: var(--sh-2); border: 0; white-space: nowrap; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.pin.is-active { background: var(--primary); color: #fff; z-index: 2; }
.map-ctrl { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.map-ctrl button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: #fff; box-shadow: var(--sh-1); display: grid; place-items: center; }
.map-attr { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: var(--text-2); background: rgb(255 255 255 / .8); padding: 2px 6px; border-radius: 4px; }
.seo { border-top: 1px solid var(--line); padding: 48px 0 64px; }
.seo h2 { font-size: 22px; margin-bottom: 12px; }
.seo__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; color: var(--text-2); font-size: 14px; }
.seo__facts b { color: var(--text); }
.related-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- 13. Картка закладу ---------- */
.obj-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding-bottom: 20px; flex-wrap: wrap; }
.obj-head h1 { margin: 6px 0 8px; }
.obj-head__addr { display: flex; align-items: center; gap: 6px; color: var(--text-2); flex-wrap: wrap; }
.obj-head__actions { display: flex; gap: 8px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 460px; border-radius: 20px; overflow: hidden; position: relative; }
.mosaic button { border: 0; padding: 0; display: block; overflow: hidden; position: relative; background: var(--bg-alt); }
.mosaic button svg { width: 100%; height: 100%; transition: transform .4s, filter .2s; }
.mosaic button:hover svg { transform: scale(1.03); filter: brightness(.95); }
.mosaic button:first-child { grid-row: span 2; }
.mosaic .mosaic__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; background: #fff; padding: 0 16px; border-radius: var(--r-ctl); border: 1.5px solid var(--line); overflow: visible; }
.mosaic .mosaic__all svg { width: 20px; height: 20px; transition: none; }
.mosaic .mosaic__all:hover svg { transform: none; filter: none; }
.mosaic--3 { grid-template-columns: 2fr 1fr; }
.mosaic--1 { grid-template-columns: 1fr; height: 400px; }
.obj { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding: 32px 0 64px; }
.obj--tour { grid-template-columns: minmax(0, 1fr) 340px; }
.obj__section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.obj__section:first-child { padding-top: 0; }
.obj__section:last-child { border-bottom: 0; }
.obj__section > h2 { font-size: 22px; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.fact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); }
.fact .ic { width: 24px; height: 24px; color: var(--primary); }
.fact b { display: block; font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { font-size: 13px; color: var(--text-2); }
.amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.amen h3 { font-size: 15px; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.amen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.amen li { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.amen li .ic { color: var(--primary); }
/* Hotel feed data on the rest page: rooms, all amenities, stay conditions; hotel class on cards. */
.amen--feed li { min-height: 28px; align-items: flex-start; }
.amen--feed li .ic { flex: none; margin-top: 2px; }
.rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.room { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: grid; gap: 6px; align-content: start; }
.room__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--text-2); }
.room__meta span { display: inline-flex; align-items: center; gap: 6px; }
.room__meta .ic { width: 16px; height: 16px; color: var(--primary); }
.room__amen { margin: 0; font-size: 14px; color: var(--text-2); }
.more { margin-top: 16px; }
.more > summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.more[open] > summary { margin-bottom: 12px; }
.terms { display: grid; gap: 0; margin: 0; }
.terms > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.terms > div:last-child { border-bottom: 0; }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; color: var(--text-2); }
.obj-head .stars { vertical-align: middle; }
.badge--stars .ic { fill: #D79005; stroke: #D79005; }
.mapbox { position: relative; height: 320px; border-radius: var(--r-card); overflow: hidden; background: #E9EDE4; }
.mapbox > svg { width: 100%; height: 100%; }
.mapbox .pin { left: 52%; top: 50%; }
.mapbox__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.reviews__sum { display: flex; align-items: center; gap: 24px; padding: 20px; border-radius: var(--r-card); background: var(--bg-alt); margin-bottom: 16px; flex-wrap: wrap; }
.reviews__score { font-size: 44px; font-weight: 800; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #D79005; }
.stars .ic { width: 18px; height: 18px; fill: currentColor; }
.stars .ic.off { fill: none; color: #C9CED6; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; flex: none; }
.rate-input { display: inline-flex; gap: 4px; }
.rate-input button { width: 44px; height: 44px; border: 0; background: none; color: #C9CED6; display: grid; place-items: center; border-radius: 10px; }
.rate-input button .ic { width: 28px; height: 28px; fill: currentColor; }
.rate-input button.on { color: #D79005; }
.rate-input button:hover { background: var(--bg-alt); }
.contact-panel { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--sh-2); background: #fff; }
.contact-panel__price { font-size: 15px; color: var(--text-2); }
.contact-panel__price b { font-size: 30px; color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; }
.contact-panel__range { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.contact-panel .stack { margin-top: 20px; }
.msgr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phones { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); }
.phones a { font-size: 18px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; min-height: 36px; }
.phones small { font-size: 13px; color: var(--text-2); font-weight: 500; }
/* Телефони для гостей (рішення власника 19.11.2026): у HTML немає цифр — лише розмиті заглушки й запрошення увійти. */
.phone-blur { filter: blur(5px); user-select: none; pointer-events: none; }
.phones .phone-blur-row, .phones-locked__list li { font-size: 18px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; min-height: 36px; }
.phones-locked { display: grid; gap: 12px; }
.phones-locked__list { list-style: none; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); display: grid; gap: 4px; }
.phones-locked__list .ic { color: var(--primary); }
.phones-locked__note { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; color: var(--text-2); }
.phones-locked__note .ic { flex: none; margin-top: 2px; color: var(--primary); }
.phones-locked__link { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; }
#call .phones-locked { margin-top: 12px; }
.contact-panel__meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.contact-panel__meta a, .contact-panel__meta span { display: flex; align-items: center; gap: 8px; }
/* Кнопки «Написати e-mail» / «Сайт закладу» (components/contact-link): вигляд посилання, адреси лише в JS. */
.contact-list .contact-link, .contact-panel__meta .contact-link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0; border: 0; background: none; font: inherit; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.contact-panel__meta .ic { width: 16px; height: 16px; color: var(--text-2); }
.contact-panel__note { font-size: 13px; color: var(--text-2); margin-top: 12px; }
.mbar { display: none; }
/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgb(18 27 40 / .96); display: none; flex-direction: column; color: #fff; }
.lightbox.is-open { display: flex; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__top .icon-btn { color: #fff; }
.lightbox__top .icon-btn:hover { background: rgb(255 255 255 / .1); }
.lightbox__stage { flex: 1; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px; padding: 0 16px; min-height: 0; }
.lightbox__img { height: 100%; max-height: calc(100vh - 200px); display: grid; place-items: center; }
.lightbox__img svg { max-height: 100%; width: auto; aspect-ratio: 4 / 3; border-radius: 12px; }
.lightbox__nav { width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgb(255 255 255 / .22); }
.lightbox__thumbs { display: flex; gap: 8px; justify-content: center; padding: 16px; overflow-x: auto; }
.lightbox__thumbs button { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .6; flex: none; background: none; }
.lightbox__thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }

/* ---------- 14. Каталог міст ---------- */
.cat-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.cat-tools .input-icon { flex: 1; min-width: 260px; max-width: 520px; }
.az { position: sticky; top: var(--header-h); z-index: 20; background: rgb(255 255 255 / .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 8px 0; margin-bottom: 24px; }
.az__in { display: flex; gap: 2px; flex-wrap: wrap; }
.az a, .az span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; color: var(--text); font-size: 15px; }
.az a:hover, .az a.is-active { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.az span { color: #A3AAB3; }
.regions { columns: 3; column-gap: 32px; }
.region { break-inside: avoid; margin-bottom: 28px; }
.region h2 { font-size: 18px; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding-bottom: 8px; border-bottom: 2px solid var(--primary-soft); }
.region h2 small { font-size: 13px; color: var(--text-2); font-weight: 600; }
.region ul { list-style: none; margin: 0; padding: 0; }
.region li a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--text); min-height: 36px; align-items: center; }
.region li a:hover { background: var(--bg-alt); text-decoration: none; color: var(--primary); }
.region li a span { color: var(--text-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.region li a mark { background: #FDF3D0; color: inherit; border-radius: 3px; }
.region li.is-zero a { color: var(--text-2); }
.region__more { border: 0; background: none; color: var(--primary); font-weight: 700; padding: 8px 0; min-height: 40px; display: inline-flex; align-items: center; gap: 4px; }
.letter-group { margin-bottom: 24px; }
.letter-group__title { margin: 0 0 8px; font-weight: 700; line-height: 1.2; } .letter-group__title, .letter-group h2 { font-size: 24px; color: var(--primary); margin-bottom: 8px; }
.letter-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.letter-group li a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text); border-bottom: 1px solid var(--line); min-height: 40px; align-items: center; }
.letter-group li a span { color: var(--text-2); font-size: 14px; }

/* ---------- 15. Бронювання ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-bottom: var(--s6); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--sh-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section-title { grid-column: 1 / -1; font-size: 15px; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; padding-top: 8px; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--danger-soft); color: #8E2219; margin-bottom: 20px; font-weight: 600; }
.form-alert .ic { color: var(--danger); margin-top: 2px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps li::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; }
.steps b { display: block; }
.steps span { color: var(--text-2); font-size: 14px; }
/* Головна: «Як працює Snap.com.ua» з лічильниками й блок «Власникам житла» (draft-audit-design). */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.how h2 { margin-bottom: 20px; }
.how__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.owners { border-radius: 24px; background: var(--primary-soft); padding: 48px; }
.owners h2 { margin: 8px 0 12px; }
.owners p { margin: 0 0 24px; max-width: 560px; color: var(--text-2); }
/* Головна: «Часті запитання» — акордеон на <details> (без JS), токени DESIGN.md. */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq__head h2 { margin-bottom: 12px; }
.faq__head p { margin: 0 0 20px; color: var(--text-2); }
.faq__list { border-top: 1px solid var(--line); }
/* «Каталог у порівнянні»: картки з ранжованими смугами (≤ 24px, край даних 4px, квадратний біля базової лінії, один колір). */
.compare { margin-top: 48px; }
.compare__title { font-size: 20px; margin-bottom: 16px; }
.compare__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.chart-card { margin: 0; padding: 20px; border-radius: var(--r-card); background: var(--bg-alt); display: flex; flex-direction: column; }
.chart-card figcaption { display: grid; gap: 2px; margin-bottom: 16px; }
.chart-card figcaption b { font-size: 16px; }
.chart-card figcaption span { font-size: 13px; color: var(--text-2); }
.chart-card .link-arrow { margin-top: auto; }
.bars__label a { color: var(--text); }
.bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 14px; }
.bars__value { color: var(--text-2); font-variant-numeric: tabular-nums; }
.bars__track { grid-column: 1 / -1; height: 10px; background: #fff; border-radius: 0 4px 4px 0; }
.bars__fill { display: block; height: 100%; width: var(--w); background: var(--primary); border-radius: 0 4px 4px 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; width: 20px; height: 20px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; max-width: 720px; color: var(--text-2); }
.faq details a { text-decoration: underline; }
.success { text-align: center; padding: 24px 8px; }
.success__icon { width: 80px; height: 80px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 20px; }
.success__icon .ic { width: 40px; height: 40px; }
.success h2 { margin-bottom: 8px; }
.success p { color: var(--text-2); max-width: 460px; margin: 0 auto 8px; }
.summary { display: grid; gap: 8px; text-align: left; max-width: 420px; margin: 20px auto; padding: 16px 20px; border-radius: 14px; background: var(--bg-alt); font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary span { color: var(--text-2); }
.aside-card { border-radius: 20px; background: var(--bg-alt); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- 16. Тур ---------- */
.tour-hero { position: relative; height: 480px; border-radius: 0 0 32px 32px; overflow: hidden; }
.tour-hero > svg, .tour-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; display: block; }
.tour-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--overlay) / .25) 0%, rgb(var(--overlay) / .1) 25%, rgb(var(--overlay) / .72) 70%, rgb(var(--overlay) / .8) 100%); }
.tour-hero__in { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: 72px; color: #fff; }
.tour-hero__in h1 { color: #fff; max-width: 900px; text-shadow: 0 2px 12px rgb(0 0 0 / .3); }
.tour-hero__in .crumbs, .tour-hero__in .crumbs a { color: #fff; padding-top: 0; }
.tour-hero__in .badge { margin-bottom: 12px; }
.params { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: -40px; position: relative; z-index: 3; }
.param { background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-2); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.param .ic { width: 28px; height: 28px; color: var(--primary); }
.param span { display: block; font-size: 13px; color: var(--text-2); font-weight: 600; }
.param b { font-size: 18px; }
.needs-data { display: inline-block; font-size: 12px; font-weight: 700; color: #8A4B00; background: #FFF1DE; border: 1px dashed #E0A458; padding: 2px 8px; border-radius: 6px; }
.route-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; font-weight: 600; }
.route-line i { width: 18px; height: 2px; background: var(--line); display: inline-block; }
.route-line span { display: inline-flex; align-items: center; gap: 6px; }
.route-line span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--primary); background: #fff; }
.route-line span:first-child::before, .route-line span:last-child::before { background: var(--primary); }
.sight { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sight:last-child { border-bottom: 0; }
.sight__img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.sight__img svg { width: 100%; height: 100%; }
.sight h3 { margin-bottom: 6px; }
.sight p { margin: 0; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 17. Футер ---------- */
.footer { background: var(--primary-dark); color: #C5CDD9; padding: 56px 0 24px; margin-top: 0; }
.footer a { color: #fff; }
.footer a:hover { color: var(--gold-3); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 44px; width: auto; }
.footer__about { margin: 16px 0 0; max-width: 300px; font-size: 15px; }
.footer .footer__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #B9C3D2; font-weight: 800; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer li a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 500; }
.footer li a .ic { width: 16px; height: 16px; color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .14); margin-top: 40px; padding-top: 20px; font-size: 14px; }

/* ---------- 18. Оверлеї ---------- */
.modal { position: fixed; inset: 0; z-index: 85; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgb(18 27 40 / .5); }
.modal__box { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--sh-3); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px; animation: pop .18s ease-out; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal__box h2, .modal__title { font-size: 22px; padding-right: 40px; margin-bottom: 4px; }
.modal__title { font-weight: 700; line-height: 1.2; color: var(--text); letter-spacing: -0.01em; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.sheet { position: fixed; inset: 0; z-index: 85; display: none; }
.sheet.is-open { display: block; }
.sheet__scrim { position: absolute; inset: 0; background: rgb(18 27 40 / .5); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; background: #fff; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: up .22s ease-out; }
.sheet__grip { width: 40px; height: 5px; border-radius: 5px; background: #D5D9DF; margin: 8px auto 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 8px 20px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: 18px; }
.sheet__body { overflow: auto; padding: 0 20px; flex: 1; }
.sheet__foot { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #121B28; color: #fff; box-shadow: var(--sh-3); font-weight: 600; animation: up .2s ease-out; }
.toast .ic { color: #F8D237; }
.toast--static { position: static; transform: none; animation: none; }

/* ---------- 21. Адаптив ---------- */
@media (max-width: 1200px) {
  .nav a { padding: 0 9px; font-size: 14px; }
  .header__search { max-width: 260px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__mobile { display: flex; }
  .header__actions .btn--add { display: none; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obj { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 1023px) {
  .compare__grid { grid-template-columns: 1fr; }
  .grid-4, .hscroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .obj aside .aside-card { position: static; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .btn-filters { display: inline-flex; }
  .searchbox { grid-template-columns: 1fr 1fr; }
  .searchbox .sb-field:first-child { grid-column: 1 / -1; }
  .searchbox .btn--cta { grid-column: 1 / -1; min-height: 56px; }
  .sb-field + .sb-field::before { display: none; }
  .sb-field { border-color: var(--line); }
  .hero__media { height: 620px; }
  .hero__title { font-size: 40px; }
  .regions { columns: 2; }
  .letter-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mapview { grid-template-columns: 1fr; height: auto; }
  .mapview__map { height: 480px; order: -1; }
  .mapview__list { grid-template-columns: 1fr 1fr; overflow: visible; }
  .header__search { display: none; }
}
@media (max-width: 900px) {
  .obj, .obj--tour { grid-template-columns: minmax(0, 1fr); padding-bottom: 120px; }
  .obj--tour { padding-bottom: 48px; }
  .contact-panel { display: none; }
  .mbar {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(18 27 40 / .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .mbar__price { font-size: 13px; color: var(--text-2); line-height: 1.25; }
  .mbar__price b { display: block; font-size: 18px; color: var(--text); font-weight: 800; white-space: nowrap; }
  .mbar__price span { white-space: nowrap; }
  .mbar__actions { display: grid; grid-template-columns: 48px 48px minmax(0, 1fr); gap: 8px; }
  .mbar__actions .btn--cta { padding: 0 12px; }
  .has-mbar .toast-wrap { bottom: 96px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 60px; }
  .h1, h1 { font-size: 28px; }
  .h2, h2 { font-size: 22px; }
  .h3, h3 { font-size: 18px; }
  .section { padding: 40px 0; }
  .section--tight { padding: 32px 0; }
  .section__head { margin-bottom: 16px; }
  .logo img { height: 30px; }
  .header__actions { display: none; }
  .hero { padding-bottom: 8px; }
  .hero__media { height: 220px; border-radius: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgb(var(--overlay) / 0) 55%, rgb(var(--overlay) / .35) 100%); }
  .hero__content { position: relative; padding: 20px 0 0; margin-top: 0; }
  .hero__title { font-size: 28px; line-height: 1.15; color: var(--text); text-shadow: none; }
  .hero__sub { font-size: 15px; margin: 8px 0 16px; color: var(--text-2); text-shadow: none; }
  .searchbox { box-shadow: var(--sh-2); border: 1px solid var(--line); }
  .quick { color: var(--text-2); }
  .quick a { color: var(--primary); background: var(--primary-soft); border-color: transparent; text-shadow: none; backdrop-filter: none; }
  .owners { padding: 24px; border-radius: 18px; }
  .how { grid-template-columns: 1fr; gap: 24px; }
  .how__stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .faq { grid-template-columns: 1fr; gap: 16px; }
  .compare { margin-top: 32px; }
  .compare__grid { grid-template-columns: 1fr; gap: 12px; }
  .faq summary { font-size: 16px; }
  .dest__meta { font-size: 12px; }
  .searchbox { grid-template-columns: 1fr 1fr; padding: 8px; gap: 8px; border-radius: 18px; }
  .sb-field { min-height: 60px; padding: 6px 12px; }
  .sb-guests output { min-width: 40px; }
  .quick { font-size: 13px; }
  .quick > span { width: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-3.dest-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-6 .dest { aspect-ratio: 1 / 1; }
  .seg .vl { display: none; }
  .dest { aspect-ratio: 1 / 1; }
  .dest__name { font-size: 18px; }
  .dest__body { left: 12px; right: 12px; bottom: 12px; }
  .dest__count { top: 8px; right: 8px; font-size: 12px; padding: 4px 8px; }
  .hscroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .hscroll::-webkit-scrollbar { display: none; }
  .hscroll > * { flex: 0 0 78%; scroll-snap-align: start; }
  .results { grid-template-columns: 1fr; gap: 12px; }
  .results .card--h .card__media { width: 128px; }
  .ad-slot { height: 280px; }
  .toolbar .select { min-width: 0; flex: 1; }
  .toolbar { gap: 8px; }
  .toolbar__left { width: 100%; justify-content: space-between; }
  .toolbar__right { display: flex; gap: 8px; width: 100%; }
  .mapview__list { grid-template-columns: 1fr; }
  .mapview__map { height: 420px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; height: 260px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .mosaic button:not(:first-child) { display: none; }
  .mosaic button:first-child { grid-row: auto; }
  .mosaic__all { right: 12px; bottom: 12px; }
  .mosaic__counter { display: inline-flex !important; }
  .obj-head { padding-top: 16px; }
  .obj-head__actions { display: none; }
  .obj-head__addr { align-items: flex-start; }
  .obj-head__addr .ic { margin-top: 3px; }
  .obj-head__addr .sep { display: none; }
  .obj-head__addr a { flex-basis: 100%; padding-left: 22px; }
  .more .pager { display: none; }
  .amen { grid-template-columns: 1fr; gap: 16px; }
  .rooms { grid-template-columns: 1fr; }
  .terms > div { grid-template-columns: 1fr; gap: 2px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .regions { columns: 1; }
  .letter-group ul { grid-template-columns: 1fr; }
  .az__in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .az a, .az span { width: 40px; height: 40px; flex: none; }
  .form-card { padding: 20px 16px; border-radius: 16px; margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .tour-hero { height: 380px; border-radius: 0 0 24px 24px; }
  .tour-hero__in { padding-bottom: 48px; }
  .tour-hero__in h1 { font-size: 24px; }
  .params { grid-template-columns: 1fr 1fr; margin-top: -28px; gap: 8px; }
  .param { padding: 14px; gap: 10px; }
  .param b { font-size: 16px; }
  .sight { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .modal { align-items: flex-end; padding: 0; }
  .modal__box { border-radius: 20px 20px 0 0; width: 100%; padding: 24px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 92vh; }
  .lightbox__stage { grid-template-columns: 1fr; padding: 0; }
  .lightbox__nav { display: none; }
  .lightbox__img svg { width: 100%; height: auto; border-radius: 0; }
}
@media (min-width: 768px) { .mosaic__counter { display: none !important; } }

/* ---------- 23. Laravel: доповнення до прототипу ---------- */
/* Manrope variable 200–800, самохостинг (OFL, public/fonts/manrope-OFL.txt) */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Реальні фото замість SVG-плейсхолдерів */
.card__media > img, .mosaic button img, .dest > img, .opt__thumb img, .sight__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media > img { transition: transform .4s; }
.card:hover .card__media > img { transform: scale(1.03); }
.mosaic button img { transition: transform .4s, filter .2s; }
.mosaic button:hover img { transform: scale(1.03); filter: brightness(.95); }
.dest > img { position: absolute; inset: 0; transition: transform .5s; }
.dest:hover > img { transform: scale(1.04); }
.lightbox__img img { max-height: 100%; max-width: 100%; width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-2); background: var(--bg-alt); }
.noimg .ic { width: 40px; height: 40px; opacity: .55; }

/* Карти Leaflet */
.lmap { position: relative; height: 320px; border-radius: var(--r-card); overflow: hidden; background: #E9EDE4; z-index: 0; }
.lmap--tall { height: 600px; }
.mapview__map.lmap { height: 100%; }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content a { font-weight: 700; }

/* HTML-опис із БД (очищений) */
.prose { overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose ul, .prose ol { margin: 0 0 var(--s2); padding-left: 22px; }
.prose h2, .prose h3, .prose h4 { margin: var(--s3) 0 var(--s1); }
.prose table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }

/* Сітки посилань (області, міста) */
.link-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.link-cols li a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--text); border-bottom: 1px solid var(--line); min-height: 40px; align-items: center; }
.link-cols li a:hover { color: var(--primary); text-decoration: none; }
.link-cols li a span { color: var(--text-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.catalog-view[hidden] { display: none; }
.is-zero-hidden .is-zero { display: none; }
.city-info { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-2); margin: 0 0 24px; }
.city-info span { display: inline-flex; align-items: center; gap: 6px; }
.type-links { list-style: none; margin: 0; padding: 0; }
.type-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; margin: 0 -8px; border-radius: 10px; color: var(--text); font-weight: 600; }
.type-links a:hover { background: var(--bg-alt); text-decoration: none; }
.type-links a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.type-links .check__count { margin-left: auto; }
.type-nav { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.type-nav::-webkit-scrollbar { display: none; }
.org { background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-1); padding: 20px 24px; }
.org + .org { margin-top: 16px; }
.org h2 { font-size: 20px; margin-bottom: 6px; }
.org p { margin: 0 0 10px; color: var(--text-2); }
.org ul, .contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.org li, .contact-list li { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.org li .ic, .contact-list .ic { width: 16px; height: 16px; color: var(--text-2); }
.side-list { list-style: none; margin: 0 0 8px; padding: 0; }
.side-list a { display: flex; justify-content: space-between; gap: 8px; min-height: 40px; align-items: center; color: var(--text); font-weight: 600; }
.side-list a[aria-current="page"] { color: var(--primary); }
.side-list span { color: var(--text-2); font-weight: 500; font-size: 14px; }
.text-page { padding-bottom: var(--s6); }
.text-page .prose p { margin: 0 0 var(--s2); }
.status-page { text-align: center; padding: 48px 0 96px; }
.status-page .empty { max-width: 640px; margin: 0 auto; }
.status-page .empty h1 { font-size: 64px; color: var(--primary); }
.form-ok { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--success-soft); color: #1D5420; margin-bottom: 20px; font-weight: 600; }
.form-ok .ic { color: var(--success); margin-top: 2px; }
.affiliate { min-height: 320px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1023px) {
  .link-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-nav { display: flex; }
}
@media (max-width: 767px) {
  .link-cols { grid-template-columns: 1fr; }
  .lmap--tall { height: 420px; }
  .status-page .empty h1 { font-size: 48px; }
  .org { padding: 16px; }
}

/* Пошукова форма з трьох полів (без «Гості»: місткість у БД не фільтрується) */
.searchbox--3 { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) auto; }
/* Сегментований перемикач посиланнями (Список / Карта ведуть на окремі URL легасі) */
.seg .seg__link { height: 38px; padding: 0 12px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-2); text-decoration: none; }
.seg .seg__link:hover { color: var(--text); }
.seg .seg__link[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.mbar__actions--single { grid-template-columns: minmax(0, 1fr) !important; }
.mbar__actions:empty { display: none; }
.suggest__empty strong { font-size: 15px; }
@media (max-width: 1023px) {
  .searchbox--3 { grid-template-columns: 1fr 1fr; }
  .searchbox--3 .sb-field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .searchbox--3 { grid-template-columns: 1fr; }
  .searchbox--3 .btn--cta { grid-column: auto; }
}
.mosaic + script + .obj-head, .mosaic + .obj-head { padding-top: 24px; }
.obj__contacts { display: none; }
@media (max-width: 900px) { .obj__contacts { display: block; } }
.tags .chip { white-space: normal; height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; max-width: 100%; overflow-wrap: anywhere; }
.tour-hero__in .crumbs [aria-current] { color: #fff; }
.tour-hero > .noimg { position: absolute; inset: 0; background: var(--slate-3); color: #fff; }
/* WCAG link-in-text-block: inline links in text are underlined, not only coloured */
.prose a, .obj-head__addr a, .page-head p a, .contact-panel__meta a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  /* Keep «Список / Карта» as accessible names when the labels are visually hidden */
  .seg .seg__link .vl { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- 24. Акаунт: меню користувача, вхід і реєстрація, кабінет (розділ 22 прототипу без майстра «Додати об'єкт») ---------- */
.avatar--sm { width: 32px; height: 32px; font-size: 14px; background: var(--gold-2); color: var(--ink); }
.avatar--lg { width: 64px; height: 64px; font-size: 26px; background: var(--gold-2); color: var(--ink); }
.umenu { position: relative; }
.umenu__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px 0 6px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; font-weight: 700; }
.umenu__btn:hover { border-color: var(--primary); }
.umenu__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); padding: 8px; display: grid; }
.umenu__head { padding: 8px 12px 10px; display: grid; }
.umenu__head span { font-size: 13px; color: var(--text-2); }
.umenu__list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.umenu__list a:hover, .umenu__list a:focus-visible { background: var(--bg-alt); }
.umenu__list a .ic { color: var(--primary); }
.umenu__list hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.header__mobile .avatar--sm { width: 30px; height: 30px; }

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth__box { width: 100%; max-width: 440px; }
.auth__box h1 { font-size: 32px; margin-bottom: 8px; }
.auth__lead { color: var(--text-2); margin: 0 0 24px; }
.auth__media { position: relative; overflow: hidden; margin: 16px 16px 16px 0; border-radius: 24px; }
.auth__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.auth__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--overlay) / 0) 40%, rgb(var(--overlay) / .78) 100%); }
.auth__quote { position: absolute; left: 32px; right: 32px; bottom: 40px; z-index: 2; color: #fff; }
.auth__quote b { display: block; font-size: 26px; line-height: 1.25; margin-bottom: 12px; }
.auth__quote ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.auth__quote li { display: flex; gap: 10px; align-items: center; }
.auth__quote li .ic { color: var(--gold-3); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw button { position: absolute; right: 4px; top: 2px; width: 44px; height: 44px; border: 0; background: none; color: var(--text-2); border-radius: 10px; display: grid; place-items: center; }
.pw button:hover { background: var(--bg-alt); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.meter i { height: 4px; border-radius: 4px; background: var(--line); }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-s="2"] i:nth-child(-n+2) { background: var(--gold-1); }
.meter[data-s="3"] i:nth-child(-n+3) { background: var(--slate-1); }
.meter[data-s="4"] i { background: var(--success); }
.auth__alt { margin-top: 20px; text-align: center; color: var(--text-2); }

.acc { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px 0 64px; }
.acc__side { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: #fff; }
.acc__user { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.acc__user b { display: block; }
.acc__nav { display: grid; gap: 2px; }
.acc__nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--text); font-weight: 600; text-decoration: none; }
.acc__nav a:hover { background: var(--bg-alt); }
.acc__nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.acc__nav a .ic { color: var(--primary); }
.acc__nav .count { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--gold-2); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.acc__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.acc__head h1 { font-size: 28px; }
.olist { display: grid; gap: 12px; }
.orow { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.orow__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.orow__img svg { width: 100%; height: 100%; }
.orow__title { font-size: 17px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.orow__meta { font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.orow__meta span { display: inline-flex; gap: 6px; align-items: center; }
.orow__note { margin-top: 8px; font-size: 14px; padding: 8px 12px; border-radius: 10px; background: var(--danger-soft); color: #8E2219; display: flex; gap: 8px; }
.orow__actions { display: flex; gap: 8px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--live { background: var(--success-soft); color: var(--success); }
.status--mod { background: var(--accent-soft); color: var(--accent-ink); }
.status--draft { background: #EEF0F3; color: var(--slate-1); }
.status--rej { background: var(--danger-soft); color: var(--danger); }
.status--new { background: var(--gold-2); color: var(--ink); }
.panel { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: #fff; margin-bottom: 20px; }
.panel h2 { font-size: 18px; margin-bottom: 4px; }
.panel > p { color: var(--text-2); margin: 0 0 16px; font-size: 14px; }
.panel--danger { border-color: #F2C4C0; }
@media (max-width: 1023px) {
  .acc { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .acc__side { position: static; padding: 8px; border-radius: 16px; }
  .acc__user { display: none; }
  .acc__nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .acc__nav a { white-space: nowrap; flex: none; }
  .auth { grid-template-columns: 1fr; }
  .auth__media { display: none; }
}
@media (max-width: 767px) {
  .umenu__name { display: none; }
  .orow { grid-template-columns: 96px minmax(0, 1fr); }
  .orow__actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .orow__actions .btn { flex: 1; }
  .auth__main { padding: 24px 16px 48px; align-items: flex-start; }
  .auth__box h1 { font-size: 26px; }
}
/* Laravel: реальні фото в рядку об'єкта, форма виходу як пункт меню */
.orow__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.umenu__list form { margin: 0; }
.umenu__list button.umenu__item, .drawer__panel button.navlink { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font-weight: 600; text-align: left; }
.umenu__list button.umenu__item:hover, .umenu__list button.umenu__item:focus-visible { background: var(--bg-alt); }
.umenu__list button.umenu__item .ic { color: var(--primary); }
.acc__section + .acc__section { margin-top: 32px; }
.acc__section > h2 { font-size: 20px; margin-bottom: 12px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
/* WCAG AA: «Перевірений» — darker green text on the soft background; links inside account/auth texts are underlined */
.status--live { color: #1D5420; }
.panel p a, .form-alert a, .auth__lead a, .auth__alt a { text-decoration: underline; text-underline-offset: 3px; }
