/* ===== DESIGN TOKENS (Gostevie UI — зелёная палитра) ===== */
:root {
    /* Typography: фирменные шрифты из layout.php */
    --z-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --z-font-heading: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --z-text-base: 1rem;
    --z-text-xs: 0.75rem;
    --z-text-sm: 0.875rem;
    --z-text-lg: 1.125rem;
    --z-text-xl: 1.25rem;
    --z-text-2xl: 1.5rem;
    --z-text-3xl: 1.875rem;
    --z-text-4xl: 2.25rem;
    --z-leading-none: 1;
    --z-leading-tight: 1.25;
    --z-leading-snug: 1.375;
    --z-leading-normal: 1.5;
    --z-leading-relaxed: 1.625;
    --z-leading-loose: 1.75;
    --z-tracking-tighter: -0.03em;
    --z-tracking-tight: -0.02em;
    --z-tracking-normal: 0;
    --z-tracking-wide: 0.025em;
    /* Brand: более глубокий изумруд + тёплый акцент */
    --z-primary: #0f766e;              /* глубокий изумруд */
    --z-primary-dark: #134e4a;         /* тёмный хвойный */
    --z-primary-light: #e0f2f1;        /* мягкий бирюзовый фон */
    --z-accent: #f59e0b;               /* тёплый янтарный акцент */
    --z-accent-soft: rgba(245, 158, 11, 0.14);
    --z-accent-warm: #fbbf24;
    --z-accent-warm-hover: #d97706;
    --z-accent-warm-soft: rgba(251, 191, 36, 0.16);
    /* Neutrals: более нейтральный “отельный” фон */
    --z-bg: #f5f5f4;
    --z-bg-elevated: #f9fafb;
    --z-surface: #ffffff;
    --z-border: #e5e7eb;
    --z-border-strong: #d4d4d4;
    --z-text: #111827;
    --z-text-secondary: #374151;
    --z-text-muted: #6b7280;
    /* Semantic */
    --z-success: #15803d;
    --z-success-bg: #dcfce7;
    --z-rating-high: #166534;
    /* Тени: более мягкие и “отельные” */
    --z-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --z-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    --z-shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    --z-shadow-xl: 0 26px 60px rgba(15, 23, 42, 0.16);
    --z-shadow-card-hover: 0 32px 70px rgba(15, 23, 42, 0.2);
    /* Mobile: touch targets, safe areas, отступы */
    --z-touch: 44px;
    --z-touch-lg: 48px;
    --z-safe-top: env(safe-area-inset-top, 0px);
    --z-safe-bottom: env(safe-area-inset-bottom, 0px);
    --z-safe-left: env(safe-area-inset-left, 0px);
    --z-safe-right: env(safe-area-inset-right, 0px);
    --z-mobile-gutter: 16px;
    --z-mobile-gutter-tight: 12px;
    --z-bottom-nav-height: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Пропуск к основному контенту (доступность) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10001;
    padding: 12px 20px;
    background: var(--z-primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--z-radius);
    transition: top var(--z-duration-fast);
}
.skip-link:focus {
    top: 16px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Фокус для клавиатурной навигации */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
    outline: 2px solid var(--z-primary);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

html {
    font-size: 16px;
}

html, body {
    height: 100%;
    line-height: var(--z-leading-relaxed);
    letter-spacing: var(--z-tracking-normal);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--z-font-sans);
    font-size: var(--z-text-base);
    background: var(--z-bg);
    color: var(--z-text);
}

/* Material Symbols: выравнивание иконки с текстом (без «лесенки») */
.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

p {
    margin: 0 0 0.75em;
    line-height: var(--z-leading-relaxed);
}
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
a { color: var(--z-primary); }
a:hover { text-decoration: underline; }

.wrapper {
    width: 100%;
    min-height: 100vh;
    background: var(--z-bg);
    display: flex;
    flex-direction: column;
}

.header {
    background: rgba(249, 250, 251, 0.96);
    color: var(--z-text);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header::before {
    content: none;
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header-title {
    display: inline-block;
    color: var(--z-text);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform var(--z-duration-fast) var(--z-ease-out), opacity var(--z-duration-fast), color var(--z-duration-fast);
}
.header-title:hover {
    opacity: 0.98;
    transform: translateY(-1px);
    color: #fff;
}
.header-title:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 12px;
}
.header-nav__link {
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header-nav__link .material-symbols-outlined { font-size: 18px; }
.header-nav__link:hover {
    text-decoration: underline;
}
.header-nav__link--add {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
}
.header-nav__link--add:hover {
    background: rgba(255, 255, 255, 0.25);
    text-decoration: none;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-auth__link {
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background var(--z-duration-fast), color var(--z-duration-fast), border-color var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header-auth__link .material-symbols-outlined { font-size: 18px; }
.header-auth__link:hover {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.03);
}
.header-auth__link--accent {
    background: #fff;
    color: var(--z-primary);
    border-color: transparent;
    font-weight: 600;
    box-shadow: var(--z-shadow-sm);
}
.header-auth__link--accent:hover {
    background: var(--z-primary-light);
    color: var(--z-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--z-shadow);
}

.header-profile {
    position: relative;
}
.header-profile__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(15,23,42,0.15);
    color: #e5e7eb;
    cursor: pointer;
    font-size: 14px;
}
.header-profile__btn .material-symbols-outlined {
    font-size: 20px;
}
.header-profile__btn:hover {
    background: rgba(15,23,42,0.25);
}
.header-profile__label {
    max-width: 120px;
    white-space: nowrap;
}
.header-profile__menu {
    position: absolute;
    right: 0;
    top: 110%;
    min-width: 180px;
    background: #ffffff;
    color: #111827;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.25);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.17s ease, transform 0.17s ease, visibility 0.17s ease;
    z-index: 50;
}
.header-profile__menu-item {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    text-decoration: none;
    color: #111827;
}
.header-profile__menu-item:hover {
    background: #f3f4f6;
}
.header-profile:hover .header-profile__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu {
    background: linear-gradient(135deg, var(--z-primary), var(--z-accent));
    color: #fff;
    display: none;
}

.menu-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    gap: 20px;
}
.menu-inner a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.menu-inner a:hover {
    text-decoration: underline;
}
.menu-inner .material-symbols-outlined {
    font-size: 20px;
}

.main {
    flex: 1;
    display: block;
}

.content {
    background: var(--z-bg);
}

.content-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    animation: contentFadeIn 0.5s var(--z-ease-out) both;
}

/* Только opacity, без transform — иначе модалки (position: fixed) привязываются к контейнеру */
@keyframes contentFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== МОДАЛЬНЫЕ ОКНА (глобально, поверх всего экрана) ===== */
.fullscreen-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(12, 74, 110, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    overflow-y: auto;
}
.fullscreen-modal.active {
    display: flex !important;
}
/* Модалки всегда поверх чата и нижней панели (скрипт переносит их в body) */
.fullscreen-modal {
    z-index: 10002 !important;
}
/* При открытой модалке панели не перехватывают фокус и не перекрывают (мобильная версия) */
body.modal-open .chat-widget,
body.modal-open .cookie-consent {
    z-index: 0 !important;
    pointer-events: none !important;
}
body.modal-open .menu {
    z-index: 0 !important;
}
.fullscreen-modal .modal-content {
    position: relative;
    margin: auto;
    max-height: calc(100vh - 32px);
    flex-shrink: 0;
    border-top: 4px solid var(--z-accent);
}
@media (max-width: 600px) {
    .fullscreen-modal { padding: 12px !important; padding-left: max(12px, var(--z-safe-left)) !important; padding-right: max(12px, var(--z-safe-right)) !important; }
    .fullscreen-modal .modal-content { max-height: calc(100vh - 24px); padding: 20px; }
    .fullscreen-modal .modal-footer .search-btn,
    .fullscreen-modal .modal-footer button {
        min-height: var(--z-touch);
        width: 100%;
        justify-content: center;
    }
}

/* Заголовки: системный шрифт */
h1, h2, h3, h4, .header-title, .page-content__title, .home-hero-title, .catalog-empty__title {
    font-family: var(--z-font-heading);
    font-weight: 700;
    line-height: var(--z-leading-tight);
    letter-spacing: var(--z-tracking-tight);
}
h1, .home-hero-title, .page-content__title { font-weight: 800; }
h2 { font-size: var(--z-text-2xl); }
h3 { font-size: var(--z-text-xl); }
h4 { font-size: var(--z-text-lg); }

/* Страницы контента (Контакты, и т.д.) */
.page-content {
    max-width: 720px;
    margin: 0 auto;
}
.page-content__title {
    font-size: var(--z-text-3xl);
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--z-text);
    letter-spacing: var(--z-tracking-tight);
}
.page-content__lead {
    font-size: var(--z-text-lg);
    color: var(--z-text-secondary);
    margin: 0 0 28px;
    line-height: var(--z-leading-relaxed);
}
.page-content__block {
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid var(--z-border);
}
.page-content__block:first-of-type {
    border-top: none;
    padding-top: 0;
}
.page-content__block h2 {
    font-size: var(--z-text-lg);
    margin: 0 0 10px;
    color: var(--z-text);
    font-weight: 700;
}
.page-content__block p,
.page-content__block ul {
    margin: 0 0 8px;
    color: var(--z-text-secondary);
    line-height: var(--z-leading-relaxed);
}
.page-content__block ul {
    padding-left: 1.25rem;
}
.page-content__block a {
    color: var(--z-accent);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.page-content__block a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.page-content__body--article {
    line-height: 1.7;
    color: #374151;
}
.page-content__body--article p {
    margin: 0 0 1em;
}
.page-content a {
    color: var(--z-accent);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.page-content a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.page-content__back {
    margin-top: 28px;
}

/* Секция для отельеров (перед футером) */
.owner-cta {
    background: var(--z-primary-light);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: 32px 24px;
}
.owner-cta__inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}
.owner-cta__title {
    font-size: var(--z-text-2xl);
    font-weight: 700;
    color: var(--z-primary-dark);
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.owner-cta__title-icon {
    font-size: 1.15em;
    color: var(--z-accent);
}
.owner-cta__text {
    font-size: var(--z-text-base);
    color: #475569;
    max-width: 520px;
    margin: 0 auto 20px;
    line-height: var(--z-leading-relaxed);
}
.owner-cta__text strong {
    color: var(--z-primary-dark);
}
.owner-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--z-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--z-text-base);
    border-radius: 999px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: var(--z-shadow-sm);
}
.owner-cta__btn:hover {
    background: var(--z-primary-dark);
    color: #fff;
    text-decoration: none;
    transform: none;
}
.owner-cta__btn .material-symbols-outlined {
    font-size: 22px;
}
@media (max-width: 768px) {
    .owner-cta { padding: 24px 16px; }
    .owner-cta__title { font-size: var(--z-text-xl); }
    .owner-cta__text { font-size: var(--z-text-sm); }
}

