html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.validation-summary-valid {
    display: none;
}

/* intl-tel-input: make wrapper full-width to match Bootstrap form-control */
.iti { width: 100%; }

/* Disabled dates styling */
.dayContainer .flatpickr-day.flatpickr-disabled,
.dayContainer .flatpickr-day.prevMonthDay.flatpickr-disabled,
.dayContainer .flatpickr-day.nextMonthDay.flatpickr-disabled,
.dayContainer .flatpickr-day.flatpickr-disabled:hover,
.dayContainer .flatpickr-day.prevMonthDay.flatpickr-disabled:hover,
.dayContainer .flatpickr-day.nextMonthDay.flatpickr-disabled:hover {
    cursor: not-allowed;
    color: rgba(220, 53, 69, 0.6);
    text-decoration: line-through;
}

/* Today's date styling */
.flatpickr-day.today {
    border-color: #4a90e2;
    background-color: rgba(74, 144, 226, 0.1);
    font-weight: 600;
}

/* Selected date styling */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background-color: #4a90e2;
    border-color: #4a90e2;
    color: #fff;
    font-weight: 600;
}

/* Hover effect on available dates */
.flatpickr-day:hover:not(.flatpickr-disabled) {
    background-color: rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.2);
}

/* Calendar container */
.flatpickr-calendar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Month navigation buttons */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    padding: 6px;
    fill: #555;
}

    .flatpickr-months .flatpickr-prev-month:hover svg,
    .flatpickr-months .flatpickr-next-month:hover svg {
        fill: #4a90e2;
    }

/* Month and year headers */
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 600;
    color: #333;
}

/* Weekday header */
.flatpickr-weekdays {
    background-color: #f8f9fa;
}

span.flatpickr-weekday {
    color: #555;
    font-weight: 600;
}

/* Days in range (for range selection) */
.flatpickr-day.inRange,
.flatpickr-day.inRange:hover {
    background-color: rgba(74, 144, 226, 0.3);
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: -5px 0 0 rgba(74, 144, 226, 0.3), 5px 0 0 rgba(74, 144, 226, 0.3);
}

/* Time picker if enabled */
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.flatpickr-time input.flatpickr-hour.selected,
.flatpickr-time input.flatpickr-minute.selected {
    color: #4a90e2;
    font-weight: 600;
}

/* ===== Variables ===== */
:root {
    /* Primary Colors */
    --color-navy: #2C3E50;
    --color-navy-light: #34495E;
    --color-brown: #6B4423;
    --color-brown-light: #A67B5B;
    /* Secondary Colors */
    --color-secondary: #4A4036;
    --color-background: #FDF8F3;
    --color-white: #FFFFFF;
    --color-light-gray: #F8F1EA;
    --color-brown-rgb: 142, 114, 86; /* RGB values for brown */
    --color-navy-rgb: 38, 52, 74; /* RGB values for navy */
    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(44, 62, 80, 0.15);
    --shadow-md: 0 8px 25px rgba(44, 62, 80, 0.08);
    --shadow-lg: 0 12px 30px rgba(44, 62, 80, 0.12);
    --transition-default: all 0.4s ease;
}

/* ===== General Styles ===== */
html, body {
    overflow-x: clip; /* clip (not hidden) so position:sticky still works on child elements */
    width: 100%;
}

/* ===== Page Body Wrapper ===== */
.page-body-wrapper {
    padding-top: 80px; /* height of fixed navbar */
}

body.page-home .page-body-wrapper {
    padding-top: 0; /* hero starts at top-0 under transparent nav */
}

/* ===== Base Styles ===== */
body {
    font-family: 'Lato', 'Amiri', sans-serif;
    background-image: url('../images/pattern.svg');
    color: var(--color-navy);
    scroll-behavior: smooth;
}

/* Typography Enhancements */
h1, h2, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--color-navy);
}

/* Text highlight styles */
.highlight {
    position: relative;
    display: inline-block;
}

    .highlight::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 10px;
        background: linear-gradient(90deg, rgba(var(--color-brown-rgb), 0.3), rgba(var(--color-navy-rgb), 0.1));
        z-index: -1;
        border-radius: 4px;
    }

/* ===== Hero Section ===== */
.hero-section {
    top: 0;
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Subtle zoom for more immersive feel */
    transition: transform 20s ease;
}

.hero-section:hover .hero-video {
    transform: scale(1.15); /* Slow zoom effect on hover */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(44, 62, 80, 0.4) 0%, rgba(44, 62, 80, 0.7) 50%, rgba(44, 62, 80, 0.9) 100% );
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 3rem;
    color: var(--color-white);
    animation: fadeUp 1.2s ease-out forwards;
    position: relative;
    margin-bottom: 2rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}

    .hero-content h1::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--color-brown), var(--color-brown-light));
        margin: 1rem auto 2rem;
        border-radius: 2px;
    }

@media screen and (max-aspect-ratio: 9/16) {
    .hero-content {
        background: rgba(44, 62, 80, 0.8);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 16px;
        margin: 0 12px 32px 12px;
        padding: 32px 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

        .hero-content h1 {
            font-size: 2.5rem;
        }
}

.hero-video-mobile {
    display: none;
}

.hero-video-desktop {
    display: block;
}

@media (max-width: 768px) {
    .hero-video-mobile {
        display: block;
    }

    .hero-video-desktop {
        display: none;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 10px;
    cursor: pointer;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: rgba(255, 255, 255, 0.15);
        transition: width 0.4s ease-in-out;
        z-index: -1;
    }

    .btn:hover::before {
        width: 100%;
    }

/* Details Button */
.btn-details {
    background: linear-gradient(45deg, var(--color-brown), var(--color-brown-light));
    color: var(--color-white);
    border: none;
}

    .btn-details:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 14px rgba(var(--color-brown-rgb), 0.3);
    }

    .btn-details:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(var(--color-brown-rgb), 0.2);
    }

/* Book Now Button */
.btn-book-now {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-navy); /* Changed from white to navy */
    box-shadow: 0 4px 12px rgba(var(--color-navy-rgb), 0.15);
}

    .btn-book-now:hover {
        background-color: var(--color-navy); /* Changed from white to navy */
        color: var(--color-white); /* Changed from navy to white for contrast */
        transform: translateY(-3px);
        box-shadow: 0 7px 14px rgba(var(--color-navy-rgb), 0.25); /* Changed to navy shadow */
    }

    .btn-book-now:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(var(--color-navy-rgb), 0.15); /* Changed to navy shadow */
    }

