/* Хотелсбг.бг: модерен облик. Mobile-first: основата е за телефон, @media (min-width) добавя таблет и компютър. */

:root {
  /* бяло, топло сиво и графит за повърхностите; бордото от логото като акцент (основни бутони, етикети, цени, икони) */
  --brand: #7a1828;
  --brand-700: #5e1120;
  --brand-900: #3b0a14;
  --brand-50: #faf1f2;
  --brand-100: #f3dfe2;
  --blush: #f0c9cf;
  --amber: #d9a441;

  --ink: #1d1416;
  --ink-2: #47393c;
  --muted: #7b6e71;
  --faint: #ad9fa2;
  --bg: #fff;
  --surface: #f7f5f3;
  --line: #ebe7e4;
  --line-2: #f3f0ed;
  --dark: #1c1819;

  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --sh: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -20px rgba(0, 0, 0, .2);
  --sh-lg: 0 2px 6px rgba(0, 0, 0, .04), 0 30px 60px -32px rgba(0, 0, 0, .32);

  --f-body: "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Wix Madefor Display", "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gut: 16px;
  --hdr-h: 64px;
  --strip-h: 64px;
  --hdr-vis: var(--hdr-h);
}

*, *::before, *::after { box-sizing: border-box; }
* { font-feature-settings: "locl" 0 !important; } /* шорткът font: нулира настройката, а lang="bg" иначе включва българските форми */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-vis) + 70px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
body.sheet-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; box-shadow: 0 0 0 1.5px var(--brand); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 999px; }
.skip:focus { top: 8px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.muted { margin: 0; color: var(--muted); }

/* Надписите над заглавията */
.eyebrow { margin: 0 0 10px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--blush); }
.h2 { margin: 30px 0 14px; font: 600 24px/1.2 var(--f-head); letter-spacing: -.02em; color: var(--ink); }
.h3 { margin: 0 0 12px; font: 600 19px/1.25 var(--f-head); letter-spacing: -.01em; color: var(--ink); }