.footer {
    background: radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.35) 0%, transparent 55%),
                radial-gradient(circle at 100% 0%, rgba(15, 23, 42, 0.6) 0%, transparent 60%),
                linear-gradient(180deg, #020617 0%, #020617 55%, #030712 100%);
    color: #fff;
    margin-top: auto;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px 24px;
    padding-bottom: max(24px, calc(24px + var(--z-safe-bottom)));
}
.footer__top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__about {
    max-width: 380px;
}
.footer__brand {
    font-size: var(--z-text-xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer__brand-icon {
    font-size: 24px;
    color: var(--z-accent);
    opacity: 0.95;
}
.footer__desc {
    margin: 0;
    font-size: var(--z-text-sm);
    line-height: var(--z-leading-relaxed);
    color: rgba(255, 255, 255, 0.78);
}
.footer__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
}
.footer__top .footer__columns {
    margin: 0;
    padding: 0;
    border: none;
}
.footer__col-title {
    font-size: var(--z-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer__col-title .material-symbols-outlined { font-size: 16px; }
.footer__link-icon {
    font-size: 16px;
    margin-right: 4px;
    vertical-align: middle;
}
.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: var(--z-text-sm);
    transition: color var(--z-duration-fast), transform var(--z-duration-fast);
}
.footer__link-icon { margin-right: 0; }
.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer__links li { margin: 0 0 8px; }
.footer__links a:hover {
    color: #fff;
    transform: translateX(2px);
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    font-size: var(--z-text-xs);
    color: rgba(255, 255, 255, 0.6);
}
.footer__copy a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.footer__copy a:hover { color: #fff; }
.footer__metrika {
    display: inline-block;
    opacity: 0.85;
    transition: opacity var(--z-duration-fast);
}
.footer__metrika:hover { opacity: 1; }
.footer__bottom a:not(.footer__metrika) {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.footer__bottom a:not(.footer__metrika):hover { color: #fff; }
@media (max-width: 768px) {
    .footer-inner {
        padding: 28px 16px 20px;
        padding-left: max(var(--z-mobile-gutter), var(--z-safe-left));
        padding-right: max(var(--z-mobile-gutter), var(--z-safe-right));
    }
    .footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 24px;
    }
    .footer__about { max-width: none; }
    .footer__columns { gap: 24px 32px; }
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 16px;
    }
    .footer__links a {
        min-height: var(--z-touch);
        display: inline-flex;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .footer__columns { gap: 20px; }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }
}

/* ===== ГЛАВНАЯ / HERO-БЛОК (SVG + параллакс) ===== */
.home-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -24px;
    margin-bottom: 36px;
    padding: 48px 24px 52px;
    background: linear-gradient(150deg, #f5f5f4 0%, #eef2f3 55%, #e0f2f1 100%);
    color: var(--z-text);
    position: relative;
    overflow: hidden;
}
.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.home-hero__parallax {
    position: absolute;
    inset: -15%;
    will-change: transform;
    transition: transform 0.1s ease-out;
}
.home-hero__parallax .hero-decor-svg,
.home-hero__parallax svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.35;
}
.home-hero::before,
.home-hero::after {
    content: none;
}

.home-hero-inner {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: heroSlideUp 0.7s var(--z-ease-out) both;
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: #022c22;
    text-shadow: none;
    position: relative;
    display: inline-block;
}
.home-hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 48px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: heroLineIn 0.8s var(--z-ease-out) 0.3s both;
}
@keyframes heroLineIn {
    from { width: 0; opacity: 0; }
    to { width: 48px; opacity: 1; }
}

.home-hero-subtitle {
    font-size: 1.02rem;
    color: #334155;
    margin-bottom: 20px;
    max-width: 540px;
    line-height: 1.5;
}

.home-hero-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.home-hero-destination-chip {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    box-shadow: var(--z-shadow-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--z-duration-fast), box-shadow var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out), color var(--z-duration-fast);
}

.home-hero-destination-chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--z-primary);
}

.home-hero-destination-chip:hover {
    background: #f3f4f6;
    transform: none;
    box-shadow: var(--z-shadow);
}

.home-hero-destination-chip:active {
    transform: none;
    box-shadow: var(--z-shadow-sm);
}

.home-hero-destination-chip:focus-visible {
    outline: 2px solid var(--z-primary);
    outline-offset: 3px;
}

.home-hero .search-form {
    margin: 0;
    border-radius: var(--z-radius-2xl);
    padding: 20px 22px;
    box-shadow: var(--z-shadow-sm);
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: box-shadow var(--z-duration-fast) var(--z-ease-out);
}
.home-hero .search-form:hover {
    box-shadow: var(--z-shadow);
}
.home-hero .search-form:focus-within {
    box-shadow: 0 0 0 1px var(--z-primary), var(--z-shadow);
}

.home-hero .search-form .form-group {
    background: var(--z-bg);
    border-radius: 10px;
    transition: background var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.home-hero .search-form .form-group:hover {
    background: #fff;
    box-shadow: var(--z-shadow-sm);
}
.home-hero .search-form .search-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 26px;
    background: var(--z-primary);
    border: none !important;
    box-shadow: var(--z-shadow-sm);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.home-hero .search-form .search-btn:hover {
    background: var(--z-primary-dark);
    box-shadow: var(--z-shadow);
}
.home-hero .search-form .search-btn:active {
    box-shadow: var(--z-shadow-sm);
}
.home-hero .search-form .form-group:first-child input {
    font-weight: 600;
}
.home-hero-cta-secondary {
    margin: 20px 0 0;
}
.home-hero-cta-secondary__link {
    color: var(--z-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 2px solid rgba(15, 118, 110, 0.35);
    transition: border-color var(--z-duration), opacity var(--z-duration), transform var(--z-duration-fast);
}
.home-hero-cta-secondary__link .material-symbols-outlined { font-size: 20px; }
.home-hero-cta-secondary__link:hover {
    border-color: var(--z-primary-dark);
    opacity: 1;
    transform: translateX(4px);
}
.home-hero-cta-secondary__link:focus-visible {
    outline: 2px solid var(--z-primary-dark);
    outline-offset: 2px;
}

/* Блоки «Регионы» и «Новые объекты» на главной (OTA: синий акцент) */
.home-regions h2,
.home-new h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--z-text);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}
.home-regions h2::after,
.home-new h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--z-primary) 0%, var(--z-accent) 100%);
    border-radius: 2px;
    margin-top: 10px;
}
.home-regions .home-region-link {
    transition: transform var(--z-duration) var(--z-ease-out), color var(--z-duration-fast), border-color var(--z-duration-fast), box-shadow var(--z-duration-fast), background var(--z-duration);
    border-radius: var(--z-radius-lg);
}
.home-regions .home-region-link:hover {
    transform: translateY(-3px);
    color: var(--z-primary);
}
.home-new-card {
    transition: box-shadow var(--z-duration-fast) var(--z-ease-out), border-color var(--z-duration-fast);
    border: 1px solid var(--z-border);
}
.home-new-card:hover {
    box-shadow: var(--z-shadow);
    border-color: var(--z-accent);
}
.home-new-card .home-new-card-title {
    transition: color var(--z-duration-fast);
}
.home-new-card:hover .home-new-card-title {
    color: var(--z-primary);
}

/* ===== МОБИЛЬНАЯ АДАПТИВНОСТЬ ===== */