/* Button Group Alignment */
.btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 2rem;
}

/* Home Button - Main CTA */
.btn-home {
    background: linear-gradient(45deg, var(--color-brown), var(--color-brown-light));
    color: var(--color-white);
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 14px 36px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(var(--color-brown-rgb), 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-home::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100% );
        transition: left 0.8s ease;
    }

    .btn-home:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(var(--color-brown-rgb), 0.4);
    }

        .btn-home:hover::after {
            left: 100%;
        }

    .btn-home:active {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(var(--color-brown-rgb), 0.3);
    }

/* ===== About Section ===== */
#about {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    border-radius: 10px;
    padding: 4rem 2rem;
    margin: 4rem 0;
}

    #about .carousel-item {
        height: 300px;
        width: 500px;
        overflow: hidden;
    }

        #about .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 10px;
            box-shadow: var(--shadow-md);
        }

@media (max-width: 992px) {
    #about .carousel-item {
        width: 100%;
        height: 350px;
    }
}

/* For very small screens (mobile) */
@media (max-width: 576px) {
    #about .carousel-item {
        height: 200px;
    }
}

/* ===== Chalets Section ===== */
.chalets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.chalet-card {
    position: relative;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-default);
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .chalet-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

/* Chalet Image Carousel */
.chalet-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    aspect-ratio: 3/2;
    width: 100%;
}

.carousel-inner {
    border-radius: 10px 10px 0 0;
    height: 100%;
}

.carousel-item {
    height: 100%;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Placeholder for when no images exist */
.chalet-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(44, 62, 80, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
}

.carousel-indicators {
    margin-bottom: 0.5rem;
}

    .carousel-indicators [data-bs-target] {
        background-color: var(--color-brown);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 0 5px;
    }

.chalet-card .card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.chalet-card .card-title {
    color: var(--color-navy);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-group {
    margin-top: auto;
}

@media (min-width: 992px) {
    .chalet-carousel {
        aspect-ratio: 16/9; /* Wider aspect ratio for larger screens */
    }
}

@media (max-width: 768px) {
    .chalet-carousel {
        aspect-ratio: 4/3; /* Different ratio for mobile */
    }
}

/* ===== Section Headings ===== */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    color: var(--color-navy);
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--color-brown);
    }

h2.section-title.arabic {
    direction: rtl;
    display: block;
    width: 100%;
}
.section-title.arabic::after {
    left: auto;
    right: 0;
    text-align: right;
}

/* ===== Navbar Styles ===== */
.navbar {
    background-color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    color: var(--color-white);
    font-family: 'Playfair Display', serif;
}

.nav-link {
    color: var(--color-white);
    transition: var(--transition-default);
}

    .nav-link:hover {
        color: var(--color-brown-light);
    }

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-default);
}

    .mobile-nav-toggle:hover {
        color: var(--color-brown-light);
    }

/* Mobile Sidebar Styles */
.mobile-sidenav {
    height: 100vh;
    width: 280px; /* fixed */
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    background-color: var(--color-navy);
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

    .mobile-sidenav.active {
        transform: translateX(0);
    }


/* Mobile Navigation Content */
.mobile-nav-content {
    padding: 80px 0 20px 0;
    height: 100%;
    overflow-y: auto;
}

/* Close Button */
.mobile-closebtn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    z-index: 1051;
    padding: 5px;
}

    .mobile-closebtn:hover {
        color: var(--color-brown-light);
    }

/* Mobile Navigation Links */
.mobile-nav-link {
    display: block;
    padding: 15px 25px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition-default);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .mobile-nav-link:hover {
        color: var(--color-brown-light);
        background-color: rgba(255, 255, 255, 0.05);
    }

/* Mobile Navigation Section (for dropdowns) */
.mobile-nav-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-title {
    display: block;
    padding: 15px 25px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
}

    .mobile-nav-title:hover {
        color: var(--color-brown-light);
    }

.mobile-nav-submenu {
    background-color: rgba(0, 0, 0, 0.2);
}

.mobile-nav-sublink {
    display: block;
    padding: 12px 40px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition-default);
}

    .mobile-nav-sublink:hover {
        color: var(--color-brown-light);
        background-color: rgba(255, 255, 255, 0.05);
    }

/* Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-nav-link.active,
.mobile-nav-sublink.active {
    color: var(--color-brown-light) !important;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hide mobile navigation on desktop */
@media (min-width: 992px) {
    .mobile-sidenav,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Mobile specific adjustments */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: none;
    }

    /* Adjust sidebar for very small screens */
    @media (max-width: 320px) {
        .mobile-sidenav.active {
            width: 100%;
        }
    }
}

/* Smooth scrolling for mobile nav */
@media (max-height: 600px) {
    .mobile-nav-content {
        padding-top: 60px;
    }

    .mobile-nav-link,
    .mobile-nav-title {
        padding: 12px 25px;
        font-size: 16px;
    }

    .mobile-nav-sublink {
        padding: 10px 40px;
        font-size: 14px;
    }
}

/* ===== Utilities ===== */
/* .text-emerald {
    color: var(--color-brown) !important;
} */

.lead {
    color: var(--color-navy);
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Availability Calendar */
.calendar-placeholder {
    background-color: var(--color-light-gray);
    border-radius: 10px;
    padding: 2rem, 2rem, 2rem, 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    #about {
        padding: 2rem 1rem;
    }

    .chalet-card .card-body {
        padding: 1.5rem;
    }

    .chalets-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

.breakfast-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #D4AF37;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: subtle-bounce 2s ease-in-out infinite;
}

@keyframes subtle-bounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* RTL support */
html[dir="rtl"] .breakfast-badge {
    right: auto;
    left: 15px;
}

