/* 01-tokens.css */
/* ==========================================================================
   Vacanto.bg — Design tokens
   Цветове от логото: синьо (#1558C8) + слънчево оранжево (#F6A609)
   ========================================================================== */
:root {
  color-scheme: light;

  /* Brand */
  --blue-25: #F7FAFE;
  --blue-50: #EEF4FD;
  --blue-100: #DCE8FB;
  --blue-200: #B9D0F6;
  --blue-300: #8BB0EE;
  --blue-400: #4F86DE;
  --blue-500: #2A6AD3;
  --blue-600: #1558C8;
  --blue-700: #0F47A8;
  --blue-800: #0C3880;
  --blue-900: #0A2A5E;
  --navy: #081B3D;

  --sun-50: #FFF8E8;
  --sun-100: #FFEFC7;
  --sun-200: #FFE09A;
  --sun-300: #FFCD5C;
  --sun-400: #FFBA2A;
  --sun-500: #F6A609;
  --sun-600: #D98B00;
  --sun-700: #A86600;

  /* Neutrals */
  --ink: #0D1A2D;
  --ink-2: #344256;
  --ink-3: #566377;
  --ink-4: #687385; /* ≥ 4.5:1 върху бяло */
  --line: #E5EAF2;
  --line-2: #D3DCE8;
  --paper: #FFFFFF;
  --mist: #F3F7FD;
  --sand: #FBF7EF;

  /* Semantic */
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --accent: var(--sun-500);
  --text: var(--ink);
  --text-muted: var(--ink-3);
  --surface: var(--paper);
  --surface-2: var(--mist);
  --success: #0E7C55;
  --success-bg: #E6F6EF;
  --danger: #C62D2D;
  --danger-bg: #FDECEC;
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--blue-600);

  /* Type */
  --font: 'Onest', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-display: clamp(2.125rem, 1.45rem + 2.4vw, 3.375rem);
  --fs-h1: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  --fs-h3: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1rem, .97rem + .15vw, 1.0938rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .78rem;
  --lh-tight: 1.02;
  --lh-snug: 1.18;
  --lh-body: 1.6;
  --tracking-tight: -.035em;
  --tracking-snug: -.02em;

  /* Radius / elevation */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 32px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(13, 26, 45, .06);
  --shadow-sm: 0 1px 2px rgba(13, 26, 45, .05), 0 4px 12px -4px rgba(13, 26, 45, .08);
  --shadow-md: 0 2px 6px rgba(13, 26, 45, .04), 0 16px 40px -16px rgba(21, 88, 200, .22);
  --shadow-lg: 0 6px 12px rgba(13, 26, 45, .05), 0 32px 80px -24px rgba(10, 42, 94, .35);
  --shadow-sun: 0 12px 32px -12px rgba(246, 166, 9, .55);

  /* Space (8pt) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --section: clamp(36px, 2rem + 1.4vw, 60px);

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;
  --gutter: clamp(16px, 3vw, 24px);
  --header-h: 68px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-1: 140ms;
  --dur-2: 240ms;
  --dur-3: 420ms;
  --dur-4: 800ms;

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 50;
  --z-header: 100;
  --z-mega: 110;
  --z-bottomnav: 120;
  --z-drawer: 200;
  --z-overlay: 300;
  --z-toast: 400;
}

@media (max-width: 1023px) {
  :root { --header-h: 60px; }
}

/* 02-base.css */
/* ==========================================================================
   Base / reset / typography
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--paper);
  font-feature-settings: 'ss01' on, 'cv11' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'], .list-reset { list-style: none; margin: 0; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--sun-200); color: var(--ink); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
a:focus-visible, button:focus-visible { border-radius: inherit; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: var(--tracking-snug); line-height: var(--lh-snug); text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: var(--tracking-tight); line-height: 1.04; font-weight: 800; }
h2 { font-size: var(--fs-h2); letter-spacing: var(--tracking-tight); line-height: 1.06; font-weight: 800; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { text-wrap: pretty; }
strong, b { font-weight: 650; }
small { font-size: var(--fs-xs); }

.tnum { font-variant-numeric: tabular-nums; }

/* Icons (SVG sprite) */
.i { display: inline-block; vertical-align: -.2em; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 24px; height: 24px; }
.i--xl { width: 32px; height: 32px; stroke-width: 1.6; }
.i--fill { fill: currentColor; stroke: none; }

/* Accessibility helpers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: calc(var(--z-toast) + 1);
  padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff;
  font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* 03-layout.css */
/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(24px, 1.4rem + .9vw, 40px); }
.section--mist { background: transparent; }
.section--sand { background: var(--sand); }
.section + .section--flush-top { padding-top: 0; }

/* Inset rounded panels (модерен "card section") */
.panel {
  position: relative; border-radius: var(--r-2xl); overflow: hidden;
  width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto;
}
/* Контейнер вътре в панел: без собствен max-width, само вътрешен отстъп */
.panel > .container { max-width: none; padding-inline: clamp(20px, 3vw, 40px); }
.panel--mist { background: var(--mist); }
.panel--navy { background: var(--navy); color: #fff; }
.panel--blue { background: var(--blue-600); color: #fff; }

.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, var(--s-3)); align-items: center; }
.grid { display: grid; gap: var(--gap, var(--s-4)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 280px)), 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* Section heading */
.sh { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: clamp(18px, 1rem + .8vw, 28px); flex-wrap: wrap; }
.sh__text { max-width: 760px; }
.sh__title { font-size: var(--fs-h2); }
.sh__title em { font-style: normal; color: var(--blue-600); }
.sh__lead { margin-top: var(--s-2); font-size: var(--fs-lead); color: var(--text-muted); max-width: 62ch; }
.panel--navy .sh__lead, .panel--blue .sh__lead { color: rgba(255,255,255,.78); }
.panel--navy .sh__title em { color: var(--sun-400); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s-3);
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun-500); box-shadow: 0 0 0 4px var(--sun-100); }
.panel--navy .eyebrow, .panel--blue .eyebrow { color: var(--sun-300); }
.panel--navy .eyebrow::before { box-shadow: 0 0 0 4px rgba(246,166,9,.22); }

.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.55; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

/* Horizontal scroller (carousel без JS-зависимост) */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, minmax(280px, 1fr));
  gap: var(--gap, var(--s-4)); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-bottom: var(--s-4); margin-bottom: calc(var(--s-4) * -1);
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
/* Карусел вътре в панел: стига до ръба на панела, а не до вътрешния отстъп */
.panel > .container .scroller { margin-right: calc(-1 * clamp(20px, 3vw, 40px)); padding-right: clamp(20px, 3vw, 40px); }
.scroller--bleed { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }

/* 04-components.css */
/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .9375rem; line-height: 1; letter-spacing: -.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out), border-color var(--dur-2);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .i { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn:hover .i--arrow-ur { transform: translate(2px, -2px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(21,88,200,.8); }
.btn--primary:hover { background: var(--blue-700); }
.btn--sun { background: var(--sun-500); color: var(--ink); box-shadow: var(--shadow-sun); }
.btn--sun:hover { background: var(--sun-400); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue-800); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--soft { background: var(--blue-50); color: var(--blue-700); }
.btn--soft:hover { background: var(--blue-100); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sun-50); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.24); }
.btn--sm { --bh: 40px; padding: 0 16px; font-size: var(--fs-sm); gap: 8px; }
.btn--lg { --bh: 54px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: 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: 2px solid currentColor; border-color: #fff #fff transparent transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600);
  text-decoration: none; min-height: 44px;
}
.link-arrow .i { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: .2em; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-1);
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue-700); }
.icon-btn:active { transform: scale(.92); }
.icon-btn--outline { border: 1.5px solid var(--line-2); }
.icon-btn--white { background: #fff; box-shadow: var(--shadow-sm); }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--sun-500); color: var(--ink); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1; border: 2px solid #fff;
}
.badge-count.is-bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Chips / badges / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: #fff;
  font-size: var(--fs-sm); font-weight: 550; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2), transform var(--dur-1);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--blue-400); color: var(--blue-700); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed='true'], .chip.is-active, .chip[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: var(--fs-xs); color: var(--ink-4); font-weight: 600; }
.chip[aria-pressed='true'] .count, .chip.is-active .count, .chip[aria-selected='true'] .count { color: rgba(255,255,255,.7); }
.chip--sm { min-height: 34px; padding: 0 12px; font-size: var(--fs-xs); }
.chip--remove { background: var(--blue-50); border-color: transparent; color: var(--blue-800); padding-right: 10px; }
.chip--remove:hover { background: var(--blue-100); }
.panel--navy .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.panel--navy .chip:hover { border-color: rgba(255,255,255,.5); }
.panel--navy .chip[aria-selected='true'], .panel--navy .chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.panel--navy .chip[aria-selected='true'] .count { color: var(--ink-3); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 650; line-height: 1; white-space: nowrap;
}
.badge--sun { background: var(--sun-500); color: var(--ink); }
.badge--blue { background: var(--blue-600); color: #fff; }
.badge--soft { background: var(--blue-50); color: var(--blue-700); }
.badge--glass { background: rgba(255,255,255,.88); color: var(--ink); backdrop-filter: blur(8px); }
.badge--dark { background: rgba(8,27,61,.78); color: #fff; backdrop-filter: blur(8px); }
.badge--success { background: var(--success-bg); color: var(--success); }

.stars { display: inline-flex; gap: 1px; color: var(--sun-500); vertical-align: -2px; }
.stars .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* ---------- Form controls ---------- */
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 550; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-size: 1rem;
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.input::placeholder { color: var(--ink-4); }
.input:hover, .select:hover { border-color: var(--ink-4); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(21,88,200,.14); border-radius: var(--r-sm); }
.input[aria-invalid='true'] { border-color: var(--danger); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344256' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.input-group { position: relative; display: flex; align-items: center; }
.input-group:has(.input-group__suffix) .input { padding-right: 56px; }
.input-group__suffix { position: absolute; right: 16px; color: var(--ink-3); font-weight: 600; pointer-events: none; }
.input-group__prefix { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; display: flex; }
.input-group__prefix + .input { padding-left: 44px; }

/* Checkbox / radio */
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: var(--fs-sm); color: var(--ink-2); user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff;
  display: grid; place-items: center; transition: background-color var(--dur-1), border-color var(--dur-1);
}
.check__box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; opacity: 0; transform: scale(.6); transition: opacity var(--dur-1), transform var(--dur-2) var(--ease-spring); }
.check input:checked + .check__box { background: var(--blue-600); border-color: var(--blue-600); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { box-shadow: var(--focus); }
.check:hover .check__box { border-color: var(--blue-400); }
.check--radio .check__box { border-radius: 50%; }
.check__label { flex: 1; }
.check__count { font-size: var(--fs-xs); color: var(--ink-4); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; font-weight: 550; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 46px; height: 28px; border-radius: 14px; background: var(--line-2); transition: background-color var(--dur-2); flex: none; }
.switch__track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--dur-2) var(--ease-spring); }
.switch input:checked + .switch__track { background: var(--blue-600); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { box-shadow: var(--focus); }

/* Stepper */
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 3px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background-color var(--dur-1); }
.stepper button:hover { background: var(--blue-50); color: var(--blue-700); }
.stepper button:disabled { opacity: .35; pointer-events: none; }
.stepper output, .stepper input { width: 36px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; border: 0; background: none; -moz-appearance: textfield; }