/* Планшеты и узкие экраны */
@media (max-width: 768px) {
    .wrapper {
        width: 100%;
        margin: 0;
    }

    .header-inner {
        padding: 12px 16px;
        min-height: var(--z-touch);
    }
    .header-title {
        font-size: 1.25rem;
        max-width: calc(100vw - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .content-inner {
        width: 100%;
        padding: 16px;
        padding-left: max(16px, var(--z-safe-left));
        padding-right: max(16px, var(--z-safe-right));
    }

    .home-hero {
        width: 100%;
        margin-left: 0;
        margin: 0 0 20px;
        padding: 24px 16px 28px;
        padding-left: max(16px, var(--z-safe-left));
        padding-right: max(16px, var(--z-safe-right));
    }
    .home-hero-title {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    .home-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    .home-hero-destinations {
        margin-bottom: 18px;
        row-gap: 8px;
    }
    .home-hero-destination-chip {
        padding: 7px 14px;
        font-size: 0.85rem;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    }
    .home-hero .search-form {
        flex-direction: column;
        border-radius: var(--z-radius-lg);
        padding: 14px 12px;
        gap: 10px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.4);
    }
    .home-hero .search-form .form-group {
        min-height: var(--z-touch);
    }
    .home-hero .search-form .search-btn {
        min-height: var(--z-touch);
        padding: 14px 20px;
        font-size: 16px;
    }
    .home-hero-cta-secondary__link {
        padding: 12px 0;
        min-height: var(--z-touch);
        display: inline-flex;
        align-items: center;
    }

    /* Отступ под нижнее меню + safe area */
    .main {
        padding-bottom: 0;
    }
    .main::after {
        content: '';
        display: block;
        height: calc(var(--z-bottom-nav-height) + var(--z-safe-bottom) + 16px);
    }

    /* Нижняя навигация: удобные зоны нажатия, safe area */
    .menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.12);
        padding: 10px 0 calc(10px + var(--z-safe-bottom));
        padding-left: max(8px, var(--z-safe-left));
        padding-right: max(8px, var(--z-safe-right));
        z-index: 1000;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
        -webkit-tap-highlight-color: transparent;
        background: linear-gradient(135deg, var(--z-primary) 0%, var(--z-primary-dark) 100%);
    }
    .menu-inner {
        display: flex;
        width: 100%;
        justify-content: space-around;
        gap: 4px;
        padding: 0;
    }
    .menu a {
        margin: 0;
        flex: 1;
        min-width: 0;
        min-height: var(--z-touch);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 11px;
        font-weight: 500;
        padding: 6px 2px;
        gap: 2px;
        color: rgba(255,255,255,0.92);
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        border-radius: var(--z-radius);
        transition: background var(--z-duration-fast), color var(--z-duration-fast);
    }
    .menu a:hover,
    .menu a:active {
        color: #fff;
        background: rgba(255,255,255,0.12);
    }
    .menu .material-symbols-outlined {
        font-size: 22px;
        flex-shrink: 0;
    }

    /* Каталог: панель поиска и карточки */
    .catalog-search-bar {
        padding: 14px 16px;
        margin-bottom: 20px;
    }
    .catalog-toolbar {
        margin-bottom: 16px;
    }
    .catalog-card__link {
        min-height: 0;
    }
    .catalog-card__body {
        padding: 12px 14px 14px;
    }
    .catalog-card__footer {
        padding-top: 10px;
    }
    .catalog-card__cta,
    .catalog-card__price-wrap {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Кнопки фильтров: удобный тап */
    .catalog-filters-btn {
        min-height: var(--z-touch);
        padding: 12px 16px;
    }

    /* Пустое состояние каталога */
    .catalog-empty {
        padding: 32px 20px;
        margin: 20px 0;
    }
    .catalog-empty__link {
        min-height: var(--z-touch);
        padding: 14px 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Пагинация: крупнее тапы */
    .pagination a,
    .pagination__current {
        min-width: 44px;
        height: 44px;
    }
}

/* Узкие смартфоны */
@media (max-width: 480px) {
    .content-inner {
        padding: 12px;
        padding-left: max(12px, var(--z-safe-left));
        padding-right: max(12px, var(--z-safe-right));
    }
    .home-hero {
        padding: 20px 12px 24px;
    }
    .home-hero-title {
        font-size: 1.35rem;
    }
    .home-regions-list {
        gap: 8px 16px;
    }
    .home-region-link {
        min-height: 44px;
        justify-content: center;
    }
    .home-new-slider {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
    }
    .home-new-card {
        flex: 0 0 280px;
        max-width: 100%;
        scroll-snap-align: start;
    }
    .catalog-search-bar {
        padding: 12px;
    }
    .footer-inner {
        padding: 28px 16px 24px;
        padding-left: max(16px, var(--z-safe-left));
        padding-right: max(16px, var(--z-safe-right));
    }
}

/* ===== MOBILE PERFECTION: типографика, тапы, safe area ===== */
@media (max-width: 768px) {
    /* Предотвращение зума iOS при фокусе в полях (минимум 16px) */
    .content-inner input[type="text"],
    .content-inner input[type="email"],
    .content-inner input[type="tel"],
    .content-inner input[type="number"],
    .content-inner input[type="search"],
    .content-inner select,
    .search-form input,
    .booking-quick-row input,
    .booking-quick-row select {
        font-size: 16px !important;
    }
    /* Прокрутка с учётом фиксированной шапки при переходе по якорям */
    html { scroll-padding-top: calc(56px + var(--z-safe-top)); }
    /* Модалки: отступы от safe area, удобная высота контента */
    .fullscreen-modal {
        padding-left: max(12px, var(--z-safe-left)) !important;
        padding-right: max(12px, var(--z-safe-right)) !important;
        padding-bottom: max(12px, var(--z-safe-bottom)) !important;
    }
    .fullscreen-modal .modal-content {
        max-height: calc(100dvh - 24px);
    }
    /* Карточки каталога: читаемый текст, зона тапа на CTA */
    .catalog-card__body {
        padding: 14px 16px 16px;
    }
    .catalog-card__title {
        font-size: 1.05rem;
        line-height: 1.3;
    }
    .catalog-card__cta {
        min-height: var(--z-touch);
        padding: 12px 16px;
        font-size: 15px;
    }
    /* Кнопки и ссылки-действия — минимум 44px по высоте */
    .header-auth__link,
    .catalog-empty__link,
    .placement-cta__btn,
    .search-btn {
        min-height: var(--z-touch);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .pagination a,
    .pagination__current {
        min-width: var(--z-touch);
        min-height: var(--z-touch);
    }
}

/* Очень узкие экраны (iPhone SE, мелкие Android) */
@media (max-width: 390px) {
    .content-inner {
        padding: var(--z-mobile-gutter-tight);
        padding-left: max(var(--z-mobile-gutter-tight), var(--z-safe-left));
        padding-right: max(var(--z-mobile-gutter-tight), var(--z-safe-right));
    }
    .home-hero {
        padding: 20px max(var(--z-mobile-gutter-tight), var(--z-safe-left)) 24px;
        padding-right: max(var(--z-mobile-gutter-tight), var(--z-safe-right));
    }
    .home-hero-title {
        font-size: 1.35rem;
    }
    .home-hero-subtitle {
        font-size: 0.9375rem;
    }
    .catalog-grid {
        gap: 16px;
    }
    .catalog-card__body {
        padding: 12px 14px 14px;
    }
    .menu a {
        font-size: 11px;
        padding: 6px 2px;
    }
    .menu .material-symbols-outlined {
        font-size: 22px;
    }
}

/* Виджеты (чат, cookie) выше нижнего меню на мобильных */
@media (max-width: 768px) {
    .chat-widget {
        bottom: calc(var(--z-bottom-nav-height) + var(--z-safe-bottom) + 8px);
        right: max(var(--z-mobile-gutter-tight), var(--z-safe-right));
    }
    .cookie-consent {
        bottom: calc(var(--z-bottom-nav-height) + var(--z-safe-bottom) + 8px);
        left: max(var(--z-mobile-gutter-tight), var(--z-safe-left));
        right: max(var(--z-mobile-gutter-tight), var(--z-safe-right));
    }
}
@media (max-width: 768px) and (max-height: 500px) {
    .chat-widget { bottom: calc(60px + var(--z-safe-bottom) + 6px); }
    .cookie-consent { bottom: calc(60px + var(--z-safe-bottom) + 6px); }
}

/* ===== ПАНЕЛЬ КАТАЛОГА (НАЙДЕНО + СОРТИРОВКА) ===== */
.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 20px;
    padding: 12px 0;
}
.catalog-toolbar__count {
    font-size: var(--z-text-base);
    color: var(--z-text-secondary);
    font-weight: 500;
}
.catalog-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.catalog-toolbar__sort-label {
    font-size: var(--z-text-sm);
    color: var(--z-text-muted);
    white-space: nowrap;
}
.catalog-toolbar__sort-select {
    padding: 8px 12px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    font-size: var(--z-text-sm);
    background: #fff;
    color: #374151;
    cursor: pointer;
    min-width: 180px;
}
.catalog-toolbar__sort-select:focus {
    outline: none;
    border-color: var(--z-accent);
    box-shadow: 0 0 0 3px var(--z-accent-soft);
}
/* Переключатель вида каталога */
.catalog-toolbar__views {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.catalog-view-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--z-border);
    background: var(--z-surface);
    color: var(--z-text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--z-duration-fast), border-color var(--z-duration-fast), color var(--z-duration-fast);
}
.catalog-view-toggle-btn:hover {
    background: var(--z-primary-light);
    border-color: var(--z-primary);
    color: var(--z-text);
}
.catalog-view-toggle-btn-active,
.catalog-view-toggle-btn.is-active {
    background: var(--z-primary);
    border-color: var(--z-primary);
    color: #fff;
}
@media (max-width: 600px) {
    .catalog-toolbar { flex-direction: column; align-items: flex-start; }
    .catalog-toolbar__sort-select { min-width: 100%; }
}

/* Панель поиска на странице каталога */
.catalog-search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 24px;
    padding: 18px 20px;
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.catalog-search-bar:focus-within {
    box-shadow: var(--z-shadow);
    border-color: var(--z-primary);
}
.search-form--catalog {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}
.catalog-search-bar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.catalog-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid var(--z-border);
    border-radius: 999px;
    background: #fff;
    color: var(--z-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.catalog-filters-btn:hover {
    background: var(--z-primary-light);
    border-color: var(--z-primary);
    color: var(--z-text);
}
.catalog-filters-btn:active {
    transform: none;
}
.catalog-filters-btn {
    transition: background var(--z-duration-fast), border-color var(--z-duration-fast), color var(--z-duration-fast), transform var(--z-duration-fast);
}
.catalog-filters-btn .material-symbols-outlined { font-size: 20px; }
@media (max-width: 768px) {
    .catalog-search-bar { flex-direction: column; align-items: stretch; }
    .search-form--catalog { flex: none; }
}

/* ===== КАТАЛОГ ОБЪЕКТОВ (стиль Booking.com) ===== */
.catalog-empty {
    text-align: center;
    padding: 56px 28px;
    margin: 28px 0;
    background: var(--z-surface);
    border: 1px dashed rgba(148, 163, 184, 0.4);
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-sm);
}
.catalog-empty__icon { margin: 0 0 20px; opacity: 0.7; }
.catalog-empty__title { font-size: 1.35rem; font-weight: 700; margin: 0 0 10px; color: var(--z-text); }
.catalog-empty__text { color: var(--z-text-muted); margin: 0 0 24px; line-height: 1.6; max-width: 420px; margin-left: auto; margin-right: auto; }
.catalog-empty__link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px; background: var(--z-primary); color: #fff; text-decoration: none; border-radius: var(--z-radius); font-weight: 700;
    transition: background var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.catalog-empty__link:hover { background: var(--z-primary-dark); box-shadow: var(--z-shadow); }

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 28px 0;
}
/* Вид списка для каталога */
.catalog-grid.catalog-grid--list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.catalog-grid.catalog-grid--list .catalog-card__link {
    flex-direction: row;
}
.catalog-grid.catalog-grid--list .catalog-card__image-wrap {
    flex: 0 0 260px;
    max-width: 260px;
}
.catalog-grid.catalog-grid--list .catalog-card__body {
    flex: 1 1 auto;
}
@media (max-width: 768px) {
    .catalog-grid.catalog-grid--list {
        display: grid;
        grid-template-columns: 1fr;
    }
    .catalog-grid.catalog-grid--list .catalog-card__link {
        flex-direction: column;
    }
    .catalog-grid.catalog-grid--list .catalog-card__image-wrap {
        flex: none;
        max-width: 100%;
    }
}
/* Карточки без излишней анимации при появлении */
@media (prefers-reduced-motion: reduce) {
    .catalog-grid .catalog-card,
    .home-hero-inner,
    .home-hero-title::after { animation: none; }
    .home-hero-title::after { width: 48px; opacity: 1; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .menu a { transition: none; }
}
@media (min-width: 900px) {
    .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
}
.catalog-card {
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-sm);
    border: 1px solid var(--z-border);
    overflow: hidden;
    transition: box-shadow var(--z-duration-fast) var(--z-ease-out), border-color var(--z-duration-fast);
}
.catalog-card:hover {
    box-shadow: var(--z-shadow);
    border-color: var(--z-accent);
}
.catalog-card:active {
    box-shadow: var(--z-shadow-sm);
}
.catalog-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.catalog-card__image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--z-border);
    overflow: hidden;
}
.catalog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--z-ease-out);
}
.catalog-card:hover .catalog-card__image {
    transform: scale(1.06);
}
.catalog-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #9ca3af;
}
.catalog-card__image-placeholder .material-symbols-outlined { font-size: 48px; }
/* Бейдж рейтинга на фото: подпись + число (как на Booking) */
.catalog-card__rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #003580;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px 6px 6px 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}
.catalog-card__rating-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.95;
}
.catalog-card__rating-value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
}
.catalog-card__rating--high {
    background: var(--z-rating-high);
}
.catalog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}
/* Тип объекта — чип/бейдж */
.catalog-card__type {
    display: inline-block;
    font-size: 11px;
    color: #374151;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    background: #e5e7eb;
    border-radius: 6px;
    font-weight: 600;
    align-self: flex-start;
}
.catalog-card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog-card__address {
    margin: 0 0 10px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-height: 0;
}
.catalog-card__address .material-symbols-outlined { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
/* Бейджи: ранний заезд, поздний выезд, бронирование онлайн */
.catalog-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 10px;
}
.catalog-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #374151;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}
.catalog-card__badge .material-symbols-outlined {
    font-size: 14px;
    color: #6b7280;
}
.catalog-card__badge--booking .material-symbols-outlined {
    color: #059669;
}
.catalog-card__badge--booking {
    background: #ecfdf5;
    color: #047857;
}
.catalog-card__badge--response .material-symbols-outlined {
    color: #1d4ed8;
}
.catalog-card__badge--response {
    background: #eff6ff;
    color: #1e40af;
}
.catalog-card__desc {
    display: none;
}
/* Блок цены внизу карточки (как на Booking: справа, «за ночь») */
.catalog-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--z-border);
}
.catalog-card__price-wrap {
    text-align: right;
}
.catalog-card__price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    background: none;
    padding: 0;
    position: static;
    border-radius: 0;
}
.catalog-card__price--request {
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
}
.catalog-card__price-unit {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 0;
}
.catalog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--z-accent);
    flex-shrink: 0;
    transition: color var(--z-duration-fast), gap var(--z-duration-fast) var(--z-ease-out);
}
.catalog-card:hover .catalog-card__cta {
    color: var(--z-primary);
    gap: 8px;
}
.catalog-card__cta .material-symbols-outlined {
    font-size: 18px;
    transition: transform var(--z-duration-fast) var(--z-ease-out);
}
.catalog-card:hover .catalog-card__cta .material-symbols-outlined {
    transform: translateX(2px);
}
@media (max-width: 600px) {
    .catalog-grid { grid-template-columns: 1fr; gap: 16px; }
    .catalog-card__footer { flex-wrap: wrap; }
    .catalog-card__rating { padding: 4px 8px; font-size: 11px; }
    .catalog-card__rating-label { font-size: 9px; }
    .catalog-card__rating-value { font-size: 14px; }
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 24px;
    padding: 0;
}
.pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pagination__list li {
    margin: 0;
    padding: 0;
}
.pagination a,
.pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--z-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--z-text-secondary);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    transition: background var(--z-duration-fast), border-color var(--z-duration-fast), color var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.pagination a:hover {
    background: var(--z-bg);
    border-color: var(--z-primary);
    color: var(--z-primary);
    transform: translateY(-1px);
}
.pagination__current {
    background: var(--z-primary);
    border-color: var(--z-primary);
    color: #fff;
    cursor: default;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
}
.pagination__prev,
.pagination__next {
    min-width: auto;
    padding: 0 16px;
}
@media (max-width: 600px) {
    .pagination { margin: 24px 0 16px; gap: 6px; }
    .pagination a, .pagination__current { min-width: 36px; height: 36px; font-size: 14px; }
}

/* ===== СТРАНИЦЫ АВТОРИЗАЦИИ (вход, регистрация, восстановление пароля) ===== */
.auth-page {
    max-width: 440px;
    margin: 32px auto 48px;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}