@media (max-width: 768px) {
    .breakfast-badge {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Details Page Styles */
/* Mobile View Booking Button */
@media (max-width: 991px) {
    .floating-booking-btn {
        position: fixed;
        bottom: 1.75rem;
        right: 1.25rem;
        background: var(--color-brown);
        color: #fff !important;
        padding: 0.75rem 1.35rem;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(107, 68, 35, 0.4);
        font-family: 'Montserrat', sans-serif;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        z-index: 1000;
        border: none !important;
        text-decoration: none !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .floating-booking-btn::after {
        content: '→';
        font-size: 0.9rem;
        line-height: 1;
        transition: transform 0.2s ease;
        display: inline-block;
    }

    .floating-booking-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(107, 68, 35, 0.5);
        color: #fff !important;
        text-decoration: none !important;
    }

    .floating-booking-btn:hover::after {
        transform: translateX(3px);
    }
}

/* Hide on larger screens */
@media (min-width: 992px) {
    .floating-booking-btn {
        display: none;
    }
    #book-now-booking-cta{
        display:none;
    }

}

/* Chalet Header */
.chalet-header {
    margin-bottom: 2rem;
}

.chalet-title {
    font-family: 'Playfair Display', serif;
    color: var(--color-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.location {
    color: var(--color-brown);
    font-size: 1rem;
}

    .location a {
        color: inherit;
        text-decoration: none;
    }

    .location a:hover {
        color: var(--color-brown-light);
        text-decoration: none;
    }

.booking-cta {
    color: var(--color-brown);
    font-size: 1rem;
}

    .booking-cta a {
        color: var(--color-brown);
    }

/* Gallery Styles */
.chalet-gallery {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 2fr 1fr;
}

.gallery-main {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.gallery-thumb {
    position: relative;
    height: 195px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

    .gallery-main img,
    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery-thumb:hover img {
        transform: scale(1.05);
    }

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
}

/* Quick Facts */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.fact-card {
    background: var(--color-white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
}

    .fact-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .fact-card i {
        color: var(--color-brown);
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        display: block;
    }

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
}

    .amenity-item:hover {
        transform: translateX(3px);
        box-shadow: var(--shadow-md);
    }

    .amenity-item i {
        color: var(--color-brown);
    }

.amenities-toggle {
    border: 1px solid var(--color-navy);
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    color: var(--color-brown);
    text-decoration: none;
}

    .amenities-toggle .show-less {
        display: none;
    }

    .amenities-toggle[aria-expanded="true"] .show-more {
        display: none;
    }

    .amenities-toggle[aria-expanded="true"] .show-less {
        display: inline;
    }

/* Booking Card */
.booking-sidebar-col {
    padding-bottom: 1.5rem;
}

.booking-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 6.5rem; /* navbar height (5rem) + 1.5rem breathing room */
}

    .booking-card .price-header {
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .booking-card .weekday-price h3 {
        color: var(--color-navy);
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .booking-card .weekend-price h4 {
        color: var(--color-navy);
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .booking-card span {
        color: var(--color-navy-light);
        font-size: 0.875rem;
    }

/* Booking Features */
.booking-features {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

    .feature-item i {
        color: var(--color-brown);
        font-size: 1.25rem;
    }

    .feature-item span {
        color: var(--color-navy);
        font-size: 0.875rem;
    }

 /* Button Styles */
 /* use the base styles
.btn-book-now {
    background: var(--color-brown);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition-default);
    border: none;
    font-weight: 600;
}

    .btn-book-now:hover {
        background: var(--color-brown-dark);
        transform: translateY(-2px);
    } */

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--color-gray-200);
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

/* Gallery Modal */
.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-modal-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
}

    .gallery-modal-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .chalet-title {
        font-size: 2rem;
    }

    .gallery-main {
        height: 300px;
    }

    .gallery-thumb {
        height: 145px;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-thumb {
        height: 80px;
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Chalets Gallery page styles */
.chg-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.chg-main-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 700;
}

.chg-section {
    margin-bottom: 4rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .chg-section:hover {
        transform: translateY(-5px);
    }

.chg-section-title {
    padding: 1.5rem;
    margin: 0;
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.8rem;
    border-bottom: 1px solid #eee;
}

.chg-section-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
}

.chg-video-wrapper {
    flex: 0 0 auto;
    width: 360px;
    position: relative;
    padding-top: 640px; /* Maintains aspect ratio for video */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chg-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-height: 640px;
    overflow-y: auto;
    padding-right: 1rem;
    align-content: start;
}

    .chg-images::-webkit-scrollbar {
        width: 6px;
    }

    .chg-images::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .chg-images::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }

    .chg-images a {
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        aspect-ratio: 1;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

.chg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.chg-images a:hover .chg-image {
    transform: scale(1.1);
}

.chg-image--main {
    grid-column: span 2;
}

.chg-toggle-button {
    display: none;
    width: 100%;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .chg-toggle-button:hover {
        background-color: #e9ecef;
    }

@media (max-width: 1200px) {
    .chg-section-content {
        flex-direction: column;
        align-items: center;
    }

    .chg-video-wrapper {
        width: 320px;
        padding-top: 569px;
    }

    .chg-images {
        width: 100%;
        max-height: 400px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .chg-toggle-button {
        display: block;
    }

    .chg-images.expanded {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .chg-container {
        padding: 1rem;
    }

    .chg-section-title {
        font-size: 1.5rem;
    }

    .chg-main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .chg-video-wrapper {
        width: 280px;
        padding-top: 498px;
    }

    .chg-images {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        max-height: 300px;
    }
}

.chg-image.loading {
    background: #f6f7f8;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 200% 100%;
    animation: lazyImageAnimation 1.5s infinite linear forwards;
}

@keyframes lazyImageAnimation {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.chg-section:not(:last-child) {
    margin-bottom: 3rem;
}

/* Contacy Us Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .contact-header h1 {
        font-size: 2.5rem;
        color: var(--color-navy);
        margin-bottom: 1rem;
    }

    .contact-header p {
        color: var(--color-navy-light);
        max-width: 600px;
        margin: 0 auto;
    }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

    .info-item i {
        font-size: 1.5rem;
        color: var(--color-brown);
        margin-top: 0.25rem;
    }

.info-details h2 {
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.info-details p {
    color: var(--color-navy-light);
    line-height: 1.5;
}

.contact-map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        color: var(--color-navy);
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

.required-label::after { content: " *"; color: #dc3545; font-weight: 700; }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: var(--transition-default);
}

    .form-control:focus {
        outline: none;
        border-color: var(--color-brown);
        box-shadow: 0 0 0 2px rgba(107, 68, 35, 0.1);
    }

.btn-submit {
    width: 100%;
    background-color: var(--color-brown);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-default);
    cursor: pointer;
}

    .btn-submit:hover {
        background-color: var(--color-brown-light);
        box-shadow: var(--shadow-lg);
    }

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr); /* Maintains 2 columns on mobile */
        gap: 1.5rem;
    }

    .contact-container {
        padding: 2rem 1rem;
    }

    .contact-header{
        margin-top: 30px;
    }

    .contact-header h1 {
        font-size: 2rem;
    }
}


/* Chalet Spinner */
:root {
    --chalet-primary-color: #2c3e50;
    --chalet-accent-color: #e67e22;
    --chalet-snow-color: #ecf0f1;
    --chalet-shadow-color: rgba(0, 0, 0, 0.2);
}

.chalet-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(3px);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.chalet-spinner-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    animation: chalet-pulse 2s infinite ease-in-out;
}

.chalet-scene {
    position: relative;
    width: 120px;
    height: 120px;
}

.chalet-mountain {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
}

.chalet-mountain-left {
    position: absolute;
    bottom: 0;
    left: 10px;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--chalet-primary-color);
    transform-origin: bottom;
    animation: chalet-sway 3s infinite ease-in-out alternate;
    z-index: 10;
}

.chalet-mountain-right {
    position: absolute;
    bottom: 0;
    right: 10px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--chalet-primary-color);
    opacity: 0.8;
    transform-origin: bottom;
    animation: chalet-sway 3s infinite ease-in-out alternate-reverse;
    z-index: 9;
}

.chalet-house {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background-color: #d35400;
    border-radius: 3px;
    z-index: 20;
}

.chalet-roof {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 25px solid var(--chalet-accent-color);
    z-index: 21;
}

.chalet-chimney {
    position: absolute;
    bottom: 85px;
    right: 35px;
    width: 8px;
    height: 15px;
    background-color: #c0392b;
    z-index: 19;
}

.chalet-snow-base {
    position: absolute;
    width: 120px;
    height: 20px;
    bottom: 0;
    border-radius: 50%;
    background-color: var(--chalet-snow-color);
    z-index: 8;
    box-shadow: 0 4px 6px var(--chalet-shadow-color);
}

.chalet-smoke {
    position: absolute;
    bottom: 100px;
    right: 37px;
    z-index: 18;
}

.chalet-smoke-puff {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    animation: chalet-float 3s infinite ease-out;
    opacity: 0;
}

    .chalet-smoke-puff:nth-child(1) {
        animation-delay: 0s;
    }

    .chalet-smoke-puff:nth-child(2) {
        animation-delay: 0.6s;
    }

    .chalet-smoke-puff:nth-child(3) {
        animation-delay: 1.2s;
    }

.chalet-window {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f1c40f;
    border-radius: 2px;
    bottom: 35px;
    box-shadow: 0 0 5px #f39c12;
    animation: chalet-flicker 3s infinite;
}

.chalet-window-left {
    left: 12px;
    animation-delay: 0.5s;
}

.chalet-window-right {
    right: 12px;
    animation-delay: 1.5s;
}

.chalet-door {
    position: absolute;
    width: 15px;
    height: 25px;
    background-color: #95a5a6;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.chalet-snowflakes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.chalet-snowflake {
    position: absolute;
    color: var(--chalet-snow-color);
    font-size: 15px;
    animation: chalet-snowfall linear infinite;
    text-shadow: 0 0 5px white;
    z-index: 30;
}

.chalet-loading-text {
    margin-top: 30px;
    color: var(--chalet-primary-color);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: chalet-fade 2s infinite alternate;
}

/* Animations with namespaced prefixes */
@keyframes chalet-sway {
    0% {
        transform: rotate(-1deg);
    }

    100% {
        transform: rotate(1deg);
    }
}

@keyframes chalet-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0;
    }
}

@keyframes chalet-flicker {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 5px #f39c12;
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 8px #f39c12;
    }
}

@keyframes chalet-snowfall {
    0% {
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(120px) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes chalet-pulse {
    0%, 100% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }
}

@keyframes chalet-fade {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Booking Form RTL-specific styling */
[dir="rtl"] .form-check-input {
    float: right;
    margin-left: 0.5rem;
    /*margin-right: -1.5rem;*/
}

[dir="rtl"] .form-check-label {
    padding-right: 1.5rem;
    padding-left: 0;
}

/* Fix price alignment in RTL */
[dir="rtl"] .text-end {
    text-align: left !important;
}

/* Fix icons in RTL */
[dir="rtl"] .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .bi-telephone-fill {
    transform: scaleX(-1);
}

/* Fix carousel controls in RTL */
[dir="rtl"] .carousel-control-prev {
    right: 0;
    left: auto;
}

[dir="rtl"] .carousel-control-next {
    left: 0;
    right: auto;
}

[dir="rtl"] .carousel-control-prev-icon,
[dir="rtl"] .carousel-control-next-icon {
    transform: scaleX(-1);
}

/* Fix badge and input group in RTL */
[dir="rtl"] .badge {
    text-align: right;
}

[dir="rtl"] .input-group {
    flex-direction: row-reverse;
}

/* To ensure card content is properly aligned in RTL */
[dir="rtl"] .card-body {
    text-align: right;
}

/* Ensure definition list is properly aligned in RTL 
[dir="rtl"] dl.row dt {
    text-align: right;
}*/

/* Additional fix for list items with icons */
[dir="rtl"] .list-unstyled li {
    padding-right: 0;
    padding-left: 0;
}

    [dir="rtl"] .list-unstyled li i {
        margin-right: 0;
        margin-left: 0.5rem;
    }

/* RTL Navbar & Mobile Navigation Fixes */
[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .mobile-sidenav {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .mobile-sidenav.active {
    transform: translateX(0);
}

[dir="rtl"] .mobile-closebtn {
    right: auto;
    left: 25px;
}

[dir="rtl"] .mobile-nav-sublink {
    padding-right: 40px;
    padding-left: 15px;
}

/* ===== Nav & Footer Link Overrides ===== */
/* Book Now text link in the main nav */
.btn-nav-book {
    position: relative;
    background: none;
    border: none;
    color: var(--color-brown);
    padding: 0.2rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    transition: color 0.25s ease;
}

.btn-nav-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.3s ease;
}

.btn-nav-book:hover {
    color: #5a3819;
    text-decoration: none;
}

.btn-nav-book:hover::after {
    width: 100%;
}

/* Book Now CTA inside mobile fullscreen nav */
.fn-book-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    align-self: flex-start;
    margin-top: 2rem;
    background: none;
    color: var(--color-brown-light);
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease, gap 0.25s ease;
}

.fn-book-cta:hover {
    color: #fff;
    gap: 1rem;
    text-decoration: none;
}

/* Footer bottom bar — Terms, Privacy, etc. */
.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: none;
}

/* Staff login — dimmer than the neighbouring legal links; it is not for guests. */
.footer-staff-login {
    color: rgba(255, 255, 255, 0.3) !important;
}

.footer-staff-login:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-staff-login i {
    font-size: 0.85em;
    margin-inline-end: 0.15rem;
}

/* ================================================================
   BOOKING FLOW PAGES — CreateBooking / Review / Confirmation
   ================================================================ */

/* ── Luxury button globals (available on all pages) ── */
.btn-lux-filled {
    display: inline-block;
    background: var(--color-brown);
    border: 1.5px solid var(--color-brown);
    border-radius: 30px;
    padding: 0.85rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-lux-filled:hover { filter: brightness(1.12); transform: translateY(-2px); color: #fff; text-decoration: none; }
.btn-lux-filled:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-book-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1.5px solid var(--color-navy);
    border-radius: 30px;
    padding: 0.8rem 1.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-navy);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-book-secondary:hover { background: var(--color-navy); color: #fff; text-decoration: none; }

/* ── Step Progress Indicator ── */
.book-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}
.book-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    max-width: 110px;
    position: relative;
}
.book-progress-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: calc(-50% + 18px);
    right: calc(50% + 18px);
    height: 2px;
    background: #ddd;
    z-index: 0;
}
.book-progress-step:first-child::before { display: none; }
.book-progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #bbb;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.book-progress-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.67rem;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}
.book-progress-step.is-done .book-progress-dot { background: var(--color-brown); border-color: var(--color-brown); color: #fff; }
.book-progress-step.is-done .book-progress-label { color: var(--color-brown); }
.book-progress-step.is-done::before { background: var(--color-brown); }
.book-progress-step.is-active .book-progress-dot { background: var(--color-navy); border-color: var(--color-navy); color: #fff; box-shadow: 0 0 0 4px rgba(44,62,80,0.12); }
.book-progress-step.is-active .book-progress-label { color: var(--color-navy); font-weight: 700; }

/* ── Section Headers ── */
.book-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(107,68,35,0.12);
}
.book-section-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brown), var(--color-brown-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    margin-top: 2px;
}
.book-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 0.15rem 0;
}
.book-section-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: var(--color-brown-light);
    margin: 0;
    font-weight: 500;
}

