/* ROOMS.bg - редизайн 2026 */
:root {
  --ink: #101a4d;
  --ink-2: #3b4470;
  --muted: #6b7194;
  --line: #e3e5ef;
  --line-2: #eef0f6;
  --bg: #f7f6f2;
  --card: #ffffff;
  --brand: #1f2fb8;
  --brand-2: #2b3fd6;
  --brand-soft: #e9ecff;
  --sun: #ffc928;
  --sun-2: #ffb700;
  --sun-soft: #fff4cf;
  --green: #1b8a5a;
  --green-soft: #e3f5ec;
  --red: #c8372d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 26, 77, .06), 0 6px 24px rgba(16, 26, 77, .06);
  --shadow-lg: 0 12px 40px rgba(16, 26, 77, .14);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Literata", Georgia, serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i-sm { width: 16px; height: 16px; }
svg.i-lg { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #c9cde6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar a { color: #fff; opacity: .85; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .tb-links { display: flex; gap: 18px; align-items: center; }
.lang { display: flex; gap: 4px; }
.lang a { padding: 2px 7px; border-radius: 6px; font-weight: 600; font-size: 12px; }
.lang a.on { background: rgba(255,255,255,.14); opacity: 1; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.logo { font-family: var(--font); font-weight: 800; font-size: 26px; letter-spacing: -.04em; color: var(--brand); line-height: 1; white-space: nowrap; }
.logo span { color: var(--sun-2); }
.logo:hover { color: var(--brand); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--line-2); color: var(--ink); }
.nav a.on { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-2); color: var(--ink); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c5c9de; color: var(--ink); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: #c5c9de; color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { font-weight: 500; opacity: .6; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.badge-type { background: var(--brand-soft); color: var(--brand); }
.badge-offer { background: var(--sun); color: var(--ink); }
.badge-book { background: var(--green-soft); color: var(--green); }
.badge-vip { background: var(--ink); color: var(--sun); }

/* ---------- Search box ---------- */
.search { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; background: #fff; border-radius: 18px; padding: 8px; gap: 0; box-shadow: var(--shadow-lg); }
.search .f { display: flex; flex-direction: column; justify-content: center; padding: 8px 18px; border-right: 1px solid var(--line); min-width: 0; position: relative; }
.search .f:nth-last-child(2) { border-right: 0; }
.search label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.search input, .search select { border: 0; outline: 0; background: transparent; padding: 2px 0 0; font-size: 16px; font-weight: 600; width: 100%; appearance: none; -webkit-appearance: none; }
.search select { cursor: pointer; }
.search input::placeholder { color: #9aa0bd; font-weight: 500; }
.search .btn { height: 60px; border-radius: 12px; padding: 0 28px; font-size: 16px; }
.ac { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 20; }
.ac.open { display: block; }
.ac a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.ac a span { color: var(--muted); font-weight: 500; font-size: 14px; }
.ac a:hover, .ac a.hl { background: var(--line-2); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.sec-head p { margin: 8px 0 0; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.photo { position: relative; overflow: hidden; background: var(--line-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .photo img, .photo:hover img { transform: scale(1.04); }
.photo .tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.fav { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.fav.on { color: var(--red); }
.fav.on svg { fill: currentColor; }

.hcard { display: flex; flex-direction: column; color: var(--ink); }
.hcard:hover { color: var(--ink); }
.hcard .photo { aspect-ratio: 4 / 3; }
.hcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hcard h3 { font-size: 17px; font-weight: 700; }
.hcard .loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; }
.hcard .foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px; }
.price .ask { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.price { line-height: 1.15; }
.price small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.price b { font-size: 20px; font-weight: 800; }
.price em { font-style: normal; color: var(--muted); font-size: 13px; font-weight: 500; }

.grid { display: grid; gap: 20px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.owner-cta { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.owner-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,40,.35), transparent 70%); }
.owner-cta h2 { font-family: var(--display); font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.owner-cta p { color: #c9cde6; margin: 0; }
.owner-cta .acts { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; z-index: 1; }
.owner-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 64px; padding: 48px 0 28px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--brand); }
.footer .about { color: var(--muted); max-width: 320px; }
.footer .copy { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; color: var(--muted); flex-wrap: wrap; gap: 12px; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 20px; z-index: 90; font-size: 14px; color: var(--ink-2); display: none; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 14px; }
.cookie .acts { display: flex; gap: 8px; }

/* ---------- Drawer (mobile nav) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer .shade { position: absolute; inset: 0; background: rgba(16,26,77,.45); }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.drawer .panel a { padding: 12px 10px; border-radius: 10px; font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.drawer .panel a:hover { background: var(--line-2); }
.drawer .close { align-self: flex-end; background: none; border: 0; padding: 8px; cursor: pointer; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(8,12,36,.94); z-index: 200; display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 8px; transition: transform .2s; touch-action: pinch-zoom; user-select: none; }
.lb { touch-action: pinch-zoom; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb .lb-x { top: 20px; right: 20px; }
.lb .lb-p { left: 20px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 20px; top: 50%; transform: translateY(-50%); }
.lb .lb-c { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #c9cde6; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: 10px; font-size: 14px; }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .header .wrap { height: 62px; justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .g-4, .g-3 { grid-template-columns: repeat(2, 1fr); }
  .search { grid-template-columns: 1fr 1fr; padding: 10px; gap: 8px; }
  .search .f { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
  .search .f:first-child { grid-column: 1 / -1; }
  .search .btn { grid-column: 1 / -1; height: 52px; }
  .owner-cta { grid-template-columns: 1fr; padding: 32px 24px; }
  .owner-cta .acts { justify-content: flex-start; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .tb-links a:not(.keep), .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .section { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: start; }
  .sec-head h2 { font-size: 24px; }
  .g-4, .g-3, .g-2 { grid-template-columns: 1fr; }
  .search { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- VIP обекти ---------- */
.vip-tag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 8px; border-radius: 8px; background: linear-gradient(135deg, #ffd65a, #ffb700); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 4px 12px rgba(255,183,0,.35); }
.vip-tag svg { fill: currentColor; stroke: none; width: 14px; height: 14px; }
.photo .tags { top: 46px; }
.hcard.vip, .res.vip { box-shadow: 0 0 0 2px var(--sun), 0 8px 28px rgba(255,183,0,.18); }
.hcard.vip:hover, .res.vip:hover { box-shadow: 0 0 0 2px var(--sun-2), 0 14px 40px rgba(255,183,0,.26); }
.badge-vip svg { fill: currentColor; stroke: none; width: 12px; height: 12px; }

/* ---------- Текстови страници и старо съдържание ---------- */
.page { padding-top: 8px; padding-bottom: 24px; }
#breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); padding: 18px 0 6px; }
#breadcrumb a { color: var(--muted); }
#breadcrumb a:hover { color: var(--brand); }
#breadcrumb .clear { display: none; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 12px; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 40px; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; overflow-wrap: anywhere; }
.prose > *:first-child { margin-top: 0; }
.prose h1 { font-family: var(--display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; color: var(--ink); margin: 0 0 18px; letter-spacing: -.015em; }
.prose h2 { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.prose h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 20px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(31,47,184,.35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose img { height: auto; border-radius: 10px; }
.prose img[align=left], .prose img[style*="float: left"], .prose img[style*="float:left"] { float: left; margin: 4px 18px 10px 0; }
.prose img[align=right], .prose img[style*="float: right"], .prose img[style*="float:right"] { float: right; margin: 4px 0 10px 18px; }
.prose table { border-collapse: collapse; max-width: 100%; margin: 0 0 1.2em; font-size: 15px; }
.prose table[width], .prose table.data { width: 100%; }
.prose td > input, .prose td > select, .prose td > textarea { min-width: 220px; }
.prose td:first-child:not(:only-child) { white-space: nowrap; color: var(--ink); font-weight: 600; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.prose th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fbfbfd; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; border-left: 3px solid var(--sun); background: var(--sun-soft); border-radius: 0 10px 10px 0; }
.prose .clear, .prose .spacer10, .prose .spacer20 { clear: both; }
.prose input[type=text], .prose input[type=email], .prose input[type=password], .prose input[type=tel], .prose input[type=number], .prose input:not([type]), .prose select, .prose textarea {
  width: 100%; max-width: 520px; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; font-size: 15px; outline: 0; }
.prose textarea { height: 120px; padding: 10px 12px; }
.prose input:focus, .prose select:focus, .prose textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.prose input[type=submit], .prose input[type=button], .prose button:not(.fav):not(.chip) {
  height: 44px; padding: 0 20px; border-radius: 10px; border: 0; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.prose input[type=submit]:hover, .prose input[type=button]:hover { background: var(--brand-2); }
.prose label { font-weight: 600; color: var(--ink); }
#loading, #dim, #hint { display: none; }
#dim.show, #dim[style*="block"] { display: block; position: fixed; inset: 0; background: rgba(16,26,77,.4); z-index: 150; }
@media (max-width: 640px) {
  .prose { padding: 22px 18px; border-radius: 14px; font-size: 16px; }
  .prose img[align], .prose img[style*="float"] { float: none !important; margin: 0 0 12px !important; }
}

/* Стари формуляри (table.frm) */
.prose table.frm { width: auto !important; max-width: 100%; }
.prose table.frm th { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--ink); background: none; white-space: nowrap; width: auto !important; padding: 8px 14px 8px 0; border: 0; vertical-align: middle; }
.prose table.frm th[colspan] { white-space: normal; padding-top: 14px; }
.prose table.frm td { border: 0; padding: 8px 0; }
.prose .frminput { width: 100% !important; max-width: 520px; }
.prose textarea.frminput { display: block; margin-top: 6px; }
.prose .contactbox > .tl, .prose .contactbox > .tr, .prose .contactbox > .bl, .prose .contactbox > .br, .prose .conticon { display: none; }
.prose center { text-align: left; }
.drawer-lang { margin-top: 14px; padding: 14px 10px 0; border-top: 1px solid var(--line); gap: 8px; }
.drawer-lang a { padding: 8px 14px !important; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.drawer-lang a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.photo { background: var(--line-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='none' stroke='%23c5c9de' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3C/svg%3E") center / 40px no-repeat; }
@media (max-width: 1180px) and (min-width: 901px) {
  .nav a svg { display: none; }
  .nav a { white-space: nowrap; padding: 10px 10px; }
  .header-actions .btn-ghost { padding: 0 10px; }
}

/* Оценки, мнения, статии */
.rate { color: var(--sun-2); letter-spacing: 1px; font-size: 14px; }
.rate i { font-style: normal; color: #d9dbe6; }
.hcard .comm { display: inline-flex; gap: 5px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.hcard .intro { color: var(--ink-2); font-size: 14px; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sightcard .photo, .article .photo { aspect-ratio: 3 / 2; }
.comments { display: grid; gap: 12px; }
.comment { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.comment .c-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.comment .c-h span { color: var(--muted); }
.comment p { margin: 0; color: var(--ink-2); font-size: 15px; }
.muted { color: var(--muted); }
.article-page { max-width: 760px; margin: 0 auto; padding-top: 18px; }
.article-page header h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -.015em; margin: 10px 0 12px; }
.article-page .meta { color: var(--muted); font-size: 14px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.article-page .cover { margin: 24px 0; border-radius: 18px; overflow: hidden; }
.article-page .cover img { width: 100%; }
.article-body { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.article-body img { border-radius: 12px; margin: 10px 0; height: auto; }
.article-body h2, .article-body h3 { font-family: var(--display); color: var(--ink); margin: 28px 0 10px; }
.sights-page .mapbox.big { height: 460px; }

/* 404 */
.err404 { text-align: center; padding: 60px 0 20px; max-width: 760px; margin: 0 auto; }
.err404 .code { font-family: var(--display); font-size: clamp(80px, 14vw, 140px); font-weight: 700; line-height: 1; color: var(--brand); letter-spacing: -.04em; }
.err404 h1 { font-family: var(--display); font-size: 32px; font-weight: 600; margin: 10px 0 12px; }
.err404 p { color: var(--ink-2); font-size: 17px; }
.err404 .err-search { display: flex; gap: 10px; justify-content: center; margin: 24px 0 28px; flex-wrap: wrap; }
.dest-more { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-more a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.dest-more a:hover { border-color: var(--brand); color: var(--brand); }
.dest-more a span { color: var(--muted); font-weight: 500; margin-left: 4px; }

/* Всички дестинации */
.cities-tools { position: sticky; top: 72px; z-index: 20; background: rgba(247,246,242,.95); backdrop-filter: blur(8px); padding: 12px 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.city-filter { height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; width: 280px; max-width: 100%; font-size: 15px; background: #fff; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.letters a:hover { background: var(--brand-soft); color: var(--brand); }
.letters-list { columns: 4 220px; column-gap: 28px; }
.letter { break-inside: avoid; margin-bottom: 18px; }
.letter h2 { font-family: var(--display); font-size: 22px; color: var(--brand); margin: 0 0 6px; scroll-margin-top: 150px; }
.letter a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: var(--ink-2); font-weight: 500; border-bottom: 1px dashed var(--line-2); }
.letter a span { color: var(--muted); font-size: 13px; }
.letter a:hover { color: var(--brand); }
.letter[hidden], .letter a[hidden] { display: none; }

/* Хотели в чужбина */
.abroad-hero { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; margin-top: 18px; }
.abroad-hero h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; margin: 0 0 8px; }
.abroad-hero > p { color: #c9cde6; margin: 0 0 22px; }
.abroad-hero .search { grid-template-columns: 1.6fr 1fr 1fr auto; color: var(--ink); }
.abroad-hero .note-small { margin: 14px 0 0; font-size: 13px; color: #c9cde6; display: flex; gap: 6px; align-items: center; }
.countries { columns: 4 200px; column-gap: 24px; }
.countries a { display: block; padding: 5px 0; color: var(--ink-2); font-weight: 500; break-inside: avoid; }
.countries a:hover { color: var(--brand); }
@media (max-width: 640px) { .abroad-hero { padding: 26px 18px; } }

/* Малки карти (наблизо, последно разгледани) */
.mini { display: flex; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 12px; color: var(--ink); min-width: 0; }
.mini:hover { background: var(--line-2); color: var(--ink); }
.mini-ph { flex: 0 0 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--line-2); }
.mini-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.3; }
.mini-tx b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini-tx small { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.mini-tx em { font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .04em; background: var(--ink); color: var(--sun); padding: 1px 6px; border-radius: 6px; }
.mini-tx i { font-style: normal; font-weight: 700; font-size: 14px; }
.mini-tx i small { display: inline; font-weight: 500; }
.near-card { padding: 20px; }
.near-h { display: block; margin-bottom: 10px; }
.near-card .minis { margin-bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.mini.vip .mini-ph { box-shadow: 0 0 0 2px var(--sun); }
.seen { padding: 36px 0 40px; border-top: 1px solid var(--line); background: #fff; }
.seen-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.seen-head h2 { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 0; }
.seen-clr { background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.seen-clr:hover { color: var(--ink); }
.seen-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 24px; }
.seen-rail .mini { margin: 0; }
@media (max-width: 1080px) { .seen-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .seen-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 0 -16px; padding: 0 16px; }
  .seen-rail::-webkit-scrollbar { display: none; }
  .seen-rail .mini { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--line); }
}
