:root {
    --bg: #F7F5F2;
    --white: #FFFFFF;
    --accent: #556B2F;
    --accent-light: rgba(85,107,47,0.08);
    --accent-hover: #4B5D28;
    --text: #1A1A1A;
    --muted: #6B7280;
    --border: #E5E1DC;
    --success: #059669;
    --danger: #DC2626;
    --wood: #DEB887;
    --radius: 16px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ── АВТОМАТИЧНА КІНЕМАТОГРАФІЧНА МАСКА ── */
.intro-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 9990; /* Поверх всього, але під прелоадером */
    pointer-events: none; /* Щоб не блокувати кліки після зуму */
    transition: opacity 0.5s ease;
}

/* Текст BOSO на задньому фоні (після зуму) */
.bg-boso-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif; 
    font-size: 25vw;
    /* 🟢 МАГІЯ ТУТ: rgba замість чистого #fff. 0.35 — це 35% видимості */
    color: rgba(255, 255, 255, 0.55); 
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0; 
    transition: opacity 2s ease; 
    z-index: 2;
    /* Пом'якшили тінь, щоб текст не здавався брудним */
    text-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.zoom-svg {
    width: 100%; height: 100%;
    /* Новий ідеальний приціл під жорсткі координати літер */
    transform-origin: 47.5% 50%; 
    will-change: transform;
}

/* Нормальний Hero-екран під маскою */
.clean-hero {
    position: relative;
    width: 100%; height: 100vh;
    background: #0C110C;
    overflow: hidden;
}
.hero-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.9); /* Трохи затемнюємо фото для преміальності */
}

/* ── ПОЧАТКОВІ ПОЗИЦІЇ ЛІТЕР ── */
#fl-B, #fl-O1, #fl-S, #fl-O2 { opacity: 0; }

#fl-B { transform: translateX(-20vw); }  
#fl-O1 { transform: translateY(-30vh); } 
#fl-S { transform: translateY(30vh); }   
#fl-O2 { transform: translateX(20vw); }  

/* ── АНІМАЦІЯ ЗЛІТАННЯ (Збільшили до 1.5 сек для плавності) ── */
.intro-overlay.start-fly #fl-B { animation: flyX 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.intro-overlay.start-fly #fl-O1 { animation: flyY 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.intro-overlay.start-fly #fl-S { animation: flyY 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.intro-overlay.start-fly #fl-O2 { animation: flyX 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes flyX { to { transform: translateX(0); opacity: 1; } }
@keyframes flyY { to { transform: translateY(0); opacity: 1; } }

/* ── АНІМАЦІЯ ЗУМУ (Більш динамічна) ── */
.intro-overlay.start-zoom .zoom-svg {
    transform: scale(200); 
    /* Тривалість 1.8с замість 2.5с для ідеального злиття зі скролом */
    transition: transform 1.8s cubic-bezier(0.7, 0, 0.2, 1);
}

/* Перехід до котеджів */
#cabinsContainer {
    position: relative; z-index: 2; background: var(--bg); padding-top: 80px; 
}

@media (max-width: 768px) {
    .intro-overlay g { font-size: 32vw; }
}

/* ── LAYOUT ── */
.page-wrap {
    max-width: 580px; margin: 0 auto;
    padding: 0 20px 80px;
}

/* ── SCREEN SWITCHING ── */
.screen { display: none; }
.screen.active { display: block; }

/* ── КОНТЕЙНЕР КАРТОК (Full Width як банер) ── */
#cabinsContainer {
    max-width: 1400px; /* РОЗШИРИЛИ ДО РОЗМІРУ БАНЕРА */
    width: calc(100% - 40px);
    margin: 0 auto 100px;
    display: flex;
    flex-direction: column; 
    gap: 80px; /* Збільшили відступ між картками для повітря */
}

/* ── ПРЕМІУМ КАРТКА (Анімація та Шаховий порядок) ── */
.cabin-card {
    display: flex;
    flex-direction: row; 
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(18, 26, 18, 0.05);
    
    /* Фіксована панорамна висота — як у BOSO */
    height: 480px;
    flex-shrink: 0;
    
    opacity: 0;
    transform: translateX(-120px);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease, box-shadow 0.4s;
}

.cabin-card:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(120px);
}