/* Segmented control */
.segmented { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--mist); gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.segmented::-webkit-scrollbar { display: none; }
.segmented button, .segmented a { flex: none; white-space: nowrap;
  min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.segmented button:hover, .segmented a:hover { color: var(--ink); }
.segmented [aria-selected='true'], .segmented [aria-pressed='true'], .segmented .is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.panel--navy .segmented { background: rgba(255,255,255,.08); }
.panel--navy .segmented button { color: rgba(255,255,255,.7); }
.panel--navy .segmented [aria-selected='true'] { background: #fff; color: var(--ink); }

/* Range (single) */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--blue-600) var(--p, 50%), var(--line) var(--p, 50%)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--blue-600); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); box-shadow: var(--shadow-sm); transition: transform var(--dur-1); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { box-shadow: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus); }

/* Dual range (price) */
.dual-range { position: relative; height: 28px; }
.dual-range__track { position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 3px; background: var(--line); }
.dual-range__fill { position: absolute; top: 11px; height: 6px; border-radius: 3px; background: var(--blue-600); }
.dual-range input { position: absolute; inset: 0; width: 100%; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; height: 28px; margin: 0; }
.dual-range input::-webkit-slider-runnable-track { background: none; height: 6px; }
.dual-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); box-shadow: var(--shadow-sm); cursor: grab; }
.dual-range input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); cursor: grab; }
.dual-range input::-moz-range-track { background: none; }
.dual-range input:focus-visible { box-shadow: none; }
.dual-range input:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--fs-sm); color: var(--text-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-3); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Accordion (details/summary) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 4px; font-size: 1rem; font-weight: 650; letter-spacing: -.01em; min-height: 52px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--blue-700); }
.acc__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2); }
.acc details[open] .acc__icon { transform: rotate(45deg); background: var(--sun-500); }
.acc__body { padding: 0 4px 18px; color: var(--ink-2); max-width: 72ch; }
.acc__body p + p { margin-top: 12px; }

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
@media (max-width: 1023px) { .toasts { bottom: calc(88px + env(safe-area-inset-bottom)); } }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: var(--r-md);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); pointer-events: auto;
  font-size: var(--fs-sm); font-weight: 500; animation: toast-in var(--dur-3) var(--ease-spring);
}
.toast.is-out { animation: toast-out var(--dur-2) var(--ease-out) forwards; }
.toast__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-500); color: var(--ink); flex: none; }
.toast__msg { flex: 1; }
.toast__action { color: var(--sun-300); font-weight: 650; padding: 8px 10px; border-radius: 8px; min-height: 36px; }
.toast__action:hover { background: rgba(255,255,255,.08); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Popover / dialog ---------- */
.popover {
  position: absolute; z-index: var(--z-overlay); min-width: 280px; padding: 20px; border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform-origin: top; animation: pop-in var(--dur-2) var(--ease-out);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.dialog {
  border: 0; padding: 0; border-radius: var(--r-xl); width: min(560px, calc(100vw - 24px)); max-height: min(88dvh, 820px);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden;
}
.dialog[open] { animation: dialog-in var(--dur-3) var(--ease-out); }
.dialog::backdrop { background: rgba(8, 27, 61, .48); backdrop-filter: blur(4px); animation: fade-in var(--dur-2) ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 12px 28px; }
.dialog__title { font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.dialog__body { padding: 8px 28px 28px; overflow: auto; max-height: calc(88dvh - 80px); }
@media (max-width: 639px) {
  .dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 92dvh; }
  .dialog[open] { animation: sheet-in var(--dur-3) var(--ease-out); }
  @keyframes sheet-in { from { transform: translateY(100%); } }
}

/* ---------- Tooltip ---------- */
.tip { position: absolute; z-index: var(--z-overlay); pointer-events: none; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: var(--fs-xs); font-weight: 550; white-space: nowrap; box-shadow: var(--shadow-md); transform: translate(-50%, calc(-100% - 12px)); transition: opacity var(--dur-1); }
.tip strong { display: block; font-size: var(--fs-sm); font-weight: 700; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 44px 24px; border-radius: var(--r-xl); background: var(--mist); }
.empty__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 24px; }

/* ---------- Skeleton ---------- */
.skeleton { background: linear-gradient(100deg, var(--mist) 30%, #fff 50%, var(--mist) 70%) var(--mist); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r-md); }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Prose (описания от партньори) ---------- */
.prose { color: var(--ink-2); line-height: 1.7; max-width: 72ch; }
.prose > p:empty { display: none; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); }
.prose > * + * { margin-top: 1em; }
.prose h3, .prose h4 { color: var(--ink); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--blue-600); }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-600); }
.prose table:not(.ttable) { width: 100%; font-size: var(--fs-sm); border-radius: var(--r-md); overflow: hidden; display: block; overflow-x: auto; border: 1px solid var(--line); }
.prose td, .prose th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose table:not(.ttable) tr:first-child td { background: var(--mist); font-weight: 650; color: var(--ink); }
.prose table:not(.ttable) td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose tr:last-child td { border-bottom: 0; }