.auth-page__title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}
.auth-page__subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #6b7280;
}
.auth-page .auth-form__row {
    margin-bottom: 20px;
}
.auth-page .auth-form__label {
    display: block;
    font-size: var(--z-text-sm);
    font-weight: 600;
    color: var(--z-text);
    margin-bottom: 6px;
}
.auth-page .auth-form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    font-size: 16px;
    background: var(--z-surface);
    box-sizing: border-box;
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.auth-page .auth-form__input:focus {
    outline: none;
    border-color: var(--z-accent);
    box-shadow: 0 0 0 3px var(--z-accent-soft);
}
.auth-page .auth-form__hint {
    display: block;
    margin-top: 4px;
    font-size: var(--z-text-xs);
    color: var(--z-text-muted);
}
.auth-page .auth-form__submit {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--z-primary);
    border: none;
    border-radius: var(--z-radius);
    cursor: pointer;
    transition: background var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.auth-page .auth-form__submit:hover {
    background: var(--z-primary-dark);
    transform: translateY(-1px);
}
.auth-page .auth-form__submit:active {
    transform: translateY(0);
}
.auth-page .auth-alert {
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: var(--z-radius);
    font-size: var(--z-text-sm);
}
.auth-page .auth-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.auth-page .auth-alert--success {
    background: var(--z-success-bg);
    color: var(--z-success);
    border: 1px solid rgba(5, 150, 105, 0.3);
}
.auth-page .auth-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--z-border);
    text-align: center;
    font-size: 14px;
}
.auth-page .auth-links a {
    color: var(--z-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--z-duration-fast);
}
.auth-page .auth-links a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.auth-page .auth-links__forgot {
    display: block;
    margin-top: 12px;
}
@media (max-width: 600px) {
    .auth-page { margin: 20px 16px 32px; padding: 24px; }
}

/* ===== ГЛОБАЛЬНЫЕ КОМПОНЕНТЫ: заголовки страниц, хлебные крошки ===== */
.page-title {
    font-family: var(--z-font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--z-text);
    margin: 0 0 8px;
}
.page-lead {
    font-size: 1rem;
    color: var(--z-text-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}
/* Хлебные крошки: единый стиль для .breadcrumbs и .placement-breadcrumb */
.breadcrumbs,
.placement-breadcrumb {
    font-size: var(--z-text-sm);
    color: var(--z-text-muted);
    margin-bottom: 16px;
    line-height: var(--z-leading-normal);
}
.breadcrumbs a,
.placement-breadcrumb a {
    color: var(--z-accent);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.breadcrumbs a:hover,
.placement-breadcrumb a:hover {
    color: var(--z-primary);
}
.breadcrumbs [aria-hidden="true"],
.placement-breadcrumb [aria-hidden="true"] {
    margin: 0 6px;
    color: var(--z-border-strong);
}

/* ===== СТРАНИЦА БРОНИРОВАНИЯ (book) ===== */
.book-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 0 32px;
}
.book-page .breadcrumbs {
    margin-bottom: 16px;
}
.book-page .page-title {
    margin-bottom: 20px;
}
.book-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: var(--z-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--z-duration-fast);
}
.book-back:hover {
    color: var(--z-primary);
}
.book-summary {
    background: var(--z-primary-light);
    border-radius: var(--z-radius-lg);
    padding: 20px 22px;
    margin-bottom: 28px;
    border: 1px solid var(--z-border);
}
.book-summary__title {
    margin: 0 0 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--z-text);
}
.book-summary__row {
    margin: 6px 0;
    font-size: 15px;
    color: var(--z-text-secondary);
}
.book-summary__row strong {
    display: inline-block;
    min-width: 100px;
    color: var(--z-text);
}
.book-summary__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--z-primary);
    margin-top: 14px;
}
.book-summary__price-note {
    font-size: 14px;
    color: var(--z-text-muted);
    margin-top: 8px;
}
.book-form .form-row {
    margin-bottom: 18px;
}
.book-form .form-label {
    margin-bottom: 6px;
}
.book-form .form-input,
.book-form .form-textarea {
    width: 100%;
    box-sizing: border-box;
}
.book-form .form-hint {
    margin-top: 4px;
}
.book-form .placement-cta__btn {
    width: 100%;
    justify-content: center;
    min-height: var(--z-touch);
    margin-top: 8px;
}

/* ===== ЛИЧНЫЙ КАБИНЕТ (DASHBOARD) ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.dashboard-card {
    padding: 24px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    background: var(--z-surface);
    box-shadow: var(--z-shadow-sm);
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.dashboard-card:hover {
    border-color: var(--z-accent);
    box-shadow: var(--z-shadow);
    transform: translateY(-2px);
}
.dashboard-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--z-text);
    margin: 0 0 8px;
}
.dashboard-card__text {
    margin: 0 0 16px;
    color: var(--z-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.dashboard-card__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--z-primary);
    color: #fff !important;
    border-radius: var(--z-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.dashboard-card__action:hover {
    background: var(--z-primary-dark);
    transform: translateY(-1px);
}
.dashboard-nav {
    font-size: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--z-border);
}
.dashboard-nav a {
    color: var(--z-accent);
    text-decoration: none;
    margin: 0 8px 0 0;
    transition: color var(--z-duration-fast);
}
.dashboard-nav a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.dashboard-nav [aria-hidden="true"] {
    color: var(--z-border-strong);
    margin: 0 4px;
}

/* ===== СТАТЬИ (LIST / VIEW) ===== */
.articles-page {
    max-width: 800px;
    margin: 0 auto;
}
.articles-page__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--z-text);
    letter-spacing: -0.02em;
}
.articles-page__lead {
    color: var(--z-text-muted);
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.5;
}
.articles-page__add {
    margin-bottom: 24px;
}
.articles-page__add a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--z-primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--z-radius);
    font-weight: 600;
    font-size: 14px;
    transition: background var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.articles-page__add a:hover {
    background: var(--z-primary-dark);
    transform: translateY(-1px);
}
.articles-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.articles-list__item {
    margin-bottom: 12px;
}
.articles-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.articles-list__link:hover {
    border-color: var(--z-accent);
    box-shadow: var(--z-shadow);
}
.articles-list__title {
    color: var(--z-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color var(--z-duration-fast);
}
.articles-list__title:hover {
    color: var(--z-primary);
}
.articles-list__edit {
    font-size: 13px;
    color: var(--z-accent);
    text-decoration: none;
    flex-shrink: 0;
    transition: color var(--z-duration-fast);
}
.articles-list__edit:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.articles-empty {
    padding: 32px 24px;
    text-align: center;
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    color: var(--z-text-muted);
    border: 1px dashed var(--z-border-strong);
}
.articles-pagination {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--z-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.articles-pagination a,
.articles-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--z-radius);
    font-weight: 500;
    text-decoration: none;
    color: var(--z-text-secondary);
    transition: background var(--z-duration-fast), color var(--z-duration-fast);
}
.articles-pagination a:hover {
    background: var(--z-primary-light);
    color: var(--z-primary);
}
.articles-pagination .articles-pagination__current {
    background: var(--z-primary);
    color: #fff;
}

/* ===== СТРАНИЦЫ ОШИБОК (standalone, но стили дублируем для единообразия при использовании в layout) ===== */
.err-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: var(--z-bg);
}
.err-wrap {
    text-align: center;
    max-width: 440px;
}
.err-code {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 12px;
    font-family: var(--z-font-heading);
    letter-spacing: -0.03em;
}
.err-code--primary { color: var(--z-primary); }
.err-code--warn { color: var(--z-accent-warm); }
.err-code--error { color: #b91c1c; }
.err-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--z-text);
    margin: 0 0 12px;
}
.err-text {
    color: var(--z-text-muted);
    margin: 0 0 28px;
    line-height: 1.6;
}
.err-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.err-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--z-primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--z-radius);
    font-weight: 600;
    font-size: 15px;
    transition: background var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.err-link:hover {
    background: var(--z-primary-dark);
    transform: translateY(-1px);
}
.err-link--secondary {
    background: var(--z-text-secondary);
}
.err-link--secondary:hover {
    background: var(--z-text);
}

/* ===== PLACEMENT (страница объекта) — переопределения через токены ===== */
.placement-booking-widget {
    border-color: var(--z-border);
    box-shadow: var(--z-shadow);
}
.placement-cta__btn {
    background: var(--z-primary) !important;
    transition: background var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.placement-cta__btn:hover {
    background: var(--z-primary-dark) !important;
    box-shadow: var(--z-shadow-sm);
}
.placement-cta__btn.secondary {
    background: var(--z-accent-warm) !important;
}
.placement-cta__btn.secondary:hover {
    background: var(--z-accent-warm-hover) !important;
}
.placement-sidebar__anchors-list a {
    color: var(--z-accent);
}
.placement-sidebar__anchors-list a:hover {
    color: var(--z-primary);
}
.price-card__price {
    color: var(--z-primary);
}
.prices-calendar__toggle {
    color: var(--z-primary);
    background: var(--z-primary-light);
}
.prices-calendar__toggle:hover {
    background: var(--z-accent-soft);
}

/* ===== MY (владелец) — минимальная навигация ===== */
.nav-minimal {
    padding: 12px 24px;
    background: var(--z-surface);
    border-bottom: 1px solid var(--z-border);
    font-size: 14px;
}
.nav-minimal a {
    color: var(--z-accent);
    text-decoration: none;
    margin-right: 16px;
    transition: color var(--z-duration-fast);
}
.nav-minimal a:hover {
    color: var(--z-primary);
}
.nav-minimal [aria-hidden="true"] {
    margin: 0 10px;
    color: var(--z-border-strong);
    pointer-events: none;
}

/* ===== АККАУНТ: бронирования, тикеты — карточки и кнопки ===== */
.account-page {
    max-width: 920px;
    margin: 0 auto;
}
.account-page__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--z-text-2xl);
    font-weight: 700;
    margin: 0 0 8px;
}
.account-page__title .material-symbols-outlined {
    font-size: 26px;
    color: var(--z-primary);
}
.account-page__lead {
    margin: 0 0 24px;
    color: var(--z-text-secondary);
}
.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.account-card {
    border-radius: var(--z-radius-lg);
    border: 1px solid var(--z-border);
    background: var(--z-surface);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.account-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--z-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--z-primary);
}
.account-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 4px 0 0;
}
.account-card__text {
    font-size: 0.9rem;
    color: var(--z-text-muted);
    margin: 0;
}
.account-card__btn {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--z-primary);
    text-decoration: none;
}
.account-card__btn .material-symbols-outlined {
    font-size: 18px;
}
.account-nav {
    margin-bottom: 24px;
}
.account-nav a {
    color: var(--z-accent);
    text-decoration: none;
    margin-right: 16px;
    transition: color var(--z-duration-fast);
}
.account-nav a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.booking-card {
    margin-bottom: 16px;
    padding: 16px 20px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    background: var(--z-surface);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.booking-card:hover {
    border-color: var(--z-accent);
    box-shadow: var(--z-shadow-sm);
}
.booking-card__title { font-weight: 600; margin-bottom: 4px; }
.booking-card__meta { color: var(--z-text-muted); font-size: 0.9rem; }
.booking-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-shrink: 0; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--z-radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: background var(--z-duration-fast), border-color var(--z-duration-fast), color var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
button.btn {
    font-family: inherit;
    border: none;
}
.btn--secondary {
    border: 1px solid var(--z-border-strong);
    background: var(--z-surface);
    color: var(--z-text-secondary);
}
.btn--secondary:hover {
    border-color: var(--z-accent);
    color: var(--z-primary);
}
.btn--primary {
    background: var(--z-primary);
    color: #fff;
    border: 1px solid transparent;
}
.btn--primary:hover {
    background: var(--z-primary-dark);
    box-shadow: var(--z-shadow-sm);
}
.btn .badge-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--z-accent-warm);
}

/* Кнопка внутри карточек кабинета (повторяет btn--primary, но компактнее) */
.account-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--z-radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: var(--z-primary);
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.account-card__btn:hover {
    background: var(--z-primary-dark);
    box-shadow: var(--z-shadow-sm);
}

.account-list__item--empty {
    padding: 24px 20px;
    border-radius: var(--z-radius-lg);
    border: 1px dashed var(--z-border-strong);
    background: var(--z-surface);
    text-align: left;
    color: var(--z-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.account-list__item--empty .material-symbols-outlined {
    font-size: 32px;
    color: var(--z-primary);
}
.account-list__item--empty p {
    margin: 0;
}
.account-list__empty-actions {
    margin-top: 8px;
}

/* ===== ФОРМЫ (общие блоки для тикетов, добавления объекта и т.д.) ===== */
.form-block {
    max-width: 560px;
}
.form-row {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--z-text-secondary);
    margin-bottom: 6px;
}
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--z-border-strong);
    border-radius: var(--z-radius);
    font-size: 15px;
    background: var(--z-surface);
    box-sizing: border-box;
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--z-accent);
    box-shadow: 0 0 0 3px var(--z-accent-soft);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.form-hint {
    font-size: 12px;
    color: var(--z-text-muted);
    margin-top: 4px;
}
.form-actions {
    margin-top: 24px;
}
.form-actions .btn { min-height: var(--z-touch); }
input[type="file"] {
    font-size: 14px;
    margin-top: 4px;
}