.cabin-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.cabin-card.is-visible:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(18, 26, 18, 0.12);
}

/* Слайдер */
.slider-wrap { 
    position: relative; 
    width: 55%; 
    height: 100%;
    flex-shrink: 0;
    overflow: hidden; 
    background: #E5E1DC; 
    cursor: pointer; 
}
.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
/* object-fit задається inline у CabinSlideImage; тут лише fallback для legacy */
.slide img:not(.cabin-slide-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15); transition: 0.3s; z-index: 5;
}
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.slider-btn svg { width: 20px; height: 20px; stroke: #1A1A1A; fill: none; stroke-width: 2; }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 5;
    max-width: calc(100% - 40px);
    padding: 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.slider-dots::-webkit-scrollbar { display: none; }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: 0.3s; cursor: pointer; flex-shrink: 0; }
.sdot.active { background: #fff; width: 24px; border-radius: 4px; }

.cabin-badge {
    position: absolute; top: 24px; left: 24px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: #3A4F35;
    padding: 8px 16px; border-radius: 12px; text-transform: uppercase; letter-spacing: 1.5px;
    z-index: 5; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── ІНФОРМАЦІЯ ТА НОВІ ФІЧІ (як BOSO) ── */
.cabin-body { 
    width: 45%; 
    height: 100%;
    padding: 36px 48px;
    display: flex; 
    flex-direction: column; 
    text-align: left;
    box-sizing: border-box;
}
.cabin-name {
    font-family: 'Inter', sans-serif; 
    font-size: 32px; font-weight: 700; color: var(--text); 
    margin-bottom: 8px; line-height: 1.2; letter-spacing: -0.5px;
    flex-shrink: 0;
}
.cabin-subtitle {
    font-family: 'Inter', sans-serif; font-size: 14px; color: var(--muted);
    margin-bottom: 20px; font-weight: 400; line-height: 1.5;
    flex-shrink: 0;
}

/* СПИСОК ПРЕМІУМ-ФІЧ */
.premium-features {
    display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
    flex-shrink: 0;
}
.feature-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text); line-height: 1.4; font-weight: 500;
}
.feature-item span {
    display: block;
}
.feature-item svg {
    width: 20px; height: 20px; stroke: #3A4F35; fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: -2px;
}
.feature-item .public-highlight-icon,
.feature-item .public-amenity-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabin-meta {
    display: flex;
    gap: 10px;
    margin-bottom: auto;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}