/* 05-header.css */
/* ==========================================================================
   Header, mega menu, drawer, bottom nav, search overlay
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-2), background-color var(--dur-2);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.has-mega { background: #fff; border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { flex: none; display: block; padding: 6px 0; border-radius: 8px; }
.brand img { height: 31px; width: auto; }
@media (max-width: 1023px) { .brand img { height: 27px; } }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }

/* Main nav */
.mainnav { margin-left: clamp(4px, 1.6vw, 28px); height: 100%; min-width: 0; }
.mainnav__list { display: flex; align-items: center; gap: 2px; height: 100%; list-style: none; margin: 0; padding: 0; }
.mainnav__item { height: 100%; display: flex; align-items: center; }
.mainnav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: .9063rem; font-weight: 550; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: color var(--dur-2), background-color var(--dur-2);
}
.mainnav__link:hover, .mainnav__link[aria-expanded='true'] { color: var(--ink); background: var(--mist); }
.mainnav__link[aria-current='page'] { color: var(--blue-700); }
.mainnav__link[aria-current='page']::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sun-500); }
.mainnav__link .i--chev { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.mainnav__link[aria-expanded='true'] .i--chev { transform: rotate(180deg); }
.mainnav__link--early { color: var(--ink); background: var(--sun-50); box-shadow: inset 0 0 0 1.5px var(--sun-200); }
.mainnav__link--early:hover { background: var(--sun-100); }
.sun-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun-500); box-shadow: 0 0 0 0 rgba(246,166,9,.6); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246,166,9,.55); } 70% { box-shadow: 0 0 0 9px rgba(246,166,9,0); } 100% { box-shadow: 0 0 0 0 rgba(246,166,9,0); } }
@media (max-width: 1240px) { .site-header__inner { gap: 12px; } .mainnav__link { padding: 0 8px; font-size: .86rem; } .mainnav__link--early { padding: 0 10px; } }
/* Под 1100px пълната навигация не се побира — минаваме на бургер меню */
@media (max-width: 1099px) { .mainnav { display: none; } }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 8px); z-index: var(--z-mega);
  left: max(var(--gutter), calc((100% - var(--container)) / 2)); right: max(var(--gutter), calc((100% - var(--container)) / 2));
  background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(8,27,61,.4);
  border-radius: var(--r-xl);
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-2);
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mega > .container { max-width: none; padding-inline: 28px; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 28px; padding-block: 26px 28px; }
.mega__inner--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 22px; }
.mega__col h3, .mega__title { font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); margin-bottom: 14px; }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__links a {
  display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 5px 10px; margin-inline: -10px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink); font-weight: 550; font-size: .875rem; transition: background-color var(--dur-1), color var(--dur-1);
}
.mega__links a:hover { background: var(--mist); color: var(--blue-700); }
.mega__links .count { margin-left: auto; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.mega__ico { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; transition: background-color var(--dur-2), color var(--dur-2); }
.mega__links a:hover .mega__ico { background: var(--blue-600); color: #fff; }
.mega__links--rich a { align-items: flex-start; padding-block: 10px; }
.mega__links--rich small { display: block; color: var(--text-muted); font-weight: 450; font-size: var(--fs-xs); line-height: 1.4; margin-top: 2px; }
.mega__feature {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 240px; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate;
}
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.mega__feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,27,61,0) 30%, rgba(8,27,61,.82) 100%); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature .badge { align-self: flex-start; margin-bottom: auto; }
.mega__feature strong { font-size: 1.1875rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
.mega__feature span { margin-top: 6px; font-size: var(--fs-sm); opacity: .85; display: inline-flex; gap: 6px; align-items: center; }
.mega__holiday { display: flex; align-items: center; gap: 12px; }
.mega__date { flex: none; width: 46px; text-align: center; border-radius: 10px; background: var(--mist); padding: 5px 0; line-height: 1.1; }
.mega__date b { display: block; font-size: 1.0625rem; font-weight: 750; }
.mega__date i { display: block; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.mega-scrim { position: fixed; inset: var(--header-h) 0 0; background: rgba(8,27,61,.18); z-index: calc(var(--z-header) - 1); opacity: 0; pointer-events: none; transition: opacity var(--dur-3) var(--ease-out); }
.mega-scrim.is-on { opacity: 1; }

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8,27,61,.45); opacity: 0; transition: opacity var(--dur-3) var(--ease-out); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--dur-3) var(--ease-out); box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__head img { height: 28px; width: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px 32px; overscroll-behavior: contain; }
.drawer__early { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--sun-50); border: 1.5px solid var(--sun-200); text-decoration: none; font-weight: 650; margin: 8px 0 12px; }
.drawer__early .i { margin-left: auto; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 1.125rem; font-weight: 650; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .i { transition: transform var(--dur-2) var(--ease-out); }
.drawer details[open] summary .i { transform: rotate(180deg); }
.drawer__links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.drawer__links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.drawer__links .count { font-size: var(--fs-xs); color: var(--ink-4); }
.drawer__plain { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 1.125rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: none; }

/* Bottom nav (mobile) */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bottomnav); display: none;
  background: rgba(255,255,255,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.bottomnav ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.bottomnav a, .bottomnav button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 100%; min-height: 62px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bottomnav .i { width: 22px; height: 22px; }
.bottomnav [aria-current='page'] { color: var(--blue-600); }
.bottomnav [aria-current='page']::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue-600); }
.bottomnav .badge-count { top: 6px; right: calc(50% - 22px); }
@media (max-width: 1023px) {
  .bottomnav { display: block; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .site-header__actions .hide-mobile { display: none; }
}
@media (min-width: 1100px) { .menu-btn { display: none; } }

/* Search overlay (command palette) */
.search-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); display: none; }
.search-overlay.is-open { display: block; }
.search-overlay__scrim { position: absolute; inset: 0; background: rgba(8,27,61,.5); backdrop-filter: blur(6px); animation: fade-in var(--dur-2) ease; }
.search-overlay__panel {
  position: relative; margin: min(12vh, 120px) auto 0; width: min(720px, calc(100vw - 24px)); background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: dialog-in var(--dur-3) var(--ease-out);
}
@media (max-width: 639px) { .search-overlay__panel { margin: 0; width: 100vw; height: 100dvh; border-radius: 0; } }
.search-overlay__bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 22px; border-bottom: 1px solid var(--line); }
.search-overlay__bar .i { color: var(--ink-3); }
.search-overlay__input { flex: 1; min-height: 56px; border: 0; font-size: 1.1875rem; font-weight: 500; background: none; }
.search-overlay__input:focus-visible { box-shadow: none; }
.search-overlay__results { max-height: min(60vh, 560px); overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
@media (max-width: 639px) { .search-overlay__results { max-height: calc(100dvh - 80px); } }
.sr-group + .sr-group { margin-top: 8px; }
.sr-group__title { padding: 10px 12px 6px; font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); min-height: 52px; }
.sr-item:hover, .sr-item[aria-selected='true'] { background: var(--mist); }
.sr-item__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; overflow: hidden; }
.sr-item__ico img { width: 100%; height: 100%; object-fit: cover; }
.sr-item__text { flex: 1; min-width: 0; }
.sr-item__text strong { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item__text small { color: var(--text-muted); font-size: var(--fs-xs); }
.sr-item__meta { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.sr-item mark { background: var(--sun-100); color: inherit; border-radius: 3px; padding: 0 1px; }
.kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 600; color: var(--ink-3); background: #fff; font-family: var(--font); }

/* 06-cards.css */
/* ==========================================================================
   Offer card, price, fav button, destination / category tiles
   ========================================================================== */
.ocard {
  position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: var(--r-lg);
  border: 1px solid var(--line); padding: 8px; isolation: isolate;
  transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), border-color var(--dur-3);
}
.ocard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.ocard:focus-within { box-shadow: var(--shadow-md); }
.ocard__media { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--mist); }
.ocard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ocard:hover .ocard__media img { transform: scale(1.06); }
.ocard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 72px); }
.ocard__partner {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(8,27,61,.72); color: #fff;
  font-size: 11.5px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ocard__partner::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--p-color, var(--sun-500)); }
.ocard__partner[data-partner='visit'] { --p-color: #4ADE80; }
.ocard__body { display: flex; flex-direction: column; flex: 1; padding: 12px 10px 6px; gap: 8px; }
.ocard__loc { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); letter-spacing: .01em; }
.ocard__loc .i { width: 15px; height: 15px; color: var(--blue-600); }
.ocard__loc .stars { margin-left: auto; }
.ocard__loc .stars .i { color: var(--sun-500); width: 14px; height: 14px; }
.ocard__title { font-size: .9375rem; line-height: 1.38; font-weight: 600; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ocard__link { text-decoration: none; }
.ocard__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.ocard__link:focus-visible { box-shadow: none; }
.ocard__link:focus-visible::after { box-shadow: var(--focus); }
.ocard__meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ocard__meta li { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: var(--r-pill); background: var(--mist); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ocard__meta .i { width: 13px; height: 13px; }
.ocard__foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ocard__go {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--ink);
  display: grid; place-items: center; transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-3) var(--ease-out);
}
.ocard:hover .ocard__go { background: var(--blue-600); color: #fff; transform: rotate(-45deg); }
.ocard--compact .ocard__media { aspect-ratio: 16 / 10; }
.ocard--compact .ocard__title { -webkit-line-clamp: 2; font-size: .9063rem; }

/* Horizontal (list view) */
.ocard--row { flex-direction: row; gap: 4px; }
.ocard--row .ocard__media { width: 38%; max-width: 340px; aspect-ratio: auto; min-height: 220px; flex: none; }
.ocard--row .ocard__body { padding: 16px 16px 12px 20px; }
@media (max-width: 639px) {
  .ocard--row { flex-direction: column; }
  .ocard--row .ocard__media { width: 100%; max-width: none; aspect-ratio: 4/3; min-height: 0; }
  .ocard--row .ocard__body { padding: 16px 12px 10px; }
}

/* Price */
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 0; line-height: 1.1; }
.price__from { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 550; width: 100%; margin-bottom: 2px; }
.price__val { font-size: 1.3125rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.price__basis { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 550; }
.ocard .price__basis { width: 100%; margin-top: 2px; }
.price__old { font-size: var(--fs-sm); color: var(--ink-4); font-weight: 550; text-decoration-thickness: 1.5px; }
.price__ppn { width: 100%; margin-top: 4px; font-size: 12px; color: var(--success); font-weight: 650; }

/* Favorite button */
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm); transition: transform var(--dur-2) var(--ease-spring), color var(--dur-2), background-color var(--dur-2);
}
.fav-btn:hover { transform: scale(1.08); color: #E0245E; }
.fav-btn:active { transform: scale(.9); }
.fav-btn .i { width: 21px; height: 21px; transition: fill var(--dur-2); }
.fav-btn[aria-pressed='true'] { color: #E0245E; }
.fav-btn[aria-pressed='true'] .i { fill: currentColor; animation: heart-pop .45s var(--ease-spring); }
@keyframes heart-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.fav-btn--inline { position: static; box-shadow: none; border: 1.5px solid var(--line-2); background: #fff; }

/* Grid of offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.offers-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .offers-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .offers-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offers-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.offers-list { display: grid; gap: 16px; }

/* Category tiles (hero "Твоята почивка, твоят ритъм") */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
@media (max-width: 1023px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 16px;
  border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,27,61,0) 45%, rgba(8,27,61,.78) 100%); transition: opacity var(--dur-3); }
.tile:hover img { transform: scale(1.07); }
.tile__count { position: absolute; top: 16px; left: 16px; }
.tile__name { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.1; padding-right: 56px; }
.tile__sub { font-size: var(--fs-sm); opacity: .85; margin-top: 4px; padding-right: 56px; }
.tile__go { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2); }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--sun-500); }
@media (max-width: 639px) { .tile { aspect-ratio: 4 / 5; padding: 16px; } .tile__go { width: 40px; height: 40px; right: 12px; bottom: 12px; } }

/* Destination cards (editorial) */
.dcard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  text-decoration: none; color: inherit; border: 1px solid var(--line); transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.dcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.dcard:hover .dcard__media img { transform: scale(1.05); }
.dcard__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.dcard__body h3 { font-size: 1rem; }
.dcard__body p { color: var(--text-muted); font-size: var(--fs-sm); }
.dcard__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--blue-600); }
.dcard__meta .i { transition: transform var(--dur-2) var(--ease-out); }
.dcard:hover .dcard__meta .i { transform: translateX(4px); }

/* Mini link cards (destination chips with counts) */
.dest-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); min-height: 44px;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-1); min-height: 48px;
}
.dest-pill:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.dest-pill img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.dest-pill .count { color: var(--ink-4); font-weight: 600; font-size: var(--fs-xs); }