/* ===== ТАБЛИЦЫ ДАННЫХ ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    overflow: hidden;
    background: var(--z-surface);
    box-shadow: var(--z-shadow-sm);
}
.data-table thead {
    background: var(--z-bg);
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--z-border);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--z-text-muted);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--z-border);
    font-size: 14px;
}
.data-table tbody tr:hover {
    background: var(--z-bg);
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}
.data-table a {
    color: var(--z-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--z-duration-fast);
}
.data-table a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.data-table .status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.status-badge--open { color: var(--z-success); background: var(--z-success-bg); }
.status-badge--answered { color: var(--z-primary-dark); background: var(--z-primary-light); }
.status-badge--closed { color: var(--z-text-muted); background: var(--z-bg); }
.status-badge--new { margin-left: 6px; padding: 2px 6px; background: var(--z-success-bg); color: #065f46; border-radius: 4px; font-size: 11px; }

/* ===== АЛЕРТЫ (успех, ошибка, предупреждение) ===== */
.alert {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: var(--z-radius);
    font-size: 14px;
    line-height: 1.5;
}
.alert--success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}
.alert--error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}
.alert--warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

/* ===== ЧАТЫ (список чатов в кабинете) ===== */
.chat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.chat-item {
    margin-bottom: 12px;
}
.chat-item__link {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.chat-item__link:hover {
    border-color: var(--z-accent);
    box-shadow: var(--z-shadow-sm);
}
.chat-item__link--unread {
    border-left: 4px solid var(--z-primary);
}
.chat-item__title {
    font-weight: 600;
    color: var(--z-text);
    margin-bottom: 2px;
}
.chat-item__meta {
    font-size: 12px;
    color: var(--z-text-muted);
}
.chat-item__preview {
    font-size: 14px;
    color: var(--z-text-secondary);
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chat-item__unread-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--z-accent-warm);
}

/* ===== ЧАТ (страница переписки с отелем) ===== */
.chat-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0;
}
.chat-page .chat-header {
    margin-bottom: 20px;
}
.chat-page .chat-header a {
    font-size: 14px;
    color: var(--z-accent);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.chat-page .chat-header a:hover {
    color: var(--z-primary);
    text-decoration: underline;
}
.chat-page .chat-header h2 {
    margin: 6px 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--z-text);
}
.chat-messages {
    min-height: 280px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 16px 18px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    background: var(--z-bg);
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}
.chat-loading {
    text-align: center;
    color: var(--z-text-muted);
    padding: 24px;
}
.chat-error {
    text-align: center;
    color: #b91c1c;
    padding: 24px;
}
.chat-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.chat-msg.guest {
    flex-direction: row-reverse;
}
.chat-msg .bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--z-radius);
    font-size: 14px;
    line-height: 1.5;
}
.chat-msg .bubble.guest {
    background: var(--z-primary-light);
    color: var(--z-primary-dark);
}
.chat-msg .bubble.hotel {
    background: var(--z-surface);
    color: var(--z-text);
    border: 1px solid var(--z-border);
}
.chat-msg .time {
    font-size: 12px;
    color: var(--z-text-muted);
    margin-top: 4px;
}
.chat-form {
    display: flex;
    gap: 10px;
    align-items: center;
}
.chat-form input[type="text"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--z-border-strong);
    border-radius: var(--z-radius);
    font-size: 15px;
    min-width: 0;
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.chat-form input[type="text"]:focus {
    outline: none;
    border-color: var(--z-accent);
    box-shadow: 0 0 0 3px var(--z-accent-soft);
}
.chat-form button {
    padding: 12px 20px;
    background: var(--z-primary);
    color: #fff;
    border: none;
    border-radius: var(--z-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background var(--z-duration-fast), transform var(--z-duration-fast) var(--z-ease-out);
}
.chat-form button:hover:not(:disabled) {
    background: var(--z-primary-dark);
    transform: translateY(-1px);
}
.chat-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
[data-load-more] button {
    background: none;
    border: none;
    color: var(--z-accent);
    cursor: pointer;
    font-size: 14px;
    padding: 8px;
    transition: color var(--z-duration-fast);
}
[data-load-more] button:hover {
    color: var(--z-primary);
}

/* ===== ТИКЕТ: просмотр (шапка, тред сообщений) ===== */
.ticket-header {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--z-bg);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
}
.ticket-header__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--z-text);
}
.ticket-header__meta {
    margin: 0;
    font-size: 14px;
    color: var(--z-text-muted);
}
.ticket-thread {
    margin-bottom: 24px;
}
.ticket-message {
    padding: 14px 16px;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    background: var(--z-bg);
    margin-top: 12px;
}
.ticket-message--operator {
    border-color: var(--z-primary-light);
    background: #eff6ff;
}
.ticket-message__meta {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--z-text-muted);
}
.ticket-message__body {
    white-space: pre-wrap;
    word-break: break-word;
}
.ticket-reply-form {
    border-top: 1px solid var(--z-border);
    padding-top: 24px;
}
.ticket-reply-form h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== ВАУЧЕР ===== */
.voucher-card {
    max-width: 42rem;
    margin: 0 auto;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    padding: 32px;
    box-shadow: var(--z-shadow);
}
.voucher-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.voucher-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.voucher-table th {
    padding: 8px 16px 8px 0;
    color: var(--z-text-muted);
    font-weight: 500;
    width: 10rem;
    font-size: 14px;
}
.voucher-table td {
    padding: 8px 0;
    font-size: 14px;
}
@media print {
    .voucher-no-print { display: none !important; }
    .voucher-print-only { display: block !important; }
}
.voucher-print-only { display: none; }

/* ===== MY: список объектов владельца ===== */
.my-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.my-list__item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.my-list__link {
    font-weight: 600;
    color: var(--z-accent);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.my-list__link:hover {
    color: var(--z-primary);
}
.my-list__edit {
    font-size: 14px;
    color: var(--z-text-muted);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.my-list__edit:hover {
    color: var(--z-primary);
}
.my-pagination {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--z-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.my-pagination a,
.my-pagination span {
    padding: 6px 12px;
    border-radius: var(--z-radius);
    font-size: 14px;
    text-decoration: none;
    color: var(--z-text-secondary);
    transition: background var(--z-duration-fast), color var(--z-duration-fast);
}
.my-pagination a:hover {
    background: var(--z-primary-light);
    color: var(--z-primary);
}
.my-pagination .my-pagination__current {
    background: var(--z-primary);
    color: #fff;
    font-weight: 600;
}

/* ===== ФОРМА СТАТЬИ (создание / редактирование) ===== */
.article-form {
    max-width: 640px;
    margin: 0 auto;
}
.article-form .breadcrumbs {
    margin-bottom: 16px;
}
.article-form__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--z-text);
    letter-spacing: -0.02em;
}
.article-form .form-row {
    margin-bottom: 20px;
}
.article-form .form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--z-text-secondary);
}
.article-form .form-input,
.article-form .form-textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--z-border-strong);
    border-radius: var(--z-radius);
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.article-form .form-textarea {
    min-height: 200px;
    resize: vertical;
}
.article-form .form-input:focus,
.article-form .form-textarea:focus {
    outline: none;
    border-color: var(--z-accent);
    box-shadow: 0 0 0 3px var(--z-accent-soft);
}
.article-form .form-actions {
    margin-top: 24px;
}
.article-form .form-actions .btn {
    min-height: var(--z-touch);
}
.article-form__back {
    display: inline-block;
    margin-top: 20px;
    color: var(--z-accent);
    text-decoration: none;
    transition: color var(--z-duration-fast);
}
.article-form__back:hover {
    color: var(--z-primary);
    text-decoration: underline;
}

/* ===== ПУСТОЕ СОСТОЯНИЕ (кабинет: нет тикетов, чатов и т.д.) ===== */
.empty-state {
    text-align: center;
    padding: 40px 24px;
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    border: 1px solid var(--z-border);
    margin: 20px 0;
}
.empty-state__icon {
    margin: 0 0 16px;
    opacity: 0.6;
}
.empty-state__icon .material-symbols-outlined {
    font-size: 48px;
    color: var(--z-text-muted);
}
.empty-state__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--z-text);
    margin: 0 0 8px;
}
.empty-state__text {
    color: var(--z-text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}
.empty-state__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--z-primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--z-radius);
    font-weight: 600;
    font-size: 14px;
    transition: background var(--z-duration-fast), box-shadow var(--z-duration-fast);
}
.empty-state__action:hover {
    background: var(--z-primary-dark);
    color: #fff;
    box-shadow: var(--z-shadow);
}

/* ===== MAIN PAGE: search, modals, calendar, guests, filters ===== */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
    background: var(--z-surface);
    padding: 20px;
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-sm);
    position: relative;
}
.search-form .form-group {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 0 10px;
    cursor: pointer;
    position: relative;
}
.search-form .form-group .material-symbols-outlined {
    color: #666;
    margin-right: 5px;
}
.search-form .form-group input {
    width: 100%;
    padding: 10px 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    cursor: pointer;
}
.search-form .form-group:first-child input {
    cursor: text;
}
.search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--z-primary);
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: var(--z-shadow-sm);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.search-btn:hover {
    background: var(--z-primary-dark);
    box-shadow: var(--z-shadow);
}
.search-btn.small {
    padding: 5px 10px;
    font-size: 14px;
}

.suggestions-container {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}
.suggestions-container.active {
    display: block;
}
.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover {
    background: #f5f5f5;
}
.suggestion-item .icon {
    color: var(--z-primary);
    font-size: 18px;
}
.suggestion-item .main-text {
    font-weight: 500;
}
.suggestion-item .sub-text {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}
.fullscreen-modal.active {
    display: flex;
}
.modal-content {
    background: #fff;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: var(--z-shadow);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}
.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.modal-close:hover {
    color: #000;
}
.modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.calendar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}
.calendar-month {
    flex: 1 1 260px;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--z-shadow-sm);
}
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.calendar-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--z-primary);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.calendar-header button:hover {
    background: var(--z-primary-light);
}
.calendar-header button.visibility-hidden {
    visibility: hidden;
}
.calendar-header .month-year {
    font-weight: 600;
    font-size: 16px;
}
.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}
.day-cell:hover {
    background: var(--z-primary-light);
}
.day-cell.empty {
    cursor: default;
    background: none;
}
.day-cell.selected {
    background: var(--z-primary) !important;
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}
.day-cell.in-range {
    background: var(--z-accent-soft);
}
.day-cell.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}
.day-cell.today {
    border: 1px solid var(--z-primary);
}
.quick-date-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    justify-content: center;
}
.quick-date-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}
.quick-date-btn:hover {
    background: var(--z-primary);
    color: white;
}
.quick-date-btn.weekend {
    background: var(--z-primary-light);
    color: var(--z-primary);
    font-weight: 500;
}
.quick-date-btn.weekend:hover {
    background: var(--z-primary);
    color: white;
}

.long-term-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    cursor: pointer;
    user-select: none;
}
.long-term-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.long-term-checkbox span {
    font-size: 15px;
    color: #333;
}

.nights-summary {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--z-primary);
    background: var(--z-primary-light);
    padding: 10px;
    border-radius: 6px;
    margin: 15px 0;
}
.nights-summary span {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    display: block;
    margin-top: 4px;
}

.checkin-options {
    margin-top: 15px;
}
.checkin-options.is-hidden {
    display: none !important;
}
.options-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.option-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}
.option-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.option-checkbox .info-icon {
    cursor: help;
    color: #666;
    font-size: 16px;
}