.cabin-meta-item { 
    background: #F7F5F2; border: 1px solid #E5E1DC; border-radius: 12px; 
    padding: 8px 14px; display: inline-flex; align-items: center; gap: 8px; 
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #4B5563;
    white-space: nowrap;
    line-height: 1.2;
    box-sizing: border-box;
}
.cabin-meta-item svg { width: 16px; height: 16px; stroke: #3A4F35; fill: none; stroke-width: 2; }
.cabin-next-free { color: #3A4F35; font-weight: 700; }

.cabin-footer-block {
    background: #F8FAF7; border: 1px solid rgba(85, 107, 47, 0.15); border-radius: 20px;
    padding: 16px 24px; display: flex; align-items: center; justify-content: space-between;
    margin-top: 16px;
    flex-shrink: 0;
}
.price-info { display: flex; flex-direction: column; }
.price-label { font-family: 'Inter', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #6B7280; margin-bottom: 4px; }
.price-val { font-family: 'Inter', sans-serif; font-size: 15px; color: #4B5563; font-weight: 500; }
.price-val strong { font-family: 'Inter', sans-serif; font-size: 24px; color: #1A1A1A; font-weight: 700; }

.btn-book {
    background: var(--accent); color: #fff; border: none; border-radius: 14px;
    padding: 14px 28px; font-size: 14px; font-weight: 700; font-family: 'Inter', sans-serif;
    text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: 0.3s;
    box-shadow: 0 8px 24px rgba(85, 107, 47, 0.25);
}
.btn-book:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(85, 107, 47, 0.35); }

/* Адаптація для мобілок */
@media (max-width: 960px) {
    .cabin-card, .cabin-card:nth-child(even) { flex-direction: column; height: auto; }
    .slider-wrap, .cabin-body { width: 100%; }
    .slider-wrap { height: 320px; }
    .cabin-body { padding: 32px 24px; }
    .cabin-footer-block { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
    .btn-book { width: 100%; text-align: center; }
}

/* ── ПРЕМІУМ ВИЇЗНА ПАНЕЛЬ (SIDE DRAWER) ── */
.drawer-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(18, 26, 18, 0.5);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.detail-drawer {
    position: absolute; top: 0; right: 0; width: 100%; max-width: 640px; height: 100vh;
    background: var(--bg); box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.drawer-overlay.open .detail-drawer { transform: translateX(0); }

.drawer-close-btn {
    position: absolute; top: 24px; right: 24px; z-index: 10;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); border: none; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: 0.2s;
}
.drawer-close-btn:hover { background: #fff; transform: scale(1.05); }
.drawer-close-btn svg { width: 20px; height: 20px; stroke: #1A1A1A; fill: none; stroke-width: 2; }

.drawer-content { flex: 1; overflow-y: auto; padding: 40px 48px 120px; }

/* ── НОВІ ШРИФТИ ТА ЕЛЕМЕНТИ ПАНЕЛІ ── */
.detail-slider-wrap { height: 380px; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; position: relative; }
.detail-title { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 700; margin-bottom: 12px; color: var(--text); letter-spacing: -0.5px; }
.detail-meta { display: flex; gap: 24px; margin-bottom: 32px; }
.detail-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.detail-meta-item svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* Правильний преміум-заголовок рубрик */
.section-title {
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; color: #8A8D86;
}

/* Картки Зручностей (Без смайликів) */
.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.amenity-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); font-weight: 500; }
.amenity-item svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.amenity-item .public-amenity-icon { color: var(--accent); }

       /* Картки Знижок (Стиль ідентичний до Правил) */
.discounts-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 16px; /* Такий самий відступ, як у правилах */
    margin-bottom: 32px; 
}

.discount-card {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    background: #fff; 
    border: 1px solid var(--border); 
    border-radius: 16px; /* Як у правилах */
    padding: 16px; /* Як у правилах */
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); /* Легка статична тінь, як у правилах */
}

/* Ніяких ховерів та анімацій, картка повністю статична */

.discount-card .cond { 
    display: flex;
    align-items: center;
    gap: 12px; /* Відступ до тексту як у правилах */
    font-size: 14px; 
    color: var(--text); 
    font-weight: 500; 
}

.discount-card .cond svg {
    width: 24px; /* Розмір іконки як у правилах */
    height: 24px; 
    stroke: var(--accent); /* Використовуємо твій фірмовий колір */
    fill: none;
    stroke-width: 1.5; /* Тонші, елегантніші лінії */
    flex-shrink: 0;
}

.discount-card .pct { 
    background: var(--accent-light); 
    color: var(--accent); 
    padding: 6px 12px; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 13px; 
}

@media (max-width: 768px) {
    .discounts-grid { grid-template-columns: 1fr; }
}
/* Картки Правил */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.rule-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; 
    display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    height: 100%;
}
.rule-card svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.rule-card div { display: flex; flex-direction: column; font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.4; }
.rule-card div span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; margin-bottom: 4px; }
.rule-card__text {
    flex: 1; min-width: 0; font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.4;
}
.rule-card--discount { justify-content: space-between; gap: 12px; }
.rule-card__badge {
    flex-shrink: 0; align-self: center;
    background: var(--accent-light); color: var(--accent);
    padding: 5px 11px; border-radius: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1;
}
.rule-card--discount .public-discount-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.drawer-room-header { margin-bottom: 28px; }
.drawer-room-header .detail-title { margin-bottom: 0; }
.drawer-room-header__desc {
    margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: #6B7280; font-weight: 400;
}
.drawer-room-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    margin-top: 22px; padding-top: 22px;
    border-top: 1px solid var(--border);
}
.drawer-room-stat {
    display: flex; align-items: center; gap: 14px; min-width: 0;
}
.drawer-room-stat__icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, rgba(85, 107, 47, 0.14) 0%, rgba(85, 107, 47, 0.04) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.drawer-room-stat__icon svg {
    width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.75;
}
.drawer-room-stat__body {
    display: flex; flex-direction: column; gap: 5px; min-width: 0;
    padding-top: 2px;
}
.drawer-room-stat__label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.3px; color: #8A8D86; line-height: 1;
}
.drawer-room-stat__value {
    font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.25;
    letter-spacing: -0.01em;
}
.drawer-room-stat--free .drawer-room-stat__value { color: var(--accent); }
.discounts-grid.rules-grid { margin-bottom: 32px; }
.discounts-grid.rules-grid:has(+ .cards-show-more) { margin-bottom: 12px; }
.cards-categories {
    display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px;
}
.cards-category {
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border);
    border-radius: 18px;
}
.cards-category__title {
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.4px; color: #8A8D86;
    margin: 0 0 18px;
}
.cards-category__grid { margin-bottom: 0; }
.cards-category .discounts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.cards-categories:has(+ .cards-show-more) { margin-bottom: 12px; }
.cards-show-more {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; margin: 0 0 32px; padding: 13px 22px;
    background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
    border: 1px solid rgba(85, 107, 47, 0.14); border-radius: 999px;
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
    cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.cards-show-more:hover {
    background: var(--accent-light); border-color: rgba(85, 107, 47, 0.28);
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.12); transform: translateY(-1px);
}
.cards-show-more__label { line-height: 1; }
.cards-show-more__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 28px; height: 22px; padding: 0 8px; border-radius: 999px;
    background: rgba(85, 107, 47, 0.1); color: var(--accent);
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: none;
}
.cards-show-more__chevron {
    width: 16px; height: 16px; color: var(--accent);
    transition: transform 0.25s ease;
}
.cards-show-more.is-expanded .cards-show-more__chevron { transform: rotate(180deg); }

