/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f16.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f17.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f18.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/f20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f16.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f17.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f18.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/f20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f16.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f17.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f18.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/f20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f16.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f17.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f18.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/f20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   Наш Юг — основная тема (Winter CMS)
   Цветовая палитра и стили из официального дизайн-макета
   ========================================================================== */

:root {
  /* Design system tokens (nash-yug.ru, 2026) */
  --sky-50: #EAF6FD;
  --surface: #FFFFFF;
  --sand-50: #FFF3E6;
  --field-fill: #EEF2F6;
  --ink: #0E2747;
  --ink-2: #2A4466;
  --ink-muted: #4A5D78;
  --line: #CFE3F3;
  --line-strong: #BFD6EA;
  --sea-600: #0277C2;
  --sea-700: #02609E;
  --sea-400: #1E88E5;
  --sea-100: #DCEEFE;
  --navy-900: #0B2350;
  --navy-700: #23407A;
  --on-navy: #C9D8F0;
  --coral-600: #C2560A;
  --scrim: rgba(6,28,64,0.6);
  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 22px;
  --radius-pill: 999px;
  --shadow-search: 0 18px 40px rgba(6,28,64,0.28);
  --shadow-menu: 0 24px 48px rgba(14,37,54,0.22);
  /* legacy aliases */
  --blue-600: var(--sea-600);
  --blue-700: var(--sea-700);
  --blue-500: var(--sea-400);
  --blue-100: var(--line);
  --blue-50: var(--sky-50);
  --navy-800: var(--navy-900);
  --orange-500: var(--coral-600);
  --gray-700: var(--ink-muted);
  --gray-500: var(--ink-2);
  --gray-100: var(--line);
  --bg-page: var(--sky-50);
  --white: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  color: var(--navy-900);
  background: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------------- HEADER ---------------- */
.site-header {
  height: 76px; background: #FFFFFF; border-bottom: 1px solid #CFE3F3;
  padding: 0 40px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
@media (min-width: 1400px) { .site-header { padding: 0 120px; } }
.nav-left { display: flex; align-items: center; gap: 48px; }
.logo img { height: 60px !important; width: auto; max-height: 60px !important; display: block; }
.nav-main { display: flex; gap: 28px; }
.nav-item { position: relative; }
.nav-link { font-size: 15px; font-weight: 500; color: #4A5D78; display: flex; align-items: center; gap: 4px; padding: 6px 0; }
@media (max-width: 374px) { .logo img { height: 44px !important; max-height: 44px !important; } }
.nav-item:nth-of-type(-n+4) .nav-link { font-weight: 700; color: #0E2747; }
.nav-link:hover { color: #0277C2; }
.nav-arrow { color: #4A5D78; }
.nav-btn { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav-item.has-sub { position: relative; }
.nav-item.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-item.has-sub:hover .mega-menu,
.nav-item.has-sub.is-open .mega-menu,
.nav-item.has-sub:focus-within .mega-menu { display: grid; }
.nav-item.has-sub:hover .sub-menu,
.nav-item.has-sub.is-open .sub-menu,
.nav-item.has-sub:focus-within .sub-menu { display: block; }
.sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border-radius: 12px; box-shadow: 0 16px 36px rgba(6,28,64,.15);
  padding: 10px; z-index: 99; margin-top: 6px;
}
.sub-menu a { display: block; padding: 8px 12px; font-size: 14px; color: #0E2747; border-radius: 8px; }
.sub-menu a:hover { background: #EEF2F6; color: #0277C2; }
.mega-menu {
  display: none; position: absolute; top: 100%; left: -88px; width: min(1000px, calc(100vw - 200px));
  max-width: 1200px; background: var(--white); box-shadow: 0 20px 40px rgba(11,35,80,.15);
  border-radius: 16px; padding: 24px; margin-top: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; z-index: 99;
}
.mega-region h4 { font-size: 13px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.mega-region a { display: block; padding: 3px 0; font-size: 14px; color: var(--navy-900); overflow-wrap: anywhere; }
.mega-region a:hover { color: var(--blue-600); }
.mega-catalog { grid-column: 1 / -1; }
.mega-catalog a { display: inline-block; padding: 7px 0; font-size: 14px; color: var(--blue-600); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; border-radius: var(--radius-md, 12px);
  padding: 0 18px; transition: filter .15s; font-size: 15px; height: 44px; border: 0;
}
.btn:hover { filter: brightness(.95); }
.btn-primary { background: #0277C2; color: #FFFFFF; }
.btn-secondary { background: transparent; color: #0277C2; border: 1.5px solid #0277C2; }
.btn-ghost { color: #0277C2; }
.btn-icon { width: 44px; height: 44px; border-radius: var(--radius-md, 12px); display: inline-flex; align-items: center; justify-content: center; color: #0E2747; background: transparent; padding: 0; }
.btn-icon:hover { background: #EEF2F6; }
.btn-header-add { margin-left: 8px; padding: 0 16px; }
.btn-header-login { padding: 0 22px; }

/* ---------------- HERO (HOME) ---------------- */
.hero {
  position: relative; height: 620px; overflow: visible; z-index: 10;
  background: #0277C2 url('../img/hero-bg.jpg') center 42%/cover no-repeat; color: #FFFFFF;
}
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,64,.6) 0%, rgba(6,28,64,.22) 45%, rgba(6,28,64,0) 65%); }
.hero-scrim-b { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(0deg, rgba(6,28,64,.5) 0%, rgba(6,28,64,0) 100%); }
.hero-inner {
  position: absolute; left: 60px; top: 110px; z-index: 2;
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start; text-align: left;
  max-width: 900px;
}
@media (min-width: 1400px) { .hero-inner { left: 120px; } }
.hero-badge {
  align-self: flex-start; display: inline-flex; align-items: center;
  height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(226,232,238,.82); color: #2A4466; font-size: 14px; font-weight: 500;
}
.hero .disp {
  margin: 0; font-size: 52px; line-height: 1.1; font-weight: 400; color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(6,28,64,.55), 0 1px 3px rgba(6,28,64,.4);
  font-family: 'Unbounded', 'Segoe UI', system-ui, sans-serif; letter-spacing: 0;
}
.hero-sub { margin: 0; font-size: 21px; line-height: 1.45; color: #FFFFFF; font-weight: 400; }
.search-panel {
  position: absolute; left: 60px; right: 60px; bottom: 70px; z-index: 30;
  background: #FFFFFF; border-radius: 18px; box-shadow: 0 18px 40px rgba(6,28,64,.28);
  padding: 8px 12px; display: grid; grid-template-columns: 1.6fr 1.2fr 0.9fr 1fr auto; align-items: stretch;
  color: #0E2747; text-align: left;
}
@media (min-width: 1400px) { .search-panel { left: 120px; right: 120px; } }
.search-field { display: flex; flex-direction: column; gap: 1px; padding: 6px 14px; justify-content: center; text-align: left; }
.search-field:first-of-type { background: #EEF2F6; border-radius: 12px; margin-right: 8px; }
.search-field + .search-field { border-left: 1px solid #CFE3F3; }
.search-field:nth-of-type(2) { border-left: 0; }
.search-field label { font-size: 15px; font-weight: 600; color: #0E2747; line-height: 1.2; display: block; margin: 0; }
.search-field input { border: 0; outline: 0; font: inherit; font-size: 13px; color: #0E2747; padding: 0; background: transparent; width: 100%; text-align: left; }
.search-field input::placeholder { color: #4A5D78; opacity: 1; font-size: 13px; }
.btn-search { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 34px; border: 0; border-radius: 12px; background: #0277C2; color: #FFFFFF; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.btn-search:hover { background: #0163a3; }
.search-quick {
  position: absolute; left: 60px; bottom: 22px; z-index: 2;
  display: flex; gap: 14px; align-items: center; color: #FFFFFF; font-size: 14px; flex-wrap: wrap;
}
@media (min-width: 1400px) { .search-quick { left: 120px; } }
.search-quick a { color: #FFFFFF; text-decoration: underline; }
/* ---------------- TRUST SECTION ---------------- */
.trust-section { background: #FFFFFF; border-bottom: 1px solid #CFE3F3; padding: 44px 60px; }
@media (min-width: 1400px) { .trust-section { padding: 44px 120px; } }
.trust-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1440px; margin: 0 auto; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #DCEEFE;
  display: flex; align-items: center; justify-content: center; color: #0277C2;
}
.trust-copy { display: flex; flex-direction: column; gap: 4px; }
.trust-copy strong { font-size: 17px; font-weight: 600; color: #0E2747; line-height: 1.25; display: block; }
.trust-copy { font-size: 14px; line-height: 1.45; color: #4A5D78; }

/* ---------------- SECTION ---------------- */
.section { padding: 56px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title { font-size: 34px; line-height: 1.15; font-weight: 400; color: #0E2747; margin: 0; }
.section-sub { font-size: 16px; color: #4A5D78; margin-top: 6px; }
.section-link { font-size: 15px; color: #0277C2; font-weight: 600; }

/* ---------------- RESORT CHIPS ROW ---------------- */
.chips-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.chip-resort {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  color: var(--white); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-800); text-decoration: none;
}
.chip-resort img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.chip-resort:hover img { transform: scale(1.03); }
.chip-resort-caption {
  position: relative; z-index: 1; width: 100%;
  background: rgba(14,39,71,.82); backdrop-filter: blur(2px);
  padding: 10px 14px 12px;
}
.chip-resort-caption h4 { font-size: 16px; font-weight: 700; color: var(--white); margin: 0; line-height: 1.25; }
.chip-resort-caption small { font-size: 12px; color: rgba(255,255,255,.78); display: block; margin-top: 2px; }

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

/* ---------------- HOTEL CARD ---------------- */
.card-hotel {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(11,35,80,.06); transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.card-hotel:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,35,80,.12); }
.card-thumb { position: relative; aspect-ratio: 16/10; background: var(--gray-100); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; height: 24px; font-size: 12px; font-weight: 600; padding: 0 8px; border-radius: 6px; }
.badge-verified { background: var(--navy-900); color: var(--white); }
.badge-promo { background: var(--coral-600); color: var(--white); }
.badge-new { background: var(--sea-600); color: var(--white); }
.badge-ad { background: var(--field-fill); color: var(--ink-muted); }
.badge-direct    { background: var(--blue-50); color: var(--blue-700); }
.btn-fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  border-radius: 999px; background: rgba(255,255,255,.9); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-type { font-size: 12px; color: var(--gray-500); }
.card-title { font-size: 16px; line-height: 1.25; }
.card-addr { font-size: 13px; color: var(--gray-700); }
.amenity-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.amenity-chip {
  font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 8px;
  background: var(--bg-page); color: var(--gray-700);
}
.card-rating { font-size: 12px; color: var(--gray-700); }
.card-rating .stars { color: #E8A100; }
.card-footer {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--gray-100);
  display: flex; align-items: baseline; justify-content: space-between;
}
.price-from { font-size: 11px; color: var(--gray-500); }
.price-value { font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.price-note { font-size: 11px; color: var(--blue-700); display: block; }

/* ---------------- CATALOG PAGE ---------------- */
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.catalog-layout > aside { grid-column: 2; position: sticky; top: 12px; }
.catalog-layout > .catalog-main { grid-column: 1; min-width: 0; }
@media (max-width: 900px) {
  .catalog-layout { display: flex; flex-direction: column; }
  .catalog-layout > .catalog-main { order: 1; min-width: 0; }
  .catalog-layout > aside { order: 2; grid-column: auto; position: static; margin-top: 24px; }
}
.filter-panel { background: var(--white); border-radius: 16px; padding: 20px; font-size: 13px; }
.filter-panel h4 { font-size: 13px; text-transform: uppercase; color: var(--gray-500); margin: 16px 0 8px; }
.filter-panel h4:first-child { margin-top: 0; }
.filter-list label { display: flex; justify-content: space-between; padding: 4px 0; cursor: pointer; }
.filter-list input { margin-right: 8px; }
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px;
}
.toolbar-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab-chip {
  font-size: 13px; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-page); color: var(--navy-900); font-weight: 500;
}
.tab-chip.active { background: var(--blue-600); color: var(--white); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn {
  width: 40px; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; background: var(--white);
}
.page-btn.active { background: var(--blue-600); color: var(--white); }

/* ---------------- HOTEL PAGE ---------------- */
.hotel-hero { background: var(--white); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.hotel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hotel-head h1 { font-size: 30px; }
.hotel-meta { font-size: 14px; color: var(--gray-700); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 12px; }
.gallery-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 210px);
  gap: 8px; border-radius: 14px; overflow: hidden; margin-top: 14px;
}
.gallery-grid a { position: relative; overflow: hidden; background: var(--gray-100); }
.gallery-grid a:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-more {
  position: absolute; inset: 0; background: rgba(14,39,71,.65); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600;
}
.hotel-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.card-box { background: var(--white); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.card-box h2 { font-size: 20px; margin-bottom: 14px; }
.sticky-box { position: sticky; top: 88px; }

/* Booking panel (commission) */
.booking-panel { background: var(--white); border-radius: 16px; padding: 22px; box-shadow: 0 8px 30px rgba(11,35,80,.12); }
.booking-panel .price { font-size: 26px; font-weight: 700; font-family: var(--font-display); }
.book-steps { margin-top: 14px; font-size: 12px; color: var(--gray-700); line-height: 1.6; }
.book-steps li { margin-left: 16px; }

/* Direct contact block */
.direct-block { background: var(--white); border-radius: 16px; padding: 22px; }
.masked-phone { font-size: 24px; font-weight: 700; font-family: var(--font-display); letter-spacing: 1px; }
.messenger-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.btn-wa { background: #25D366; color: var(--white); }
.btn-tg { background: #229ED9; color: var(--white); }
.btn-max { background: #0077FF; color: var(--white); }
.trust-note { font-size: 12px; color: var(--gray-700); margin-top: 10px; }

/* Rooms — defined below */

/* Chessboard */
.chess { width: 100%; border-collapse: collapse; font-size: 11px; text-align: center; }
.chess th, .chess td { border: 1px solid var(--gray-100); padding: 4px; }
.chess td.free { background: var(--sea-100); color: var(--sea-700); }
.chess td.few  { background: #FFE3C7; color: #7A3606; }
.chess td.busy { background: var(--field-fill); color: var(--ink-muted); }

/* Pricing matrix */
.pricing-tbl { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; }
.pricing-tbl th, .pricing-tbl td { border: 1px solid var(--gray-100); padding: 8px; }

/* Q&A */
.faq-item { border-bottom: 1px solid var(--gray-100); padding: 12px 0; }
.faq-q { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { font-size: 14px; color: var(--gray-700); margin-top: 6px; }

/* Reviews */
.review-score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.review-score strong { font-size: 34px; font-family: var(--font-display); }
.review-item { border-bottom: 1px solid var(--gray-100); padding: 16px 0; font-size: 14px; }
.review-item:last-child { border: 0; }
.review-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; color: var(--gray-500); }
.review-reply { margin-top: 8px; background: var(--bg-page); border-radius: var(--radius-md, 12px); padding: 10px 12px; font-size: 13px; }

/* Map */
.map-box { height: 320px; border-radius: 14px; overflow: hidden; background: var(--gray-100); }

/* Promo block */
.promo-ribbon {
  background: var(--sand-50); border: 1px dashed var(--orange-500);
  border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 14px;
}

/* ---------------- FOOTER ---------------- */
.site-foot { background: var(--navy-900); color: var(--white); margin-top: 60px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0 32px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; color: var(--blue-300); margin-bottom: 12px; }
.foot-col a { display: block; padding: 4px 0; opacity: .85; }
.foot-col a:hover { opacity: 1; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; opacity: .65; font-size: 12px; display: flex; justify-content: space-between; }

/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 960px) {
  .nav-main { display: none; }
  .nav-left { gap: 16px; }
  .site-header { padding: 0 16px; }
  .logo img { height: 48px; }
  .hero { height: auto; padding: 40px 16px 20px; }
  .hero-inner { position: static; max-width: 100%; text-align: left; }
  .hero .disp { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .search-panel { position: static; left: 0; right: 0; bottom: 0; margin-top: 20px; grid-template-columns: 1fr; border-radius: 14px; padding: 10px; }
  .sf-dest { margin-right: 0; margin-bottom: 6px; }
  .sf-middle { border-right: 0; border-bottom: 1px solid #CFE3F3; }
  .sf { padding: 8px 12px; }
  .btn-hero { height: 50px; font-size: 15px; }
  .search-quick { position: static; margin-top: 14px; }
  .trust-section { padding: 32px 16px; }
  .trust-items { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-title { font-size: 26px; }
  .search-panel { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .hotel-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; }
  .gallery-grid a:first-child { grid-column: span 2; grid-row: auto; }
  .gallery-grid a:nth-child(n+3) { display: none; }
  .sticky-box { position: static; }

  .nav-bar { display: none; }
  .top-bar { flex-wrap: wrap; }
  .search-bar-mini { order: 3; max-width: 100%; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 80px; min-height: auto; }
}

.cta-strip {
  position: relative; overflow: hidden;
  background: var(--navy-900) url('../img/hero-bg.jpg') center/cover no-repeat;
  border-radius: var(--radius-2xl, 22px); padding: 44px 56px; color: #FFFFFF;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 56px; box-shadow: 0 16px 40px rgba(11,35,80,.2);
}
.cta-strip::after { content: ''; position: absolute; inset: 0; background: rgba(8,30,70,0.72); }
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { font-size: 32px; font-weight: 400; margin-bottom: 8px; }
.cta-strip p { font-size: 16px; opacity: .9; max-width: 640px; }
.cta-strip .btn-cta-white { background: #FFFFFF; color: var(--sea-600); font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 12px; }
.section-sand { background: var(--sand-50); margin: 0 calc(50% - 50vw); padding: 56px calc(50vw - 50%); }
.mobile-cat-bar { display: none; }
@media (max-width: 960px) {
  .mobile-cat-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    background: #FFFFFF; border-top: 1px solid var(--line); height: 50px;
    align-items: center; justify-content: center; gap: 14px; font-size: 14px;
    box-shadow: 0 -4px 16px rgba(11,35,80,.08);
  }
  .mobile-cat-bar a { color: var(--sea-600); font-weight: 600; }
  .mobile-cat-bar span { color: var(--line); }
  body:has(.mobile-cat-bar) { padding-bottom: 54px; }
}
.page-dots { display: inline-flex; align-items: center; padding: 0 4px; color: var(--ink-muted); }
.search-panel-inline .search-field input { width: 100%; border: 0; background: transparent; font: inherit; outline: none; }

.search-panel-inline { position: static !important; bottom: auto !important; left: auto !important; right: auto !important; margin: 0 0 18px !important; box-shadow: 0 2px 8px rgba(11,35,80,.06); }
.search-panel-inline { display: grid; grid-template-columns: 2fr 1.3fr 1.1fr auto; gap: 8px; align-items: stretch; }
@media (max-width: 900px) {
  .search-field { padding: 10px 12px; }
  .search-field:first-of-type { margin-right: 0; margin-bottom: 6px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid #CFE3F3; }
  .btn-search { width: 100%; height: 52px; font-size: 15px; } .search-panel-inline { grid-template-columns: 1fr; } }.resort-search {
  background: #FFFFFF; border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 2.2fr 1.3fr 1.1fr auto; gap: 8px; align-items: stretch; margin: 0 0 16px;
}
.resort-search .search-field { background: transparent; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--gray-100); }
.resort-search .search-field:first-child { background: #E9ECEF; border-color: #DEE2E6; }
.resort-search .search-field label { display: block; font-size: 11px; color: var(--ink-muted); margin-bottom: 2px; text-align: left; }
.resort-search .search-field input { width: 100%; border: 0; background: transparent; font: inherit; outline: none; text-align: left; }
@media (max-width: 900px) { .resort-search { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .format-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 520px) {
  .format-grid { grid-template-columns: 1fr !important; }
  .btn-header-login { display: none; }
}

/* ---------------- SEARCH OVERLAY + AUTOCOMPLETE ---------------- */
.site-header { position: relative; }
.search-overlay { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 16px 40px rgba(10,40,75,.16); border-top: 1px solid var(--gray-200); z-index: 120; padding: 14px 20px 18px; }
.search-overlay-inner { max-width: 820px; margin: 0 auto; }
.search-overlay-bar { display: flex; align-items: center; gap: 12px; background: var(--gray-100); border-radius: 999px; padding: 8px 16px; border: 1.5px solid transparent; }
.search-overlay-bar:focus-within { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(11,141,209,.12); }
.search-overlay-bar svg { color: var(--gray-500); flex-shrink: 0; }
.search-overlay-input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; outline: 0; }
.search-overlay-close { border: 0; background: transparent; font-size: 18px; color: var(--gray-500); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.search-overlay-close:hover { color: var(--gray-900); }
.suggest-box { margin-top: 12px; max-height: 420px; overflow-y: auto; background: #fff; border-radius: 12px; border: 1px solid var(--gray-200); box-shadow: 0 8px 24px rgba(10,40,75,.08); }
.suggest-group { padding: 8px 14px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.suggest-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; color: var(--gray-900); text-decoration: none; font-size: 14px; cursor: pointer; gap: 12px; }
.suggest-item:hover, .suggest-item.is-active { background: #EEF7FC; color: var(--blue-600); }
.suggest-sub { font-size: 12px; color: var(--gray-500); white-space: nowrap; }
.suggest-item mark { background: #FFE8A3; color: inherit; padding: 0 2px; border-radius: 2px; }
.suggest-empty { padding: 18px 14px; font-size: 13px; color: var(--gray-500); text-align: center; }
.suggest-footer { padding: 10px 14px; font-size: 12px; border-top: 1px solid var(--gray-200); color: var(--gray-500); display: flex; justify-content: space-between; align-items: center; background: var(--gray-100); border-radius: 0 0 12px 12px; }
.suggest-footer a { color: var(--blue-600); font-weight: 600; text-decoration: none; }

/* ---------------- BURGER BUTTON + ANIMATION ---------------- */
.nav-burger { display: none; width: 40px; height: 40px; padding: 10px 8px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; border-radius: 8px; }
.nav-burger span { display: block; height: 3px; width: 100%; background: var(--gray-900); border-radius: 2px; }
@media (max-width: 900px) { .nav-burger { display: flex; } }
.nav-burger span { transition: transform .2s, opacity .2s; transform-origin: center; }
.nav-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- MOBILE DRAWER + ACCORDIONS (<=900px) ---------------- */
@media (max-width: 900px) {
  body.nav-locked { overflow: hidden; }
  .nav-main { display: none; }
  .nav-main.is-open { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0 0; background: #fff; z-index: 100; padding: 16px 20px 40px; overflow-y: auto; gap: 4px; }
  .nav-main.is-open .nav-item { width: 100%; position: static; }
  .nav-main.is-open .nav-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 17px; padding: 12px 0; border: 0; background: transparent; font-family: inherit; font-weight: 600; color: var(--gray-900); cursor: pointer; border-bottom: 1px solid var(--gray-200); }
  .nav-main.is-open .nav-link:not(.nav-btn) { display: block; font-size: 17px; padding: 12px 0; font-weight: 600; color: var(--gray-900); text-decoration: none; border-bottom: 1px solid var(--gray-200); }
  .nav-main.is-open .nav-arrow { transition: transform .2s; }
  .nav-main.is-open .is-open > .nav-btn .nav-arrow { transform: rotate(180deg); }
  .nav-main.is-open .mega-menu { position: static; display: none; box-shadow: none; border: 0; border-radius: 0; padding: 10px 0 6px 6px; grid-template-columns: 1fr; gap: 14px; background: transparent; }
  .nav-main.is-open .is-open > .mega-menu { display: grid; }
  .nav-main.is-open .mega-region { padding: 0 !important; border: 0 !important; }
  .nav-main.is-open .mega-region h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); margin: 6px 0 4px; }
  .nav-main.is-open .mega-region a { display: block; padding: 6px 0; font-size: 15px; color: var(--gray-900); text-decoration: none; }
  .nav-main.is-open .sub-menu { position: static; display: none; box-shadow: none; border: 0; border-radius: 0; padding: 8px 0 4px 6px; background: transparent; min-width: 0; }
  .nav-main.is-open .is-open > .sub-menu { display: block; }
  .nav-main.is-open .sub-menu a { display: block; padding: 7px 0; font-size: 15px; color: var(--gray-900); text-decoration: none; }
  .search-overlay { padding: 10px 14px 14px; }
}
.search-overlay-input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Auth page */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .auth-grid { grid-template-columns: 1fr; } }

/* Services-icons — pill chips (matches design reference) */
.services-icons { display: flex; flex-wrap: wrap; gap: 10px 10px; margin-top: 14px; }
.service-icon-item { display: inline-flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 500; line-height: 1.25; color: #1C1C1C; background: #F1F3FB; border: none; border-radius: 999px; padding: 12px 22px; transition: background .15s, transform .15s; }
.service-icon-item:hover { background: #E6EAF6; transform: translateY(-1px); }
.service-icon-item img { display: block; width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.service-icon-item small { font-size: inherit; font-weight: inherit; font-family: inherit; }
@media (max-width: 640px) { .service-icon-item { padding: 9px 15px; font-size: 13px; gap: 9px; } .service-icon-item img { width: 22px; height: 22px; } }
.service-icon-item .si-fallback { width: 32px; height: 32px; border-radius: 50%; background: #EAE6DF; color: var(--gray-600); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; margin-top: 14px; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- FORM CONTROLS (DESIGN-SYSTEM: 44px height, line-strong border, 12px radius) ---------------- */
.input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line-strong, #BFD6EA);
  border-radius: var(--radius-md, 12px);
  background: var(--surface, #FFFFFF);
  color: var(--ink, #0E2747);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
}
input.input[type="text"], input.input[type="email"], input.input[type="number"],
input.input[type="tel"], input.input[type="url"], input.input[type="password"],
input.input[type="search"], input.input[type="date"], select.input {
  height: 44px;
}
select.input {
  padding-right: 34px;
  cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234A5D78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
textarea.input {
  padding: 12px 14px;
  resize: vertical;
  min-height: 88px;
}
.input::placeholder { color: var(--ink-muted, #4A5D78); opacity: 1; }
.input:hover { border-color: var(--sea-600, #0277C2); }
.input:focus {
  outline: none;
  border-color: var(--sea-600, #0277C2);
  box-shadow: 0 0 0 3px rgba(2, 119, 194, 0.16);
}
.input.is-invalid {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #0E2747);
  margin-bottom: 6px;
}
.form-hint {
  font-size: 12px;
  color: var(--ink-muted, #4A5D78);
  margin-top: 5px;
}

/* ---------------- PROMO BANNER (RESORT CATALOG TOP) ---------------- */
.resort-promo {
  display: grid; grid-template-columns: 340px 1fr;
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(14,39,71,.08);
  border: 2px solid var(--gold-400);
  margin-bottom: 20px; transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.resort-promo:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14,39,71,.14); }
.resort-promo-media { position: relative; display: block; overflow: hidden; background: var(--gray-100); min-height: 230px; }
.resort-promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.resort-promo-flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy-900); color: var(--gold-400);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.resort-promo-body { padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; }
.resort-promo-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); }
.resort-promo-title { font-size: 24px; line-height: 1.25; margin: 6px 0 10px; font-weight: 600; }
.resort-promo-title a { color: var(--navy-900); }
.resort-promo-title a:hover { color: var(--blue-600); }
.resort-promo-desc { font-size: 14px; line-height: 1.6; color: var(--gray-700); margin: 0 0 16px; }
.resort-promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.resort-promo-price { font-size: 15px; color: var(--navy-900); }
.resort-promo-price strong { font-size: 20px; color: var(--navy-900); }
.resort-promo-btn { padding: 12px 22px; font-size: 15px; }

/* ---------------- SUBSECTION TAB-CHIPS: BIGGER & BRIGHTER ---------------- */
.toolbar-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-chip {
  font-size: 15px; padding: 10px 18px; border-radius: 999px;
  background: var(--white); color: var(--navy-900); font-weight: 700;
  border: 1px solid var(--blue-200); box-shadow: 0 2px 6px rgba(2,119,194,.08);
  transition: all .15s ease;
}
.tab-chip:hover { border-color: var(--blue-400); color: var(--blue-700); }
.tab-chip.active {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: var(--white); border-color: transparent;
  box-shadow: 0 6px 16px rgba(2,119,194,.35);
}

@media (max-width: 1024px) {
  .resort-promo { grid-template-columns: 1fr; }
  .resort-promo-media { min-height: 200px; }
}

/* resort search: compact one-line form close to old site look */
.resort-search {
  display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap;
  background: var(--white); border-radius: 12px; padding: 6px 8px;
  box-shadow: 0 4px 14px rgba(14,39,71,.06);
}
.resort-search .search-field {
  flex: 1 1 180px; background: transparent; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--blue-100); display: flex; flex-direction: column; justify-content: center;
}
.resort-search .search-field:first-child { background: #EEF2F6; border-color: #D8DFE7; }
.resort-search .search-field label { display: block; font-size: 11px; font-weight: 700; color: #4A5D78; margin-bottom: 1px; }
.resort-search .search-field input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 14px; outline: none; }
.resort-search button.btn { height: auto; min-height: 40px; padding: 10px 22px; font-size: 15px; border-radius: 8px; }

/* ---------------- PROMO BANNER: THIN GOLD ACCENT FRAME ---------------- */
.resort-promo {
    border: 1px solid #D4A843 !important;
    box-shadow: 0 0 0 2px rgba(212,168,67,0.20), 0 8px 24px rgba(212,168,67,0.14) !important;
}
.resort-promo-kicker {
    color: #9A7410 !important;
}
.resort-promo-flag {
    background: linear-gradient(135deg, #D4A843, #B8862E) !important;
}


/* ---------------- POPULAR DESTINATIONS: 2 ROWS × 4 ---------------- */
.chips-row--popular { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 768px) { .chips-row--popular { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------------- HOTEL DETAIL PAGE: TWO-COLUMN LAYOUT ---------------- */
.breadcrumb { font-size: 13px; color: var(--gray-700); margin-bottom: 12px; }
.breadcrumb-sep { margin: 0 6px; }
.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.detail-main { min-width: 0; }
.gallery { border-radius: 16px; overflow: hidden; background: var(--gray-100); margin-bottom: 20px; }
.gallery-main { aspect-ratio: 16/10; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: var(--white); }
.gallery-thumbs img { width: 72px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; cursor: pointer; opacity: .85; transition: opacity .15s; }
.gallery-thumbs img:hover { opacity: 1; }
.detail-head { background: var(--white); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; box-shadow: 0 4px 20px rgba(11,35,80,.05); }
.detail-head h1 { font-size: 28px; margin: 0 0 6px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge-gold { background: #FFE9B3; color: #7A5300; }
.badge-muted { background: var(--gray-100); color: var(--gray-700); }
.badge-sky { background: var(--sky-100, #DCEEFE); color: var(--sky-700, #0250A8); }
.sea-dist { font-size: 13px; color: var(--sea-700); margin-top: 6px; font-weight: 600; }
.amenities-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.amenity-chip.small { font-size: 11px; padding: 3px 8px; }
.rooms-grid { display: flex; flex-direction: column; gap: 14px; }
.room-card { display: flex; gap: 16px; align-items: stretch; border: 1px solid var(--gray-100); border-radius: 14px; padding: 14px; background: var(--white); }
.room-photo { flex: 0 0 200px; width: 200px; aspect-ratio: 16/11; border-radius: 10px; overflow: hidden; background: var(--gray-100); cursor: pointer; position: relative; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.room-photo:hover img { transform: scale(1.04); }
.room-no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray-500); }
.room-body { flex: 1 1 auto; min-width: 0; }
.room-body h3 { font-size: 17px; margin: 0 0 6px; }
.room-meta { font-size: 12px; color: var(--gray-700); display: flex; gap: 14px; flex-wrap: wrap; }
.room-desc { font-size: 14px !important; color: #1e293b !important; line-height: 1.55 !important; margin: 6px 0 8px !important; font-weight: 500; }
.room-price { font-size: 18px; font-weight: 700; color: var(--navy-900); font-family: var(--font-display); margin-top: 6px; }
.room-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pricing-table table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; }
.pricing-table th, .pricing-table td { border: 1px solid var(--gray-100); padding: 8px 10px; }
.pricing-table th { background: var(--gray-100); font-weight: 600; font-size: 12px; color: var(--gray-700); }
/* video-wrap consolidated above */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .room-card { flex-direction: column; }
  .room-photo { flex: 0 0 auto; width: 100%; }
}
/* ---------------- BOOKING PANEL & FORM REFINEMENT ---------------- */
.booking-calc label { display: block; font-size: 11px; color: var(--gray-500); margin-bottom: 2px; }
.booking-calc input, .booking-calc select { width: 100%; padding: 8px 10px; border: 1px solid var(--gray-100); border-radius: 8px; font: inherit; background: var(--white); box-sizing: border-box; }
.js-calc-result { font-size: 13px; color: var(--gray-700); margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.book-steps { margin-top: 14px; font-size: 12px; color: var(--gray-700); line-height: 1.6; padding-left: 18px; }

/* ---------------- HOTEL DETAIL: WIDTH OPTIMIZATION & MOSAIC GALLERY ---------------- */
.detail-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.detail-main { min-width: 0; width: 100%; box-sizing: border-box; }
.detail .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
@media (max-width: 900px) {
  .detail .detail-grid { grid-template-columns: 1fr; }
  .detail-main { display: contents; }
  .detail-main > * { order: 10; }
  .detail-head { order: 1; }
  .hotel-gallery, .object-photo-empty { order: 2; }
  #booking { order: 3; }
  #rooms { order: 4; }
}

/* ---------------- ROOM AMENITY ICONS ---------------- */
.room-amenities-icons { display: flex; gap: 8px 12px; flex-wrap: wrap; margin-top: 10px; }
.room-amenity-ico { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--gray-700); }
.room-amenity-ico img { width: 14px; height: 14px; object-fit: contain; }

/* ---------------- RESORT SIDEBAR ---------------- */
.resort-sidebar { display: flex; flex-direction: column; gap: 14px; }
.sidebar-panel { background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 20px rgba(11,35,80,.05); }
.sidebar-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--navy-900); margin-bottom: 12px; }
.sidebar-pop { display: block; text-decoration: none; color: inherit; position: relative; }
.sidebar-pop__img { aspect-ratio: 16/10; overflow: hidden; border-radius: 12px; background: var(--gray-100); }
.sidebar-pop__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.sidebar-pop:hover .sidebar-pop__img img { transform: scale(1.02); }
.sidebar-pop__badge { position: absolute; top: 10px; right: 10px; background: #FFE9B3; color: #7A5300; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.sidebar-pop__name { font-size: 14px; font-weight: 700; line-height: 1.35; margin-top: 10px; color: var(--navy-900); }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--bg-page); text-decoration: none; color: var(--navy-900); font-size: 13px; font-weight: 600; transition: background .15s ease, color .15s ease; }
.sidebar-link:hover { background: var(--blue-600); color: var(--white); }
.sidebar-link__cnt { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--gray-100); color: var(--gray-700); font-weight: 600; }
.sidebar-link:hover .sidebar-link__cnt { background: rgba(255,255,255,.25); color: var(--white); }
.near-list { display: flex; flex-direction: column; }
.near-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: var(--navy-900); font-size: 13px; transition: color .15s ease; }
.near-item:last-child { border-bottom: 0; }
.near-item:hover { color: var(--blue-600); }
.near-item__cnt { font-size: 11px; color: var(--gray-500); }
.weather-card .weather-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.weather-ico { font-size: 28px; line-height: 1; }
.weather-nums { font-size: 14px; color: var(--navy-900); }
.weather-day { font-size: 16px; }
.weather-morn { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.weather-link { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--blue-600); text-decoration: none; }
.weather-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .catalog-layout { display: flex; flex-direction: column; }
  .catalog-layout > .catalog-main { order: 1; min-width: 0; }
  .catalog-layout > aside { order: 2; grid-column: auto; position: static; margin-top: 24px; }
}

/* ---------------- PRICE "ON REQUEST" ---------------- */
.price-value--ask { font-size: 13px; font-weight: 500; font-family: inherit; color: var(--gray-600); }

/* ---------------- SEARCH PANEL IN-CONTENT (resort pages) ---------------- */
.hero > .search-panel { position: absolute; left: 60px; right: 60px; bottom: 70px; z-index: 2; }
@media (min-width: 1400px) { .hero > .search-panel { left: 120px; right: 120px; } }
.search-panel { position: static; left: auto; right: auto; bottom: auto; }
.search-panel--resort { margin-bottom: 14px; }
.container > .search-panel { margin-top: 10px; margin-bottom: 14px; }
@media (max-width: 900px) {
  .hero > .search-panel { position: static; margin: 12px 0 0; grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr; padding: 12px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid #CFE3F3; }
}

/* ---------------- SEARCH PLACE DROPDOWN (legacy-accurate) ---------------- */
.search-field--place { position: relative; }
.search_menu {
  background: #eaefef; cursor: pointer; font-size: 15px; font-weight: 500; height: 38px; line-height: 38px;
  overflow: hidden; padding: 0 30px 0 14px; position: relative; text-overflow: ellipsis;
  white-space: nowrap; width: 100%; border-radius: 10px; transition: all .2s ease-out; color: #015857;
  user-select: none;
}
.search_menu:after {
  border-color: transparent #015857 #015857 transparent; border-style: solid; border-width: 2px;
  content: ""; display: block; height: 9px; margin-top: -6px; position: absolute; right: 12px;
  top: 50%; transform: rotate(45deg); width: 9px; transition: transform .15s ease-out;
}
.search_menu.active { background: #d6ff9b; color: #015857; }
.search_menu.active:after { transform: rotate(-135deg); margin-top: -3px; }
.search_dropdown {
  display: none; flex-direction: column; margin-top: 4px; max-height: 400px; min-width: 100%;
  position: absolute; top: 100%; left: 0; z-index: 200; -webkit-overflow-scrolling: touch;
  background: #fff; border-radius: 10px; box-shadow: 0 6px 30px rgba(0,0,0,.2);
  opacity: 1; visibility: visible; overflow: hidden; text-align: left;
}
.search_dropdown.is-open { display: flex; }
.search_dropdown-search { border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,.15); flex: 0 0 auto; min-height: 50px; background: #fff; }
.search_dropdown-search input {
  width: 100%; height: 50px; border: 0; outline: 0; padding: 0 20px; font: inherit; font-size: 15px;
  border-radius: 10px; background: transparent; color: #0E2747; box-sizing: border-box;
}
.search_dropdown ul {
  flex: 1; max-height: 350px; min-width: 100%; overflow: auto; position: relative;
  -webkit-overflow-scrolling: touch; margin: 0; padding: 10px 0; list-style: none;
}
.search_dropdown ul li {
  cursor: pointer; font-size: 15px; font-weight: 500; padding: 6px 20px; white-space: nowrap; color: #222;
}
.search_dropdown ul li.level-1 { font-size: 15px; font-weight: 700; color: #015857; padding-top: 10px; }
.search_dropdown ul li.level-2 { color: #015857; font-size: 14px; font-weight: 700; padding-left: 40px; padding-top: 4px; }
.search_dropdown ul li.level-3 { color: #222; font-size: 14px; font-weight: 400; padding-left: 60px; }
.search_dropdown ul li.state-selected,
.search_dropdown ul li[data-value]:hover { background: #eaefef; }
.search_dropdown ul.flat li { padding-left: 20px !important; }
@media (max-width: 720px) {
  .search_menu { font-size: 14px; }
  .search_dropdown { max-width: 100vw; }
  .search_dropdown ul li { overflow: hidden; text-overflow: ellipsis; }
}


/* ---------------- FORMATS BLOCK (homepage) ---------------- */
.format-grid { display: grid; gap: 14px; }
.format-card {
  position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08); text-decoration: none; color: inherit; display: block;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.format-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.format-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.format-card-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(14,39,71,.82); backdrop-filter: blur(2px);
  color: #fff; padding: 10px 14px; line-height: 1.25;
}
.format-card-caption h4 { font-size: 17px; font-weight: 700; margin: 0; color: #fff; }
.format-card-caption small { font-size: 12px; color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .format-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 560px) { .format-grid { grid-template-columns: 1fr !important; } }
/* ---------------- ROOM BOOKING BUTTONS & FORMS ---------------- */
.room-card .room-book { margin-top:10px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.room-card .room-book .btn { font-size:14px; padding:9px 18px; }
.room-book-note { font-size:12px; color:var(--gray-500); }
.room-book-form { margin-top:10px; padding:12px; background:var(--gray-50,#f7f7f9); border:1px solid var(--gray-100); border-radius:10px; }
.room-book-form__dates { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:6px; }
.room-book-form__dates label, .room-book-form label { font-size:11px; color:var(--gray-500); display:block; margin-bottom:2px; }
.room-book-form input[type=date], .room-book-form select { width:100%; padding:8px; border:1px solid var(--gray-100); border-radius:8px; font-size:14px; box-sizing:border-box; }
.room-book-form .js-calc-result { font-size:13px; color:var(--gray-700); margin:6px 0; line-height:1.6; }
.room-book-form .btn { margin-top:6px; }

/* ---------------- RIGHT PANEL (DIRECT): BOOK CTA WITHOUT PRICES ---------------- */
.booking-panel__book-cta .booking-panel__hint { font-size:11px; color:var(--gray-500); margin-top:6px; line-height:1.4; text-align:center; }

/* ---------------- HOTEL MAP BLOCK ---------------- */
.hotel-map-box { margin-top:0; }
.hotel-map-view { height:360px; border-radius:10px; overflow:hidden; border:1px solid var(--gray-100); margin-top:10px; }
.hotel-map-hint { font-size:13px; color:var(--gray-600); margin-top:8px; }

/* ---------------- ACCREDITATION BADGE ---------------- */
.badge-accredited { background:#16a34a !important; color:#fff !important; cursor:pointer; font-weight:700; letter-spacing:.3px; }
.badge-accredited:hover { filter:brightness(.9); }
.accredit-box { margin-top:8px; padding:10px 12px; background:#ecfdf3; border:1px solid #86efac; border-radius:10px; font-size:13px; color:#14532d; line-height:1.5; }
.accredit-box a { color:#15803d; text-decoration:underline; font-weight:600; }

/* ---------------- COLLAPSIBLE DESCRIPTION ("Подробнее") ---------------- */
.hotel-desc-wrap.is-collapsed { max-height:420px; overflow:hidden; position:relative; }
.hotel-desc-wrap.is-collapsed::after { content:''; position:absolute; left:0; right:0; bottom:0; height:90px; background:linear-gradient(transparent, #fff); pointer-events:none; }
.hotel-desc-html { line-height:1.75; font-size:16px; color:var(--gray-800); overflow-wrap:anywhere; }
.hotel-desc-html p { margin:0 0 10px; }
.hotel-desc-html img { max-width:100%; height:auto; }
.hotel-desc-html table { display:block; max-width:100%; overflow-x:auto; }

/* ---------------- COLLAPSIBLE PRICING BLOCK ---------------- */
.pricing-details > summary { list-style:none; cursor:pointer; outline:none; }
.pricing-details > summary::-webkit-details-marker { display:none; }
.pricing-summary .js-pricing-toggle { display:inline-flex; align-items:center; gap:6px; font-size:14px; }

/* ---------------- FULL BOOKING PAGE (/booking/) ---------------- */
.booking-page-title { text-align:center; font-family:Georgia, 'Times New Roman', serif; font-size:36px; color:#0f766e; margin:0 0 24px; font-weight:700; letter-spacing:.5px; }
.booking-full-grid { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:860px){ .booking-full-grid { grid-template-columns:1fr; } }
.booking-full-label { font-size:12px; color:var(--gray-600); display:block; margin-bottom:4px; font-weight:600; }
.booking-full-label em { color:#dc2626; font-style:normal; margin-left:2px; }

/* ---------------- ROOM PHOTOS IN HOTEL ---------------- */
.room-photo { position:relative; aspect-ratio:4/3; background:var(--gray-100,#f0f1f3); border-radius:10px; overflow:hidden; }
.room-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.room-no-photo { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--gray-400); background:repeating-linear-gradient(45deg,#f0f1f3,#f0f1f3 10px,#eaebef 10px,#eaebef 20px); }

/* ---------------- ROOM PHOTO LIGHTBOX ---------------- */
.room-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(8,30,70,.88); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.room-lightbox.is-open { opacity: 1; pointer-events: auto; }
.room-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.room-lightbox__close { position: absolute; top: 16px; right: 20px; font-size: 34px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; opacity: .85; }
.room-lightbox__close:hover { opacity: 1; }

/* ---------------- DIRECT CONTACTS REFINEMENT ---------------- */
.phone-link { font-size: 20px; font-weight: 800; font-family: var(--font-display); letter-spacing: .5px; color: var(--navy-900); text-decoration: none; }
.phone-link:hover { text-decoration: underline; }
.messenger-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.btn-messenger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; text-align: center; font-size: 15px; font-weight: 600; padding: 12px 14px; text-decoration: none; border-radius: 10px; }
.btn-messenger .ico-mess { width: 20px; height: 20px; flex-shrink: 0; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #20bd5a; color: #fff; }

/* ---------------- REGION CATALOG TWEAKS ---------------- */
.catalog-layout--full { grid-template-columns: 1fr; }
.pager { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 32px 0 0; padding: 0; }
.pager li { margin: 0; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid #e4e8ed; color: #1f2937; text-decoration: none; font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: #2563eb; color: #2563eb; }
.pager a.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.pager-dots { padding: 0 4px; color: #9ca3af; font-size: 14px; }
.resort-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9999px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e6ff5; font-weight: 700; text-decoration: none; font-size: 15px; }
.resort-chip:hover { background: #dbeafe; }
.resort-chip__name { font-weight: 700; color: #1e6ff5; }
.resort-chip .badge { background: #2563eb; color: #fff; border-radius: 9999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.region-article-card { overflow: hidden; }
.region-article-media { aspect-ratio: 16/10; overflow: hidden; background: #e5e7eb; }
.region-article-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.region-article-card:hover .region-article-media img { transform: scale(1.03); }
.gallery-main-caption { font-size: 13px; color: var(--gray-600); margin-top: 6px; min-height: 18px; line-height: 1.4; }

/* ---------------- CABINET MENU & TABLE (2026-11-13) ---------------- */
.tab-btn { font-weight: 700 !important; color: #0277C2 !important; text-decoration: none !important; font-size: 15px; padding: 10px 16px; display: inline-block; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.tab-btn:hover { color: #01579B !important; }
.tab-btn.is-active { color: #0277C2 !important; border-bottom-color: #0277C2 !important; }
.t-hotels-table { font-size: 16px !important; }
.t-hotels-table td { padding: 12px 14px; }
.t-hotels-table td:first-child a { font-size: 16px; font-weight: 700; }
.t-hotel-address { font-size: 13px; color: var(--gray-600); margin-top: 3px; }
.t-hotels-table th { font-size: 13px; letter-spacing: .5px; }

/* ---------------- BACK-TO-TOP BUTTON ---------------- */
.back-to-top { position: fixed; right: 22px; bottom: 26px; z-index: 999; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 9999px; background: #0277C2; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(2,119,194,.35), 0 2px 6px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .15s; }
.back-to-top:hover { background: #01579B; transform: translateY(8px); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 640px) { .back-to-top { right: 14px; bottom: 16px; padding: 10px 14px; font-size: 13px; } .back-to-top span { display: none; } }

/* ---------------- PHOTO SLOTS (CABINET) ---------------- */
.photo-slot { display: flex; flex-direction: column; justify-content: space-between; }
.photo-slot .input { font-size: 13px; }

/* ---------------- RICH TEXT EDITOR ---------------- */
.rich-editor { border: 1px solid var(--gray-300); border-radius: 10px; background: #fff; overflow: hidden; margin-top: 6px; }
.rich-editor__toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px; background: #FAF9F7; border-bottom: 1px solid var(--gray-200); }
.rich-editor__toolbar button { min-width: 32px; height: 30px; padding: 2px 8px; border: 1px solid var(--gray-300); background: #fff; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--navy-900); }
.rich-editor__toolbar button:hover { background: #eff6ff; border-color: #2563eb; }
.rich-editor__sep { width: 1px; background: var(--gray-300); margin: 3px 3px; }
.rich-editor__content { min-height: 220px; max-height: 520px; overflow-y: auto; padding: 12px 14px; font-size: 15px; line-height: 1.6; outline: none; }
.rich-editor__content[data-placeholder]:empty:before { content: attr(data-placeholder); color: var(--gray-400); pointer-events: none; }

/* ---------------- HYBRID HOTEL GALLERY (2026-11-13) ---------------- */
.hotel-gallery { margin-bottom: 22px; position: relative; }
.gallery-mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: 16px; overflow: hidden; background: var(--gray-100); box-shadow: 0 4px 22px rgba(11,35,80,.06); position: relative; }
.gallery-mosaic__hero { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); text-decoration: none; position: relative; }
.gallery-mosaic__hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-mosaic__hero:hover img { transform: scale(1.015); }
.gallery-mosaic__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.gallery-mosaic__item { display: block; overflow: hidden; background: var(--gray-100); min-height: 0; text-decoration: none; position: relative; }
.gallery-mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, opacity .15s; }
.gallery-mosaic__item:hover img { transform: scale(1.03); opacity: .94; }

/* graceful desktop states for few photos */
.gallery-mosaic--1 { grid-template-columns: 1fr; }
.gallery-mosaic--1 .gallery-mosaic__hero { aspect-ratio: 16/9; max-height: 520px; }
.gallery-mosaic--2 { grid-template-columns: 1fr 1fr; }
.gallery-mosaic--2 .gallery-mosaic__grid { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery-mosaic--3 .gallery-mosaic__grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.gallery-mosaic--4 .gallery-mosaic__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-mosaic--4 .gallery-mosaic__grid .gallery-mosaic__item:first-child { grid-column: 1 / -1; }

/* "Все N фото" button overlay */
.gallery-more-btn { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 9999px; background: #fff; color: var(--navy-900); font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .15s ease; }
.gallery-more-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,0,0,.24); }

/* mobile swipe carousel */
.gallery-carousel { display: none; }
@media (max-width: 900px) {
  .detail .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .gallery-mosaic { display: none; }
  .hotel-gallery { width: 100%; min-width: 0; }
  .gallery-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 14px; position: relative; width: 100%; aspect-ratio: 16/10; background: var(--gray-100); box-shadow: 0 4px 20px rgba(11,35,80,.06); margin: 0 -4px; align-self: stretch; }
  .gallery-carousel::-webkit-scrollbar { display: none; }
  .gallery-carousel__slide { flex: 0 0 100%; width: 100%; height: 100%; align-self: stretch; scroll-snap-align: start; display: block; overflow: hidden; position: relative; text-decoration: none; }
  .gallery-carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gallery-carousel__counter { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 9999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
  .gallery-carousel__dots { position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: auto; }
  .gallery-carousel__dot { width: 6px; height: 6px; border-radius: 9999px; background: rgba(255,255,255,.55); cursor: pointer; transition: transform .2s, background .2s; }
  .gallery-carousel__dot.is-active { background: #fff; transform: scale(1.4); }
}

/* PhotoSwipe custom caption */
.pswp-custom-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; padding: 14px 18px; text-align: center; color: #fff; font-size: 14px; line-height: 1.5; background: linear-gradient(transparent, rgba(0,0,0,.75)); max-height: 35%; overflow-y: auto; pointer-events: none; }

/* ---------------- ICON ENHANCEMENTS (2026-11-14) ---------------- */
.amenity-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 8px; }
.amenity-chip-ico { width: 16px; height: 16px; flex-shrink: 0; vertical-align: -2px; }
.meta-ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; opacity: .85; display: inline-block; }
.sea-dist { display: inline-flex; align-items: center; gap: 4px; }
.sea-dist .sea-ico { width: 15px; height: 15px; vertical-align: -3px; opacity: .85; }
.messenger-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; width: 100%; box-sizing: border-box; }
.btn-messenger { font-size: 13px; padding: 11px 8px; font-weight: 600; gap: 7px; min-width: 0; box-sizing: border-box; }
.btn-messenger span { display: inline; }
.btn-messenger .ico-mess { width: 18px; height: 18px; }
.btn-telegram { background: #229ED9; color: #fff; }
.btn-telegram:hover { background: #1e8fcc; color: #fff; }
.btn-max { background: #582ee0; color: #fff; grid-column: 1 / -1; }
.btn-max:hover { background: #683ef0; color: #fff; }


/* === Place SEO text block (below catalog, above articles) === */
.place-seo-section { padding-top: 36px; padding-bottom: 24px; }
.place-seo-section .section-title { margin-bottom: 14px; }
.place-seo-text { font-size: 16px; line-height: 1.85; color: var(--ink-muted); }
.place-seo-text p { margin: 0 0 14px; }
.place-seo-text h2 { font-size: 22px; font-weight: 700; color: #0E2747; margin: 26px 0 12px; line-height: 1.25; }
.place-seo-text h3 { font-size: 18px; font-weight: 700; color: #0E2747; margin: 20px 0 10px; line-height: 1.3; }
.place-seo-text h4 { font-size: 16px; font-weight: 700; color: #0E2747; margin: 16px 0 8px; }
.place-seo-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.place-seo-text a:hover { color: var(--primary-dark); }
.place-seo-text ul, .place-seo-text ol { margin: 12px 0 14px 26px; }
.place-seo-text li { margin-bottom: 6px; }
.place-seo-text img { max-width: 100%; height: auto; border-radius: 12px; margin: 18px 0; display: block; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.place-seo-text blockquote { border-left: 3px solid var(--primary); padding: 8px 16px; margin: 14px 0; color: #1C335A; font-style: italic; background: rgba(14,39,71,.03); border-radius: 0 8px 8px 0; }
@media (max-width: 768px) {
  .place-seo-section { padding-top: 24px; padding-bottom: 16px; }
  .place-seo-text { font-size: 15px; line-height: 1.8; }
  .place-seo-text h2 { font-size: 19px; }
  .place-seo-text h3 { font-size: 16px; }
}

/* === Image quality & sharpness enhancements (2026-11-16) === */
.pswp__img {
  object-fit: contain !important;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.02);
}
.gallery-mosaic img,
.gallery-carousel__slide img,
.object-photo-frame img {
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Service pages (uslugi, price, kontakty) typography */
.service-page-body { font-size: 16px; line-height: 1.85; color: var(--ink-muted); }
.service-page-body p { margin: 0 0 16px; }
.service-page-body h2 { font-size: 22px; font-weight: 700; color: #0E2747; margin: 30px 0 12px; line-height: 1.25; }
.service-page-body h3 { font-size: 18px; font-weight: 700; color: #0E2747; margin: 24px 0 10px; line-height: 1.3; }
.service-page-body h4 { font-size: 16px; font-weight: 700; color: #0E2747; margin: 18px 0 8px; }
.service-page-body ul, .service-page-body ol { margin: 12px 0 16px 26px; }
.service-page-body li { margin-bottom: 6px; }
.service-page-body strong { font-weight: 600; color: #0E2747; }
.service-page-body em { font-style: italic; }
.service-page-body hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.service-page-body blockquote { border-left: 3px solid var(--primary); margin: 16px 0; padding: 4px 16px; color: var(--gray-700); }
.service-page-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 18px 0; display: block; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.service-page-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.service-page-body th, .service-page-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.service-page-body th { background: #f7f8fa; font-weight: 600; color: #0E2747; }

.antispam-trap { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