/* ── Chalet Banner ── */
.book-chalet-banner {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.book-chalet-banner-icon { font-size: 1.5rem; opacity: 0.75; }
.book-chalet-banner-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin: 0; color: #fff; }
.book-chalet-banner-sub { font-family: 'Montserrat', sans-serif; font-size: 0.68rem; margin: 0; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.07em; }

/* ── Evening Slot Availability Status ── */
.evening-slot-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid #e8ddd5;
    background: var(--color-background);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-secondary);
    min-height: 56px;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.evening-slot-available {
    border-color: #a3cfbb;
    background: #f0faf4;
    color: #1a6b3a;
}
.evening-slot-unavailable {
    border-color: #f5c2c7;
    background: #fff5f6;
    color: #842029;
}

/* ── Date Cards ── */
.book-date-card {
    border: 2px solid #e8ddd5;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: var(--color-background);
    transition: border-color 0.2s ease;
}
.book-date-card:focus-within { border-color: var(--color-brown); }
.book-date-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-brown);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.book-date-card input.form-control {
    border: none;
    background: transparent;
    padding: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--color-navy);
    font-weight: 600;
    box-shadow: none !important;
}

/* ── Meal Trigger Card ── */
.book-meal-trigger {
    border: 2px dashed #c8b8aa;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    background: var(--color-background);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.book-meal-trigger:hover { border-color: var(--color-brown); background: #faf5ef; }
.book-meal-trigger-icon { font-size: 2rem; color: var(--color-brown); margin-bottom: 0.5rem; display: block; }
.book-meal-trigger p { font-family: 'Montserrat', sans-serif; font-size: 0.82rem; color: var(--color-brown-light); margin: 0 0 0.75rem 0; }

/* ── Booking Page Wrapper ── */
.booking-page-wrapper {
    background-color: var(--color-background);
    min-height: 100vh;
    padding-bottom: 5rem; /* mobile bar clearance */
}
@media (min-width: 992px) {
    .booking-page-wrapper { padding-bottom: 2rem; }
}

/* ── Booking Form Card ── */
.booking-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: none;
    overflow: hidden;
}
.booking-form-header {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    padding: 1.5rem 2rem;
    text-align: center;
}
.booking-form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff !important;
    margin: 0;
    font-weight: 700;
}
.booking-form-body {
    padding: 2rem;
    background: #fff;
}
@media (max-width: 575px) {
    .booking-form-body { padding: 1.25rem; }
    .booking-form-header { padding: 1.25rem; }
}