/* 07-home.css */
/* ==========================================================================
   Home: hero, search, marquee, early booking, holidays, tools bento, steps
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(12px, 1.5vw, 24px); padding-bottom: clamp(20px, 2vw, 32px); overflow: clip; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(400px, 52vh, 500px); }
.hero__text { position: relative; z-index: 2; padding-block: 28px 112px; }
.hero__title { font-size: clamp(2.125rem, 1.1rem + 2.7vw, 3.25rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.hero__title .line > span { white-space: nowrap; }
@media (max-width: 420px) { .hero__title .line > span { white-space: normal; } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { color: var(--blue-600); }
.hero__lead { margin-top: 14px; font-size: var(--fs-lead); color: var(--ink-2); max-width: 34ch; }
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0;
  left: 46%; z-index: 0;
}
.hero__img { width: 100%; height: 100%; clip-path: url(#hero-clip); position: relative; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.08); animation: hero-zoom 2.4s var(--ease-out) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__orbit { position: absolute; left: -2%; top: -14px; width: 440px; z-index: 1; pointer-events: none; color: var(--sun-500); }
.hero__orbit path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s var(--ease-out) .3s forwards; }
.hero__sun { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun-300), var(--sun-500) 60%); box-shadow: 0 0 0 10px rgba(246,166,9,.12), 0 10px 30px rgba(246,166,9,.45); offset-path: path('M -16 120 C 86 17, 235 -14, 385 33'); offset-rotate: 0deg; offset-distance: 0%; animation: sun-rise 2.6s var(--ease-out) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sun-rise { to { offset-distance: 48%; } }

/* Floating glass cards on the image */
.hero__float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: var(--r-md);
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); font-size: var(--fs-sm);
  transition: transform var(--dur-3) var(--ease-out);
}
.hero__float:hover { transform: translateY(-3px); }
.hero__float img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.hero__float strong { display: block; font-weight: 700; font-size: .875rem; }
.hero__float small { color: var(--ink-3); font-weight: 500; }
.hero__float--a { right: 6%; top: 14%; animation: float 7s ease-in-out infinite; }
.hero__float--b { right: 28%; bottom: 30%; animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Rotating stamp */
.stamp { position: absolute; z-index: 3; left: 9%; top: 8%; width: 112px; height: 112px; display: grid; place-items: center; text-decoration: none; color: var(--ink); }
.stamp svg.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp__ring text { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; fill: var(--ink); text-transform: uppercase; }
.stamp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); transition: transform var(--dur-3) var(--ease-spring); }
.stamp:hover::before { transform: scale(1.06); }
.stamp__core { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--sun-500); display: grid; place-items: center; font-weight: 800; font-size: .9375rem; letter-spacing: -.02em; line-height: 1; text-align: center; }
.stamp__core small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .04em; }

@media (max-width: 1023px) {
  .hero { padding-top: 12px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: clamp(260px, 58vw, 440px); order: -1; }
  .hero__img { clip-path: url(#hero-clip-m); border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .hero__text { padding-block: 18px 18px; }
  .hero__orbit, .hero__sun { display: none; }
  .hero__float--a { right: 16px; top: auto; bottom: 14%; }
  .hero__float--b { display: none; }
  .stamp { left: auto; right: 20px; top: 20px; width: 104px; height: 104px; }
  .stamp__core { width: 46px; height: 46px; font-size: .8125rem; }
  .stamp__ring text { font-size: 9px; }
}

/* ---------- Search panel ---------- */
.search {
  position: relative; z-index: 5; margin-top: -92px; display: grid; grid-template-columns: 1.35fr 1fr 1fr .95fr auto; align-items: stretch;
  padding: 8px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.search__field { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 14px; border-radius: var(--r-lg); min-height: 60px; transition: background-color var(--dur-2); }
.search__field + .search__field::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.search__field:hover, .search__field:focus-within { background: var(--mist); }
.search__field:hover::before, .search__field:focus-within::before, .search__field:hover + .search__field::before, .search__field:focus-within + .search__field::before { opacity: 0; }
.search__ico { width: 38px; height: 38px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.search__ctl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.search__label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); line-height: 1.2; }
.search__input, .search__select {
  width: 100%; border: 0; background: transparent; padding: 2px 0; min-height: 30px; font-size: var(--fs-sm); color: var(--ink-3);
  appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis;
}
.search__input { cursor: text; }
.search__input::placeholder { color: var(--ink-3); opacity: 1; }
.search__input:focus-visible, .search__select:focus-visible { box-shadow: none; color: var(--ink); }
.search__field:focus-within { box-shadow: inset 0 0 0 2px var(--blue-600); }
.search__chev { color: var(--ink-3); flex: none; pointer-events: none; }
.search__guests { text-align: left; width: 100%; color: var(--ink-3); font-size: var(--fs-sm); min-height: 30px; }
.search__submit { margin: 4px; align-self: center; min-height: 52px; padding: 0 24px; border-radius: var(--r-lg); }
@media (max-width: 1180px) { .search { grid-template-columns: 1fr 1fr; } .search__submit { grid-column: 1 / -1; margin: 6px 4px 4px; } .search__field:nth-child(3)::before { display: none; } }
@media (max-width: 1023px) { .search { margin-top: 0; } }
@media (max-width: 639px) {
  .search { grid-template-columns: 1fr; padding: 8px; border-radius: var(--r-lg); }
  .search__field { min-height: 64px; padding: 6px 12px; }
  .search__field + .search__field::before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
  .search__ico { width: 40px; height: 40px; }
}

/* Combobox suggestions */
.suggest { position: absolute; left: 0; top: calc(100% + 10px); width: min(440px, calc(100vw - 32px)); z-index: var(--z-overlay); padding: 10px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-height: 420px; overflow-y: auto; }
.suggest__group { padding: 8px 10px 4px; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.suggest__opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: var(--r-sm); cursor: pointer; }
.suggest__opt[aria-selected='true'], .suggest__opt:hover { background: var(--mist); }
.suggest__opt .i { color: var(--blue-600); }
.suggest__opt span { flex: 1; font-weight: 550; }
.suggest__opt small { color: var(--ink-4); font-weight: 600; }
.suggest__opt mark { background: var(--sun-100); border-radius: 3px; color: inherit; }

/* Guests popover */
.guests-pop { right: 0; top: calc(100% + 10px); width: 320px; }
.guests-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.guests-row + .guests-row { border-top: 1px solid var(--line); }
.guests-row strong { display: block; font-weight: 650; }
.guests-row small { color: var(--text-muted); }

/* Trust row */
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--ink-2); }
.trust__item b { display: block; font-size: 1.0625rem; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.trust__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-50); color: var(--sun-700); flex: none; }