.divider { height: 1px; background: var(--border); margin: 32px 0; }

.sticky-cta {
    position: sticky; bottom: 0; left: 0; right: 0;
    background: rgba(247,245,242,0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
    padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; z-index: 50;
}
.sticky-price { font-size: 14px; color: var(--muted); }
.sticky-price strong { font-size: 24px; color: var(--text); font-weight: 700; }
/* ── ПРЕМІУМ КАРТА ── */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 280px; /* Фіксована висота, щоб виглядало як банер */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    margin-bottom: 16px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* 🟢 МАГІЯ: Трохи приглушуємо контраст і додаємо теплий відтінок, щоб карта виглядала дорого */
    filter: contrast(0.95) sepia(0.1); 
    transition: filter 0.3s ease;
}

.map-wrapper iframe:hover {
    filter: contrast(1) sepia(0); /* При наведенні повертаємо реальні кольори */
}

.map-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 40px; /* Відступ до нижньої закріпленої кнопки */
}

.map-external-link:hover {
    color: var(--accent-hover);
}

.map-external-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .detail-drawer { max-width: 100%; border-radius: 24px 24px 0 0; top: auto; bottom: 0; height: 90vh; transform: translateY(100%); }
    .drawer-overlay.open .detail-drawer { transform: translateY(0); }
    .drawer-content { padding: 32px 24px; }
    .sticky-cta { padding: 20px 24px; }
    .rules-grid, .amenities-grid { grid-template-columns: 1fr; }
}

       /* ── ЛОГІКА КРОКІВ В ПАНЕЛІ ── */