.guest-row, .rooms-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}
.guest-counter, .rooms-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}
.guest-counter button, .rooms-counter button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--z-primary);
    background: #fff;
    color: var(--z-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guest-counter button:disabled, .rooms-counter button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}
.guest-counter span, .rooms-counter span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.children-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}
.child-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
}
.child-item select {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.child-item button {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 18px;
}

.hint {
    font-size: 12px;
    color: #666;
    margin-top: -5px;
    margin-bottom: 5px;
}
.hint--centered {
    text-align: center;
    margin-top: 10px;
}

.filters-panel select,
.extra-panel select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin: 5px 0;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 15px;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 15px 0;
}

.pets-icon {
    font-size: 18px;
    margin-right: 5px;
}

.home-seo {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 24px 0 8px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}
.home-seo h1 {
    font-size: 1.6rem;
    margin: 0 0 12px;
    color: #111827;
}
.home-seo h2 {
    font-size: 1.2rem;
    margin: 24px 0 8px;
    color: #111827;
}
.home-seo p {
    margin: 0 0 10px;
}
.home-seo ul {
    margin: 0 0 10px 1.2rem;
    padding: 0;
}
.home-seo li {
    margin-bottom: 4px;
}
.home-seo a {
    color: var(--z-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.home-seo a:hover {
    color: var(--z-primary-dark);
}

.home-regions {
    padding-top: 16px;
    padding-bottom: 0;
}
.home-regions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 12px;
}
.home-region-link {
    display: flex;
    flex-direction: column;
    min-width: 160px;
    padding: 14px 18px;
    text-decoration: none;
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
    transition: transform var(--z-duration) var(--z-ease-out), box-shadow var(--z-duration), border-color var(--z-duration), background var(--z-duration);
    position: relative;
    overflow: hidden;
}
.home-region-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--z-accent);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity var(--z-duration-fast);
}
.home-region-link:hover {
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
    background: linear-gradient(180deg, var(--z-primary-light) 0%, #fff 100%);
}
.home-region-link:hover::before {
    opacity: 1;
}
.home-region-link-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}
.home-region-link-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.home-new {
    padding-top: 12px;
}
.home-new-slider {
    margin-top: 12px;
    margin-left: -8px;
    margin-right: -8px;
    padding-bottom: 8px;
    overflow-x: auto;
}
.home-new-track {
    display: flex;
    gap: 12px;
    padding: 0 8px;
}
.home-new-card {
    flex: 0 0 260px;
    max-width: 280px;
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
    overflow: hidden;
}
.home-new-card a {
    text-decoration: none;
    color: inherit;
}
.home-new-card-image {
    position: relative;
    background: #f3f4f6;
    padding-top: 66.6667%;
    overflow: hidden;
}
.home-new-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-new-card-body {
    padding: 10px 12px 12px;
}
.home-new-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}
.home-new-card-location {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}
.home-new-card-price {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}
.home-new-card-meta {
    font-size: 11px;
    color: #6b7280;
}

.catalog-empty__icon .material-symbols-outlined {
    font-size: 64px;
    color: var(--z-accent);
    opacity: 0.8;
}

.image-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .search-form .form-group {
        width: 100%;
        flex: none;
        min-height: 48px;
    }
    .search-form .form-group input {
        font-size: 16px;
    }
    .search-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 14px 20px;
    }
    .modal-content {
        max-width: 95%;
        padding: 20px;
    }
    .modal-header h3 {
        font-size: 1.25rem;
    }
    .modal-close {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .calendar-container {
        flex-direction: column;
        gap: 12px;
    }
    .calendar-month {
        width: 100%;
        padding: 12px;
    }
    .calendar-header .month-year {
        font-size: 15px;
    }
    .calendar-header button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .weekdays {
        font-size: 11px;
    }
    .day-cell {
        font-size: 14px;
        min-height: 40px;
    }
    .quick-date-options {
        gap: 8px;
    }
    .quick-date-btn {
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }
    .nights-summary {
        font-size: 16px;
        padding: 12px;
    }
    .guest-counter button, .rooms-counter button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .guest-row, .rooms-row {
        min-height: 44px;
        align-items: center;
    }
    .child-item {
        padding: 10px;
    }
    .option-checkbox {
        min-height: 44px;
        align-items: center;
    }
    #applyDates, #applyGuests, #applyRooms, #applyFilters, #applyExtra {
        min-height: 48px;
        width: 100%;
        justify-content: center;
    }
}