/* ---------- Early booking panel ---------- */
.early { padding-block: clamp(28px, 1.5rem + 1.6vw, 48px); isolation: isolate; }
.early::before { content: ''; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -420px; background: radial-gradient(circle, rgba(246,166,9,.45) 0%, rgba(246,166,9,.12) 35%, rgba(246,166,9,0) 65%); }
.early::after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 60%; background: radial-gradient(ellipse at 10% 120%, rgba(21,88,200,.6), rgba(21,88,200,0) 60%); }
.early__waves { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; opacity: .18; color: #fff; }
.early__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 22px; }
.early__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; }
.early__stat { background: var(--navy); padding: 14px 16px; }
.early__stat b { display: block; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); font-weight: 800; letter-spacing: -.04em; color: var(--sun-400); font-variant-numeric: tabular-nums; line-height: 1.05; }
.early__stat span { font-size: var(--fs-xs); color: rgba(255,255,255,.72); }
.early__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.early .ocard { border-color: transparent; }
@media (max-width: 1023px) { .early__top { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .early__stats { grid-template-columns: 1fr 1fr; } .early__stat:last-child { grid-column: 1 / -1; } }

/* Carousel controls */
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: #fff; color: var(--ink); transition: background-color var(--dur-2), border-color var(--dur-2), opacity var(--dur-2); }
.carousel-nav button:hover { border-color: var(--ink); }
.carousel-nav button:disabled { opacity: .35; pointer-events: none; }
.panel--navy .carousel-nav button { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.panel--navy .carousel-nav button:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Holidays strip ---------- */
.holidays { --col: minmax(250px, 1fr); }
.hcard {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 172px; padding: 18px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), border-color var(--dur-3);
}
.hcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.hcard__date { display: flex; align-items: center; gap: 10px; padding-right: 52px; }
.hcard__day { font-size: 2rem; font-weight: 800; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.hcard__mon { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-3); text-transform: lowercase; line-height: 1.2; }
.hcard__ico { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.hcard__name { font-size: 1.0625rem; font-weight: 750; letter-spacing: -.02em; margin-top: auto; }
.hcard__meta { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); color: var(--ink-3); font-weight: 550; }
.hcard__count { color: var(--blue-600); font-weight: 650; }
.hcard--next { background: var(--sun-500); border-color: var(--sun-500); }
.hcard--next .hcard__mon, .hcard--next .hcard__meta { color: rgba(13,26,45,.72); }
.hcard--next .hcard__ico { background: rgba(255,255,255,.55); color: var(--ink); }
.hcard--next .hcard__count { color: var(--ink); }
.countdown { display: inline-flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.countdown b { font-weight: 800; }

/* ---------- Tools bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: 'a a b c' 'a a d e' 'f f g g'; gap: clamp(12px, 1.4vw, 20px); }
.bento > :nth-child(1) { grid-area: a; } .bento > :nth-child(2) { grid-area: b; } .bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: d; } .bento > :nth-child(5) { grid-area: e; } .bento > :nth-child(6) { grid-area: f; } .bento > :nth-child(7) { grid-area: g; }
@media (max-width: 1023px) { .bento { grid-template-columns: 1fr 1fr; grid-template-areas: 'a a' 'b c' 'd e' 'f f' 'g g'; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-template-areas: 'a' 'b' 'c' 'd' 'e' 'f' 'g'; } }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 168px; padding: 20px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; isolation: isolate;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), border-color var(--dur-3);
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.tool__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: transform var(--dur-3) var(--ease-spring); }
.tool:hover .tool__ico { transform: rotate(-8deg) scale(1.06); }
.tool h3 { font-size: 1.0625rem; }
.tool p { color: var(--text-muted); font-size: var(--fs-sm); }
.tool__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue-600); font-size: var(--fs-sm); }
.tool__go .i { transition: transform var(--dur-2) var(--ease-out); }
.tool:hover .tool__go .i { transform: translateX(4px); }
.tool--hero { background: var(--blue-600); color: #fff; border-color: var(--blue-600); padding: clamp(20px, 2.2vw, 28px); }
.tool--hero h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.tool--hero p { color: rgba(255,255,255,.8); font-size: var(--fs-sm); max-width: 40ch; }
.tool--hero .tool__ico { background: rgba(255,255,255,.14); color: #fff; }
.tool--hero .tool__go { color: var(--sun-200); }
.tool--sun { background: var(--sun-50); border-color: var(--sun-200); }
.tool--sun .tool__ico { background: var(--sun-500); color: var(--ink); }
.tool__viz { margin-top: 8px; }
.receipt { display: grid; gap: 10px; padding: 20px; border-radius: var(--r-md); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-variant-numeric: tabular-nums; max-width: 420px; }
.receipt__row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.receipt__row--total { padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.3); font-size: 1.125rem; color: #fff; font-weight: 750; }
.minibars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-bottom: 28px; max-width: 360px; }
.minibars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--blue-100); position: relative; }
.minibars span.is-hot { background: var(--sun-500); }
.minibars span::after { content: attr(data-m); position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--ink-4); font-weight: 600; }
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 220px; }
.mini-cal i { aspect-ratio: 1; border-radius: 6px; background: var(--mist); }
.mini-cal i.h { background: var(--sun-500); }
.mini-cal i.w { background: var(--blue-100); }
.mini-cal i.b { background: var(--blue-600); }

/* ---------- Steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 20px 22px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.step::before { content: '0' counter(step); display: block; font-size: 1.875rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--blue-100); margin-bottom: 12px; }
.step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }
.step__ico { position: absolute; right: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-50); color: var(--sun-700); }
.step--accent { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.step--accent::before { color: rgba(255,255,255,.28); }
.step--accent p { color: rgba(255,255,255,.82); }
.step--accent .step__ico { background: rgba(255,255,255,.14); color: var(--sun-300); }

.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 18px; padding: 14px 20px; border-radius: var(--r-lg); background: var(--mist); }
.partners__label { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 550; }
.partners__name { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.partners__name small { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; letter-spacing: 0; }

/* ---------- FAQ layout ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 3.5vw, 48px); align-items: start; }
@media (max-width: 1023px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.help-card { margin-top: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--mist); display: grid; gap: 12px; }
.help-card a { font-weight: 650; color: var(--blue-600); }

/* ---------- Region/destination quick list ---------- */
.dest-cloud { display: flex; flex-wrap: wrap; gap: 10px; }

/* 08-footer.css */
/* ==========================================================================
   Newsletter, push, footer, inner page hero
   ========================================================================== */
.newsletter { padding: clamp(22px, 2.6vw, 40px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; isolation: isolate; }
.newsletter::before { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; left: -220px; bottom: -380px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02); }
.newsletter__sun { position: absolute; z-index: -1; right: 6%; top: -36px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun-300), var(--sun-500) 62%); opacity: .95; box-shadow: 0 0 80px rgba(246,166,9,.6); }
@media (max-width: 1023px) { .newsletter { grid-template-columns: minmax(0, 1fr); } .newsletter__sun { width: 80px; height: 80px; top: -24px; } }
.newsletter h2 { font-size: var(--fs-h2); }
.newsletter p { color: rgba(255,255,255,.82); margin-top: 10px; font-size: var(--fs-lead); max-width: 40ch; }
.nl-form { display: grid; gap: 14px; padding: clamp(18px, 2vw, 24px); border-radius: var(--r-xl); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.nl-form__row { display: flex; gap: 8px; }
.nl-form__row .input { flex: 1; }
@media (max-width: 480px) { .nl-form__row { flex-direction: column; } }
.nl-topics { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.nl-topics legend { font-size: var(--fs-sm); font-weight: 650; margin-bottom: 10px; padding: 0; }
.nl-topics label { position: relative; }
.nl-topics input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.nl-topics input:checked + .chip { background: var(--ink); border-color: var(--ink); color: #fff; }
.nl-topics input:focus-visible + .chip { box-shadow: var(--focus); }
.nl-consent { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.nl-consent .check { align-items: flex-start; font-size: var(--fs-xs); min-height: 0; }
.nl-consent a { color: var(--blue-600); }
.nl-success { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--success-bg); color: var(--success); font-weight: 550; }
.nl-push { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.nl-push__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-50); color: var(--sun-700); flex: none; }
.nl-push p { color: var(--ink-3); font-size: var(--fs-xs); margin: 0; flex: 1; }
.nl-push strong { color: var(--ink); display: block; font-size: var(--fs-sm); }

/* Бюлетинът следва секция, която вече има долен отстъп */
.newsletter-wrap { padding-top: 0; }

/* Push popover */
.push-pop { position: fixed; z-index: var(--z-overlay); top: calc(var(--header-h) + 8px); right: max(16px, calc((100vw - var(--container)) / 2 - 8px)); width: min(380px, calc(100vw - 32px)); padding: 24px; }
.push-pop h3 { font-size: 1.25rem; margin-bottom: 6px; }
.push-pop p { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 12px; }
.push-pop .check { min-height: 44px; border-bottom: 1px solid var(--line); }
.push-pop__actions { display: flex; gap: 8px; margin-top: 16px; }
.push-status { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--success); margin-top: 12px; }

/* Footer */
.site-footer { position: relative; padding-top: clamp(32px, 3vw, 56px); background: var(--paper); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 32px; }
@media (max-width: 1023px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { margin-top: 16px; color: var(--text-muted); max-width: 34ch; font-size: var(--fs-sm); }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__col h2 { font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.footer__col a:hover { color: var(--blue-600); text-decoration: underline; }
.footer__mega { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.25rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--blue-50); white-space: nowrap; user-select: none; margin: 0 0 12px; padding-bottom: .12em; overflow: hidden; pointer-events: none; }
.footer__mega span { color: var(--sun-100); }
.footer__legal { border-top: 1px solid var(--line); padding-block: 20px; display: grid; gap: 14px; font-size: var(--fs-xs); color: var(--ink-3); }
.footer__legal-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer__legal a { color: var(--ink-2); }

/* Inner page hero */
.page-hero { position: relative; padding-top: clamp(16px, 2vw, 24px); padding-bottom: clamp(16px, 2vw, 28px); }
.page-hero h1 { margin-top: 12px; max-width: 30ch; }
.page-hero .lead { margin-top: 10px; max-width: 70ch; }
.page-hero--image { color: #fff; padding: 0; }
.page-hero__visual { position: relative; border-radius: var(--r-2xl); overflow: hidden; min-height: clamp(280px, 30vw, 400px); display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 36px); isolation: isolate; width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.page-hero__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero__visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,27,61,.05) 20%, rgba(8,27,61,.78) 100%); }
.page-hero__visual h1 { margin-top: 8px; max-width: 24ch; }
.page-hero__visual .lead { color: rgba(255,255,255,.88); }
.page-hero__visual .crumbs, .page-hero__visual .crumbs a { color: rgba(255,255,255,.85); }
.page-hero__visual .crumbs li + li::before { background: rgba(255,255,255,.5); }
.page-hero__visual .crumbs [aria-current] { color: rgba(255,255,255,.7); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.photo-credit { position: absolute; right: 20px; bottom: 14px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.7); }

/* 09-catalog.css */
/* ==========================================================================
   Catalog (оферти с филтри)
   ========================================================================== */
.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
@media (max-width: 1023px) { .catalog { grid-template-columns: minmax(0, 1fr); } }