.drawer-step {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-step.active { display: flex; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* Кнопка "Назад" в панелі */
.back-btn {
    background: #E5E1DC; /* Сірий преміум фон */
    border: none; 
    padding: 12px 18px; 
    border-radius: 12px;
    font-family: 'Inter', sans-serif; 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--text);
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 28px; 
    transition: 0.2s;
}
.back-btn:hover { background: #D1CCC5; transform: translateX(-4px); }
.back-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── ПРЕМІУМ КАЛЕНДАР (ВЕРТИКАЛЬНИЙ) ── */
.calendar-container { 
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); 
    padding: 32px; margin-bottom: 24px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 16px;}

/* МАГІЯ ТУТ: Робимо вертикальний стек для місяців */
.cal-months-wrap { display: flex; flex-direction: column; gap: 40px; }
.cal-month { flex: 1; width: 100%; }

.cal-month-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; text-align: left; margin-bottom: 20px; color: var(--text); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day-header { text-align: center; font-size: 11px; font-weight: 700; color: #8A8D86; padding: 8px 0; text-transform: uppercase; letter-spacing: 1px; }

.cal-day {
    aspect-ratio: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 12px; cursor: pointer; transition: 0.2s;
    font-size: 15px; font-weight: 500; position: relative;
    min-height: 54px; /* Даємо висоту, щоб ціна не налазила на дату! */
}
.cal-day:hover:not(.disabled):not(.past) { background: var(--accent-light); transform: translateY(-2px); }
.cal-day.today { font-weight: 800; color: var(--text); }
.cal-day.today::after { content: ''; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* Виділення дат */
.cal-day.selected-start,
.cal-day.selected-end { background: var(--accent) !important; color: #fff !important; font-weight: 700; box-shadow: 0 4px 12px rgba(85,107,47,0.3); }
.cal-day.in-range { background: var(--accent-light); color: var(--accent); border-radius: 0; }
.cal-day.selected-start { border-radius: 12px 0 0 12px; }
.cal-day.selected-end { border-radius: 0 12px 12px 0; }
.cal-day.selected-start.selected-end { border-radius: 12px; }

/* Ціна під датою */
.cal-day .day-price { font-size: 10px; color: var(--muted); font-weight: 500; margin-top: 2px; letter-spacing: -0.5px;}
.cal-day.selected-start .day-price,
.cal-day.selected-end .day-price { color: rgba(255,255,255,0.9); }
.cal-day.in-range .day-price { color: var(--accent); opacity: 0.8; }

.cal-day.disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.cal-day.past { opacity: 0.2; cursor: not-allowed; }
.cal-day.booked { background: #FFF0F0 !important; color: #DC2626 !important; cursor: not-allowed; }
.cal-day.booked .day-price { color: #DC2626 !important; opacity: 0.85; }
.cal-day.booked.turnover-selectable { cursor: pointer; box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.35); }
.cal-day.booked.turnover-selectable:hover { box-shadow: inset 0 0 0 2px var(--accent); }

@media (max-width: 768px) {
    .calendar-container { padding: 20px; }
    .cal-day { min-height: 44px; font-size: 14px; }
    .cal-day .day-price { font-size: 9px; }
}

/* ── PREMIUM SUCCESS SCREEN ── */
.success-wrap { text-align: center; padding: 60px 20px 40px; max-width: 500px; margin: 0 auto; }
.success-icon-premium {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(85,107,47,0.08); /* Легкий оливковий фон */
    color: var(--accent);
}
.success-icon-premium svg { width: 40px; height: 40px; stroke-width: 1.5; }
.success-icon-premium--pending {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
}
.receipt-premium__badge--pending {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
}
.success-wrap h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; margin-bottom: 12px; color: var(--text); letter-spacing: -0.5px; }
.success-wrap p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 32px; }

/* Дизайн квитанції (преміум) */
.success-receipt {
    background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
    border: 1px solid rgba(85, 107, 47, 0.12);
    border-radius: 24px;
    padding: 0;
    text-align: left;
    margin-bottom: 32px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 50px rgba(18, 26, 18, 0.07);
    overflow: hidden;
}

.receipt-premium {
    padding: 36px 32px 32px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
}

.receipt-premium__head {
    text-align: center;
    margin-bottom: 28px;
}

.receipt-premium__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(85, 107, 47, 0.14);
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 16px;
}

.receipt-premium__room {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.receipt-premium__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.receipt-premium__ornament::before,
.receipt-premium__ornament::after {
    content: "";
    flex: 1;
    max-width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 107, 47, 0.28));
}

.receipt-premium__ornament::after {
    background: linear-gradient(90deg, rgba(85, 107, 47, 0.28), transparent);
}

.receipt-premium__ornament span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.55;
    flex-shrink: 0;
}

.receipt-premium__meta {
    background: rgba(247, 245, 242, 0.9);
    border: 1px solid rgba(229, 225, 220, 0.9);
    border-radius: 16px;
    padding: 18px 20px;
}

.receipt-meta-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 8px 0;
}

.receipt-meta-row + .receipt-meta-row {
    border-top: 1px solid rgba(229, 225, 220, 0.85);
    margin-top: 4px;
    padding-top: 12px;
}

.receipt-meta-row__key {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8A8D86;
}

.receipt-meta-row__val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    text-align: right;
}