/* ── Price Sidebar (desktop) ── */
.book-price-sidebar { position: sticky; top: 100px; }
.book-price-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: none;
}
.book-price-card-header {
    background: linear-gradient(135deg, var(--color-brown), var(--color-brown-light));
    padding: 0.9rem 1.4rem;
}
.book-price-card-header h6 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}
.book-price-card-body { padding: 1.2rem 1.4rem; }
.book-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0ebe5;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
}
.book-price-row:last-of-type { border-bottom: none; }
.book-price-row .label { color: #999; }
.book-price-row .value { font-weight: 600; color: var(--color-navy); }
.book-price-discount { color: #16a34a !important; }
.book-price-total-block {
    background: var(--color-background);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.book-price-total-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-brown-light);
    margin-bottom: 0.25rem;
}
.book-price-total-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
}

/* ── Mobile Sticky Bottom Bar ── */
.book-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #e8ddd5;
    box-shadow: 0 -4px 20px rgba(44,62,80,0.12);
    padding: 0.7rem 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
@media (max-width: 991px) { .book-mobile-bar { display: flex; } }
.book-mobile-bar-total { display: flex; flex-direction: column; }
.book-mobile-bar-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #999;
    font-weight: 700;
}
.book-mobile-bar-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

/* ── Meal modal styles (moved from CreateBooking inline) ── */
.selected-meals-container { min-height: 60px; }
.meal-day-summary { background: var(--color-background); border: 1px solid #e8ddd5; border-radius: 8px; padding: 15px; margin-bottom: 15px; }
.meal-day-header { background: linear-gradient(135deg, var(--color-brown), var(--color-brown-light)); color: white; padding: 10px 15px; border-radius: 6px 6px 0 0; margin: -15px -15px 15px -15px; font-weight: 600; }
.meal-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #eee; }
.meal-item:last-child { border-bottom: none; }
.meal-item-info { display: flex; align-items: center; gap: 10px; }
.meal-type-badge { display: inline-block; background: #6c757d; color: white; padding: 2px 8px; border-radius: 12px; font-size: 0.75em; font-weight: 600; min-width: 60px; text-align: center; }
.meal-type-badge.breakfast { background: #ffc107; color: #000; }
.meal-type-badge.dinner { background: var(--color-brown); }
.meals-total-summary { background: var(--color-background); border: 1px solid #c8b8aa; border-radius: 8px; padding: 10px; margin-top: 10px; font-weight: 600; text-align: right; }
.total-meals-summary { background: #d4edda; border: 1px solid #c3e6cb; border-radius: 8px; padding: 15px; margin-top: 20px; }
.no-meals-selected { text-align: center; color: #6c757d; font-style: italic; padding: 30px 0; }
.meal-modal-card { border: 2px solid #e9ecef; transition: all 0.2s ease; cursor: pointer; border-radius: 8px; margin-bottom: 0.75rem; }
.meal-modal-card:hover { border-color: var(--color-brown-light); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.meal-modal-card.selected { border-color: var(--color-brown); background-color: #fdf8f3; box-shadow: 0 2px 8px rgba(107,68,35,0.2); }
.meal-card-content { padding: 0.75rem; }
.meal-info-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.meal-info-row .form-check { display: none; }
.meal-image { width: 100px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.meal-details { flex: 1; min-width: 0; }
.meal-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; color: #212529; }
.meal-description { font-size: 0.75rem; color: #6c757d; margin-bottom: 0.5rem; line-height: 1.4; }
.meal-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.meal-price-badge { background: linear-gradient(45deg, var(--color-brown), var(--color-brown-light)); color: white; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.source-badge { font-size: 0.65rem; padding: 0.15rem 0.4rem; border-radius: 8px; white-space: nowrap; }
.serving-size { font-size: 0.7rem; color: #6c757d; white-space: nowrap; }
.addon-card { border: 1px solid #e9ecef; border-radius: 6px; transition: all 0.2s ease; background: white; margin-bottom: 0.5rem; }
.addon-card:hover { border-color: var(--color-brown-light); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.addon-content { padding: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.addon-image { width: 35px; height: 35px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.addon-info { flex: 1; min-width: 0; }
.addon-name { font-weight: 600; font-size: 0.8rem; margin-bottom: 0.1rem; color: #212529; }
.addon-price { font-size: 0.7rem; color: var(--color-brown); font-weight: 600; }
.addon-qty-control { display: flex; align-items: center; gap: 0.25rem; }
.addon-qty-btn { width: 24px; height: 24px; border: 1px solid #dee2e6; background: white; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; font-size: 0.7rem; }
.addon-qty-btn:hover { background: #f8f9fa; border-color: var(--color-brown-light); }
.addon-qty-input { width: 35px; height: 24px; text-align: center; border: 1px solid #dee2e6; border-radius: 4px; font-size: 0.75rem; padding: 0; }
.addons-section-hidden { display: none; }
.addons-section-disabled { opacity: 0.5; pointer-events: none; }
.day-summary { background: var(--color-background); padding: 10px; border-radius: 8px; margin-top: 15px; }
.meal-summary-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid #eee; }
.meal-summary-item:last-child { border-bottom: none; }
@media (max-width: 576px) {
    .meal-image { width: 80px; height: 60px; }
    .meal-name { font-size: 0.85rem; }
    .meal-description { font-size: 0.7rem; }
    .addon-content { padding: 0.4rem; gap: 0.4rem; }
    .addon-image { width: 30px; height: 30px; }
}

/* ================================================================
   BOOKING REVIEW PAGE
   ================================================================ */
.review-page-wrapper {
    background-color: var(--color-background);
    min-height: 100vh;
    padding: 2rem 0;
}
.review-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; border: none; }
.review-card-header {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    padding: 2rem;
    text-align: center;
}
.review-card-header h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #fff !important; margin: 0 0 0.35rem 0; font-weight: 700; }
.review-card-header p { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color: rgba(255,255,255,0.7); margin: 0; }
.review-card-body { padding: 0; }
.review-section { padding: 1.5rem 2rem; border-bottom: 1px solid #f0ebe5; }
.review-section:last-child { border-bottom: none; }
@media (max-width: 575px) {
    .review-section { padding: 1.25rem; }
    .review-card-header { padding: 1.5rem 1.25rem; }
    .review-card-header h2 { font-size: 1.35rem; }
}
.review-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-brown);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.review-section-title::after { content: ''; flex: 1; height: 1px; background: #e8ddd5; }
.review-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575px) { .review-info-grid { grid-template-columns: 1fr; gap: 0.75rem; } }
.review-info-item { display: flex; flex-direction: column; gap: 0.15rem; }
.review-info-label { font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: #bbb; }
.review-info-value { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--color-navy); }
.review-date-chips { display: flex; gap: 1rem; flex-wrap: wrap; }
.review-date-chip { background: var(--color-background); border: 1px solid #e8ddd5; border-radius: 10px; padding: 0.75rem 1rem; flex: 1; min-width: 130px; }
.review-date-chip-label { font-family: 'Montserrat', sans-serif; font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-brown); margin-bottom: 0.25rem; }
.review-date-chip-value { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--color-navy); font-weight: 600; }
.review-date-chip-day { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; color: #999; margin-top: 0.1rem; }
.review-meal-day { background: var(--color-background); border-radius: 10px; padding: 1rem; margin-bottom: 0.75rem; }
.review-meal-day-header { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-brown); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.review-meal-row { display: flex; justify-content: space-between; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; padding: 0.3rem 0; border-bottom: 1px solid rgba(107,68,35,0.08); color: var(--color-secondary); }
.review-meal-row:last-child { border-bottom: none; }
.review-price-block {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 0.5rem;
}
.review-price-block-label { font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.review-price-block-amount { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.review-price-block-currency { font-size: 1rem; opacity: 0.8; margin-inline-start: 0.3rem; }
@media (max-width: 575px) { .review-price-block-amount { font-size: 1.9rem; } }
.review-coupon-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.25); color: #16a34a; border-radius: 20px; padding: 0.3rem 0.75rem; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.review-price-breakdown { border: 1px solid #e8ddd5; border-radius: 10px; overflow: hidden; margin-top: 0.5rem; }
.review-price-line { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1rem; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; border-bottom: 1px solid #f0e9e2; }
.review-price-line:last-child { border-bottom: none; }
.review-price-line-label { color: var(--color-secondary); }
.review-price-line-value { font-weight: 600; color: var(--color-navy); }
.review-price-line-currency { font-size: 0.72rem; font-weight: 400; opacity: 0.7; margin-inline-start: 0.2rem; }
.review-price-line-discount .review-price-line-label { color: #16a34a; }
.review-price-line-discount .review-price-line-value { color: #16a34a; }
.review-price-line-total { background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light)); padding: 0.9rem 1rem; }
.review-price-line-total .review-price-line-label { color: rgba(255,255,255,0.75); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.review-price-line-total .review-price-block-currency { color: rgba(255,255,255,0.8); }
.review-footer { padding: 1.5rem 2rem; background: var(--color-background); border-top: 1px solid #e8ddd5; display: flex; gap: 1rem; align-items: center; }
@media (max-width: 575px) { .review-footer { flex-direction: column; padding: 1.25rem; } }

/* ================================================================
   BOOKING CONFIRMATION PAGE
   ================================================================ */
.confirm-page-wrapper {
    background-color: var(--color-background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}
.confirm-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: none;
    max-width: 640px;
    margin: 0 auto;
    animation: confirmCardIn 0.5s ease-out forwards;
}
@keyframes confirmCardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.confirm-hero { background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light)); padding: 2.5rem 2rem; text-align: center; }
.confirm-checkmark-wrap { margin: 0 auto 1.25rem; width: 72px; height: 72px; }
.confirm-checkmark-wrap svg circle { stroke-dasharray: 226; stroke-dashoffset: 226; animation: drawCircle 0.6s 0.15s ease forwards; }
.confirm-checkmark-wrap svg path { stroke-dasharray: 90; stroke-dashoffset: 90; animation: drawCheck 0.45s 0.7s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.confirm-hero h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: #fff !important; margin: 0 0 0.4rem 0; font-weight: 700; }
.confirm-hero p { font-family: 'Montserrat', sans-serif; font-size: 0.82rem; color: rgba(255,255,255,0.72); margin: 0.2rem 0 0; }
.confirm-ref-block { display: inline-flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 0.55rem 1.1rem; margin-top: 1rem; }
.confirm-ref-label { font-family: 'Montserrat', sans-serif; font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.62); font-weight: 700; }
.confirm-ref-value { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0.05em; }
.confirm-details-body { padding: 1.75rem 2rem; }
@media (max-width: 575px) { .confirm-details-body { padding: 1.25rem; } .confirm-hero { padding: 2rem 1.25rem; } }
.confirm-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 480px) { .confirm-detail-grid { grid-template-columns: 1fr; gap: 1rem; } }
.confirm-detail-item { display: flex; flex-direction: column; gap: 0.2rem; }
.confirm-detail-label { font-family: 'Montserrat', sans-serif; font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: #bbb; }
.confirm-detail-value { font-family: 'Montserrat', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--color-navy); }
.confirm-whatsapp-note { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.6rem; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color: #166534; font-weight: 500; }
.confirm-footer { padding: 0 2rem 1.75rem; }
@media (max-width: 575px) { .confirm-footer { padding: 0 1.25rem 1.25rem; } }

/* ================================================================
   BOOKING FLOW — FIXES & RTL SUPPORT
   ================================================================ */

/* ── Progress: done connector color (applies to the step AFTER the done step) ── */
.book-progress-step.is-done + .book-progress-step::before { background: var(--color-brown); }

/* ── RTL: flip progress connector to the right side ── */
[dir="rtl"] .book-progress-step::before {
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
}

/* ── Booking page link color reset (prevent browser default blue) ── */
.booking-page-wrapper a:not([class*="btn"]),
.review-page-wrapper a:not([class*="btn"]),
.confirm-page-wrapper a:not([class*="btn"]) { color: var(--color-navy); text-decoration: none; }
.booking-page-wrapper a:not([class*="btn"]):hover,
.review-page-wrapper a:not([class*="btn"]):hover,
.confirm-page-wrapper a:not([class*="btn"]):hover { color: var(--color-brown); }

/* ── RTL: dir="ltr" on a span causes text-align:start to resolve to LEFT. Force right-align. ── */
[dir="rtl"] .review-info-value[dir="ltr"],
[dir="rtl"] .confirm-detail-value[dir="ltr"] { text-align: right; }

/* ── Tom Select — Chalet Dropdown (booking form) ── */
.booking-page-wrapper .ts-wrapper {
    width: 100%;
}
.booking-page-wrapper .ts-control {
    border: 2px solid #e8ddd5 !important;
    border-radius: 12px !important;
    padding: 0.65rem 1rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    cursor: pointer !important;
    min-height: unset !important;
}
.booking-page-wrapper .ts-control:focus-within {
    border-color: var(--color-brown) !important;
    box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1) !important;
}
.booking-page-wrapper .ts-control input {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    color: var(--color-navy) !important;
}
.booking-page-wrapper .ts-dropdown {
    border: 2px solid #e8ddd5 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 36px rgba(44, 62, 80, 0.13) !important;
    overflow: hidden !important;
    margin-top: 6px !important;
}
.booking-page-wrapper .ts-dropdown .ts-dropdown-content {
    padding: 0.3rem !important;
}
.ts-chalet-opt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--color-navy);
    transition: background 0.15s ease, color 0.15s ease;
}
.ts-chalet-opt--placeholder {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
}
.ts-chalet-opt-icon {
    font-size: 1rem;
    color: var(--color-brown-light);
    flex-shrink: 0;
}
.booking-page-wrapper .ts-dropdown .option:hover,
.booking-page-wrapper .ts-dropdown .option.active {
    background: var(--color-light-gray) !important;
}
.booking-page-wrapper .ts-dropdown .option:hover .ts-chalet-opt,
.booking-page-wrapper .ts-dropdown .option.active .ts-chalet-opt {
    color: var(--color-brown);
}
.booking-page-wrapper .ts-dropdown .option:hover .ts-chalet-opt-icon,
.booking-page-wrapper .ts-dropdown .option.active .ts-chalet-opt-icon {
    color: var(--color-brown);
}
.booking-page-wrapper .ts-dropdown .option.selected {
    background: rgba(107, 68, 35, 0.07) !important;
}
.booking-page-wrapper .ts-dropdown .option.selected .ts-chalet-opt {
    font-weight: 600;
    color: var(--color-brown);
}
.booking-page-wrapper .ts-dropdown .option.selected .ts-chalet-opt-icon {
    color: var(--color-brown);
}
/* Selected item (inside control) */
.ts-chalet-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ts-chalet-item-icon {
    font-size: 1rem;
    color: var(--color-brown);
    flex-shrink: 0;
}
.ts-chalet-item--placeholder {
    color: #aaa;
    font-style: italic;
}
/* RTL: dropdown text right-aligned */
/* RTL: dropdown text right-aligned */
[dir="rtl"] .ts-wrapper {
    direction: rtl !important;
}
[dir="rtl"] .ts-chalet-opt,
[dir="rtl"] .ts-chalet-item {
    gap: 0.75rem;
}
[dir="rtl"] .ts-wrapper .ts-control {
    text-align: right !important;
    padding-left: 2.5rem !important;
    padding-right: 1rem !important;
    background-position: left 0.75rem center !important;
}
/* For single selects where TomSelect might use a background image for the arrow */
[dir="rtl"] .ts-wrapper.single .ts-control {
     background-position: left 0.75rem center !important;
}
/* For cases where TomSelect might use a pseudo-element for the arrow */
[dir="rtl"] .ts-wrapper.single .ts-control::after {
    left: 0.75rem !important;
    right: auto !important;
}

/* ── Booking Mode Cards (public guest form) ── */
.booking-mode-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.125rem;
    border: 2px solid #e8ddd5;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    min-width: 170px;
    user-select: none;
}
.booking-mode-card:has(input:checked) {
    border-color: var(--color-brown);
    background: rgba(107, 68, 35, 0.06);
}
.booking-mode-icon {
    font-size: 1.4rem;
    color: var(--color-brown-light);
    flex-shrink: 0;
}
.booking-mode-card:has(input:checked) .booking-mode-icon {
    color: var(--color-brown);
}
.booking-mode-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
}
.booking-mode-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: #888;
    margin-top: 0.1rem;
}
/* RTL: icon stays on the visual-start side (right) — flex row in rtl does this naturally */
[dir="rtl"] .booking-mode-card {
    text-align: right;
}

/* ── Payment Method Card Selection (BookingReview) ── */
.review-payment-methods-label {
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .6rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.payment-method-cards {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.payment-method-card-select {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, background .18s;
    background: #fff;
    user-select: none;
}
.payment-method-card-select:hover {
    border-color: var(--color-primary);
    background: #f5f3ff;
}
.payment-method-card-select.selected {
    border-color: var(--color-primary);
    background: #ede9fe;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.payment-method-card-select-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: background .18s;
}
.payment-method-card-select.selected .payment-method-card-select-icon {
    background: var(--color-primary);
    color: #fff;
}
.payment-method-card-select-body { flex: 1; min-width: 0; }
.payment-method-card-select-title { font-weight: 600; font-size: .9rem; color: #1f2937; }
.payment-method-card-select-desc  { font-size: .8rem; color: #6b7280; margin-top: .1rem; }
.payment-method-card-select-check {
    font-size: 1.2rem;
    color: #c7d2fe;
    transition: color .18s;
    flex-shrink: 0;
}
.payment-method-card-select.selected .payment-method-card-select-check {
    color: var(--color-primary);
}

/* ── Manual Instructions Preview Panel (BookingReview) ── */
.manual-instructions-preview {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-top: .6rem;
    font-size: .9rem;
    line-height: 1.7;
}
.manual-instructions-preview-title {
    font-weight: 600;
    font-size: .85rem;
    color: #92400e;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── "Awaiting Verification" confirmation hero ── */
.confirm-hero--pending {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%) !important;
}

/* ================================================================
   BOOKING CONFIRMATION — Enhanced Visual Polish
   ================================================================ */

/* Richer hero gradient for confirmed state */
.confirm-hero:not(.confirm-hero--pending) {
    background: linear-gradient(145deg, var(--color-navy) 0%, #1a2a3a 60%, var(--color-navy-light) 100%);
}

/* Ref block subtle shimmer */
.confirm-ref-block {
    transition: background .2s ease;
}
.confirm-ref-block:hover {
    background: rgba(255,255,255,0.15);
}

/* Download receipt btn: brown ghost style  */
.confirm-footer .btn-book-secondary {
    min-height: 48px;
}
.confirm-footer .btn-lux-filled {
    min-height: 48px;
}

/* ================================================================
   BOOKING REVIEW — Manual Instructions Preview (class rename fix)
   ================================================================ */
/* The preview div in BookingReview uses .review-manual-preview */
.review-manual-preview {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: .75rem;
    font-size: .88rem;
    line-height: 1.8;
    animation: fadeSlideDown .25s ease;
}
.review-manual-preview-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .7rem;
    color: #92400e;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Payment method section label & padding ── */
.review-payment-methods {
    padding: 0 2rem 1.5rem;
}
@media (max-width: 575px) { .review-payment-methods { padding: 0 1.25rem 1.25rem; } }

/* ── Progress step: add a subtle transition on connector ── */
.book-progress-step::before {
    transition: background 0.35s ease;
}

/* ── Confirmation page: price block inside confirm-details-body ── */
.confirm-details-body .review-price-breakdown {
    margin-top: 1.25rem;
}
.confirm-details-body .review-price-line-total {
    border-radius: 0 0 10px 10px;
}

/* ================================================================
   GLOBAL BOOKING FLOW — Accessibility & Touch Improvements
   ================================================================ */
.btn-lux-filled:focus-visible,
.btn-book-secondary:focus-visible {
    outline: 3px solid var(--color-brown);
    outline-offset: 3px;
}
.payment-method-card-select:focus-visible {
    outline: 3px solid var(--color-primary, #6366f1);
    outline-offset: 2px;
}
/* Ensure min touch target height */
.btn-lux-filled,
.btn-book-secondary {
    min-height: 44px;
}