.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__head h2 { font-size: 1.0625rem; letter-spacing: -.02em; }
.filters__reset { font-size: var(--fs-sm); font-weight: 600; color: var(--blue-600); min-height: 40px; padding: 0 4px; }
.filters__reset:hover { text-decoration: underline; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; font-weight: 650; font-size: var(--fs-sm); }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary .i { transition: transform var(--dur-2) var(--ease-out); color: var(--ink-3); }
.fgroup[open] > summary .i { transform: rotate(180deg); }
.fgroup > summary .fgroup__n { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--blue-600); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.fgroup__body { padding-bottom: 14px; }
.fgroup__body .check { min-height: 34px; }
.fgroup__more { font-size: var(--fs-sm); font-weight: 600; color: var(--blue-600); min-height: 36px; margin-top: 4px; }
.fgroup__search { margin-bottom: 8px; min-height: 44px; font-size: var(--fs-sm); }
.fgroup__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fgroup__scroll { max-height: 280px; overflow-y: auto; margin-right: -8px; padding-right: 8px; }
.check.is-zero { opacity: .45; }
.star-filter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.star-filter .chip { justify-content: center; padding: 0 8px; }
.star-filter .chip .i { width: 14px; height: 14px; fill: currentColor; stroke: none; color: var(--sun-500); }
.price-out { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 650; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.histo { display: flex; align-items: flex-end; gap: 2px; height: 44px; margin-bottom: -2px; padding-inline: 12px; }
.histo span { flex: 1; background: var(--blue-100); border-radius: 2px 2px 0 0; min-height: 2px; transition: background-color var(--dur-2); }
.histo span.is-in { background: var(--blue-300); }

/* Toolbar */
.ctoolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.ctoolbar__count { font-size: var(--fs-sm); color: var(--ink-3); }
.ctoolbar__count b { font-size: 1rem; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.ctoolbar__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 639px) {
  .ctoolbar__right { width: 100%; flex-wrap: nowrap; }
  .ctoolbar__right .select { flex: 1; min-width: 0; }
  .view-toggle { display: none; }
}
.ctoolbar .select { min-height: 40px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; padding-left: 18px; width: auto; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 3px; }
.view-toggle button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.view-toggle button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.filters-btn { display: none; }
@media (max-width: 1023px) {
  .filters-btn { display: inline-flex; }
  .filters-desktop { display: none; }
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters:empty { display: none; }

/* Quick type chips row above results */
.quick-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 20px; }
.quick-chips::-webkit-scrollbar { display: none; }

.results-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.results-more__bar { width: 220px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.results-more__bar span { display: block; height: 100%; background: var(--blue-600); border-radius: 2px; transition: width var(--dur-3) var(--ease-out); }
.results-more p { font-size: var(--fs-sm); color: var(--ink-3); }

/* Mobile filter sheet */
.fsheet .dialog__body { padding-bottom: 100px; }
.fsheet__foot { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 16px 28px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); margin: 0 -28px -28px; }
.fsheet__foot .btn { flex: 1; }

/* Intro SEO text for category pages */
.cat-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.cat-seo { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.cat-seo:empty { display: none; }
.cat-seo .prose { max-width: 80ch; }

/* 10-offer.css */
/* ==========================================================================
   Offer detail page
   ========================================================================== */
.offer-head { padding-top: clamp(14px, 1.6vw, 22px); }
.offer-head__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.offer-head__title { margin-top: 10px; width: 100%; max-width: none; font-size: clamp(1.4375rem, 1.15rem + 1vw, 2rem); letter-spacing: -.025em; line-height: 1.18; text-wrap: pretty; }
.offer-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-top: 20px; }

.offer-head__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 10px; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 550; }
.offer-head__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.offer-head__meta .i { color: var(--blue-600); width: 18px; height: 18px; }
.offer-head__actions { display: flex; gap: 8px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: clamp(280px, 34vw, 430px); margin-top: 18px; border-radius: var(--r-xl); overflow: hidden; }
.gallery__item { position: relative; overflow: hidden; background: var(--mist); cursor: zoom-in; border: 0; padding: 0; display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:first-child { grid-row: 1 / -1; }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--3 .gallery__item:first-child { grid-row: 1 / -1; }
.gallery--4 .gallery__item:nth-child(2) { grid-row: 1 / -1; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
@media (max-width: 860px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 300px; border-radius: var(--r-lg); scrollbar-width: none; }
  .gallery__item { flex: 0 0 88%; scroll-snap-align: start; border-radius: var(--r-md); }
  .gallery--1 .gallery__item { flex-basis: 100%; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(8,27,61,.94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; animation: fade-in var(--dur-2); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__stage { display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lightbox__stage img { max-height: 80vh; max-width: 100%; width: auto; border-radius: var(--r-md); object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox .icon-btn { color: #fff; background: rgba(255,255,255,.1); }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.lightbox__thumbs { display: flex; gap: 8px; justify-content: center; padding: 16px; overflow-x: auto; }
.lightbox__thumbs button { width: 72px; height: 52px; border-radius: 8px; overflow: hidden; opacity: .5; flex: none; border: 2px solid transparent; }
.lightbox__thumbs button[aria-current='true'] { opacity: 1; border-color: var(--sun-500); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Layout */
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 44px); align-items: start; margin-top: clamp(22px, 2.4vw, 32px); padding-bottom: var(--section); }
/* Отстоянието под офертата е в .offer-layout — така бюлетинът не „залепва“, когато няма „Подобни оферти“ */
.offer > .section { padding-top: 0; }
@media (max-width: 1023px) { .offer-layout { grid-template-columns: minmax(0, 1fr); } }
.offer-section + .offer-section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.offer-section h2 { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.fact { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--mist); }
.fact__ico { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--blue-600); flex: none; }
.fact small { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 550; }
.fact b { font-weight: 700; font-size: var(--fs-sm); }
.amen-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Booking box */
.bookbox { position: sticky; top: calc(var(--header-h) + 16px); padding: 22px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: 14px; }
.bookbox .price__val { font-size: 2rem; }
.bookbox .price__basis { font-size: var(--fs-sm); }
.bookbox__partner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); }
.bookbox__partner b { display: block; font-weight: 700; }
.bookbox__partner small { color: var(--ink-3); }
.bookbox__pmark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.125rem; flex: none; letter-spacing: -.04em; }
.bookbox__note { display: flex; gap: 10px; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.bookbox__note .i { flex: none; color: var(--success); margin-top: 1px; }
.bookbox__rows { display: grid; gap: 10px; font-size: var(--fs-sm); }
.bookbox__rows div { display: flex; justify-content: space-between; gap: 12px; }
.bookbox__rows dt { color: var(--ink-3); }
.bookbox__rows dd { margin: 0; font-weight: 650; text-align: right; }
.bookbox__secondary { display: flex; gap: 8px; }
.bookbox__secondary .btn { flex: 1; }
@media (max-width: 1023px) {
  .bookbox { position: static; }
  .book-bar { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: var(--z-sticky); display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -12px 32px -16px rgba(8,27,61,.25); transform: translateY(120%); transition: transform var(--dur-3) var(--ease-out); }
  .book-bar.is-on { transform: none; }
  .book-bar .price__val { font-size: 1.375rem; }
  .book-bar .btn { margin-left: auto; }
}
@media (min-width: 1024px) { .book-bar { display: none; } }

/* Trip cost mini calc on offer page */
.trip-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.trip-calc__out { margin-top: 14px; padding: 16px; border-radius: var(--r-md); background: var(--blue-50); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: baseline; }
.trip-calc__out b { font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.trip-calc__out span { color: var(--ink-3); font-size: var(--fs-sm); }

.mini-map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--blue-50); aspect-ratio: 16 / 9; }
.mini-map .vmap { width: 100%; height: 100%; }

/* 11-map.css */
/* ==========================================================================
   Interactive map (България + Гърция)
   ========================================================================== */
.mapx { --map-h: clamp(320px, 33vw, 430px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.mapx:not(.mapx--compact) { --map-h: clamp(360px, 38vw, 520px); align-items: start; }
@media (min-width: 1024px) { .mapx:not(.mapx--compact) .mapx__stage { position: sticky; top: calc(var(--header-h) + 12px); } }
@media (max-width: 1023px) { .mapx { grid-template-columns: minmax(0, 1fr); } }
.mapx__stage { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(10px, 1.4vw, 16px); border-radius: var(--r-2xl); background: radial-gradient(120% 90% at 70% 10%, #fff 0%, var(--blue-25) 55%, var(--blue-50) 100%); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.mapx__stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(21,88,200,.14) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.mapx__bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mapx__bar .segmented { background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.mapx__zoom { display: flex; gap: 6px; }
.mapx__zoom .icon-btn { width: 40px; height: 40px; }
/* Фиксирана височина: табовете не „подскачат“, а увеличената карта се изрязва в рамката */
.mapx__canvas { position: relative; z-index: 1; height: var(--map-h); overflow: hidden; border-radius: var(--r-lg); }
.mapx__canvas .vmap { width: 100%; height: 100%; }
@media (max-width: 1023px) { .mapx__canvas { height: auto; } .mapx__canvas .vmap { height: auto; } }
.mapx__canvas[hidden] { display: none; }
/* Компактна карта (начална): ако страничната карта е по-висока, платното поема разликата вместо празна ивица под легендата */
@media (min-width: 1024px) {
  .mapx--compact .mapx__canvas:not([hidden]) { flex: 1 1 auto; height: auto; min-height: var(--map-h); }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .mapx--compact [data-map-only] .region-card__dests > .chip:nth-child(n+7),
  .mapx--compact [data-map-only] .region-card__offers > .orow:nth-child(n+3) { display: none; }
}

.mapx__legend { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; align-self: flex-start; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); font-size: 11.5px; font-weight: 600; color: var(--ink-3); box-shadow: var(--shadow-sm); }
.mapx__legend i { display: block; width: 18px; height: 10px; border-radius: 3px; }
.mapx__legend-pin { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.mapx__legend .mapx__pin-key { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.vmap { width: 100%; height: auto; display: block; overflow: visible; }
.vmap__region path {
  fill: var(--fill, var(--blue-100)); stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  transition: fill var(--dur-2) var(--ease-out), opacity var(--dur-2);
  cursor: pointer;
}
.vmap__region:hover path, .vmap__region:focus-visible path { fill: var(--sun-400); }
.vmap__region.is-active path { fill: var(--sun-500); }
.vmap__region:focus-visible { outline: none; box-shadow: none; }
.vmap__region:focus-visible path { stroke: var(--ink); stroke-width: 2.5; }
.vmap__inert { fill: var(--blue-100); stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }

.vmap__pin { cursor: pointer; transition: opacity var(--dur-2); }
.vmap__pin circle { fill: #fff; stroke: var(--ink); stroke-width: 2.4; vector-effect: non-scaling-stroke; transition: fill var(--dur-2); }
.vmap__pin text { font-family: var(--font); font-size: 19px; font-weight: 700; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity var(--dur-2); pointer-events: none; }
.vmap__pin:hover circle, .vmap__pin.is-active circle { fill: var(--sun-500); }
.vmap__pin:hover text, .vmap__pin.is-active text, .vmap.show-labels .vmap__pin text { opacity: 1; }
.vmap__pin.is-hidden { opacity: 0; pointer-events: none; }
.vmap__pins { pointer-events: auto; }

/* Side panel */
.mapx__panel { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; min-width: 0; }
.mapx__panel > * { min-width: 0; }
.mapx--compact .mapx__panel { display: flex; flex-direction: column; }
.mapx--compact .mapx__panel .region-card { flex: 1; }
.region-card .segmented { display: flex; flex-wrap: wrap; overflow: visible; border-radius: var(--r-md); }
.region-card__sub { margin-top: 16px; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.region-card { padding: clamp(16px, 1.8vw, 24px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.region-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.region-card h2, .region-card h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.025em; }
.region-card__count { font-size: var(--fs-sm); color: var(--ink-3); margin-top: 4px; }
.region-card__count b { color: var(--blue-600); font-weight: 750; }
.region-card__dests { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.region-card__offers { display: grid; gap: 8px; margin-top: 14px; }
.region-card__empty { margin-top: 16px; padding: 20px; border-radius: var(--r-md); background: var(--mist); color: var(--ink-2); font-size: var(--fs-sm); }

/* Mini offer row in map panel */
.orow { position: relative; display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color var(--dur-2), box-shadow var(--dur-2); background: #fff; }
.orow:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.orow img { width: 72px; height: 60px; border-radius: 10px; object-fit: cover; flex: none; }
.orow__t { flex: 1; min-width: 0; }
.orow__t strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.orow__t small { color: var(--ink-3); font-size: var(--fs-xs); font-weight: 550; }
.orow__p { text-align: right; flex: none; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; padding-right: 6px; font-variant-numeric: tabular-nums; }
.orow__p small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 550; letter-spacing: 0; }

/* Region list (accessible alternative) */
.region-list { columns: 2 150px; column-gap: 20px; }
.region-list h3 { font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); margin: 0 0 8px; break-after: avoid; }
.region-list ul { list-style: none; margin: 0; padding: 0; }
.region-list button { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 34px; padding: 4px 10px; margin-inline: -10px; border-radius: var(--r-xs); font-size: var(--fs-sm); font-weight: 550; color: var(--ink-2); text-align: left; break-inside: avoid; }
.region-list button:hover, .region-list button[aria-pressed='true'] { background: var(--mist); color: var(--blue-700); }
.region-list .count { font-size: var(--fs-xs); color: var(--ink-4); font-weight: 650; font-variant-numeric: tabular-nums; }

/* 12-pages.css */
/* ==========================================================================
   Pages: early booking timeline & savings, favorites/compare, content pages
   ========================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--sun-500), var(--blue-200)); }
.timeline__item { position: relative; padding: 30px 16px 0 0; display: grid; gap: 2px; }
.timeline__dot { position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-300); }
.timeline__item.is-now .timeline__dot { border-color: var(--sun-500); background: var(--sun-500); box-shadow: 0 0 0 6px var(--sun-100); }
.timeline__when { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; }
.timeline__disc { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.timeline__item.is-now .timeline__disc { color: var(--blue-600); }
.timeline__txt { font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--sun-500), var(--blue-200)); }
  .timeline__item { padding: 0 0 0 40px; }
  .timeline__dot { top: 4px; }
}

.savings { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 40px; align-items: start; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-2xl); background: var(--sand); }
@media (max-width: 860px) { .savings { grid-template-columns: 1fr; } }
.savings__form { display: grid; gap: 20px; }
.savings__out { display: grid; gap: 8px; }
.savings__row { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center; font-size: var(--fs-sm); }
.savings__bar { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.savings__bar span { display: block; height: 100%; border-radius: 6px; background: var(--blue-600); transition: width var(--dur-3) var(--ease-out); }
.savings__row:first-child .savings__bar span { background: var(--sun-500); }
.savings__row b { font-variant-numeric: tabular-nums; font-weight: 750; min-width: 96px; text-align: right; }
.savings__row small { color: var(--success); font-weight: 650; display: block; }
@media (max-width: 480px) { .savings__row { grid-template-columns: 1fr auto; } .savings__bar { grid-column: 1 / -1; order: 3; } }

/* Favorites */
.fav-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.fav-item { position: relative; }
.fav-item__check { position: absolute; z-index: 4; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.94); font-size: var(--fs-xs); font-weight: 650; box-shadow: var(--shadow-sm); cursor: pointer; }
.fav-item__check input { width: 18px; height: 18px; accent-color: var(--blue-600); }
.fav-item .ocard__badges { top: 56px; }
.price-drop { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--success-bg); color: var(--success); font-size: var(--fs-xs); font-weight: 650; }
.price-drop--up { background: var(--danger-bg); color: var(--danger); }
.compare { margin-top: 32px; overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; }
.compare table { width: 100%; min-width: 640px; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--mist); font-size: var(--fs-sm); }
.compare thead img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 10px; }
.compare tbody th { color: var(--ink-3); font-weight: 600; width: 180px; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .is-best { color: var(--success); font-weight: 750; }
.compare-bar { position: sticky; bottom: 16px; z-index: var(--z-sticky); display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 24px; padding: 12px 12px 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
@media (max-width: 1023px) { .compare-bar { bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* Content pages */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 1023px) { .content { grid-template-columns: minmax(0, 1fr); } }
.content .prose { max-width: 70ch; font-size: 1rem; }
.content .prose h2 { font-size: 1.375rem; margin-top: 1.4em; }
.side-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border-radius: var(--r-xl); background: var(--mist); display: grid; gap: 14px; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--sun-50); border: 1px solid var(--sun-200); color: var(--ink-2); font-size: var(--fs-sm); }
.notice .i { color: var(--sun-700); flex: none; margin-top: 2px; }
.notice--info { background: var(--blue-50); border-color: var(--blue-100); }
.notice--info .i { color: var(--blue-600); }

/* 404 */
.nf { min-height: 50vh; display: grid; place-items: center; text-align: center; padding-block: 48px; }
.nf__code { font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: var(--blue-600); }
.nf__code span { color: var(--sun-500); }

/* 13-motion.css */
/* ==========================================================================
   Motion: scroll reveal, hero title, utilities
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='fade'] { transform: none; }
.no-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
.js [data-reveal='scale'] { transform: scale(.96); }

.js .hero__title .line > span { transform: translateY(105%); animation: line-up 1.1s var(--ease-out) forwards; animation-delay: calc(.12s + var(--i, 0) * .12s); }
@keyframes line-up { to { transform: none; } }
.js .hero__lead, .js .hero .trust, .js .search { opacity: 0; animation: rise 1s var(--ease-out) forwards; }
.js .hero__lead { animation-delay: .45s; }
.js .search { animation-delay: .6s; }
.js .hero .trust { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; animation: none; }
  .js .hero__lead, .js .hero .trust, .js .search { opacity: 1; animation: none; }
  .hero__sun { offset-distance: 48%; animation: none; }
  .hero__orbit path { stroke-dashoffset: 0; animation: none; }
  .stamp svg.stamp__ring, .hero__float { animation: none !important; }
}

/* Print */
@media print {
  .site-header, .bottomnav, .site-footer, .newsletter-wrap, .fav-btn, .book-bar, .toasts { display: none !important; }
  body { padding: 0; }
  .panel { margin: 0; border-radius: 0; }
}

/* 14-tools.css */
/* ==========================================================================
   Tools (калкулатори, чеклист, планер, графики)
   Категорийна палитра за графики — валидирана (dataviz validator, light, #fff):
   adjacent CVD ΔE ≥ 9.1, normal-vision ≥ 19.6. Слотове 3–5 < 3:1 контраст ->
   винаги с легенда + видими етикети/таблица.
   ========================================================================== */
:root {
  --series-1: #1558C8; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100; --series-5: #e87ba4;
  --grid: #E5EAF2; --axis: #C9D2DF; --chart-muted: #6B7686;
}

.tool-hero { padding-bottom: 20px; }
.tool-hero__ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--blue-600); color: #fff; margin: 16px 0 0; box-shadow: 0 16px 32px -16px rgba(21,88,200,.7); }
.tool-hero__ico .i { width: 24px; height: 24px; }

.toolx { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(14px, 1.6vw, 20px); align-items: start; }
.toolx--wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1023px) { .toolx { grid-template-columns: minmax(0, 1fr); } }
.tpanel { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.tpanel h2 { font-size: 1.1875rem; letter-spacing: -.02em; margin-bottom: 4px; }
.tpanel__sub { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 14px; }
.tpanel--result { position: sticky; top: calc(var(--header-h) + 20px); background: var(--navy); color: #fff; border-color: var(--navy); overflow: hidden; isolation: isolate; }
.tpanel--result::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(246,166,9,.38), rgba(246,166,9,0) 65%); }
@media (max-width: 1023px) { .tpanel--result { position: relative; top: 0; } }
.tfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.tfields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tfields .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .tfields, .tfields--3 { grid-template-columns: 1fr; } }
.tsection { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.tsection__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9375rem; margin-bottom: 10px; }
.tsection__title .i { color: var(--blue-600); }
.field__row { display: flex; gap: 8px; align-items: center; }
.field__row .input, .field__row .select { flex: 1; }

.big { font-size: clamp(1.875rem, 1.6rem + .9vw, 2.375rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.big-label { font-size: var(--fs-sm); color: rgba(255,255,255,.72); margin-bottom: 8px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 16px; border-radius: var(--r-md); overflow: hidden; background: rgba(255,255,255,.12); }
.kpi { padding: 14px 16px; background: var(--navy); }
.kpi b { display: block; font-size: 1.0625rem; font-weight: 750; letter-spacing: -.02em; }
.kpi span { font-size: var(--fs-xs); color: rgba(255,255,255,.7); }
.tpanel--result .receipt { margin-top: 16px; max-width: none; }


/* Stacked composition bar */
.sbar { display: flex; gap: 2px; height: 14px; margin-top: 24px; }
.sbar span { display: block; min-width: 3px; transition: flex-grow var(--dur-3) var(--ease-out); }
.sbar span:first-child { border-radius: 4px 0 0 4px; }
.sbar span:last-child { border-radius: 0 4px 4px 0; }
.sbar span:only-child { border-radius: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: var(--fs-xs); }
.legend__item { display: inline-flex; align-items: center; gap: 6px; }
.legend__sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tpanel--result .legend { color: rgba(255,255,255,.85); }

/* Info list / tips */
.tips { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tips li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-sm); color: var(--ink-2); }
.tips li .i { flex: none; color: var(--blue-600); margin-top: 2px; }
.tips li strong { color: var(--ink); }

/* Checklist */
.cl-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cl-progress { display: flex; align-items: center; gap: 14px; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--blue-600) calc(var(--p) * 1%), var(--blue-100) 0); display: grid; place-items: center; }
.ring::before { content: attr(data-label); width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 750; font-size: var(--fs-sm); }
.cl-groups { columns: 2 320px; column-gap: 16px; margin-top: 16px; }
.cl-group { break-inside: avoid; margin-bottom: 16px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.cl-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; margin-bottom: 8px; }
.cl-group h3 .count { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-4); font-weight: 650; }
.cl-item { display: flex; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px dashed var(--line); }
.cl-item:last-of-type { border-bottom: 0; }
.cl-item .check { flex: 1; min-height: 40px; }
.cl-item input:checked ~ .check__label { text-decoration: line-through; color: var(--ink-4); }
.cl-item__del { width: 32px; height: 32px; border-radius: 50%; color: var(--ink-4); display: grid; place-items: center; }
.cl-item__del:hover { background: var(--danger-bg); color: var(--danger); }
.cl-add { display: flex; gap: 8px; margin-top: 10px; }
.cl-add .input { min-height: 40px; font-size: var(--fs-sm); }
.cl-qty { font-size: var(--fs-xs); font-weight: 650; color: var(--blue-700); background: var(--blue-50); border-radius: 999px; padding: 2px 8px; }
@media print {
  .page-hero, .cl-top .cluster, .cl-add, .cl-item__del, .tool-more, .tool-seo { display: none !important; }
  .cl-groups { columns: 2; }
  .cl-group { border: 1px solid #999; }
}

/* Planner calendar */
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); color: var(--ink-2); margin: 16px 0 24px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.cal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .cal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cal-grid { grid-template-columns: 1fr; } }
.cal { padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.cal h3 { font-size: 1rem; margin-bottom: 10px; text-transform: capitalize; }
.cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cal__days b { font-weight: 600; color: var(--ink-4); font-size: 11px; padding-bottom: 4px; }
.cal__d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; color: var(--ink-2); position: relative; }
.cal__d.is-we { background: var(--blue-50); color: var(--blue-700); }
.cal__d.is-hol { background: var(--sun-500); color: var(--ink); font-weight: 750; }
.cal__d.is-off { background: var(--sun-200); color: var(--ink); font-weight: 650; }
.cal__d.is-leave { background: var(--blue-600); color: #fff; font-weight: 700; }
.cal__d.is-trip { box-shadow: inset 0 0 0 2px var(--blue-600); }
.cal__d[title] { cursor: help; }
.bridges { display: grid; gap: 12px; }
.bridge { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; transition: border-color var(--dur-2), background-color var(--dur-2); }
.bridge.is-on { border-color: var(--blue-600); background: var(--blue-25); }
.bridge__ratio { width: 56px; height: 56px; border-radius: 16px; background: var(--sun-50); color: var(--sun-700); display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1; font-size: 1.125rem; }
.bridge__ratio small { display: block; font-size: 10px; font-weight: 650; }
.bridge h3 { font-size: 1.0625rem; }
.bridge p { font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 560px) { .bridge { grid-template-columns: auto 1fr; } .bridge > :last-child { grid-column: 1 / -1; } }

/* Border crossings */
.xings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.xing { position: relative; padding: 18px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; display: grid; gap: 10px; }
.xing.is-best { border-color: var(--blue-600); box-shadow: var(--shadow-md); }
.xing__rank { justify-self: start; }
.xing h3 { font-size: 1rem; }
.xing__route { font-size: var(--fs-sm); color: var(--ink-2); }
.xing__stats { display: flex; gap: 20px; margin-top: 4px; }
.xing__stats div { display: grid; }
.xing__stats b { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.03em; }
.xing__stats span { font-size: var(--fs-xs); color: var(--ink-3); }
.xing__meta { display: flex; flex-wrap: wrap; gap: 6px; }

/* Tables */
.ttable { width: 100%; font-size: var(--fs-sm); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.ttable-wrap { overflow-x: auto; border-radius: var(--r-md); }
.ttable-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
@media (max-width: 767px) { .ttable-split { grid-template-columns: minmax(0, 1fr); } .ttable-split > :nth-child(2) thead { display: none; } .ttable-split > :nth-child(2) .ttable { border-top-left-radius: 0; } }
.ttable th, .ttable td { padding: 8px 12px; line-height: 1.4; text-align: left; border-bottom: 1px solid var(--line); }
.ttable thead th { background: var(--mist); font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.ttable td.num, .ttable th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ttable tr:last-child td { border-bottom: 0; }
.ttable tr.is-hi td { background: var(--blue-25); font-weight: 650; }

/* Line chart */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .baseline { stroke: var(--axis); stroke-width: 1; }
.chart .tick { font-size: 12px; fill: var(--chart-muted); font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart .series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .series-dot { stroke: #fff; stroke-width: 2; }
.chart .end-label { font-size: 12.5px; font-weight: 650; fill: var(--ink-2); font-family: var(--font); }
.chart .crosshair { stroke: var(--ink-4); stroke-width: 1; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart-tip { position: absolute; pointer-events: none; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: var(--fs-xs); box-shadow: var(--shadow-md); min-width: 160px; transform: translate(12px, -50%); z-index: 3; }
.chart-tip b { display: block; font-size: var(--fs-sm); margin-bottom: 6px; }
.chart-tip div { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.chart-tip i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* Horizontal bars (ranking) */
.hbars { display: grid; gap: 8px; }
.hbar { display: grid; grid-template-columns: minmax(170px, 240px) 1fr; gap: 12px; align-items: center; font-size: var(--fs-sm); }
.hbar__name { color: var(--ink-2); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar__track { position: relative; height: 22px; }
.hbar__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--series-1); transition: width var(--dur-3) var(--ease-out); max-height: 22px; }
.hbar__val { position: absolute; top: 50%; transform: translateY(-50%); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); padding-left: 8px; }
.hbar.is-gr .hbar__fill { background: var(--blue-400); }
@media (max-width: 560px) { .hbar { grid-template-columns: 110px 1fr; } }

.tool-more { margin-top: 32px; }
.tool-seo h2 { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); }
.tool-seo { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 1023px) { .tool-seo { grid-template-columns: minmax(0, 1fr); } }
.disclaimer { display: flex; gap: 10px; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.disclaimer .i { flex: none; width: 16px; height: 16px; margin-top: 1px; }

/* 15-blog.css */
/* ==========================================================================
   Blog: списък, категории, статия
   ========================================================================== */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }

/* Featured (най-новата статия) */
.bfeat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; margin-bottom: 18px; transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.bfeat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bfeat__media { position: relative; min-height: 300px; background: var(--mist); overflow: hidden; }
.bfeat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.bfeat:hover .bfeat__media img { transform: scale(1.04); }
.bfeat__body { padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.bfeat__body h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); letter-spacing: -.025em; line-height: 1.2; }
.bfeat__body p { color: var(--text-muted); font-size: var(--fs-sm); }
@media (max-width: 860px) { .bfeat { grid-template-columns: minmax(0, 1fr); } .bfeat__media { min-height: 220px; } }

/* Карта на статия */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
@media (max-width: 1023px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bgrid { grid-template-columns: minmax(0, 1fr); } }
.blog-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; color: var(--ink-3); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.bcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.bcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bcard__media { aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.bcard:hover .bcard__media img { transform: scale(1.05); }
.bcard__body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.bcard__body h3 { font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; }
.bcard__body p { color: var(--text-muted); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.bmeta .badge { height: 24px; }
.bmeta__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.bmeta__when { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }

/* Статия */
.post-head { padding-top: clamp(14px, 1.6vw, 22px); }
.post-head .bmeta { margin-top: 14px; }
.post-head h1 { margin-top: 10px; max-width: none; text-wrap: pretty; font-size: clamp(1.625rem, 1.25rem + 1.3vw, 2.375rem); }
.post-head .lead { margin-top: 10px; max-width: 72ch; }
.post-cover { position: relative; margin-top: 18px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--mist); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .photo-credit { right: 16px; bottom: 10px; }
@media (max-width: 700px) { .post-cover { aspect-ratio: 16 / 10; } }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: clamp(20px, 2.4vw, 32px); }
@media (max-width: 1023px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .post-aside { order: -1; } }
.post-body.prose { max-width: 72ch; font-size: 1.0313rem; }
.post-body h2 { scroll-margin-top: calc(var(--header-h) + 16px); margin-top: 1.6em; }
.post-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
@media (max-width: 1023px) { .post-aside { position: static; } }
.toc { padding: 16px 18px; border-radius: var(--r-lg); background: var(--mist); }
.toc__title { font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc ol a { display: flex; gap: 8px; padding: 6px 0; font-size: var(--fs-sm); font-weight: 550; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc ol a::before { content: counter(toc, decimal-leading-zero); color: var(--blue-400); font-variant-numeric: tabular-nums; font-weight: 700; }
.toc ol a:hover, .toc ol a.is-active { color: var(--blue-700); }
@media (max-width: 1023px) { .toc details summary { cursor: pointer; } }
.share-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* Вградени блокове */
.post-offers { margin: 1.4em 0 !important; padding: 16px; border-radius: var(--r-lg); background: var(--mist); max-width: none; }
.post-offers .offers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .post-offers .offers-grid { grid-template-columns: minmax(0, 1fr); } }
.post-offers__foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.prose .post-offers .ocard__title { font-size: .9063rem; }
.prose .post-offers a { text-decoration: none; }
.post-tool { display: flex !important; align-items: center; gap: 14px; margin: 1.2em 0 !important; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--blue-100); background: var(--blue-25); text-decoration: none; color: var(--ink); transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.post-tool:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.post-tool__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-600); color: #fff; display: grid; place-items: center; flex: none; }
.post-tool strong { display: block; font-size: var(--fs-sm); }
.post-tool small { display: block; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.45; }
.post-tool > .i:last-child { margin-left: auto; color: var(--blue-600); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