.receipt-premium__split {
    height: 1px;
    margin: 28px 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(85, 107, 47, 0.18) 20%,
        rgba(85, 107, 47, 0.18) 80%,
        transparent 100%
    );
}

.receipt-block + .receipt-block {
    margin-top: 24px;
}

.receipt-block__title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #8A8D86;
    margin: 0 0 12px;
    padding-left: 2px;
}

.receipt-block__body {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(18, 26, 18, 0.03);
}

.receipt-block--finance .receipt-block__body {
    background: linear-gradient(180deg, #fafbf8 0%, #fff 100%);
    border-color: rgba(85, 107, 47, 0.18);
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.45;
}

.receipt-item + .receipt-item {
    border-top: 1px solid rgba(229, 225, 220, 0.75);
}

.receipt-item__label {
    color: #4B5563;
    font-weight: 500;
    flex: 1 1 auto;
}

.receipt-item__value {
    font-weight: 600;
    color: var(--text);
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

.receipt-item--discount .receipt-item__label,
.receipt-item--discount .receipt-item__value {
    color: var(--danger);
}

.receipt-item--muted .receipt-item__value {
    color: var(--muted);
    font-weight: 500;
    font-size: 13px;
}

.receipt-item--note .receipt-item__value {
    white-space: normal;
    max-width: 58%;
    text-align: right;
    font-weight: 500;
}

.receipt-item--total {
    background: rgba(85, 107, 47, 0.04);
}

.receipt-item--total .receipt-item__label,
.receipt-item--total .receipt-item__value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.receipt-item--due .receipt-item__value {
    color: var(--accent);
    font-weight: 700;
}

.receipt-premium__footer {
    margin: 28px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(229, 225, 220, 0.9);
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.01em;
}

.cabin-meta--drawer {
    margin-bottom: 28px;
}

/* legacy receipt rows */
.receipt-header { border-bottom: 1px dashed var(--border); padding-bottom: 16px; margin-bottom: 20px; text-align: center;}
.receipt-title { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.receipt-room { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text); }

.receipt-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14px; }
.receipt-row:last-child { margin-bottom: 0; }
.receipt-label { color: var(--muted); }
.receipt-val { font-weight: 600; color: var(--text); text-align: right; }

.receipt-total { border-top: 1px solid #1A1A1A; margin-top: 20px; padding-top: 20px; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; align-items: center;}

.receipt-breakdown {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}
.receipt-row--accent .receipt-val { color: var(--accent); }
.receipt-row--due .receipt-val { color: var(--accent); font-weight: 700; }
.receipt-comment {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    font-size: 14px;
}
.receipt-comment p {
    margin: 8px 0 0;
    color: var(--text);
    line-height: 1.5;
    white-space: pre-wrap;
}

.btn-book--success {
    width: 100%;
    text-align: center;
}

.public-discount-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
    stroke: currentColor;
}

.discount-card .cond .public-discount-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* Кнопка Телеграм бота (legacy) */
.btn-tg {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 18px;
    background: var(--accent); /* Фірмовий оливковий */
    color: #fff;
    border-radius: 14px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    text-decoration: none; transition: 0.3s; margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(85, 107, 47, 0.25);
}
.btn-tg:hover { 
    background: var(--accent-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 12px 32px rgba(85, 107, 47, 0.35); 
}
.btn-tg svg { width: 22px; height: 22px; fill: currentColor; }

.btn-home-link {
    display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); text-decoration: none; transition: 0.2s; cursor: pointer; border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.btn-home-link:hover { color: var(--text); border-color: var(--text); }

/* ── FOOTER ── */
.site-footer { text-align: center; padding: 24px 20px; font-size: 12px; color: #9CA3AF; }

/* ── TOAST ── */
#toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: #111827; color: #fff; padding: 13px 22px; border-radius: 20px;
    font-size: 13px; font-weight: 600; z-index: 9999;
    opacity: 0; transition: 0.3s; pointer-events: none; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── LOADING ── */
.loading-state { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 15px; }
.loader { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Animations */
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Booking step indicator */
.step-bar { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.step { display: flex; align-items: center; gap: 8px; flex: 1; }
.step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--muted); transition: 0.3s; }
.step-label { font-size: 12px; font-weight: 500; color: var(--muted); transition: 0.3s; }
.step.active .step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.active .step-label { color: var(--accent); font-weight: 600; }
.step.done .step-num { background: var(--success); border-color: var(--success); color: #fff; }
.step.done .step-label { color: var(--success); }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; transition: 0.3s; }
.step-line.done { background: var(--success); }

/* Dates display */
.dates-display {
    background: var(--accent-light); border: 1px solid rgba(85,107,47,0.2);
    border-radius: 10px; padding: 14px 18px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.dates-display-dates { font-size: 15px; font-weight: 700; color: var(--accent); }
.dates-display-nights { font-size: 12px; color: var(--muted); margin-top: 3px; }
.dates-change { font-size: 12px; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; }
  
/* ── ДОДАТКОВІ ПОСЛУГИ (Ранній заїзд / Пізній виїзд) ── */
.service-card {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    margin-top: 12px;
    background: #fff;
    overflow: hidden;
    transition: 0.3s ease;
}
.service-card.active {
    border-color: var(--accent);
    background: var(--accent-light);
}
.srv-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.srv-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.srv-title svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 1.5; transition: 0.3s; }
.service-card.active .srv-title svg { stroke: var(--accent); }

.srv-price { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px;}
.service-card.active .srv-price { color: var(--accent); }

/* Плавне розкриття */
.srv-body {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
}
.service-card.active .srv-body {
    max-height: 150px;
    opacity: 1;
    padding: 0 16px 16px;
}

.time-chips {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.time-chips::-webkit-scrollbar { display: none; }

.t-chip {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}
.t-chip.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(85, 107, 47, 0.2);
}

/* ── PRELOADER (логотип як в адмінці) ── */
#preloader { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: var(--bg); z-index: 99999; 
    display: flex; align-items: center; justify-content: center; 
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pulse-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.public-preloader-logo {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
    object-position: center;
    animation: publicPreloaderPulse 1.5s ease-in-out infinite;
}

@keyframes publicPreloaderPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.82; }
    100% { transform: scale(1); opacity: 1; }
}

.public-amenity-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    stroke: currentColor;
}