/* Бутони */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 700 15px/1.2 var(--f-body); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn .i { width: 18px; height: 18px; }
.btn--wine { background: var(--brand); color: #fff; }
.btn--wine:hover { background: var(--brand-700); color: #fff; box-shadow: 0 14px 26px -14px rgba(122, 24, 40, .75); transform: translateY(-1px); }
.btn--gold { background: #fff; color: var(--ink); }
.btn--gold { color: var(--brand); }
.btn--gold:hover { background: var(--brand-50); color: var(--brand-700); transform: translateY(-1px); }
.btn--line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: 7px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.icon-btn:hover { background: var(--surface); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip--sm { min-height: 30px; padding: 3px 11px; font-size: 13px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.card--pad { padding: 20px; }

/* Звезди */
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars .i { width: 15px; height: 15px; }

/* Горна лента */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 8px 24px -18px rgba(16, 18, 24, .35); }
.hdr.is-hidden { transform: translateY(calc(-100% + var(--strip-h))); }
.hdr__top { display: none; background: var(--surface); color: var(--muted); font-size: 13px; }
.hdr__topin { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.hdr__topin span { margin-right: auto; }
.hdr__topin a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hdr__topin a:hover, .hdr__topin a[aria-current] { color: var(--brand); }
.hdr__topin .i { width: 15px; height: 15px; color: var(--faint); }
.hdr__in { display: flex; align-items: center; gap: 12px; min-height: var(--hdr-h); }
.wm { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.wm:hover { color: var(--ink); }
.mark { width: 44px; height: 30px; flex: none; }
.wm__txt { display: grid; line-height: 1; }
.wm__txt b { font: 700 22px/1.05 var(--f-head); letter-spacing: -.03em; color: var(--ink); }
.wm__txt i { font-style: normal; color: var(--brand); }
.wm__txt small { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.nav, .hdr__search, .hdr__login { display: none; }
.hdr__menu { margin-left: auto; border: 1px solid var(--line); }
/* Видовете обекти като лента с икони (телефон) */
.tstrip { border-top: 1px solid var(--line-2); }
.tstrip__list { list-style: none; margin: 0; padding: 0 var(--gut); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tstrip__list::-webkit-scrollbar { display: none; }
.tstrip__list a { position: relative; display: grid; align-content: center; justify-items: center; gap: 3px; min-width: 78px; height: var(--strip-h); padding: 6px 6px 4px; color: var(--muted); font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.2; text-decoration: none; }
.tstrip__list a span { max-width: 84px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tstrip__list .i { width: 22px; height: 22px; color: var(--ink-2); }
.tstrip__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .2s; }
.tstrip__list a:hover, .tstrip__list a[aria-current] { color: var(--ink); }
.tstrip__list a:hover::after, .tstrip__list a[aria-current]::after { transform: none; }
.tstrip__list a[aria-current] { color: var(--ink); }
.tstrip__list a[aria-current] .i { color: var(--brand); }

/* Плаващото копче „Търсене на обект“ (телефон) */
.fpill { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; translate: -50% 0; display: flex; align-items: center; gap: 12px; width: min(420px, calc(100vw - 28px)); min-height: 62px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--dark); color: #fff; box-shadow: 0 18px 36px -14px rgba(16, 18, 24, .6), 0 0 0 4px rgba(255, 255, 255, .9); text-align: left; transition: transform .25s; }
.fpill > .i:first-child { width: 22px; height: 22px; color: #fff; }
.fpill span { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.fpill b { font-size: 15px; }
.fpill small { font-size: 12px; color: #aaa3a4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpill__f { width: 44px !important; height: 44px !important; padding: 11px; border-radius: 50%; background: var(--brand); color: #fff; }
.fpill:active { transform: scale(.98); }

/* Търсачката с филтрите */
.finder { display: grid; gap: 14px; }
.finder__kw { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 4px 16px; background: var(--surface); border: 1.5px solid transparent; border-radius: var(--r); transition: border-color .2s, background-color .2s; }
.finder__kw:focus-within { border-color: var(--ink); background: #fff; }
.finder__kw .i { color: var(--muted); }
.finder__kw input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 8px 0; }
.finder__kw input:focus-visible { box-shadow: none; outline: 0; }
.finder__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fsel { display: grid; gap: 6px; position: relative; }
.fsel label, .fstars legend, .fextras legend { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 0; }
.fsel select, .combo__input { width: 100%; min-height: 52px; padding: 10px 40px 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; font-size: 16px; appearance: none; }
.fsel select:focus, .combo__input:focus { outline: 0; border-color: var(--ink); box-shadow: none; }
.fstars, .fextras { margin: 0; padding: 0; border: 0; min-width: 0; }
.fstars { display: flex; flex-wrap: wrap; gap: 6px; }
.fstars legend, .fextras legend { margin-bottom: 6px; }
.fstars label, .fextras label { position: relative; }
.fstars input, .fextras input { position: absolute; opacity: 0; pointer-events: none; }
.fstars span { display: inline-flex; align-items: center; gap: 4px; min-width: 54px; min-height: 40px; padding: 0 12px; justify-content: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s; }
.fstars span:hover { border-color: var(--ink); }
.fstars span .i { width: 14px; height: 14px; color: var(--amber); }
.fstars input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.fstars input:checked + span .i { color: #fff; }
.fstars input:focus-visible + span, .fextras input:focus-visible + span { outline: 3px solid var(--brand-100); outline-offset: 2px; }
.fextras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fextras span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; text-align: center; transition: border-color .2s, background-color .2s; }
.fextras span:hover { border-color: var(--ink); }
.fextras span .i { width: 22px; height: 22px; color: var(--ink-2); }
.fextras input:checked + span { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.fextras input:checked + span .i { color: var(--ink); }
/* Дестинацията: търсене с писане */
.combo { position: relative; }
.combo__input { background-image: none; padding-right: 14px; }
.combo__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); }
.combo__list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.combo__list li[aria-selected="true"], .combo__list li:hover { background: var(--surface); }
.combo__list mark { background: var(--brand-100); color: inherit; font-weight: 700; border-radius: 3px; }
.combo__all { color: var(--muted); font-weight: 700; }
.combo__empty { color: var(--muted); cursor: default !important; }

/* Начало: тъмна сцена със заглавието и топ офертите като картички. Снимките на офертите са малки (около 250 px), затова се показват в естествения си размер и не се разтягат. Търсачката е отдолу. */
.hero { position: relative; padding: 8px 8px 0; }
.hero__stage { position: relative; overflow: hidden; border-radius: 26px; background: radial-gradient(70% 80% at 88% 8%, #433a3c 0%, rgba(67, 58, 60, 0) 62%), #1c1819; color: #fff; isolation: isolate; }
.hero__stage::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; z-index: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 40px 18px 96px; }
.hero__note { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c9c1c2; }
.hero__note b { color: #fff; }
.hero__dot { width: 22px; height: 2px; border-radius: 2px; background: var(--brand-100); }
.hero h1 { font: 600 clamp(36px, 9.6vw, 64px)/1.03 var(--f-head); letter-spacing: -.04em; color: #fff; max-width: 16ch; text-wrap: balance; }
.hero h1 span { color: rgba(255, 255, 255, .62); }
.hero__lead { margin: 16px 0 0; max-width: 46ch; color: #d6d0d1; font-size: 17px; }
/* топ офертите като картички: лента на телефона, плаващи на компютъра */
.hero__deck { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 12px; margin: 0 -18px; padding: 4px 18px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; }
.hero__deck::-webkit-scrollbar { display: none; }
.hcd { display: grid; gap: 8px; padding: 8px 8px 12px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; scroll-snap-align: start; box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .7); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.hcd:hover { color: var(--ink); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .75); }
.hcd__img { display: block; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 14px; background: var(--surface); }
.hcd__img img { width: 100%; height: 100%; object-fit: cover; }
.hcd__t { display: grid; gap: 2px; padding: 0 4px; font-size: 14px; line-height: 1.3; }
.hcd__t small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.hcd__t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.hcd__t em { font-style: normal; font-weight: 700; color: var(--muted); }
.hero__bar { position: relative; z-index: 2; margin-top: -68px; }
.hero__card { position: relative; padding: 16px; background: #fff; color: var(--ink); border-radius: var(--r-xl); box-shadow: 0 2px 6px rgba(20, 16, 17, .06), 0 30px 60px -26px rgba(20, 16, 17, .4); }
.hero__pop { margin: 16px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 4px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.hero__pop::-webkit-scrollbar { display: none; }
.hero__pop > span { flex: none; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.hero__pop a { flex: none; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.hero__pop a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Раздели */
.sec { padding: 46px 0; }
.sec--soft { background: var(--surface); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.sec__title { font: 600 clamp(28px, 7.4vw, 50px)/1.04 var(--f-head); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* Оферти */
.ostrip { display: grid; grid-auto-flow: column; grid-auto-columns: 66%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gut); margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 12px; }
.ostrip::-webkit-scrollbar { display: none; }
.ostrip > * { scroll-snap-align: start; }
.ocard { position: relative; display: grid; align-content: start; gap: 12px; }
.ocard__img { display: block; aspect-ratio: 6 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ocard:hover .ocard__img img { transform: scale(1.04); }
.ocard__price { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--brand); font: 600 15px/1.1 var(--f-head); box-shadow: 0 8px 18px -10px rgba(20, 16, 17, .5); }
.ocard__price small { font: 600 12px/1 var(--f-body); color: var(--muted); }
.ocard__body { padding: 0 2px; }
.ocard__t { font: 600 17px/1.25 var(--f-head); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.ocard__t::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.ocard__t:hover { color: var(--brand); }
.ocard__body p { margin: 3px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 22px 18px; }
.ogrid--in { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }

/* Акценти (ТОП банерите) */
.car__nav { display: flex; gap: 8px; }
.car__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, background-color .2s; }
.car__btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.tops { list-style: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gut); scroll-behavior: smooth; }
.tops::-webkit-scrollbar { display: none; }
.tops li { scroll-snap-align: start; }
.tops__item { display: block; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh); transition: transform .25s, box-shadow .25s; }
.tops__item img { width: 100%; height: auto; aspect-ratio: 621 / 188; object-fit: cover; }
.tops__item:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

/* Видове обекти */
.tgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tgrid a { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 72px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.25; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.tgrid .i { grid-row: 1 / 3; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--brand-50); color: var(--brand); transition: background-color .25s, color .25s; }
.tgrid span { align-self: end; overflow-wrap: anywhere; }
.tgrid small { align-self: start; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tgrid a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh); }
.tgrid a:hover .i { background: var(--brand); color: #fff; }
.tchips { list-style: none; margin: 18px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tchips::-webkit-scrollbar { display: none; }
.tchips a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .2s; }
.tchips a:hover { border-color: var(--ink); }
.tchips .i { width: 18px; height: 18px; color: var(--muted); }
.tchips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tchips a[aria-current] .i { color: #fff; }

/* Популярни дестинации: цветни плочки */
.dgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dgrid a { position: relative; display: grid; align-content: end; gap: 4px; min-height: 128px; padding: 16px; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; isolation: isolate; transition: background-color .3s, color .3s, border-color .3s, transform .25s, box-shadow .25s; }
.dgrid__l { position: absolute; right: 10px; top: 4px; z-index: -1; font: 600 76px/1 var(--f-head); color: var(--brand-50); transition: color .3s, transform .4s; }
.dgrid b { font: 600 19px/1.15 var(--f-head); letter-spacing: -.01em; }
.dgrid small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; font-weight: 600; transition: color .3s; }
.dgrid small .i { width: 14px; height: 14px; transition: transform .25s; }
.dgrid a:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh); }
.dgrid a:hover small { color: var(--brand); }
.dgrid a:hover .dgrid__l { color: var(--brand-100); transform: translateY(4px); }
.sec--wine { position: relative; overflow: hidden; background: linear-gradient(160deg, #3b0a14 0%, #6a1424 100%); color: #fff; }
.sec--wine::before { content: ""; position: absolute; width: 460px; height: 460px; right: -160px; bottom: -240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.sec--wine .wrap { position: relative; }
.sec--wine .sec__title { color: #fff; }
.dgrid a:hover small .i { transform: translateX(3px); }

/* Препоръчани + реклама */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.recs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rec { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.rec:hover { border-color: var(--ink); box-shadow: var(--sh); transform: translateY(-2px); }
.rec__img { height: 84px; display: grid; place-items: center; padding: 8px; border-radius: var(--r); background: var(--surface); }
.rec__img img { max-height: 68px; width: auto; object-fit: contain; }
.rec__name { font: 600 16px/1.25 var(--f-head); color: var(--ink); text-decoration: none; transition: color .2s; }
.rec:hover .rec__name { color: var(--ink); }
.rec__name::after { content: ""; position: absolute; inset: 0; }
.rec p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ads__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ad { display: grid; gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.3; transition: border-color .2s, transform .2s; }
.ad:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.ad__img { height: 96px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; }
.ad__img img { max-height: 96px; width: auto; object-fit: contain; }
.ads .eyebrow { margin-bottom: 12px; }

/* Покана */
.cta { position: relative; overflow: hidden; display: grid; gap: 18px; padding: 30px 22px 26px; border-radius: var(--r-xl); background: var(--dark); color: #fff; }
.cta::after { content: ""; position: absolute; right: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03); pointer-events: none; }
.cta h2 { font: 600 clamp(26px, 6vw, 38px)/1.1 var(--f-head); letter-spacing: -.03em; }
.cta p { margin: 8px 0 0; color: #bdb6b7; max-width: 62ch; }
.cta__act { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.cta--doc { margin-top: 30px; }
.cta--doc h2 { font-size: 24px; }

/* Долна част */
.ftr { margin-top: 30px; background: var(--dark); color: #b3abac; padding: 54px 0 22px; font-size: 14.5px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.ftr .wm__txt b { color: #fff; }
.ftr .mark path[stroke="#1d1416"] { stroke: #fff; }
.ftr .mark path[stroke="#7a1828"] { stroke: var(--blush); }
.ftr .wm__txt small { color: #958c8e; }
.ftr__brand p { margin: 14px 0 0; max-width: 40ch; }
.ftr h3 { margin: 0 0 12px; font: 600 15px/1.2 var(--f-head); color: #fff; }
.ftr a { color: #e6e1e1; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cinfo li { display: flex; gap: 10px; align-items: flex-start; }
.cinfo .i { width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.ftr .cinfo .i { color: #958c8e; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.regs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.regs a { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); transition: border-color .2s, background-color .2s; }
.regs a:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); text-decoration: none; }
.regs b { color: #fff; font-size: 14px; }
.regs span { color: #958c8e; font-size: 12.5px; }
.ftr__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #958c8e; }
.ftr__bottom p { margin: 0; }
.totop { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background-color .2s, color .2s; }
.totop:hover { background: #fff; color: var(--ink); }

/* Листове: търсене, меню */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet__bg { position: absolute; inset: 0; background: rgba(16, 18, 24, .5); animation: fade .2s; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 14px var(--gut) calc(22px + env(safe-area-inset-bottom)); animation: up .26s cubic-bezier(.2, .8, .2, 1); }
.sheet__panel::before { content: ""; display: block; width: 44px; height: 5px; margin: 0 auto 10px; border-radius: 9px; background: var(--line); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet__title { font: 600 22px/1.15 var(--f-head); letter-spacing: -.02em; color: var(--ink); }
.sheet.is-closing .sheet__panel { animation: down .17s forwards; }
.sheet.is-closing .sheet__bg { animation: fade .17s reverse forwards; }
.sheet--side .sheet__panel { top: 0; left: auto; width: min(360px, 88vw); max-height: none; border-radius: 0; animation: slide .26s cubic-bezier(.2, .8, .2, 1); }
.sheet--side .sheet__panel::before { display: none; }
.sheet--side.is-closing .sheet__panel { animation: slide-out .17s forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { to { transform: translateY(100%); } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slide-out { to { transform: translateX(100%); } }
.mnav { display: grid; gap: 2px; }
.mnav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav a:hover { background: var(--surface); color: var(--ink); }
.mnav a[aria-current] { background: var(--ink); color: #fff; }
.mnav .i { color: var(--brand); }
.mnav a[aria-current] .i { color: #fff; }

/* Бисквитки */
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 50; display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--dark); color: #e6e1e1; font-size: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.cookie p { margin: 0; }
.cookie a { color: var(--blush); }

/* Шапка на вътрешните страници */
.band { position: relative; overflow: hidden; padding: 16px 0 24px; background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); border-bottom: 1px solid var(--line-2); }
.band::after { content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -150px; border-radius: 50%; border: 1px solid var(--line); pointer-events: none; }
.band--short { padding-bottom: 6px; }
.band--hotel { padding-bottom: 4px; }
.crumbs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: rotate(45deg); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs .i { width: 17px; height: 17px; }
.crumbs [aria-current] { color: var(--muted); overflow-wrap: anywhere; }
.band__head { position: relative; display: flex; align-items: center; gap: 14px; }
.band__ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 12px 24px -14px rgba(122, 24, 40, .8); }
.band__ico .i { width: 26px; height: 26px; }
.band h1 { font: 600 clamp(28px, 7.4vw, 44px)/1.08 var(--f-head); letter-spacing: -.03em; color: var(--ink); overflow-wrap: anywhere; }
.band__meta { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.band__meta b { color: var(--ink); }

/* Списъци с обекти */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px var(--gut) 46px; }
.side { display: none; }
.side__box { position: sticky; top: calc(var(--hdr-vis) + 14px); padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: top .25s; }
.results { min-width: 0; }
.results__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.results__bar h2 { font: 600 22px/1.1 var(--f-head); letter-spacing: -.02em; color: var(--ink); }
.results__bar span { color: var(--muted); font-size: 14px; }
.results__bar b { color: var(--ink); }
.hlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hcard { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hcard:hover { border-color: var(--line); box-shadow: var(--sh-lg); transform: translateY(-2px); }
.hcard--vip::before { content: "VIP"; position: absolute; top: 12px; right: 12px; padding: 3px 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; border-radius: 999px; }
.hcard__logo { width: 76px; height: 76px; display: grid; place-items: center; padding: 6px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); overflow: hidden; }
.hcard__logo img { max-height: 100%; width: auto; object-fit: contain; }
.hcard__logo b { font: 600 24px/1 var(--f-head); color: var(--brand); }
.hcard__body { min-width: 0; }
.hcard__name { margin-top: 2px; font: 600 18px/1.25 var(--f-head); letter-spacing: -.01em; overflow-wrap: anywhere; }
.hcard--vip .hcard__name { padding-right: 40px; }
.hcard__name a { color: var(--ink); text-decoration: none; }
.hcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hcard__name a:hover { color: var(--brand); }
.hcard__addr { margin: 6px 0 0; display: flex; gap: 6px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; }
.hcard__addr .i { width: 16px; height: 16px; margin-top: 3px; color: var(--faint); }
.hcard__meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.hcard__meta > span { display: inline-flex; align-items: flex-start; gap: 6px; }
.hcard__meta .i { width: 16px; height: 16px; margin-top: 3px; color: var(--faint); }
.hcard__web { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.hcard__web:hover { color: var(--brand); }
.hcard__offer { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 13px; font-weight: 700; text-decoration: none; }
.hcard__offer .i { width: 14px !important; height: 14px !important; margin: 0 !important; color: var(--brand) !important; }
.hcard__offer:hover { background: var(--brand); color: #fff; }
.hcard__offer:hover .i { color: #fff !important; }
.hcard .tels a { position: relative; z-index: 2; }
.hcard__go { display: none; }
.tels { display: inline-flex; flex-wrap: wrap; gap: 2px 12px; }
.tels a { color: var(--ink); text-decoration: none; font-weight: 700; }
.tels a:hover { color: var(--brand); text-decoration: underline; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.empty { padding: 36px 18px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty h2 { font: 600 21px/1.2 var(--f-head); color: var(--ink); }
.empty p { color: var(--muted); margin: 8px 0 0; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 20px 0; }
.loading::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results-sec { border-top: 1px solid var(--line); }

/* Страниците (class.pagination.php): „N резултата в M страници“ и номерата */
.pager--sys { display: block; margin-top: 22px; }
.pager--sys .paginations_wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pager--sys .paginations_wrap > div:first-child { color: var(--muted); font-size: 14px; }
.pager--sys .paginations_wrap > div:last-child { display: flex; flex-wrap: wrap; gap: 4px; }
.pager--sys .pagination_page_number, .pager--sys .pagination_active_item { min-width: 42px; height: 42px; padding: 0 8px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; font-variant-numeric: lining-nums tabular-nums; }
.pager--sys a.pagination_page_number:hover { border-color: var(--ink); }
.pager--sys .pagination_active_item { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager--sys .first_page::before { content: "1"; }
.pager--sys .last_page::before { content: "»"; }
.pager--sys .last_page.has-n::before { content: none; }

/* Дестинации */
.abc { position: relative; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; }
.abc a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 15px/1 var(--f-head); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.abc a { color: var(--brand); }
.abc a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.dirs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 46px; }
.dir { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--hdr-vis) + 80px); }
.dir__l { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font: 600 22px/1 var(--f-head); }
.dir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.dir a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.dir a:hover { background: var(--ink); color: #fff; }

/* Профил на обект */
.prof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 46px; }
.phead { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 12px; background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--sh); }
.phead__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); }
.phead__pic img { width: 100%; height: 100%; object-fit: cover; }
.phead__pic img.is-logo { object-fit: contain; padding: 12%; background: #fff; }
.phead__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--faint); }
.phead__ph .i { width: 64px; height: 64px; stroke-width: 1.2; }
.phead__txt { position: relative; display: grid; gap: 8px; align-content: start; padding: 0 6px 6px; }
.phead__logo { position: absolute; right: 6px; top: -58px; width: 84px; height: 84px; display: grid; place-items: center; padding: 8px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: var(--sh-lg); overflow: hidden; }
.phead__logo img { max-height: 100%; width: auto; object-fit: contain; }
.phead h1 { font: 600 clamp(28px, 7.4vw, 42px)/1.08 var(--f-head); letter-spacing: -.03em; color: var(--ink); overflow-wrap: anywhere; }
.phead__types { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.phead__types a { padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; text-decoration: none; }
.phead__types a { background: var(--brand-50); color: var(--brand); }
.phead__types a:hover { background: var(--ink); color: #fff; }
.phead__addr { margin: 0; display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.phead__addr .i { width: 18px; height: 18px; margin-top: 3px; color: var(--faint); }
.phead__act { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.phead__act .btn:first-child { grid-column: 1 / -1; }
.prof__side { display: grid; gap: 14px; align-content: start; }
.facts dl { margin: 0; display: grid; gap: 12px; }
.facts dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.facts dt .i { width: 15px; height: 15px; color: var(--faint); }
.facts dd { margin: 3px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; }
.kw .chip { cursor: default; white-space: normal; max-width: 100%; height: auto; line-height: 1.35; background: var(--surface); border-color: transparent; }
.kw.is-cut .chip:nth-child(n+7) { display: none; }
.kw__more { margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--brand); min-height: 32px; }
.mapbox { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.mapbox iframe { display: block; width: 100%; height: 220px; border: 0; }
.mapbox a { display: flex; align-items: center; gap: 8px; padding: 12px 16px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; border-top: 1px solid var(--line); }
.mapbox > a:first-child { border-top: 0; }
.mapbox a .i:last-child { width: 15px; height: 15px; margin-left: auto; color: var(--faint); }
.mapbox--wide { margin: 18px 0 8px; }
.mapbox--wide iframe { height: 260px; }
.ptabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 12px; padding: 2px var(--gut) 4px; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 14.5px; white-space: nowrap; color: var(--ink-2); transition: background-color .2s, color .2s; }
.ptab .i { width: 18px; height: 18px; color: var(--muted); }
.ptab:hover { background: var(--line); }
.ptab .i { color: var(--brand) !important; }
.ptab[aria-selected="true"] { background: var(--ink); color: #fff; }
.ptab[aria-selected="true"] .i { color: #fff !important; }
.ppanel { padding: 20px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.ppanel__t { margin: 0 0 16px; font: 600 23px/1.15 var(--f-head); letter-spacing: -.02em; color: var(--ink); }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 8px; }
.gal a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal a:hover img { transform: scale(1.06); }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 16px; }
.room { display: grid; gap: 8px; align-content: start; color: var(--ink); }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room b { font: 600 16px/1.25 var(--f-head); color: var(--ink); }
.room__img { display: block; overflow: hidden; border-radius: var(--r); }
.room__img img { transition: transform .4s; }
.room__img:hover img { transform: scale(1.05); }
.room__more summary { display: inline-flex; min-height: 32px; align-items: center; cursor: pointer; color: var(--brand); font-weight: 700; font-size: 14px; list-style: none; }
.room__more summary::-webkit-details-marker { display: none; }
.room__more summary::after { content: "+"; margin-left: 6px; }
.room__more[open] summary::after { content: "−"; }
.room__more div { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.offer__img { display: block; overflow: hidden; border-radius: var(--r); }
.offer h3 { font: 600 24px/1.15 var(--f-head); letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.offer__price { margin: 0 0 10px; font: 600 24px/1.1 var(--f-head); color: var(--brand); }
.offer__price small { font: 600 13px/1 var(--f-body); color: var(--muted); }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.olist li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); }
.olist img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.partner { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); }
.partner__img { width: 60px; height: 60px; flex: none; overflow: hidden; border-radius: 12px; background: var(--surface); }
.partner__img a, .partner__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner__name { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.ptable { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.ptable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th { padding: 11px 12px; background: var(--ink); color: #fff; font-weight: 700; text-align: left; white-space: nowrap; }
.ptable td { padding: 11px 12px; border-top: 1px solid var(--line-2); }
.ptable tbody tr:nth-child(even) td { background: var(--surface); }

/* Текст от админ панела */
.prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-head); font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin: 1.4em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 23px; } .prose h3 { font-size: 19px; } .prose h4 { font-size: 17px; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose ul li::marker { color: var(--brand); }
.prose img { max-width: 100%; height: auto; border-radius: var(--r); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose iframe, .prose video { max-width: 100%; }
.prose a { overflow-wrap: anywhere; }
.prose__pic { float: right; display: block; width: 40%; max-width: 260px; margin: .2em 0 12px 18px; overflow: hidden; border-radius: var(--r-lg); }
.prose__pic img { width: 100%; margin: 0; border-radius: 0; }
@media (max-width: 479px) { .prose__pic { float: none; width: 100%; max-width: none; margin: 0 0 14px; } }

/* Форми */
.form { display: grid; gap: 14px; }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .captcha label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field label i, .captcha label i { color: var(--brand); font-style: normal; }
.field input, .field textarea, .captcha input, .field select { width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; appearance: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .captcha input:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px var(--line-2); }
.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha input { width: 90px; }
.form__foot { display: grid; gap: 12px; align-items: center; }
.form__note { margin: 0; color: var(--muted); font-size: 13.5px; }
.field--icon { position: relative; }
.field--icon > .i { position: absolute; left: 14px; bottom: 16px; width: 18px; height: 18px; color: var(--faint); }
.field--icon input { padding-left: 42px; }
.field__eye { position: absolute; right: 5px; bottom: 6px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }

/* Съобщенията (class.messages.php: <div class="messages success|error">) */
.msgs { margin: 0 0 16px; }
.messages { position: relative; margin: 0 0 10px; padding: 12px 44px 12px 14px; border-radius: var(--r); border: 1px solid; border-left-width: 5px; font-size: 15px; line-height: 1.5; }
.messages p { margin: 0; }
.messages.success { background: #eafaf1; border-color: #1fae68; color: #11603a; }
.messages.error { background: #fff1f3; border-color: var(--brand); color: #8a0f27; }
.messages.info, .messages.help { background: var(--surface); border-color: var(--ink-2); color: var(--ink); }
.messages.warning { background: #fff7e6; border-color: var(--amber); color: #6b4b00; }
.closeMessage { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; color: inherit; }
.closeMessage::before, .closeMessage::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13px; height: 2px; background: currentColor; transform: rotate(45deg); }
.closeMessage::after { transform: rotate(-45deg); }

/* Статични страници */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 22px; padding-bottom: 46px; }
.doc__body { min-width: 0; padding: 22px 18px; }
.doc__side { display: grid; gap: 14px; align-content: start; }
.links { padding: 8px; display: grid; }
.links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; }
.links a:hover { background: var(--surface); color: var(--ink); }
.links a[aria-current] { background: var(--ink); color: #fff; }
.links .i { width: 16px; height: 16px; color: var(--faint); }
.contacts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.contact { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.contact:hover { border-color: var(--ink); color: var(--ink); }
.contact > .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.contact small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.contact b { overflow-wrap: anywhere; }

/* Вход */
.auth { padding-top: 22px; padding-bottom: 46px; }
.authcard { max-width: 460px; margin: 0 auto; padding: 26px 20px; box-shadow: var(--sh); }
.authcard h1 { margin: 16px 0 6px; font: 600 30px/1.1 var(--f-head); letter-spacing: -.03em; color: var(--ink); }
.authcard > p { margin: 0 0 18px; color: var(--muted); }
.authnote { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); font-size: 14px; line-height: 1.5; }
.authnote > .i { color: var(--brand); }

/* Снимки на цял екран */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(10, 11, 14, .94); }
.lb img { max-width: calc(100vw - 24px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; }
.lb__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lb__btn:hover { background: #fff; color: var(--ink); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 10px; top: 50%; translate: 0 -50%; }
.lb__next { right: 10px; top: 50%; translate: 0 -50%; }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #c4c8d0; font-size: 13px; }

/* Брандиране на дестинация (branding): картината е фон отстрани на страницата, само на широк екран */
.skin { display: none; }

/* Удобствата в началото: сгъващ се ред */
.fmore { border-top: 1px solid var(--line-2); padding-top: 10px; }
.fmore summary { display: flex; align-items: center; gap: 8px; min-height: 38px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.fmore summary::-webkit-details-marker { display: none; }
.fmore summary .i { width: 18px; height: 18px; color: var(--muted); }
.fmore summary span { color: var(--brand); }
.fmore summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.fmore[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.fmore__in { display: grid; gap: 14px; margin-top: 8px; }

/* ===== Таблет ===== */
@media (min-width: 640px) {
  :root { --gut: 24px; }
  .finder__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fextras { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero__card { padding: 20px; }
  .hero__in { padding: 52px 32px 104px; }
  .hero__deck { grid-auto-columns: 220px; margin: 0 -32px; padding: 4px 32px 8px; scroll-padding-inline: 32px; }
  .ostrip { grid-auto-columns: 42%; }
  .tops { grid-auto-columns: 62%; }
  .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ads__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__foot { grid-template-columns: minmax(0, 1fr) auto; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__col--reg { grid-column: 1 / -1; }
  .regs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cookie { left: auto; max-width: 420px; }
  .phead { grid-template-columns: 300px minmax(0, 1fr); align-items: center; padding: 16px; }
  .phead__logo { top: -6px; }
  .phead__logo ~ h1 { padding-right: 92px; }
  .phead__act { display: flex; flex-wrap: wrap; }
  .hcard { grid-template-columns: 96px minmax(0, 1fr) auto; padding: 16px 18px; gap: 18px; }
  .hcard__logo { width: 96px; height: 96px; }
  .hcard__go { display: grid; place-items: center; align-self: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background-color .2s, color .2s, transform .2s; }
  .hcard:hover .hcard__go { background: var(--brand); color: #fff; transform: translateX(3px); }
  .hcard--vip .hcard__go { margin-top: 26px; }
  .offer { grid-template-columns: 260px minmax(0, 1fr); align-items: center; }
  .doc__body { padding: 30px; }
  .ppanel { padding: 26px; }
}

/* ===== Компютър ===== */
@media (min-width: 1024px) {
  :root { --hdr-h: 76px; }
  body { padding-bottom: 0; }
  .fpill, .tstrip, .hdr__menu { display: none; }
  .hdr.is-hidden { transform: translateY(-100%); }
  .hdr__top { display: block; }
  .hdr__in { gap: 18px; }
  .mark { width: 54px; height: 37px; }
  .wm__txt b { font-size: 25px; }
  /* търсенето в горната лента като хапче */
  .hdr__search { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 440px; min-height: 54px; margin: 0 auto; padding: 6px 6px 6px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-align: left; box-shadow: 0 1px 2px rgba(16, 18, 24, .06), 0 8px 20px -12px rgba(16, 18, 24, .25); transition: box-shadow .2s, border-color .2s; }
  .hdr__search:hover { box-shadow: 0 2px 4px rgba(16, 18, 24, .06), 0 14px 28px -14px rgba(16, 18, 24, .35); }
  .hdr__sq { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
  .hdr__sq b { font-size: 14.5px; color: var(--ink); }
  .hdr__sq small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hdr__sgo { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }
  .hdr__sgo .i { width: 18px; height: 18px; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s; }
  .nav a:hover { background: var(--surface); color: var(--ink); }
  .nav a:hover { color: var(--brand); }
  .nav a[aria-current] { background: var(--surface); color: var(--brand); }
  .hdr__login { display: inline-flex; }
  .cookie { bottom: 16px; }
  .sheet--drop .sheet__panel { top: calc(var(--hdr-vis) + 36px + 10px); bottom: auto; left: 50%; right: auto; width: min(640px, calc(100vw - 48px)); translate: -50% 0; border-radius: var(--r-xl); padding: 20px 24px 24px; animation: drop .22s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--sh-lg); }
  .sheet--drop .sheet__panel::before { display: none; }
  .sheet.sheet--drop.is-closing .sheet__panel { animation: drop .15s reverse forwards; }
  @keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

  .hero { padding: 12px 16px 0; }
  .hero__stage { border-radius: 36px; }
  .hero__in { max-width: 1240px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 44px; padding: 72px 24px 150px; }
  .hero__lead { font-size: 18px; }
  /* картичките стъпаловидно, една до друга, без застъпване */
  .hero__deck { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; margin: 0; padding: 0 0 30px; overflow: visible; }
  .hcd { animation: bob 7s ease-in-out infinite; }
  .hcd:nth-child(2) { margin-top: 56px; animation-delay: -2.3s; }
  .hcd:nth-child(3) { margin-top: 112px; animation-delay: -4.6s; }
  .hcd__t { font-size: 13.5px; }
  .hcd:hover { transform: translateY(-6px); }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
  .hero__bar { margin-top: -104px; max-width: 1140px; }
  .hero__card { padding: 16px 16px 10px 22px; border-radius: 30px; }
  .hero__pop { margin: 18px 0 0; padding: 0; justify-content: center; flex-wrap: wrap; overflow: visible; }  /* търсачката като хоризонтална лента */
  .finder--bar { grid-template-columns: minmax(0, 1.45fr) minmax(0, 2fr) auto; grid-template-areas: "kw row go" "more more more"; align-items: end; gap: 6px 12px; }
  .finder--bar .finder__kw { grid-area: kw; }
  .finder--bar .finder__row { grid-area: row; }
  .finder--bar > .btn { grid-area: go; min-height: 54px; padding: 0 30px; }
  .finder--bar .fmore { grid-area: more; border-top: 0; padding-top: 0; }
  .finder--bar .fmore__in { grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 8px; }  .sec { padding: 76px 0; }
  .ostrip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 28px 20px; }
  .tops { grid-auto-columns: calc(50% - 8px); }
  .tgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .dgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .dgrid a { min-height: 168px; padding: 18px; }
  .duo { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
  .ads--home .ads__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 46px 48px 42px; gap: 30px; }
  .ftr__top { grid-template-columns: 1.1fr .9fr .8fr 1.6fr; }
  .ftr__col--reg { grid-column: auto; }
  .regs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__links { grid-template-columns: minmax(0, 1fr); }

  .band { padding: 20px 0 30px; }
  .band--hotel { padding-bottom: 6px; }
  .layout { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .layout--3 { grid-template-columns: 290px minmax(0, 1fr) 200px; }
  .side { display: block; }
  .ads:not(.ads--home) .ads__list { grid-template-columns: minmax(0, 1fr); position: sticky; top: calc(var(--hdr-vis) + 14px); }
  .finder--side .finder__row { grid-template-columns: minmax(0, 1fr); }
  .finder--side .fextras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hlist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prof { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px 26px; }
  .phead { grid-column: 1 / -1; grid-template-columns: 460px minmax(0, 1fr); padding: 14px; gap: 34px; }
  .phead__logo { width: 100px; height: 100px; top: 0; }
  .phead__logo ~ h1 { padding-right: 112px; }
  .prof__side { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--hdr-vis) + 14px); }
  .prof__main { grid-column: 1; grid-row: 2; min-width: 0; }
  .ptabs { margin: 0 0 12px; padding: 0; flex-wrap: wrap; overflow: visible; }
  .doc { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 28px; }
  .doc__side { position: sticky; top: calc(var(--hdr-vis) + 14px); }
  .doc__body { padding: 36px 40px; }
}

@media (min-width: 1280px) {
  .layout--3 { grid-template-columns: 300px minmax(0, 1fr) 220px; }
}

@media (min-width: 1300px) {
  .skin { display: block; position: absolute; left: 0; right: 0; top: calc(36px + var(--hdr-h)); height: 1400px; z-index: 0; background: center top no-repeat; }
  main.has-skin { position: relative; z-index: 1; pointer-events: none; }
  main.has-skin > section, main.has-skin .band { background: none; }
  main.has-skin .wrap { pointer-events: auto; background: #fff; }
}

@media (max-width: 380px) {
  .wm__txt b { font-size: 20px; }
  .fextras span { font-size: 11.5px; }
  .rec { grid-template-columns: 70px minmax(0, 1fr); }
  .rec__img { height: 70px; }
  .tgrid a { grid-template-columns: 38px minmax(0, 1fr); padding: 10px 12px; font-size: 13.5px; }
  .tgrid .i { width: 38px; height: 38px; padding: 9px; }
}
@media (max-width: 479px) { .pager--sys .pagination_page_number, .pager--sys .pagination_active_item { min-width: 38px; height: 40px; padding: 0 4px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .hcd { animation: none !important; }
}

/* Цифрите: еднакви */
.hero__note b, .pager--sys .pagination_page_number, .pager--sys .pagination_active_item, .ocard__price, .hcd__t em, .tgrid small { font-variant-numeric: lining-nums tabular-nums; }