/* ===== PLACEMENT PAGE (apartments/view) ===== */
    .placement-page { max-width: 1200px; margin: 0 auto; }
    .placement-ota { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
    .placement-main { min-width: 0; }
    .placement-sidebar { position: sticky; top: 24px; }
    .placement-sidebar__anchors { margin-bottom: 24px; padding: 16px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
    .placement-sidebar__anchors-title { margin: 0 0 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #64748b; }
    .placement-sidebar__anchors-list { margin: 0; padding: 0; list-style: none; }
    .placement-sidebar__anchors-list li { margin-bottom: 6px; }
    .placement-sidebar__anchors-list li:last-child { margin-bottom: 0; }
    .placement-sidebar__anchors-list a { font-size: 14px; color: var(--z-primary); text-decoration: none; }
    .placement-sidebar__anchors-list a:hover { text-decoration: underline; }
    @media (max-width: 900px) {
        .placement-ota { grid-template-columns: 1fr; }
        .placement-main { order: 0; }
        .placement-sidebar { order: 1; position: static; margin-top: 24px; }
    }
    .placement-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 24px;
    }
    .placement-header h1 { margin: 0 0 4px; font-size: 1.75rem; }
    .placement-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 8px 0 0; }
    .placement-header__address { margin: 8px 0 0; font-size: 15px; color: #4b5563; }
    .placement-header__price { margin: 4px 0 0; font-size: 1.1rem; font-weight: 600; color: var(--z-primary); }
    .placement-header-actions { display: flex; align-items: center; gap: 8px; }
    .placement-breadcrumb { margin: 0 0 8px; font-size: var(--z-text-sm); }
    .placement-header-actions button {
        padding: 8px; border: none; background: none; color: #6b7280; cursor: pointer; border-radius: 8px;
    }
    .placement-header-actions a.placement-cta-dates {
        padding: 10px 20px; background: var(--z-accent-warm); color: #1f2937; font-weight: 600; border-radius: 10px; text-decoration: none; font-size: 15px;
    }
    .placement-booking-inline { margin-bottom: 24px; }
    .placement-booking-rules {
        margin-bottom: 16px; padding: 12px 16px; background: #f8fafc; border-radius: 10px; font-size: 14px; color: #475569;
    }
    .placement-cta__btn.booking-submit {
        display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0;
    }
    .extra-services-block.is-hidden { display: none !important; }
    .booking-msg.is-hidden { display: none !important; }
    .placement-rooms { margin-top: 32px; }
    .room-card-ota__availability {
        position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 12px; background: var(--z-accent-warm); color: #1f2937; font-size: 13px; font-weight: 600; border-radius: 8px;
    }
    .room-card-ota__main-img-placeholder {
        background: #f3f4f6; display: flex; align-items: center; justify-content: center; min-height: 120px;
    }
    .room-card-ota__main-img-placeholder .material-symbols-outlined { font-size: 48px; color: #9ca3af; }
    .room-card-ota__min-price { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--z-primary); }
    .room-modal-desc.is-hidden { display: none; }
    .room-card-ota__price-wrap.is-hidden,
    .room-card-ota__price-wrap [data-room-nights].is-hidden,
    .room-card-ota__price-wrap [data-room-msg].is-hidden { display: none; }
    .placement-stats {
        display: flex; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 24px; padding: 16px; background: #f9fafb; border-radius: 12px; font-size: 14px; color: #374151;
    }
    .placement-stats .material-symbols-outlined { font-size: 18px; vertical-align: middle; color: #6b7280; }
    .placement-section-desc h3 { margin: 0 0 12px; font-size: 1.1rem; }
    .placement-section-location { margin: 24px 0 12px; font-size: 1.1rem; }
    .placement-section-location h3 { margin: 0 0 12px; }
    .placement-price-note { margin: 0 0 16px; color: #475569; font-size: 14px; }
    .placement-owner-card__cta.full-width { width: 100%; border: none; cursor: pointer; font: inherit; }
    .placement-owner-card__cta.full-width.mt { margin-top: 12px; font-size: 14px; }
    .modal-content.placement-modal--narrow { max-width: 560px; }
    .modal-body.placement-modal__body { padding: 0 24px 24px; }
    .modal-body.placement-modal__body p.lead { margin: 0 0 20px; font-size: 14px; color: #6b7280; }
    .group-booking-grid.mt { margin-top: 12px; }
    .group-booking-reset { margin: 0; padding: 0; border: none; box-shadow: none; background: transparent; }
    .placement-cta__btn.block { margin-top: 12px; width: 100%; justify-content: center; }
    .gallery-cell--map .material-symbols-outlined { font-size: 28px; margin-bottom: 4px; }
    .placement-nearby h3 { margin: 0 0 16px; font-size: 1.1rem; }
    .placement-nearby p { font-size: 14px; color: #6b7280; }
    .checkin-options.mt-16 { margin-top: 16px; }
    .placement-booking-widget {
        padding: 24px; margin-bottom: 32px;
        background: #fff; border-radius: 16px; border: 1px solid #e5e7eb;
        box-shadow: 0 4px 20px rgba(0,0,0,.08);
    }
    .placement-booking-widget h2 { margin: 0 0 20px; font-size: 1.25rem; }
    .booking-quick-row {
        display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 16px;
    }
    .booking-quick-row .booking-field { display: flex; flex-direction: column; }
    .booking-quick-row .form-group { flex: 1 1 140px; min-width: 0; }
    .booking-quick-row .booking-quick-row__room { flex: 1 1 160px; }
    .booking-quick-row__label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; margin-bottom: 6px; }
    .booking-quick-row__select { padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 15px; background: #fff; min-width: 140px; width: 100%; }
    .booking-quick-row__select:focus { outline: none; border-color: var(--z-primary); box-shadow: 0 0 0 2px rgba(59,94,24,.15); }
    .booking-quick-row label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; margin-bottom: 6px; }
    .booking-quick-row input, .booking-quick-row select {
        padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px;
        font-size: 15px; background: #fff; min-width: 140px;
    }
    .booking-quick-row input:focus, .booking-quick-row select:focus {
        outline: none; border-color: var(--z-primary); box-shadow: 0 0 0 2px rgba(59,94,24,.15);
    }
    .placement-cta__btn {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 24px; background: var(--z-primary);
        color: #fff !important; border-radius: 10px; text-decoration: none; border: none; cursor: pointer;
        font-weight: 600; font-size: 16px; white-space: nowrap;
    }
    .placement-cta__btn:hover { background: var(--z-primary-dark); }
    .placement-cta__btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
    .placement-cta__btn.secondary { background: #f59e0b; }
    .placement-cta__btn.secondary:hover { background: #d97706; }
    .prices-calendar { margin-bottom: 32px; }
    .prices-calendar__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
    .prices-calendar__head h3 { margin: 0; font-size: 1.1rem; }
    .prices-calendar__toggle {
        display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; font-weight: 500;
        color: var(--z-primary); background: var(--z-primary-light); border: none; border-radius: 8px; cursor: pointer; transition: background .15s;
    }
    .prices-calendar__toggle:hover { background: rgba(59,94,24,.12); }
    .prices-calendar__body.is-collapsed { display: none; }
    .prices-calendar h3 { margin: 0 0 16px; font-size: 1.1rem; }
    .prices-calendar-scroll {
        display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
        -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    }
    .price-card {
        flex: 0 0 160px; padding: 16px; border-radius: 12px; border: 1px solid #e5e7eb;
        background: #fff; min-height: 90px;
    }
    .price-card__dates { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
    .price-card__dow { font-size: 12px; color: #6b7280; margin-bottom: 8px; }
    .price-card__price { font-size: 1rem; font-weight: 700; color: var(--z-primary); }
    .placement-gallery-hero { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 16px 0 20px; border-radius: 16px; overflow: hidden; background: #f3f4f6; max-width: 100%; }
    @media (min-width: 900px) {
        .placement-gallery-hero { grid-template-columns: 2fr minmax(0, 1fr); grid-template-rows: 1fr; min-height: 320px; }
        .placement-gallery-hero__main { min-height: 320px; }
        .placement-gallery-hero__aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; min-height: 320px; width: 100%; min-width: 0; }
    }
    .placement-gallery-hero__main { aspect-ratio: 4/3; }
    .placement-gallery-hero__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .placement-gallery-hero__aside .gallery-cell { background: #e5e7eb; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
    @media (min-width: 900px) {
        .placement-gallery-hero__aside .gallery-cell { aspect-ratio: auto; width: 100%; height: 100%; min-height: 0; }
    }
    .placement-gallery-hero__aside .gallery-cell img { width: 100%; height: 100%; object-fit: cover; }
    .placement-gallery-hero__aside .gallery-cell a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; color: #6b7280; font-size: 14px; text-decoration: none; }
    .gallery-cell--all-photos { position: relative; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; cursor: pointer; }
    .gallery-cell--all-photos__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
    .gallery-cell--all-photos__text { position: relative; z-index: 1; font-size: 1.25rem; font-weight: 600; }
    .placement-gallery {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px;
        margin-bottom: 24px; border-radius: 12px; overflow: hidden;
    }
    .placement-gallery__img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
    .placement-gallery__item { cursor: pointer; border: none; padding: 0; margin: 0; background: none; display: block; width: 100%; }
    .placement-gallery-hero__aside .gallery-cell.gallery-thumb { cursor: pointer; }
    .placement-gallery-hero__aside .gallery-cell.gallery-thumb.active { outline: 3px solid var(--z-primary); outline-offset: -3px; }
    .placement-gallery-hero__main { cursor: pointer; position: relative; touch-action: pan-y; }
    .placement-gallery-counter {
        position: absolute;
        right: 12px;
        bottom: 12px;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.7);
        color: #f9fafb;
        font-size: 12px;
        font-weight: 500;
        backdrop-filter: blur(4px);
    }
    .placement-gallery-dots {
        display: none;
        justify-content: center;
        gap: 8px;
        margin: 6px 0 18px;
    }
    .placement-gallery-dots__dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.7);
        transition: all .2s;
    }
    .placement-gallery-dots__dot--active {
        width: 18px;
        background: var(--z-primary);
    }
    @media (max-width: 899px) {
        .placement-gallery-hero__aside {
            display: none;
        }
        .placement-gallery-dots {
            display: flex;
        }
    }
    .placement-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
    .placement-lightbox.is-open { opacity: 1; visibility: visible; }
    .placement-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .placement-lightbox__prev, .placement-lightbox__next, .placement-lightbox__close { position: absolute; background: rgba(255,255,255,.15); border: none; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
    .placement-lightbox__prev:hover, .placement-lightbox__next:hover, .placement-lightbox__close:hover { background: rgba(255,255,255,.3); }
    .placement-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
    .placement-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
    .placement-lightbox__close { right: 16px; top: 16px; }
    .placement-info { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
    .placement-info__item { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #555; }
    .placement-info__item .material-symbols-outlined { font-size: 20px; color: var(--z-primary); }
    .placement-type-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; background: var(--z-primary-light); color: var(--z-primary); margin-right: 8px; }
    .placement-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: #374151; }
    .placement-rating .material-symbols-outlined { font-size: 20px; color: #f59e0b; }
    .placement-conditions { margin-bottom: 24px; padding: 20px 24px; background: #f8fafc; border-radius: 16px; border: 1px solid #e2e8f0; }
    .placement-conditions h3 { margin: 0 0 16px; font-size: 1.1rem; }
    .placement-conditions__list { margin: 0; padding-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; }
    .placement-conditions__list li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #475569; }
    .placement-conditions__list li .material-symbols-outlined { font-size: 20px; color: var(--z-primary); flex-shrink: 0; }
    .placement-owner-card {
        margin-bottom: 24px; padding: 24px; background: #fff; border-radius: 16px; border: 1px solid #e2e8f0;
        box-shadow: 0 2px 12px rgba(0,0,0,.04);
    }
    .placement-owner-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
    .placement-owner-card__avatar {
        width: 52px; height: 52px; border-radius: 50%; background: var(--z-primary-light);
        color: var(--z-primary); font-size: 1.25rem; font-weight: 700;
        display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .placement-owner-card__avatar .material-symbols-outlined { font-size: 28px; }
    .placement-owner-card__title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: #6b7280; margin: 0 0 4px; }
    .placement-owner-card__name { font-size: 1.15rem; font-weight: 600; color: #1f2937; margin: 0; line-height: 1.3; }
    .placement-owner-card__badge {
        display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 20px;
        font-size: 12px; font-weight: 500; background: #f1f5f9; color: #475569;
    }
    .placement-owner-card__meta { font-size: 13px; color: #64748b; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
    .placement-owner-card__meta .material-symbols-outlined { font-size: 18px; color: #94a3b8; }
    .placement-owner-card__actions { display: flex; flex-direction: column; gap: 10px; }
    .placement-owner-card__cta {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        padding: 12px 18px; background: var(--z-primary); color: #fff !important;
        border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background .2s;
    }
    .placement-owner-card__cta:hover { background: var(--z-primary-dark); }
    .placement-owner-card__cta.secondary {
        background: #f1f5f9; color: #475569 !important; border: 1px solid #e2e8f0;
    }
    .placement-owner-card__cta.secondary:hover { background: #e2e8f0; }
    .placement-owner-card__contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
    .placement-owner-card__contact-link {
        display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px;
        font-size: 13px; font-weight: 500; text-decoration: none; color: #475569; background: #f1f5f9;
        border: 1px solid #e2e8f0; transition: background .15s, border-color .15s;
    }
    .placement-owner-card__contact-link:hover { background: #e2e8f0; border-color: #cbd5e1; color: #1e293b; }
    .placement-owner-card__contact-link .material-symbols-outlined { font-size: 18px; }
    .placement-owner-card__cta .material-symbols-outlined { font-size: 20px; }
    .placement-body { max-width: 720px; line-height: 1.6; margin-bottom: 24px; }
    .placement-prices-by-month { margin-bottom: 24px; }
    .placement-prices-by-month__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
    .placement-prices-by-month__head h3 { margin: 0; font-size: 1.1rem; }
    .placement-prices-by-month__title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    .placement-prices-by-month__year-nav { display: flex; gap: 4px; }
    .placement-prices-by-month__year-link {
        padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none;
        color: #64748b; background: #f1f5f9; transition: background .15s, color .15s;
    }
    .placement-prices-by-month__year-link:hover { color: #334155; background: #e2e8f0; }
    .placement-prices-by-month__year-link.is-active { color: #fff; background: var(--z-primary); }
    .placement-prices-by-month__head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    .placement-prices-by-month__min-price { margin: 0; font-size: 14px; font-weight: 600; color: var(--z-primary); }
    .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
    .placement-prices-by-month__toggle {
        display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; font-weight: 500;
        color: var(--z-primary); background: var(--z-primary-light); border: 1px solid transparent;
        border-radius: 8px; cursor: pointer; transition: background .15s;
    }
    .placement-prices-by-month__toggle:hover { background: rgba(59,94,24,.12); }
    .placement-prices-by-month__body { overflow: hidden; }
    .placement-prices-by-month__body.is-collapsed { display: none; }
    .placement-prices-table-wrap {
        overflow-x: auto; margin-top: 8px; border-radius: 12px; border: 1px solid #e2e8f0;
        background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .placement-prices-table { width: 100%; border-collapse: collapse; font-size: 15px; }
    .placement-prices-table th, .placement-prices-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; }
    .placement-prices-table th {
        font-weight: 600; color: #475569; background: #f8fafc; text-align: left;
        font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
    }
    .placement-prices-table th:last-child { text-align: right; }
    .placement-prices-table tbody tr { transition: background .12s; }
    .placement-prices-table tbody tr:nth-child(even) { background: #fafbfc; }
    .placement-prices-table tbody tr:hover { background: #f1f5f9; }
    .placement-prices-table tbody tr:last-child td { border-bottom: none; }
    .placement-prices-table td { color: #334155; }
    .placement-prices-table td:last-child {
        text-align: right; font-weight: 600; color: var(--z-primary);
        font-variant-numeric: tabular-nums;
    }
    .placement-prices-table .placement-prices-table__price-empty { color: #94a3b8; font-weight: 500; }
    .placement-prices-table tbody tr.placement-prices-table__row-current { background: var(--z-primary-light); }
    .placement-prices-table tbody tr.placement-prices-table__row-current:hover { background: rgba(59,94,24,.14); }
    .placement-map-link {
        display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 18px;
        background: var(--z-primary-light); color: var(--z-primary);
        border-radius: 8px; text-decoration: none; font-weight: 500;
    }
    .placement-map-link:hover { background: var(--z-primary); color: #fff; }
    .placement-map-inline {
        margin-top: 16px;
        border-radius: 12px;
        overflow: hidden;
        height: 220px;
        max-height: 220px;
    }
    .placement-map-inline__frame {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }
    .placement-map-modal {
        position: fixed;
        inset: 0;
        z-index: 10001;
        background: rgba(0,0,0,.75);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s, visibility .2s;
    }
    .placement-map-modal.is-open { opacity: 1; visibility: visible; }
    .placement-map-modal__content {
        position: relative;
        width: min(900px, 100%);
        height: min(70vh, 600px);
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
    }
    .placement-map-modal__canvas {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }
    .placement-map-modal__close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: rgba(0,0,0,.55);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .placement-rooms { margin: 32px 0; }
    .placement-rooms h3 { margin: 0 0 20px; font-size: 1.25rem; }
    .room-card-ota {
        display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px;
        padding: 24px; border-radius: 16px; border: 1px solid #e5e7eb; background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,.08);
    }
    @media (max-width: 768px) { .room-card-ota { grid-template-columns: 1fr; padding: 16px; gap: 16px; } }
    .room-card-ota__gallery { position: relative; border-radius: 12px; overflow: hidden; }
    .room-card-ota__gallery-wrap { position: relative; }
    .room-card-ota__main-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
    .room-card-ota__thumbnails { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
    .room-card-ota__thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
    .room-card-ota__thumb:hover, .room-card-ota__thumb.active { border-color: var(--z-primary); }
    .room-card-ota__info h4 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.3; }
    .room-card-ota__features { margin: 10px 0 0; font-size: 13px; color: #4b5563; }
    .room-card-ota__features-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #9ca3af; margin-bottom: 6px; }
    .room-card-ota__features-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
    .room-card-ota__feature-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border-radius: 999px;
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        font-size: 12px;
        color: #4b5563;
        white-space: nowrap;
    }
    .room-card-ota__feature-icon {
        font-size: 16px;
        color: var(--z-primary);
    }
    .room-card-ota__more { font-size: 14px; margin: 16px 0; }
    .room-card-ota__more a { color: var(--z-primary); text-decoration: underline; }
    .room-card-ota .placement-cta__btn.secondary { margin-top: 8px; }
    .room-card-ota__actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
    .room-card-ota__actions-left { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; min-width: 0; }
    .room-card-ota__price-wrap { font-weight: 600; font-size: 1.1rem; color: var(--z-primary); text-decoration: none; display: inline-block; cursor: default; }
    .room-card-ota__price-wrap.room-card-ota__price-wrap--clickable { cursor: pointer; }
    .room-card-ota__price-wrap.room-card-ota__price-wrap--clickable:hover { text-decoration: underline; }
    .room-card-ota__price-wrap .room-card-ota__price { display: block; }
    .room-card-ota__nights { display: block; font-size: 0.9rem; font-weight: 500; color: #6b7280; margin-top: 2px; }
    .room-card-ota__price-wrap.room-card-ota__price-wrap--unavailable .room-card-ota__msg { color: #b91c1c; }
    .room-card-ota__msg { display: block; font-size: 0.85rem; font-weight: 400; color: #6b7280; margin-top: 4px; }
    .room-card-ota__actions .btn-book-room { flex-shrink: 0; margin-left: auto; }
    .room-detail-modal .modal-content { max-width: 640px; }
    .room-detail-modal .modal-room-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
    .room-detail-modal .modal-room-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 8px; }
    .room-detail-modal .modal-room-features { margin-bottom: 16px; }
    .room-detail-modal .modal-room-features h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; margin: 0 0 8px; }
    .room-detail-modal .modal-room-features ul { margin: 0; padding-left: 20px; color: #374151; }
    .room-detail-modal .modal-room-desc { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb; font-size: 15px; line-height: 1.6; color: #374151; white-space: pre-wrap; }
    .room-detail-modal .modal-room-desc h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; margin: 0 0 8px; }
    .room-card-ota__no-match { display: none; font-size: 0.9rem; color: #b91c1c; margin-top: 6px; }
    .room-card-ota__no-match.is-visible { display: block; }
    .booking-section { margin-bottom: 20px; }
    .booking-section-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; margin-bottom: 10px; }
    .booking-form-group-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
    .form-group { flex: 1 1 140px; display: flex; align-items: center; background: #f0f0f0; border-radius: 4px; padding: 0 10px; cursor: pointer; }
    .form-group .material-symbols-outlined { color: #666; margin-right: 5px; font-size: 20px; }
    .form-group input[readonly] { width: 100%; padding: 10px 0; border: none; background: transparent; outline: none; font-size: 15px; cursor: pointer; }
    .booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .booking-row-full { margin-top: 12px; }
    .fullscreen-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
    .fullscreen-modal.active { display: flex; }
    .modal-content { background: #fff; width: 100%; max-width: 700px; max-height: 90vh; overflow-y: auto; border-radius: 12px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
    .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .modal-header h3 { margin: 0; font-size: 1.25rem; }
    .modal-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #666; }
    .modal-footer { margin-top: 20px; display: flex; justify-content: flex-end; }
    .calendar-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin: 20px 0;
    }
    .calendar-month {
        flex: 1 1 260px;
        background: #fff;
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 8px 24px rgba(15,23,42,0.12);
    }
    .calendar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .calendar-header button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: var(--z-primary);
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    .calendar-header button:hover {
        background: var(--z-primary-light);
    }
    .calendar-header .month-year {
        font-weight: 600;
        font-size: 16px;
    }
    .weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        text-align: center;
        font-size: 12px;
        color: #666;
        margin-bottom: 5px;
    }
    .days-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }
    .day-cell {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        cursor: pointer;
        border-radius: 8px;
        transition: background 0.15s, transform 0.1s;
    }
    .day-cell:hover {
        background: var(--z-primary-light);
        transform: translateY(-1px);
    }
    .day-cell.empty {
        cursor: default;
        background: none;
    }
    .day-cell.selected {
        background: var(--z-primary) !important;
        color: #fff;
        font-weight: 600;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.8), 0 0 0 3px rgba(37,99,235,0.55);
    }
    .day-cell.in-range {
        background: rgba(37,99,235,0.16);
    }
    .day-cell.disabled {
        color: #ccc;
        cursor: not-allowed;
        pointer-events: none;
    }
    .day-cell.today {
        border: 1px solid var(--z-primary);
    }
    .quick-date-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
    .quick-date-btn { background: #f0f0f0; border: none; padding: 8px 12px; border-radius: 20px; font-size: 14px; cursor: pointer; }
    .quick-date-btn:hover { background: var(--z-primary); color: white; }
    .quick-date-btn.weekend { background: var(--z-primary-light); color: var(--z-primary); font-weight: 500; }
    .quick-date-btn.weekend:hover { background: var(--z-primary); color: white; }
    .nights-summary { text-align: center; font-size: 16px; font-weight: 600; color: var(--z-primary); background: var(--z-primary-light); padding: 10px; border-radius: 6px; margin: 15px 0; }
    .guest-row { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; }
    .guest-counter { display: flex; align-items: center; gap: 10px; }
    .guest-counter button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--z-primary); background: #fff; color: var(--z-primary); font-size: 20px; cursor: pointer; }
    .guest-counter button:disabled { opacity: 0.3; cursor: not-allowed; border-color: #ccc; color: #ccc; }
    .guest-counter span { min-width: 30px; text-align: center; font-weight: 600; }
    .guests-panel .hint { font-size: 12px; color: #666; margin-top: -5px; }
    .divider { height: 1px; background: #e5e7eb; margin: 16px 0; }
    .pets-icon { margin-right: 4px; }
    .children-list { margin: 10px 0; }
    .child-item { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
    .child-item select { width: auto; padding: 6px 10px; }
    .child-item button { background: none; border: none; color: #9ca3af; cursor: pointer; font-size: 18px; padding: 0 4px; }
    .extra-services-block { margin: 16px 0; }
    .extra-services-block .extra-svc-item { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
    .extra-services-block .extra-svc-item input { width: 18px; height: 18px; }
    .extra-services-block .extra-svc-price { margin-left: auto; font-weight: 600; color: var(--z-primary); }
    .booking-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #374151; }
    .booking-form input, .booking-form select {
        width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px;
        font-size: 15px; background: #fff;
    }
    .booking-form input:focus, .booking-form select:focus { outline: none; border-color: var(--z-primary); box-shadow: 0 0 0 2px rgba(59,94,24,.15); }
    .booking-price-block { padding: 16px 0; margin: 16px 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
    .booking-price { font-size: 1.5rem; font-weight: 700; color: var(--z-primary); }
    .booking-msg { font-size: 14px; color: #6b7280; margin-top: 6px; }
    .booking-submit { width: 100%; padding: 14px; margin-top: 8px; font-size: 16px; font-weight: 600; }
    .alert { padding: 12px; border-radius: 8px; margin-bottom: 16px; }
    .alert-success { background: #d1fae5; color: #065f46; }
    .alert-error { background: #fee2e2; color: #991b1b; }
    .group-booking-card {
        margin-bottom: 24px;
        padding: 20px;
        background: #fff;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
    }
    .group-booking-card h3 {
        margin: 0 0 8px;
        font-size: 1.15rem;
    }
    .group-booking-card p {
        margin: 0 0 12px;
        font-size: 14px;
        color: #4b5563;
    }
    .group-booking-grid {
        display: grid;
        gap: 12px;
    }
    .group-booking-grid.group-cols-2 {
        grid-template-columns: 1fr;
    }
    .group-booking-grid.group-cols-3 {
        grid-template-columns: 1fr;
    }
    @media (min-width: 640px) {
        .group-booking-grid.group-cols-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .group-booking-grid.group-cols-3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }
    .group-booking-card label {
        display: block;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: #6b7280;
        margin-bottom: 4px;
    }
    .group-booking-card input,
    .group-booking-card textarea {
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid #d1d5db;
        font-size: 14px;
        box-sizing: border-box;
    }
    .group-booking-card textarea {
        min-height: 80px;
        resize: vertical;
    }
    .group-booking-card input:focus,
    .group-booking-card textarea:focus {
        outline: none;
        border-color: var(--z-primary);
        box-shadow: 0 0 0 2px rgba(59,130,246,.15);
    }
    .group-booking-messages {
        font-size: 13px;
        margin-top: 4px;
    }
    .group-booking-success {
        display: none;
        background: #ecfdf3;
        border-radius: 8px;
        padding: 8px 10px;
        color: #166534;
        border: 1px solid #bbf7d0;
    }
    .group-booking-error {
        display: none;
        background: #fef2f2;
        border-radius: 8px;
        padding: 8px 10px;
        color: #b91c1c;
        border: 1px solid #fecaca;
    }
    @media (max-width: 900px) {
        .placement-booking-widget { margin-bottom: 0; }
        .price-card { flex: 0 0 140px; }
        .room-card-ota__thumb { width: 56px; height: 42px; }
    }

    /* Стилизованный тултип на странице объекта */
    .placement-page-tooltip {
        position: fixed;
        z-index: 10002;
        max-width: 280px;
        padding: 10px 14px;
        font-size: 13px;
        line-height: 1.4;
        color: #1f2937;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.06);
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
        transform: translateY(4px);
    }
    .placement-page-tooltip.visible {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    [data-tooltip] {
        cursor: help;
    }

/* ===== COOKIE CONSENT (layout) ===== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--z-primary-dark) 0%, #0f172a 100%);
    color: rgba(255,255,255,0.95);
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-xl);
    z-index: 1000;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-consent.is-hidden {
    display: none !important;
}
.cookie-consent__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.cookie-consent__message {
    flex: 1;
    margin: 0;
    font-weight: 400;
}
.cookie-consent__toggle {
    background: var(--z-accent);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: var(--z-text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.1);
}
.cookie-consent__toggle:hover {
    background: var(--z-primary-dark);
}
.cookie-consent__toggle:active {
    transform: scale(0.96);
}
.cookie-consent__close {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
}
.cookie-consent__close:hover {
    color: white;
}
.cookie-consent__details {
    display: none;
    padding: 10px 18px 18px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: #ddd;
}
.cookie-consent__details.is-open {
    display: block;
}
.cookie-consent__details a {
    color: var(--z-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent__details a:hover {
    color: var(--z-primary-light);
}

/* ===== CHAT WIDGET (layout) ===== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.chat-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--z-primary);
    border: none;
    box-shadow: var(--z-shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.2s, transform 0.2s;
}
.chat-button:hover {
    background-color: var(--z-primary-dark);
}
.chat-button:active {
    transform: scale(0.95);
}
.chat-button .material-symbols-outlined {
    font-size: 28px;
}
.chat-panel {
    background: var(--z-surface);
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-lg);
    margin-bottom: 12px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-width: 220px;
    border: 1px solid var(--z-border);
}
.chat-panel.active {
    display: flex;
}
.chat-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: var(--z-text-base);
    cursor: pointer;
    transition: background var(--z-duration-fast);
    text-decoration: none;
    color: var(--z-text);
    border-bottom: 1px solid var(--z-border);
    box-sizing: border-box;
}
.chat-panel a:last-child {
    border-bottom: none;
}
.chat-panel a:hover {
    background: var(--z-bg);
}
.chat-panel .material-symbols-outlined {
    font-size: 22px;
    color: var(--z-primary);
}

/* ===== CUSTOM TOOLTIP (layout) ===== */
.custom-tooltip {
    position: fixed;
    background: #1e2b37;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10000;
    pointer-events: none;
    max-width: 300px;
    white-space: normal;
    word-break: break-word;
    transition: opacity 0.15s;
    opacity: 0;
}
.custom-tooltip.visible {
    opacity: 1;
}

/* Яндекс.Метрика информер */
.ym-advanced-informer {
    width: 88px;
    height: 31px;
    border: 0;
}

@media (max-width: 600px) {
    .cookie-consent {
        left: max(var(--z-mobile-gutter-tight), var(--z-safe-left));
        right: max(var(--z-mobile-gutter-tight), var(--z-safe-right));
        bottom: calc(var(--z-bottom-nav-height) + var(--z-safe-bottom) + 8px);
        max-width: 100%;
    }
    .cookie-consent__summary {
        flex-wrap: wrap;
        gap: 8px;
    }
    .cookie-consent__message {
        flex-basis: 100%;
        margin-bottom: 4px;
    }
    .cookie-consent__toggle,
    .cookie-consent__close {
        min-width: var(--z-touch);
        min-height: var(--z-touch);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .chat-widget {
        bottom: calc(var(--z-bottom-nav-height) + var(--z-safe-bottom) + 8px);
        right: max(var(--z-mobile-gutter-tight), var(--z-safe-right));
    }
    .chat-button {
        width: var(--z-touch-lg);
        height: var(--z-touch-lg);
    }
    .chat-button .material-symbols-outlined {
        font-size: 24px;
    }
    .chat-panel {
        min-width: 200px;
    }
    .chat-panel a {
        min-height: var(--z-touch);
        padding: 14px 20px;
    }
    .custom-tooltip {
        max-width: min(260px, calc(100vw - 32px));
        font-size: 13px;
        padding: 10px 14px;
    }
}