.feature-item svg,
.feature-item .public-amenity-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
}

/* 🚀 СТИЛІ ДЛЯ КНОПКИ ВХОДУ НА ПК */
.enter-btn {
    opacity: 0; pointer-events: none; 
    transform: translateY(10px);
    background: none; border: 1px solid var(--text); color: var(--text);
    padding: 12px 40px; border-radius: 30px; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; cursor: pointer;
    transition: all 0.4s ease; margin-top: 16px;
}
.enter-btn.show {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.enter-btn:hover {
    background: var(--text); color: var(--bg); /* Преміальний ховер на ПК */
}

/* ── ПІДГОТОВКА ДО АНІМАЦІЇ ── */
/* Початково картинка винесена за межі екрану зліва */
.hero-cinematic {
    transform: translateX(-110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Початково картка винесена вправо та прозора */
.hero-glass-card {
    opacity: 0;
    transform: translateX(100px);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

/* Класи, які будуть запускати рух через JS */
.hero-cinematic.animate-in { transform: translateX(0); }
.hero-glass-card.animate-in { opacity: 1; transform: translateX(0); }
/* ── КНОПКИ ТА ЕЛЕМЕНТИ У ПАНЕЛІ ── */
.back-btn {
    background: #F3F0EC; border: none; padding: 10px 16px; border-radius: 12px;
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--text);
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; transition: 0.2s;
}
.back-btn:hover { background: #E5E1DC; transform: translateX(-4px); }
.back-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── АНІМОВАНІ КРОКИ ── */
.step-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 8px; }
.step-num { 
    width: 28px; height: 28px; border-radius: 50%; background: #F3F0EC; color: var(--muted); 
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; transition: 0.4s; 
}

/* Пройдений етап — ТЕМНО-ЗЕЛЕНИЙ */
.step.done .step-num { 
    background: #2C3D28; color: #fff; border-color: #2C3D28; 
}

/* ── ПУЛЬСАЦІЯ АКТИВНОГО ЕТАПУ ── */
.step.active .step-num { 
    background: #2C3D28; /* Темно-зелений */
    color: #fff; 
    box-shadow: 0 0 0 #556B2F; /* Тінь пульсу */
    animation: premiumPulse 1.8s infinite; 
}

@keyframes premiumPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(85, 107, 47, 0.4); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(85, 107, 47, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(85, 107, 47, 0); }
}

.step-label { font-size: 13px; font-weight: 600; color: var(--muted); transition: 0.4s; }
/* Текст активного і пройденого етапу теж робимо темно-зеленим */
.step.active .step-label, .step.done .step-label { color: #2C3D28; }

/* Лінія з анімацією заливки (тепер темно-зелена) */
.step-line { flex: 1; height: 3px; background: var(--border); border-radius: 2px; position: relative; overflow: hidden; }
.step-line::after { 
    content: ''; position: absolute; top:0; left:0; height:100%; width: 0%; 
    background: #2C3D28; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}
.step-line.done::after { width: 100%; }

/* ── ГОСТІ ТА ТВАРИНИ ── */
.guests-block { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.guests-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.guests-label { font-size: 15px; font-weight: 600; color: var(--text); }
.guests-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.counter-wrap { display: flex; align-items: center; gap: 16px; }
.cnt-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; color: var(--text); }
.cnt-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cnt-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cnt-val { font-size: 16px; font-weight: 700; min-width: 24px; text-align: center; }

.pets-toggle { display: flex; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.public-additional-services { margin-top: 4px; }
.public-additional-services__title {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.public-additional-services__item.is-active .guests-label { color: var(--accent); }

.public-additional-services__badge {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.public-additional-services__unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

/* 🟢 ФІКС ІКОНОК ТВАРИН (КОМПАКТНИЙ РЯДОК) 🟢 */
.pet-opt { 
    flex: 1; padding: 12px 8px; border: 1.5px solid var(--border); border-radius: 12px; 
    font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.2s; 
    color: var(--muted); background: #fff;
    display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; 
}
.pet-opt.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.pet-opt svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── ФОРМИ ── */
.form-block { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-field:last-child { margin-bottom: 0; }
.form-field label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-field label .required { color: var(--danger); margin-left: 2px; }
.form-field input, .form-field textarea { padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 14px; font-family: inherit; background: #FAFAF8; outline: none; transition: 0.2s; color: var(--text); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-light); }
.form-field textarea { resize: vertical; min-height: 90px; }

.public-promo-field__input.is-valid { border-color: #6B8E4E; background: #F4F6F0; }
.public-promo-field__input.is-invalid { border-color: #F87171; background: #FEF2F2; }
.public-promo-field__hint { font-size: 12px; line-height: 1.4; }
.public-promo-field__hint--ok { color: #4D7C2A; }
.public-promo-field__hint--err { color: #DC2626; }

.phone-wrap { display: flex; gap: 8px; }
.phone-prefix { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #F3F0EC; font-size: 14px; color: var(--text); font-weight: 600; }

.btn-proceed { display: block; width: 100%; padding: 16px; background: var(--accent); color: #fff; border: none; border-radius: 14px; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: 0.2s; box-shadow: 0 8px 24px rgba(85,107,47,0.25); }
.btn-proceed:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(85,107,47,0.35); }
.btn-proceed:disabled { background: #E5E1DC; color: #9CA3AF; box-shadow: none; cursor: not-allowed; }
    /* ── ПРИМУСОВИЙ ФІКС ДЛЯ КНОПКИ ТА КРОКІВ (Вставити в кінець <style>) ── */
.back-btn {
    background: #E5E1DC !important; /* Сірий преміум фон */
    border: none !important; 
    padding: 12px 20px !important; 
    border-radius: 12px !important;
    font-size: 14px !important; 
    font-weight: 700 !important; 
    color: #1A1A1A !important;
    display: inline-flex !important; 
    margin-bottom: 32px !important; 
}
.back-btn:hover { background: #D1CCC5 !important; }

.step-bar { 
    justify-content: space-between !important; 
    width: 100% !important; 
    gap: 0 !important;
}
.step { flex: 0 0 auto !important; } /* Кружечки не розтягуються */
.step-line { 
    flex: 1 1 auto !important; /* Лінії ідеально заповнюють пустоту порівну */
    margin: 0 16px !important; 
    height: 3px !important;
    background: var(--border) !important;
}
.step-line::after { background: #2C3D28 !important; } /* Темно-зелена заливка */
