﻿:root {
    --primary: #003F46;
    --primary-hover: #00534E;
    --gold: #B08A45;
    --gold-hover: #967136;
    --bg: #F8F7F5;
    --surface: #FFFFFF;
    --surface-2: #FAFAF8;
    --surface-3: #F2F2EF;
    --text: #1E293B;
    --text-muted: #6B7280;
    --text-subtle: #94A3B8;
    --border: #E5E7EB;
    --border-hover: #D1D5DB;
    --red: #D14343;
    --success: #0F766E;
    --success-light: rgba(15, 118, 110, 0.10);
    --accent: var(--primary);
    --accent-mid: var(--primary-hover);
    --accent-light: rgba(0, 63, 70, 0.08);
    --green: var(--gold);
    --green-dark: var(--gold-hover);
    --green-light: rgba(176, 138, 69, 0.12);
    --ink: var(--text);
    --ink-muted: var(--text-muted);
    --ink-subtle: var(--text-subtle);
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --font-main: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fs-page: 30px;
    --fs-title: 20px;
    --fs-subtitle: 18px;
    --fs-body: 14px;
    --fs-small: 13px;
    --fs-label: 12px;
    --fs-price: 28px;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
}

.field-group label, .booking-trust-title, .hotel-location, .property-map-link {
    color: var(--primary);
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: var(--fs-page);
    font-weight: var(--fw-bold);
}

h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-bold);
}

h3, .panel-title, .summary-title, .room-section-title {
    font-size: var(--fs-subtitle);
    font-weight: var(--fw-semibold);
}

h4, h5, h6 {
    font-size: 16px;
    font-weight: var(--fw-semibold);
}

label, .field label, .field-group label, .summary-label {
    font-size: var(--fs-label);
    font-weight: var(--fw-semibold);
}

p, span, div, td, th, small, .hotel-address, .room-meta, .summary-row, .summary-value {
    font-size: var(--fs-body);
}

button, .btn, .btn-search, .btn-book, .btn-next, .btn-confirm {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
}

button, .btn, .btn-search, .btn-book, .btn-confirm, .btn-next, .btn-view, .btn-select, .summary-next-btn {
    border-radius: var(--r-sm);
}

input, select, textarea {
    border-radius: var(--r-sm);
}

.panel, .booking-summary, .hotel-card, .room-card, .summary-card {
    border-radius: var(--r);
}

.room-price, .summary-room-price, .price-total-line strong, .summary-grand-total .amount {
    font-size: var(--fs-price);
    font-weight: var(--fw-bold);
}

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

.booking-header-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.modal-content {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

.modal-header, .modal-footer {
    border-color: var(--border);
}

.modal-title {
    color: var(--ink);
    font-weight: 700;
}

.modal-body {
    color: var(--ink);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 63, 70, 0.10);
}

.retrieve-booking-link {
    color: var(--primary);
}

    .retrieve-booking-link:hover {
        color: var(--primary-hover);
    }

.hotel-distance {
    color: var(--primary);
    font-weight: 600;
    margin-top: 6px;
    font-size: 14px;
}

.hotel-walk {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}

.hotel-addr {
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hotel-distance .distance {
    font-weight: 700;
    color: var(--primary);
}

.hotel-location {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--ink);
}

.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
}

.search-wrap {
    position: relative;
    z-index: 20;
    max-width: 1068px;
    margin: 0 auto;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 63, 70, 0.08);
}

.search-bar {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(280px, 1.6fr) auto;
    gap: 12px;
    align-items: end;
    width: 100%;
    max-width: none;
    margin: 0;
}

    .search-bar .field-group {
        width: 100%;
        min-width: 0;
        max-width: none !important;
    }

        .search-bar .field-group input, .search-bar .field-group select {
            width: 100%;
            min-width: 0;
            height: 42px;
        }

    .search-bar .btn-search {
        width: auto;
        min-width: 100px;
        height: 42px;
        padding: 9px 22px;
    }

.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 120px;
}

    .field-group label {
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--primary);
    }

    .field-group input, .field-group select {
        font-family: var(--font-main);
        font-size: 14px;
        color: var(--ink);
        background: var(--surface-2);
        border: 1.5px solid var(--border);
        border-radius: var(--r-sm);
        padding: 8px 12px;
        outline: none;
        transition: border-color 0.15s, background 0.15s;
        appearance: none;
        -webkit-appearance: none;
    }

    .field-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 30px;
    }

        .field-group input:focus, .field-group select:focus {
            border-color: var(--accent-mid);
            background: var(--surface);
            box-shadow: 0 0 0 3px rgba(0, 63, 70, 0.10);
        }

.btn-search {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--r-sm);
    padding: 9px 22px;
    cursor: pointer;
    transition: none;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

    .btn-search:active {
        transform: scale(0.98);
    }

.btn-cancel {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: var(--r-sm);
    padding: 9px 22px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

    .btn-cancel:hover {
        background: #4b5563;
    }

    .btn-cancel:active {
        transform: scale(0.98);
    }

.page-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    min-height: calc(100vh - 64px);
}

.left-panel {
    overflow-y: auto;
}

.results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.results-title {
    font-family: "DM Sans",sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
}

.results-count {
    font-size: 13px;
    color: var(--ink-muted);
}

.hotel-grid.grid-view .hotel-card {
    width: 250px;
}

.hotel-card.selected {
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(176,138,69,.15);
}

.hotel-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

    .hotel-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hotel-card:hover .hotel-thumb img {
    transform: none;
}

.hotel-addr::before {
    content: "📍";
    margin-right: 6px;
    opacity: .7;
}

.hotel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.btn-view:hover {
    transform: translateY(-1px);
}

.room-section {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    margin-top: 0;
}

.room-section-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-section-title {
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}

.room-section-subtitle {
    font-size: 12px;
    color: var(--ink-muted);
    margin-left: auto;
}

.rooms-list {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.room-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-hover);
}

.room-thumb {
    width: 120px;
    min-width: 120px;
    height: 90px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--surface-3);
}

    .room-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.room-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.room-meta {
    font-size: 12px;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-amenity {
    background: var(--surface-3);
    color: var(--ink-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

.room-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.room-price {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.room-price, .summary-room-price, .extra-price {
    color: var(--gold);
}

    .room-price small {
        font-size: 11px;
        font-weight: 400;
        color: var(--ink-muted);
    }

.avail-tag {
    font-size: 11px;
    color: var(--success);
    background: var(--success-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.btn-book {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.1px;
}

    .btn-book:active {
        transform: scale(0.97);
    }

.state-box {
    padding: 2.5rem;
    text-align: center;
    color: var(--ink-muted);
}

.state-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-3);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--accent-mid);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.state-label {
    font-size: 14px;
    margin-top: 6px;
}

.leaflet-popup-content-wrapper {
    border-radius: var(--r) !important;
    box-shadow: var(--shadow-md) !important;
    font-family: "DM Sans", sans-serif !important;
}

.popup-inner strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.popup-inner small {
    font-size: 12px;
    color: var(--ink-muted);
}

.popup-btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-mid);
    background: var(--accent-light);
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: background 0.15s;
}

    .popup-btn:hover {
        background: var(--accent-mid);
        color: white;
    }

.top-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 1.5rem;
}

.nav-brand {
    grid-column: 2;
    justify-self: center;
    font-weight: 600;
}

.nav-back {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .nav-back:hover {
        color: var(--accent-mid);
    }

    .nav-back svg {
        width: 14px;
        height: 14px;
    }

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stepper-wrap {
    max-width: 900px;
    margin: 10px auto;
    padding: 0 1.5rem;
}

.stepper {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

    .step::after {
        content: "";
        position: absolute;
        top: 14px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: var(--border);
        z-index: 0;
    }

    .step:last-child::after {
        display: none;
    }

    .step.done::after {
        background: var(--green);
    }

.step-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-subtle);
    position: relative;
    z-index: 1;
    transition: all .2s;
    flex-shrink: 0;
}

.step.active .step-num {
    border-color: var(--accent-mid);
}

.step.done .step-num {
    border-color: var(--green);
    background: var(--green);
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-subtle);
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--ink);
    font-weight: 600;
}

.step.done .step-label {
    color: var(--green);
}

.step.done .step-num::before {
    content: "";
    display: block;
    width: 10px;
    height: 7px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translate(1px, -1px);
}

.checkout-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

.panel {
    background: var(--surface);
    border: 1.5px solid var(--border);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.panel-header {
    padding: .875rem 1.25rem;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-title {
    font-family: "DM Sans",sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .panel-title svg {
        width: 15px;
        height: 15px;
        color: var(--accent-mid);
    }

.panel-body {
    padding: 1.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    .form-grid .full {
        grid-column: 1 / -1;
    }

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .field label {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .6px;
        color: var(--primary);
    }

        .field label .req {
            color: var(--red);
            margin-left: 2px;
        }

    .field input, .field select, .field textarea {
        font-family: var(--font-main);
        font-size: 14px;
        color: var(--ink);
        background: var(--surface-2);
        border: 1.5px solid var(--border);
        border-radius: var(--r-sm);
        padding: 9px 12px;
        outline: none;
        transition: border-color .15s, background .15s, box-shadow .15s;
        appearance: none;
        -webkit-appearance: none;
        width: 100%;
    }

    .field select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 30px;
    }

        .field input:focus, .field select:focus, .field textarea:focus {
            border-color: var(--accent-mid);
            background: var(--surface);
            box-shadow: 0 0 0 3px rgba(0, 63, 70, 0.10);
        }

        .field input.error, .field select.error, .field textarea.error {
            border-color: var(--red);
        }

.field-error {
    font-size: 11px;
    color: var(--red);
    display: none;
}

.field.has-error .field-error {
    display: block;
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

.radio-group {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.radio-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    cursor: pointer;
    font-size: 13px;
    transition: border-color .15s, background .15s;
    user-select: none;
}

    .radio-opt input[type=radio] {
        display: none;
    }

.radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
    transition: border-color .15s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-table-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    width: 100%;
}

.booking-table-left {
    min-width: 0;
    overflow-x: auto;
}

.booking-table-right {
    position: sticky;
    top: 20px;
    width: auto;
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    align-self: start;
}

.radio-opt input:checked ~ .radio-dot {
    border-color: var(--accent-mid);
    background: var(--accent-mid);
}

.radio-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity .15s;
}

.radio-opt input:checked ~ .radio-dot::after {
    opacity: 1;
}

.radio-opt:has(input:checked) {
    border-color: var(--accent-mid);
    background: var(--accent-light);
}

.step-panel {
    display: none;
}

    .step-panel.active {
        display: block;
    }

.extras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.extra-card {
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: .875rem 1rem;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .extra-card:hover {
        border-color: var(--border-hover);
    }

    .extra-card.selected {
        border-color: var(--accent-mid);
        background: var(--accent-light);
    }

.extra-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid var(--border);
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.extra-card.selected .extra-check {
    border-color: var(--accent-mid);
    background: var(--accent-mid);
}

.extra-check svg {
    display: none;
}

.extra-card.selected .extra-check svg {
    display: block;
}

.extra-info {
    flex: 1;
}

.extra-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.extra-desc {
    font-size: 11px;
    color: var(--ink-muted);
    margin-top: 2px;
}

.extra-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    margin-top: 4px;
}

.payment-methods {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.pay-method {
    flex: 1;
    min-width: 100px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .15s, background .15s;
    background: var(--surface-2);
}

    .pay-method.active {
        border-color: var(--accent-mid);
        background: var(--accent-light);
        color: var(--accent-mid);
    }

    .pay-method svg {
        width: 18px;
        height: 18px;
    }

.card-row {
    display: grid;
    grid-template-columns: 1fr 120px 80px;
    gap: .75rem;
}

.card-icons {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.card-icon {
    height: 24px;
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    background: var(--surface);
    color: var(--ink-muted);
}

.visa-icon {
    color: #1a1f71;
}

.mc-icon {
    color: #eb001b;
}

.amex-icon {
    color: #007bc1;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--ink-muted);
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}

    .secure-badge svg {
        width: 13px;
        height: 13px;
        color: var(--green);
    }

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
}

.btn-prev {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--ink-muted);
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 9px 20px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .btn-prev:hover {
        border-color: var(--border-hover);
        color: var(--ink);
    }

.btn-confirm {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: white;
    border: none;
    border-radius: var(--r-sm);
    padding: 10px 28px;
    cursor: pointer;
    transition: background .15s, transform .1s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-book, .btn-confirm {
    background: var(--primary);
}

    .btn-book:hover, .btn-confirm:hover {
        background: var(--primary-hover);
    }

    .btn-confirm:active {
        transform: scale(.97);
    }

.sidebar {
    position: sticky;
    top: 130px;
}

.booking-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.summary-grand-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
}

    .summary-grand-total .amount {
        font-size: 28px;
        font-weight: 700;
        color: var(--accent);
    }

.summary-title {
    padding: .875rem 1.25rem;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.summary-header {
    padding: .875rem 1.25rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-title);
    font-weight: var(--fw-semibold);
}

.summary-section {
    padding: 10px 15px;
}

.summary-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--surface-3);
    display: block;
}

.summary-body {
    padding: 1rem 1.25rem;
}

.summary-hotel {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 2px;
}

.summary-room {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

    .summary-row .label {
        color: var(--ink-muted);
    }

    .summary-row .value {
        font-weight: 500;
        color: var(--ink);
    }

.price-section {
    padding: 1rem 1.25rem;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

    .price-row .plabel {
        color: var(--ink-muted);
    }

    .price-row .pamount {
        color: var(--ink);
    }

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: .875rem;
    padding-top: .875rem;
    border-top: 1.5px solid var(--border);
}

    .price-total .tlabel {
        font-size: 13px;
        font-weight: 600;
        color: var(--ink);
    }

    .price-total .tamount {
        font-size: 20px;
        font-weight: 600;
        color: var(--accent);
    }

.price-note {
    font-size: 11px;
    color: var(--ink-muted);
    margin-top: 4px;
    text-align: right;
}

.extras-summary {
    margin-top: 8px;
}

.extras-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 4px;
}

#confirmationPanel {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.success-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--success-light);
    border: 2px solid var(--success);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .success-circle svg {
        width: 28px;
        height: 28px;
        color: var(--success);
    }

.success-title {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .5rem;
}

.success-ref {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}

    .success-ref strong {
        color: var(--accent-mid);
        font-weight: 600;
    }

.btn-home {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--accent-mid);
    background: var(--accent-light);
    border: none;
    border-radius: var(--r-sm);
    padding: 10px 24px;
    cursor: pointer;
    transition: background .15s;
}

    .btn-home:hover {
        background: var(--accent-mid);
        color: white;
    }

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--red);
    color: white;
    padding: 10px 18px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s, transform .2s;
    z-index: 999;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 860px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .extras-grid {
        grid-template-columns: 1fr;
    }

    .card-row {
        grid-template-columns: 1fr 1fr;
    }

        .card-row .full-card {
            grid-column: 1 / -1;
        }
}

.booking-room-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

    .booking-room-table th {
        background: var(--accent);
        color: white;
        padding: 14px;
        font-size: var(--fs-body);
    }

    .booking-room-table td {
        border: 1px solid #d8e4f3;
        padding: 15px;
        vertical-align: top;
    }

.table-room-image {
    width: 220px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.table-price {
    font-size: var(--fs-body);
    font-weight: 700;
}

.benefit {
    color: var(--success);
    margin-bottom: 6px;
    font-weight: 600;
}

.rate-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    gap: 0.75rem;
}

    .rate-option:hover {
        background: var(--surface-2);
        border-color: var(--accent-mid);
    }

.rate-name {
    font-size: 13px;
    color: var(--ink-muted);
    flex: 1;
}

.rate-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.rate-cta {
    font-size: 12px;
    color: var(--accent-mid);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .right-panel {
        position: static;
        height: 320px;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .hotel-thumb {
        height: 200px;
    }
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 24px;
    max-width: 1280px;
}

.hotel-card {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all .2s ease;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    display: block;
}

.summary-next-btn:disabled {
    background: #CBD5D1;
    color: #FFFFFF;
    opacity: 1;
    cursor: not-allowed;
    transform: none;
}

    .summary-next-btn:disabled:hover {
        transform: none;
    }

.hotel-grid-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hotel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: none;
}

.hotel-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hotel-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

.hotel-addr {
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-muted);
    line-height: 1.5;
    min-height: 38px;
}

.hotel-footer {
    margin-top: auto;
}

.btn-primary {
    background-color: var(--text-muted);
    border-color: var(--primary);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:focus-visible {
        background-color: var(--primary-hover) !important;
        border-color: var(--primary-hover) !important;
    }

.btn-view {
    width: 100%;
    height: 48px;
    border: none;
    background: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.hotel-card.selected {
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(176, 138, 69, 0.15);
}

@media (max-width: 900px) {
    .hotel-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .hotel-card {
        width: 100%;
    }
}

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

.roomlists-page {
    font-size: 13px;
}

    .roomlists-page .room-card {
        position: relative;
        display: flex;
        gap: 18px;
        align-items: flex-start;
    }

    .roomlists-page .rate-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
    }

    .roomlists-page .rate-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .roomlists-page .room-divider {
        width: 100%;
        height: 1px;
        background: #e5e7eb;
    }

    .roomlists-page .room-stay-section {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    .roomlists-page .stay-left, .roomlists-page .stay-right {
        flex: 1;
    }

    .roomlists-page .stay-right {
        text-align: right;
    }

    .roomlists-page .stay-label {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .4px;
        color: var(--primary);
        margin-bottom: 8px;
    }

    .roomlists-page .stay-dates {
        font-size: 14px;
        font-weight: 600;
        color: var(--primary);
        display: flex;
        align-items: center;
    }

    .roomlists-page .room-price-big {
        font-size: 20px;
        font-weight: 700;
        color: var(--primary);
        line-height: 1;
    }

    .roomlists-page .room-tax-note {
        margin-top: 4px;
        font-size: 12px;
        color: var(--text-muted);
    }

    .roomlists-page .room-link {
        display: inline-block;
        margin-top: 8px;
        font-size: 12px;
        text-decoration: none;
    }

        .roomlists-page .room-link:hover {
            text-decoration: underline;
        }

    .roomlists-page .hotel-page {
        max-width: 1280px;
    }

    .roomlists-page .hotel-header {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 10px 0 20px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 5px;
    }

    .roomlists-page .hotel-logo {
        width: 140px;
        height: 100px;
        border-radius: 12px;
        object-fit: cover;
        border: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
    }

    .roomlists-page .hotel-meta h1 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .roomlists-page .hotel-address {
        font-size: 16px;
        color: var(--ink-muted);
        margin-bottom: 10px;
    }

.hotel-layout {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

.booking-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.room-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0 10px;
    gap: 20px;
    flex-wrap: wrap;
}
.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .sort-wrapper select {
        border: none;
        background: transparent;
        font-size: 16px;
        cursor: pointer;
    }

    .sort-wrapper label {
        color: var(--primary);
    }

.roomlists-page .room-list h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.roomlists-page .room-card {
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    background: white;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.roomlists-page .room-main {
    padding: 8px 10px;
    padding-top: 4px;
}

    .roomlists-page .room-main h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }

.roomlists-page .room-guests {
    font-size: 11px;
    margin-bottom: 6px;
}

.roomlists-page .rate-row {
    padding: 6px 0;
}

.roomlists-page .rate-name {
    font-size: 11px;
}

.roomlists-page .rate-price {
    font-size: 14px;
}

    .roomlists-page .rate-price small {
        font-size: 9px;
    }

.room-selected-badge {
    display: none;
}

.btn-select.selected {
    background: red;
    border-color: red;
    color: #fff;
}

.btn-select, .btn-next {
    margin-top: auto;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: var(--accent-mid);
    color: white;
    font-size: 15px;
    font-weight: 600;
}

    .btn-search:hover, .btn-view:hover, .btn-select:hover, .btn-next:hover, .summary-next-btn:hover {
        background: var(--primary-hover);
    }

.roomlists-page .summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
    position: sticky;
    top: 180px;
}

.pms-table thead tr.filters th {
    padding: 6px !important;
    background: #fff !important;
}

.pms-table thead tr.filters input {
    min-width: 90px;
    font-size: 12px;
}

.roomlists-page .summary-title {
    padding: 16px 22px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
    background: var(--surface-2);
}

.roomlists-page .summary-section {
    padding: 18px 22px;
}

.roomlists-page .summary-card h3 {
    font-size: 16px;
    padding: 18px 20px;
    margin: 0;
    background: var(--surface-2);
    border-bottom: 1px solid #e5e7eb;
}

.roomlists-page .summary-row-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

    .roomlists-page .summary-row-line span {
        color: var(--primary);
    }

.roomlists-page .summary-divider {
    height: 1px;
    background: #e5e7eb;
}

.roomlists-page .summary-room-box {
    padding: 10px 15px;
}

.roomlists-page .summary-hotel-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.roomlists-page .summary-next-btn {
    width: calc(100% - 44px);
    margin: 22px;
    height: 48px;
    border-radius: var(--r-sm);
}

.roomlists-page .summary-hotel, .roomlists-page .summary-dates, .roomlists-page .summary-event, .roomlists-page .summary-selection, .roomlists-page .change-link {
    padding-left: 20px;
    padding-right: 20px;
}

.roomlists-page .summary-hotel {
    padding-top: 16px;
}

.roomlists-page .summary-selection {
    padding-bottom: 12px;
}

.roomlists-page .summary-hotel {
    font-size: 13px;
}

.roomlists-page .summary-dates label, .roomlists-page .summary-event label {
    font-size: 10px;
}

.roomlists-page .summary-dates strong, .roomlists-page .summary-event strong {
    font-size: 11px;
}

.roomlists-page .summary-hotel {
    padding: 16px 20px 6px;
    font-size: 16px;
    font-weight: 700;
}

.roomlists-page .summary-dates > div, .roomlists-page .summary-event > div {
    display: flex;
    justify-content: space-between;
}

.roomlists-page .summary-dates label, .roomlists-page .summary-event label {
    color: var(--primary);
}

.roomlists-page .btn-next {
    width: calc(100% - 40px);
    margin: 16px 20px 20px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

@media (max-width:768px) {
    .roomlists-page .hotel-layout {
        grid-template-columns: 1fr;
    }
}

.summary-selection {
    margin-top: 12px;
}

.summary-room-card {
    border-radius: 10px;
}

.summary-room-name {
    font-size: 14px;
    color: var(--ink);
}

.summary-rate {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 2px;
    margin-bottom: 12px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .summary-grid > div {
        background: var(--surface-2);
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 14px;
    }

.summary-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.summary-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.summary-row-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 14px;
    color: var(--ink);
}

.summary-divider {
    height: 1px;
    background: #edf2f7;
    opacity: .8;
}

.summary-hotel-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

.summary-link {
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-mid);
    text-decoration: none;
}

    .summary-link:hover {
        text-decoration: underline;
    }

.summary-room-box {
    padding: 10px 15px;
    background: white;
}

.summary-room-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.summary-room-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    margin-bottom: 8px;
}

.summary-room-name {
    font-size: 15px;
    color: var(--ink);
}

.summary-room-meta {
    margin-top: 5px;
    font-size: 13px;
    color: var(--ink-muted);
}

.price-breakdown {
    padding: 10px 15px;
    background: white;
}

.price-line, .price-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-line {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--ink);
}

.price-total-line {
    border-top: 1px solid var(--border);
}

    .price-total-line span {
        font-size: 15px;
        font-weight: 700;
    }

    .price-total-line strong {
        font-size: 30px;
        font-weight: 700;
        color: var(--accent);
    }

.summary-next-btn {
    width: calc(100% - 44px);
    margin: 0 22px 22px;
    border: none;
    border-radius: 14px;
    background: var(--accent);
    color: white;
    height: 52px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

    .summary-next-btn:hover {
        transform: none;
    }

.summary-item {
    background: white;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

    .summary-item span {
        display: block;
        font-size: 10px;
        color: var(--ink-muted);
        margin-bottom: 3px;
    }

    .summary-item strong {
        font-size: 14px;
        color: var(--ink);
    }

.summary-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 8px;
}

    .summary-price-row.total {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
        font-size: 15px;
        font-weight: 700;
    }

.summary-note {
    margin-top: 8px;
    font-size: 11px;
    color: var(--ink-muted);
}

.summary-empty {
    font-size: 12px;
    color: var(--ink-muted);
}

body, input, select, textarea, button {
    font-family: var(--font-main);
}

h1, .results-title, .nav-brand {
    font-size: var(--fs-page);
    font-weight: var(--fw-bold);
    font-family: var(--font-main);
}

h2, h3, .summary-title, .panel-title, .room-section-title {
    font-size: var(--fs-title);
    font-weight: var(--fw-semibold);
    font-family: var(--font-main);
    color: var(--primary);
}

.field label, .summary-label, .field-group label {
    font-size: var(--fs-label);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: .5px;
}

p, span, div, .summary-value, .room-meta, .hotel-address, .summary-row-line {
    font-size: var(--fs-body);
}

.room-price, .rate-price, .summary-room-price, .price-total-line strong {
    font-size: var(--fs-price);
    font-weight: var(--fw-bold);
}

.price-total-line strong, .summary-grand-total .amount {
    color: var(--gold);
}

button, .btn-next, .btn-prev, .btn-search, .btn-select {
    font-size: 14px;
    font-weight: 600;
}

small, .summary-note, .room-guests, .rate-price small {
    font-size: 12px;
    color: var(--ink-muted);
}

.hotel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 10px auto;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .toolbar-left select {
        border: 1px solid #ddd;
        border-radius: 30px;
        padding: 10px 18px;
        background: white;
    }

.view-switch {
    display: flex;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid #ddd;
}

    .view-switch button {
        border: none;
        background: white;
        width: 50px;
        height: 44px;
        cursor: pointer;
    }

        .view-switch button.active {
            background: #4b5563;
            color: white;
        }

.hotel-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    max-width: 1400px;
}

    .hotel-grid.grid-view .hotel-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

.hotel-grid.list-view .hotel-card {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.hotel-grid.list-view .hotel-thumb {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.hotel-grid.list-view .hotel-body {
    flex: 1;
}

.hotel-grid.list-view .hotel-body {
    display: flex;
    gap: 6px;
}

.hotel-grid.map-view {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 0;
}

    .hotel-grid.map-view .hotel-card {
        display: flex;
        flex-direction: row;
    }

    .hotel-grid.map-view .hotel-thumb {
        width: 120px;
        align-self: stretch;
        height: auto;
        flex-shrink: 0;
    }

        .hotel-grid.map-view .hotel-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .hotel-grid.map-view .hotel-body {
        padding: 10px;
    }

    .hotel-grid.map-view .hotel-divider {
        display: none;
    }

    .hotel-grid.map-view .btn-view {
        width: 90px;
        height: 30px;
        font-size: 12px;
    }

.hotel-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
    flex-shrink: 0;
}


#hotelMap.active {
    display: block;
}

.map-layout {
    display: none;
    width: 50%;
    height: calc( 100vh - 220px );
    position: sticky;
    top: 140px;
    margin-right: 20px;
}

    .map-layout.active, .map-layout[style*="grid"] {
        display: grid;
    }

.map-hotels {
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid #eee;
}

#leafletMap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hotel-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    max-width: none;
}

    .hotel-grid.list-view .hotel-card {
        display: flex;
        flex-direction: row;
    }

    .hotel-grid.list-view .hotel-thumb {
        height: 180px;
        flex-shrink: 0;
    }

    .hotel-grid.list-view .hotel-divider {
        width: 1px;
        height: auto;
        background: #e5e7eb;
        margin: 20px 0;
    }

    .hotel-grid.list-view .btn-view {
        width: 110px;
        height: 34px;
        font-size: 12px;
        margin-top: 8px;
        padding: 0 12px;
        align-self: flex-start;
        background: var(--accent);
    }

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--primary-hover);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: .2s;
}

    .back-link:hover {
        color: var(--primary-hover);
        text-decoration: none;
    }

    .back-link svg {
        width: 14px;
        height: 14px;
    }

.property-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 16px 0;
}

.property-heading-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.property-brand-logo {
    width: 58px;
    height: 58px;
    padding: 6px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.property-name {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ink);
}

.property-location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.5;
}

.property-map-link {
    margin-top: 8px;
    color: var(--accent-mid);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

    .property-map-link:hover {
        text-decoration: underline;
    }

.roomlists-page .hotel-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.property-photo-collection {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
    gap: 6px;
    width: 100%;
    height: 300px;
    margin: 0 auto 24px;
    overflow: hidden;
    border-radius: 10px;
}

    .property-photo-collection button {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        padding: 0;
        border: 0;
        background: var(--surface-3);
        cursor: pointer;
        overflow: hidden;
    }

    .property-photo-collection img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: none;
    }

    .property-photo-collection button:hover img {
        transform: none;
    }

.property-photo-main {
    min-width: 0;
    min-height: 0;
}

.property-photo-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
    min-height: 0;
}

.property-photo-small {
    min-width: 0;
    min-height: 0;
}

.property-photo-placeholder {
    min-width: 0;
    min-height: 0;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.property-photo-count {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.property-photo-empty {
    position: relative;
    height: 260px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface-3);
}

    .property-photo-empty img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.75;
    }

    .property-photo-empty span {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink-muted);
        font-size: 14px;
        font-weight: 600;
    }

.view-all-photos-mobile {
    display: none;
}

/* Full-screen photo viewer */
.property-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
}

    .property-gallery-modal.show {
        display: flex;
    }

    .property-gallery-modal > img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        display: block;
    }

.gallery-modal-close, .gallery-modal-prev, .gallery-modal-next {
    position: absolute;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
}

.gallery-modal-close {
    top: 22px;
    right: 25px;
    width: 44px;
    height: 44px;
    font-size: 28px;
}

.gallery-modal-prev, .gallery-modal-next {
    top: 50%;
    width: 46px;
    height: 46px;
    font-size: 34px;
    transform: none;
}

.gallery-modal-prev {
    left: 24px;
}

.gallery-modal-next {
    right: 24px;
}

.gallery-modal-details {
    position: absolute;
    bottom: 22px;
    left: 50%;
    color: #fff;
    text-align: center;
    transform: translateX(-50%);
}

.gallery-modal-counter {
    font-size: 14px;
    font-weight: 600;
}

.gallery-modal-caption {
    margin-top: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

@media (max-width: 992px) {
    .property-photo-collection {
        grid-template-columns: minmax(0, 1.65fr) minmax(230px, 1fr);
        height: 270px;
    }

    .search-wrap {
        width: calc(100% - 32px);
        padding: 16px;
    }

    .search-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .search-bar .btn-search {
            width: 100%;
            grid-column: 1 / -1;
        }
}

@media (max-width: 768px) {
    .property-heading {
        flex-direction: column;
        gap: 8px;
    }

    .property-map-link {
        margin-top: 0;
    }

    .property-photo-collection {
        display: block;
        height: 210px;
        margin-bottom: 10px;
    }

    .property-photo-main {
        width: 100%;
        height: 100%;
    }

    .property-photo-side {
        display: none;
    }

    .view-all-photos-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 22px;
        padding: 8px 14px;
        border: 1px solid var(--accent-mid);
        border-radius: 7px;
        background: #fff;
        color: var(--accent-mid);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .property-name {
        font-size: 22px;
    }
}

.event-banner {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1280px;
    height: 220px;
    margin: 0 auto;
    border-radius: 0 0 18px 18px;
    /* optional */
    overflow: hidden;
}

.booking-page-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: -36px auto 0;
}

.event-banner-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.event-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.08) 100% );
}

.event-banner-content {
    max-width: 520px;
    padding: 0 34px;
    color: white;
}

.event-banner-label {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.event-banner-content h1 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-banner-content p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 420px;
    opacity: .95;
}

@media (max-width:768px) {
    .event-banner {
        height: 170px;
        margin: 10px 12px -20px;
        border-radius: 14px;
    }

    .event-banner-content {
        padding: 20px;
    }

        .event-banner-content h1 {
            font-size: 28px;
        }

        .event-banner-content p {
            display: none;
        }
}

.room-type-name-btn {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

    .room-type-name-btn:hover {
        text-decoration: underline;
    }

.room-photo-link {
    display: block;
    margin-top: 5px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

    .room-photo-link:hover {
        text-decoration: underline;
    }

.room-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 24px;
    background: rgba(15, 23, 42, 0.78);
    overflow-y: auto;
}

    .room-gallery-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.room-gallery-dialog {
    width: min(900px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.30);
}

.room-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
}

    .room-gallery-header h3 {
        margin: 0 0 5px;
        color: #1a1a2e;
        font-size: 21px;
    }

    .room-gallery-header p {
        margin: 0;
        color: var(--primary);
        font-size: 13px;
    }

.room-gallery-close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 24px;
    line-height: 32px;
    cursor: pointer;
}

.room-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 470px;
    background: var(--primary);
}

    .room-gallery-main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.room-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: #111827;
    font-size: 33px;
    line-height: 40px;
    cursor: pointer;
    transform: none;
}

.room-gallery-prev {
    left: 14px;
}

.room-gallery-next {
    right: 14px;
}

.room-gallery-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--gold);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    z-index: 100;
}

.room-gallery-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px 20px 20px;
    overflow-x: auto;
}

.room-gallery-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 70px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 7px;
    overflow: hidden;
    background: #e2e8f0;
    cursor: pointer;
}

.roomlists-page .room-link, .sort-wrapper select, .room-type-name-btn, .room-photo-link {
    color: var(--primary);
}

.room-gallery-thumb.active {
    border-color: var(--gold);
}

.room-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .room-gallery-modal {
        padding: 10px;
    }

    .room-gallery-main {
        height: 300px;
    }

    .room-gallery-dialog {
        max-height: calc(100vh - 20px);
    }
}

.checkout-page-content {
    margin-top: 0;
    padding-top: 10px;
}

    .checkout-page-content .top-nav {
        position: relative;
        z-index: 20;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
        margin: 0 auto 12px;
        padding: 10px 0;
    }

        .checkout-page-content .top-nav .back-link {
            grid-column: 1;
            justify-self: start;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary);
        }

        .checkout-page-content .top-nav .nav-brand {
            grid-column: 2;
            justify-self: center;
        }

        .checkout-page-content .top-nav .back-link:hover {
            color: var(--primary-hover);
        }

.booking-header {
    margin-bottom: 0;
    border-bottom: none;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

    .booking-header .container {
        min-height: 72px;
    }

.booking-header-logo {
    height: 52px;
}

.retrieve-booking-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.08);
    transition: .2s;
}

    .retrieve-booking-link svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.5;
    }

    .retrieve-booking-link:hover {
        background: rgba(255,255,255,.18);
        color: #fff;
        text-decoration: none;
    }

.room-amenity-admin {
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}

.room-amenity-category {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

    .room-amenity-category:last-child {
        border-bottom: none;
    }

    .room-amenity-category h6 {
        margin-bottom: 8px;
        font-weight: 700;
        color: #003f46;
    }

.room-gallery-content {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(290px, .8fr);
    gap: 20px;
    min-height: 500px;
}

.room-gallery-photo-section {
    min-width: 0;
}

.room-gallery-details {
    border-left: 1px solid var(--border);
    padding-left: 20px;
    max-height: 620px;
    overflow-y: auto;
}

.room-gallery-specifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.room-detail-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}

    .room-detail-line i {
        color: var(--success);
    }

.room-amenity-group {
    margin-bottom: 24px;
}

    .room-amenity-group h5 {
        margin-bottom: 12px;
        color: var(--ink);
        font-size: 15px;
        font-weight: 700;
    }

.room-amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}

    .room-amenity-item i {
        margin-top: 2px;
        color: var(--success);
        flex-shrink: 0;
    }

    .room-amenity-item span {
        display: flex;
        flex-direction: column;
    }

    .room-amenity-item small {
        color: var(--primary);
        font-size: 11px;
    }

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

    .room-gallery-details {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 18px;
        max-height: none;
    }

    .room-amenity-grid {
        grid-template-columns: 1fr;
    }
}

.booking-room-table td:first-child {
    min-width: 300px;
}

.room-type-name-btn {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 12px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

    .room-type-name-btn:hover {
        color: var(--primary-hover);
        text-decoration: underline;
    }

.room-summary-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.room-summary-spec {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 120px;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
}

    .room-summary-spec i {
        width: 18px;
        color: var(--primary);
        font-size: 15px;
        flex-shrink: 0;
    }

.room-summary-amenities {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.room-summary-amenity {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 7px;
    align-items: start;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

    .room-summary-amenity i {
        color: var(--success);
        margin-top: 2px;
    }

    .room-summary-amenity small {
        grid-column: 2;
        color: var(--text-muted);
        font-size: 11px;
    }

.room-details-link, .room-photo-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.room-details-link {
    margin: 2px 0 10px;
}

    .room-details-link:hover, .room-photo-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

.room-photo-link {
    display: flex;
    margin-bottom: 8px;
}

.booking-room-table .text-danger {
    margin-top: 7px;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================================
   TRIP-STYLE ROOM PACKAGE LAYOUT
========================================================= */
.roomlists-page .hotel-page {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.booking-table-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 18px;
    align-items: start;
}

.booking-table-left {
    min-width: 0;
    overflow: visible;
}

.room-rate-list {
    min-width: 850px;
}

.room-rate-card {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(0, 2.05fr);
    background: #fff;
    border: 1px solid #dce5ed;
}

    .room-rate-card + .room-rate-card {
        margin-top: 16px;
        border-top: 1px solid #dce5ed;
    }

.room-card-info {
    padding: 16px;
    border-right: 1px solid #dce5ed;
}

.room-card-photo {
    position: relative;
    display: block;
    width: 100%;
    height: 180px;
    padding: 0;
    margin: 0 0 13px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #eef2f5;
    cursor: pointer;
}

    .room-card-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: none;
    }

    .room-card-photo:hover img {
        transform: none;
    }

.room-photo-count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.room-card-name {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 12px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

    .room-card-name:hover {
        color: var(--primary);
        text-decoration: underline;
    }

.room-main-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
}

    .room-main-specs > div {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #334155;
        font-size: 13px;
    }

    .room-main-specs i {
        color: #0f766e;
        font-size: 14px;
    }

.room-card-amenities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.room-card-amenity {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
}

    .room-card-amenity i {
        margin-top: 1px;
        color: #0f766e;
        flex-shrink: 0;
    }

    .room-card-amenity span {
        min-width: 0;
    }

.room-details-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin-top: 13px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

    .room-details-button:hover {
        text-decoration: underline;
    }

.room-low-stock {
    margin-top: 9px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
}

.room-package-row {
    display: grid;
    grid-template-columns: 90px minmax(260px, 1fr) 150px 80px;
    min-height: 190px;
    border-bottom: 1px solid #dce5ed;
}

    .room-package-row > div {
        padding: 16px;
        border-right: 1px solid #dce5ed;
    }

        .room-package-row > div:last-child {
            border-right: 0;
        }

.package-guests {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    color: #334155;
    font-size: 13px;
    white-space: nowrap;
}

    .package-guests i {
        color: #4c1d95;
    }

.package-benefits {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.package-line {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

    .package-line i {
        width: 16px;
        margin-top: 2px;
        flex-shrink: 0;
    }

.package-subline {
    padding-left: 23px;
    color: var(--primary);
    font-size: 12px;
    line-height: 1.45;
}

.package-price {
    text-align: right;
}

    .package-price strong {
        display: block;
        color: var(--primary);
        font-size: 21px;
        font-weight: 700;
        white-space: nowrap;
    }

    .package-price small {
        display: block;
        margin-top: 3px;
        color: var(--primary);
        font-size: 11px;
    }

.package-select {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

    .package-select select {
        width: 58px;
        min-height: 36px;
        padding: 5px 7px;
        border: 1px solid #94a3b8;
        border-radius: 6px;
        background: #fff;
        font-size: 14px;
    }

/* Booking sidebar */
.booking-table-right {
    position: sticky;
    top: 100px;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.booking-room-table {
    display: none;
}

@media (max-width: 1100px) {
    .booking-table-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-table-right {
        position: static;
        order: -1;
    }

    .booking-table-left {
        overflow-x: auto;
    }
}

@media (max-width: 760px) {
    .room-rate-header {
        display: none;
    }

    .room-rate-list {
        min-width: 0;
    }

    .room-rate-card {
        grid-template-columns: 1fr;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .room-card-info {
        border-right: 0;
        border-bottom: 1px solid #dce5ed;
    }

    .room-package-row {
        grid-template-columns: 1fr;
        min-height: 0;
    }

        .room-package-row > div {
            border-right: 0;
            border-bottom: 1px solid #e5e7eb;
        }

    .package-guests {
        justify-content: flex-start;
    }

    .package-price {
        text-align: left;
    }

    .package-select {
        justify-content: flex-start;
    }

    .room-card-amenities {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FIX BOOKING SUMMARY COVERING QUANTITY SELECT
   Keep this at the END of the CSS file
========================================================= */
.booking-table-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 250px !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

/* Only this section may scroll horizontally */
/* Sidebar stays in its own grid column */
.booking-table-right {
    position: sticky !important;
    top: 100px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
}

/* Ensure the quantity cell stays visible */
.package-select {
    position: relative;
    z-index: 3;
    min-width: 85px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

    .package-select .roomQty {
        position: relative;
        z-index: 4;
        width: 62px;
        min-width: 62px;
        height: 38px;
        cursor: pointer;
    }

.room-package-row {
    grid-template-columns: 90px minmax(280px, 1fr) 155px 85px !important;
}

@media (max-width: 1280px) {
    .booking-table-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .booking-table-right {
        position: static !important;
        order: -1;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    #bookingPackage {
        display: grid;
        grid-template-columns: auto auto minmax(150px, 1fr) 220px;
        gap: 16px;
        align-items: center;
        padding: 16px 20px;
    }

        #bookingPackage .summary-next-btn {
            width: 220px;
            margin: 0;
        }

        #bookingPackage .book-note {
            grid-column: 1 / -1;
            margin-top: 4px;
        }
}

.booking-table-wrapper {
    display: block !important;
    width: 100%;
}

.booking-table-right {
    position: sticky !important;
    top: 70px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-bottom: 16px !important;
    z-index: 20;
}

#bookingPackage {
    display: grid;
    grid-template-columns: auto auto minmax(180px, 1fr) 220px;
    gap: 18px;
    align-items: center;
    padding: 16px 20px;
}

    #bookingPackage .summary-next-btn {
        width: 220px;
        margin: 0;
    }

    #bookingPackage .book-note {
        grid-column: 1 / -1;
    }

.booking-table-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 240px !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100%;
    min-width: 0;
}

.booking-table-left {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: visible;
    position: relative;
    z-index: 1;
}

.room-rate-list {
    width: 100%;
    min-width: 900px;
}

.booking-table-right {
    position: sticky !important;
    top: 90px !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #dce5ed;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    z-index: 5;
}

#bookingPackage {
    padding: 20px;
}

.book-title {
    margin-bottom: 5px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.book-amount {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.book-tax {
    margin-top: 3px;
    color: var(--primary);
    font-size: 12px;
}

.summary-next-btn {
    width: 100%;
    min-height: 44px;
    margin: 18px 0 14px;
}

/* Ensure the Select column remains clickable */
.package-select {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 90px;
}

    .package-select .roomQty {
        position: relative;
        z-index: 3;
        width: 64px;
        min-width: 64px;
        height: 38px;
        cursor: pointer;
    }

.room-package-row {
    grid-template-columns: 82px minmax(260px, 1fr) 145px 90px !important;
}

@media (max-width: 1150px) {
    .booking-table-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .booking-table-right {
        position: sticky !important;
        top: 70px !important;
        order: -1;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    #bookingPackage {
        display: grid;
        grid-template-columns: auto auto minmax(140px, 1fr) 210px;
        gap: 14px;
        align-items: center;
        padding: 14px 18px;
    }

        #bookingPackage .summary-next-btn {
            width: 210px;
            margin: 0;
        }

        #bookingPackage .book-note {
            grid-column: 1 / -1;
            margin-top: 2px;
        }
}

/* =========================================================
   FINAL ROOM CARD LAYOUT
========================================================= */
.roomlists-page .hotel-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.booking-table-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 250px !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100%;
    min-width: 0;
}

.booking-table-left {
    width: 100%;
    min-width: 0;
    overflow: visible !important;
}

.room-rate-list {
    width: 100%;
    min-width: 0 !important;
}

.room-rate-card {
    display: grid;
    grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #dbe4ea;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

    .room-rate-card + .room-rate-card {
        border-radius: 10px;
    }

.room-card-info {
    padding: 18px;
    border-right: 1px solid #dbe4ea;
    background: #fff;
}

.room-card-photo {
    width: 100%;
    height: 210px;
    margin: 0 0 14px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: #eef2f4;
}

    .room-card-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.room-card-name {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
}

.room-main-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
}

    .room-main-specs > div {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #475569;
        font-size: 13px;
    }

    .room-main-specs i {
        color: var(--primary);
    }

.room-card-amenities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.room-card-amenity {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
}

    .room-card-amenity i {
        margin-top: 2px;
        color: var(--success);
        flex-shrink: 0;
    }

.room-details-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.room-low-stock {
    margin-top: 10px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
}

.room-package-list {
    min-width: 0;
    background: #fff;
}

.room-package-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    min-height: 230px;
    border-bottom: 1px solid #dbe4ea;
}

.package-benefits {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.package-capacity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
}

    .package-capacity i {
        color: #4c1d95;
    }

.package-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

    .package-line i {
        width: 17px;
        margin-top: 3px;
        flex-shrink: 0;
    }

.package-success {
    color: #15803d;
}

.package-danger {
    color: #dc2626;
}

.package-muted {
    color: var(--primary);
}

.package-subline {
    padding-left: 25px;
    color: var(--primary);
    font-size: 12px;
    line-height: 1.5;
}

.package-booking {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 18px;
    border-left: 1px solid #dbe4ea;
    background: #fafcff;
}

.package-price {
    margin-bottom: 20px;
    text-align: right;
}

    .package-price strong {
        display: block;
        color: var(--primary);
        font-size: 23px;
        font-weight: 700;
        white-space: nowrap;
    }

    .package-price small {
        display: block;
        margin-top: 4px;
        color: var(--primary);
        font-size: 11px;
    }

.package-quantity-label {
    margin-bottom: 6px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.package-booking .roomQty {
    width: 100%;
    height: 40px;
    padding: 6px 10px;
    border: 1px solid #94a3b8;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.booking-table-right {
    position: sticky !important;
    top: 90px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #dbe4ea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

#bookingPackage {
    display: block !important;
    padding: 22px !important;
}

.book-title, .book-amount, .book-tax, .book-note {
    display: block;
    width: 100%;
}

.book-title {
    margin-bottom: 8px;
    color: #475569;
    font-size: 14px;
}

.book-amount {
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.book-tax {
    margin-top: 6px;
    color: var(--primary);
    font-size: 12px;
    line-height: 1.4;
}

.summary-next-btn {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 20px 0 15px;
}

.book-note {
    color: var(--primary);
    font-size: 12px;
    line-height: 1.55;
}

.sidebar-room-count {
    display: block;
    margin-bottom: 12px;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
}

.room-rate-card {
    display: grid;
    grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
}

.room-package-row {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 180px;
}

.room-rate-header {
    width: 100%;
    padding: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

    .room-rate-header > div {
        display: flex;
        align-items: center;
        min-height: 60px;
        padding: 14px 18px;
        font-weight: 700;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

        .room-rate-header > div:last-child {
            border-right: 0;
        }

.room-rate-card {
    display: grid;
    grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
    width: 100%;
    background: #fff;
    border: 1px solid #dbe4ea;
}

.room-card-info {
    min-width: 0;
    padding: 18px;
    border-right: 1px solid #dbe4ea;
}

.room-package-list {
    min-width: 0;
}

.room-package-row {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 180px;
    min-width: 0;
    border-bottom: 1px solid #dbe4ea;
}

    .room-package-row:last-child {
        border-bottom: 0;
    }

.package-benefits {
    min-width: 0;
    padding: 20px 22px;
    border-right: 1px solid #dbe4ea;
}

.package-booking {
    width: 180px;
    min-width: 180px;
    padding: 20px 18px;
}

.booking-table-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
    align-items: start;
}

.room-rate-header, .room-rate-list {
    min-width: 880px;
}

.roomlists-page .hotel-page {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.roomlists-page .room-list {
    width: 100% !important;
    min-width: 0 !important;
}

.roomlists-page .room-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 8px 0 14px !important;
    flex-wrap: wrap !important;
}

.roomlists-page .sort-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-right: 10px !important;
}

    .roomlists-page .sort-wrapper label {
        margin: 0 !important;
        color: var(--primary) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .roomlists-page .sort-wrapper select {
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        color: var(--primary) !important;
        font-size: 14px !important;
        cursor: pointer !important;
    }

.roomlists-page .booking-table-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 10px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
}

.roomlists-page .booking-table-left {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #eef2f7;
}

    .roomlists-page .booking-table-left::-webkit-scrollbar {
        height: 10px;
    }

    .roomlists-page .booking-table-left::-webkit-scrollbar-track {
        background: #eef2f7;
        border-radius: 999px;
    }

    .roomlists-page .booking-table-left::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 999px;
    }

.roomlists-page .room-rate-header, .roomlists-page .room-rate-list {
    width: 100% !important;
    min-width: 900px !important;
}

.roomlists-page .room-rate-header {
    display: grid !important;
    grid-template-columns: 360px minmax(300px, 1fr) 190px !important;
    padding: 0 !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0 !important;
    overflow: hidden !important;
}

    .roomlists-page .room-rate-header > div {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 14px 20px !important;
        border-right: 1px solid rgba(255, 255, 255, 0.17) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 750 !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }

/* One room type */
.roomlists-page .room-rate-card {
    display: grid !important;
    grid-template-columns: 330px minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
    background: #fff !important;
    border: 1px solid #d9e2ea !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.04) !important;
}

    .roomlists-page .room-rate-card + .room-rate-card {
        border-top: 1px solid #d9e2ea !important;
        border-radius: 10px !important;
    }

/* Room information column */
.roomlists-page .room-card-info {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 18px !important;
    border-right: 1px solid #d9e2ea !important;
    background: #fff !important;
}

.roomlists-page .room-card-photo {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 205px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #e2e8f0 !important;
    cursor: pointer !important;
}

    .roomlists-page .room-card-photo img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: none !important;
    }

    .roomlists-page .room-card-photo:hover img {
        transform: none !important;
    }

.roomlists-page .room-photo-count {
    position: absolute !important;
    right: 9px !important;
    bottom: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 5px 8px !important;
    border-radius: 5px !important;
    background: rgba(15, 23, 42, 0.78) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.roomlists-page .room-card-name {
    display: block !important;
    width: 100% !important;
    margin: 0 0 11px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--primary) !important;
    line-height: 1.35 !important;
    text-align: left !important;
    cursor: pointer !important;
}

    .roomlists-page .room-card-name:hover {
        color: #1d4ed8 !important;
        text-decoration: underline !important;
    }

.roomlists-page .room-main-specs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 16px !important;
    margin: 0 0 14px !important;
}

    .roomlists-page .room-main-specs > div {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        color: #334155 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .roomlists-page .room-main-specs i {
        color: var(--primary) !important;
        font-size: 14px !important;
    }

.roomlists-page .room-card-amenities {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e5e7eb !important;
}

.roomlists-page .room-card-amenity {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    color: #475569 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

    .roomlists-page .room-card-amenity i {
        margin-top: 2px !important;
        color: #0f766e !important;
        flex: 0 0 auto !important;
    }

    .roomlists-page .room-card-amenity span {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

.roomlists-page .room-details-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--primary) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

    .roomlists-page .room-details-button:hover {
        text-decoration: underline !important;
    }

.roomlists-page .room-low-stock {
    margin-top: 10px !important;
    color: #dc2626 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Package rows */
.roomlists-page .room-package-list {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    background: #fff !important;
}

.roomlists-page .room-package-row {
    display: grid !important;
    grid-template-columns: minmax(300px, 1fr) 190px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 260px !important;
    border-bottom: 1px solid #d9e2ea !important;
    background: #fff !important;
}

.roomlists-page .package-benefits {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 20px 22px !important;
    border-right: 1px solid #d9e2ea !important;
    background: #fff !important;
}

.roomlists-page .package-capacity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 2px !important;
    color: #334155 !important;
    /*    font-size: 12px !important;
    font-weight: 750 !important;*/
}

    .roomlists-page .package-capacity i {
        color: #5b21b6 !important;
    }

.roomlists-page .package-line {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    min-width: 0 !important;
    color: #0f766e !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

    .roomlists-page .package-line i {
        width: 17px !important;
        margin-top: 2px !important;
        flex: 0 0 auto !important;
    }

    .roomlists-page .package-line span {
        min-width: 0 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

.roomlists-page .package-success {
    color: #15803d !important;
}

.roomlists-page .package-danger {
    color: #dc2626 !important;
}

.roomlists-page .package-muted {
    color: var(--primary) !important;
}

.roomlists-page .package-subline {
    padding-left: 25px !important;
    color: var(--primary) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* Price and quantity column */
.roomlists-page .package-booking {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 20px 18px !important;
    border: 0 !important;
    background: #f8fafc !important;
}

.roomlists-page .package-price {
    display: block !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    text-align: right !important;
}

    .roomlists-page .package-price strong {
        display: block !important;
        color: var(--primary) !important;
        font-size: 23px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .roomlists-page .package-price small {
        display: block !important;
        margin-top: 5px !important;
        color: var(--primary) !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

.roomlists-page .package-quantity-label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.roomlists-page .package-booking .roomQty {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 7px 10px !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--primary) !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

.roomlists-page .booking-table-right {
    position: sticky !important;
    top: 90px !important;
    display: block !important;
    background: #fff !important;
    border: 1px solid #d9e2ea !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09) !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

.roomlists-page #bookingPackage {
    display: block !important;
    width: 100% !important;
    padding: 22px !important;
}

.roomlists-page .book-title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    color: var(--primary) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.roomlists-page .sidebar-room-count {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.roomlists-page .book-amount {
    display: block !important;
    width: 100% !important;
    color: var(--primary) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}

.roomlists-page .book-tax {
    display: block !important;
    width: 100% !important;
    margin-top: 6px !important;
    color: var(--primary) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.roomlists-page .summary-next-btn {
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 20px 0 14px !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    cursor: pointer !important;
}

    .roomlists-page .summary-next-btn:hover:not(:disabled) {
        background: var(--primary-hover) !important;
        transform: none !important;
    }

    .roomlists-page .summary-next-btn:disabled {
        background: #cbd5d1 !important;
        color: #fff !important;
        opacity: 1 !important;
        cursor: not-allowed !important;
        transform: none !important;
    }

.roomlists-page .book-note {
    display: block !important;
    width: 100% !important;
    color: var(--primary) !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

/* Room gallery modal */
.roomlists-page + .room-gallery-modal, .room-gallery-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background: rgba(15, 23, 42, 0.76) !important;
}

.room-gallery-dialog {
    width: min(1160px, 96vw) !important;
    max-height: 92vh !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

.room-gallery-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 18px 22px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

    .room-gallery-header h3 {
        margin: 0 0 4px !important;
        color: var(--primary) !important;
        font-size: 21px !important;
    }

    .room-gallery-header p {
        margin: 0 !important;
        color: var(--primary) !important;
        font-size: 12px !important;
    }

.room-gallery-close {
    flex: 0 0 auto !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 24px !important;
    cursor: pointer !important;
}

.room-gallery-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr) !important;
    height: calc(92vh - 82px) !important;
}

.room-gallery-photo-section {
    min-width: 0 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    background: #f8fafc !important;
}

.room-gallery-main {
    position: relative !important;
    width: 100% !important;
    height: 470px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #e2e8f0 !important;
}

.room-gallery-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 2 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
    background: rgba(15, 23, 42, 0.72) !important;
    color: #fff !important;
    font-size: 27px !important;
    cursor: pointer !important;
}

.room-gallery-counter {
    margin-top: 9px !important;
    color: var(--primary) !important;
    font-size: 11px !important;
    text-align: center !important;
}

.room-gallery-thumbnails {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.room-gallery-thumb {
    height: 70px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    cursor: pointer !important;
}

    .room-gallery-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

.room-gallery-details {
    min-width: 0 !important;
    padding: 22px !important;
    overflow-y: auto !important;
    border-left: 1px solid #e2e8f0 !important;
    background: #fff !important;
}

.room-detail-line {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #334155 !important;
    font-size: 12px !important;
}

    .room-detail-line i {
        color: var(--primary) !important;
    }

.room-amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 30px;
}

.room-amenity-item {
    display: grid !important;
    grid-template-columns: 17px minmax(0, 1fr) !important;
    column-gap: 7px !important;
    align-items: start !important;
    min-width: 0 !important;
    color: #475569 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

@media (max-width: 1280px) {
    .roomlists-page .booking-table-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .roomlists-page .booking-table-right {
        position: sticky !important;
        top: 70px !important;
        order: -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .roomlists-page #bookingPackage {
        display: grid !important;
        grid-template-columns: auto auto minmax(140px, 1fr) 210px !important;
        gap: 14px !important;
        align-items: center !important;
        padding: 14px 18px !important;
    }

    .roomlists-page .book-title {
        margin: 0 !important;
    }

    .roomlists-page .sidebar-room-count {
        margin: 0 !important;
    }

    .roomlists-page .book-amount {
        font-size: 23px !important;
    }

    .roomlists-page .book-tax {
        display: none !important;
    }

    .roomlists-page .summary-next-btn {
        width: 210px !important;
        margin: 0 !important;
    }

    .roomlists-page .book-note {
        grid-column: 1 / -1 !important;
        margin-top: 1px !important;
    }
}

/* Tablet/mobile room cards */
@media (max-width: 760px) {
    .roomlists-page .hotel-page {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .roomlists-page .room-toolbar {
        align-items: stretch !important;
    }

    .roomlists-page .sort-wrapper {
        width: 100% !important;
        justify-content: space-between !important;
    }

        .roomlists-page .sort-wrapper select {
            min-width: 0 !important;
            max-width: 220px !important;
        }

    .roomlists-page .booking-table-left {
        overflow-x: visible !important;
    }

    .roomlists-page .room-rate-header {
        display: none !important;
    }

    .roomlists-page .room-rate-list {
        min-width: 0 !important;
    }

    .roomlists-page .room-rate-card {
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
        border-top: 1px solid #d9e2ea !important;
        border-radius: 10px !important;
    }

    .roomlists-page .room-card-info {
        border-right: 0 !important;
        border-bottom: 1px solid #d9e2ea !important;
    }

    .roomlists-page .room-package-row {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    .roomlists-page .package-benefits {
        border-right: 0 !important;
        border-bottom: 1px solid #d9e2ea !important;
    }

    .roomlists-page .package-booking {
        padding: 16px 18px !important;
    }

    .roomlists-page .package-price {
        text-align: left !important;
    }

    .roomlists-page .package-booking .roomQty {
        max-width: 180px !important;
    }

    .roomlists-page #bookingPackage {
        grid-template-columns: 1fr auto !important;
        gap: 8px 12px !important;
    }

    .roomlists-page .book-title {
        display: none !important;
    }

    .roomlists-page .sidebar-room-count {
        margin: 0 !important;
        align-self: center !important;
    }

    .roomlists-page .book-amount {
        text-align: right !important;
        font-size: 21px !important;
    }

    .roomlists-page .summary-next-btn {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    .roomlists-page .book-note {
        display: none !important;
    }

    .room-gallery-modal {
        padding: 8px !important;
    }

    .room-gallery-dialog {
        width: 100% !important;
        max-height: 96vh !important;
    }

    .room-gallery-content {
        grid-template-columns: 1fr !important;
        height: calc(96vh - 82px) !important;
        overflow-y: auto !important;
    }

    .room-gallery-photo-section, .room-gallery-details {
        overflow: visible !important;
    }

    .room-gallery-details {
        border-left: 0 !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .room-gallery-main {
        height: 300px !important;
    }

    .room-gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .room-gallery-specifications, .room-amenity-grid {
        grid-template-columns: 1fr !important;
    }
}

.roomlists-page .hotel-page {
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.roomlists-page .booking-table-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
}

.roomlists-page .booking-table-left {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.roomlists-page .room-rate-header, .roomlists-page .room-rate-list {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.roomlists-page .room-rate-header {
    display: grid !important;
    grid-template-columns: minmax(330px, 36%) minmax(260px, 1fr) 170px !important;
    padding: 0 !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0 !important;
    overflow: hidden !important;
}

    .roomlists-page .room-rate-header > div {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 14px 18px !important;
        border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

        .roomlists-page .room-rate-header > div:last-child {
            border-right: 0 !important;
        }

.roomlists-page .room-rate-card {
    display: grid !important;
    grid-template-columns: minmax(330px, 36%) minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    background: #fff !important;
    border: 1px solid #d9e2ea !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    overflow: hidden !important;
}

.roomlists-page .room-package-list {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.roomlists-page .room-package-row {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) 170px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 260px !important;
    border-bottom: 1px solid #d9e2ea !important;
}

    .roomlists-page .room-package-row:last-child {
        border-bottom: 0 !important;
    }

.roomlists-page .package-benefits {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 20px !important;
    border-right: 1px solid #d9e2ea !important;
}

.roomlists-page .package-line, .roomlists-page .package-line span, .roomlists-page .package-subline {
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.roomlists-page .package-booking {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    padding: 18px 14px !important;
    border: 0 !important;
    background: #f8fafc !important;
}

.roomlists-page .package-price {
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    text-align: right !important;
}

    .roomlists-page .package-price strong {
        display: block !important;
        color: var(--primary) !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .roomlists-page .package-price small {
        display: block !important;
        margin-top: 5px !important;
        color: var(--primary) !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

.roomlists-page .package-quantity-label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.roomlists-page .package-booking .roomQty {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 6px 9px !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--primary) !important;
    cursor: pointer !important;
}

.roomlists-page .booking-table-right {
    position: sticky !important;
    top: 90px !important;
    display: block !important;
    width: 260px !important;
    background: #fff !important;
    border: 1px solid #d9e2ea !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09) !important;
    overflow: hidden !important;
    z-index: 5 !important;
}

@media (max-width: 1280px) {
    .roomlists-page .booking-table-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .roomlists-page .booking-table-right {
        position: sticky !important;
        top: 70px !important;
        order: -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .roomlists-page #bookingPackage {
        display: grid !important;
        grid-template-columns: auto auto minmax(130px, 1fr) 190px !important;
        gap: 12px !important;
        align-items: center !important;
        padding: 14px 18px !important;
    }

    .roomlists-page .book-title, .roomlists-page .sidebar-room-count {
        margin: 0 !important;
    }

    .roomlists-page .book-amount {
        font-size: 22px !important;
    }

    .roomlists-page .book-tax {
        display: none !important;
    }

    .roomlists-page .summary-next-btn {
        width: 190px !important;
        margin: 0 !important;
    }

    .roomlists-page .book-note {
        grid-column: 1 / -1 !important;
    }
}

.roomlists-page .room-feature-grid {
    display: grid !important;
    margin: 0 0 13px !important;
}

.roomlists-page .room-feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    color: #334155 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

    .roomlists-page .room-feature-item i {
        width: 17px !important;
        color: var(--primary) !important;
        font-size: 15px !important;
        text-align: center !important;
        flex: 0 0 auto !important;
    }

.roomlists-page .room-card-amenities {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 14px !important;
    padding-top: 13px !important;
    border-top: 1px solid #e5e7eb !important;
}

.roomlists-page .room-card-amenity {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    column-gap: 7px !important;
    align-items: center !important;
    min-width: 0 !important;
    color: #334155 !important;
    line-height: 1.35 !important;
}

.roomlists-page .room-amenity-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    color: #0f766e !important;
    font-size: 14px !important;
}

.roomlists-page .room-amenity-text {
    min-width: 0 !important;
    color: #334155 !important;
    font-size: 12px !important;
    overflow-wrap: break-word !important;
}

/* Compact package details */
.roomlists-page .package-benefits {
    gap: 8px !important;
}

.roomlists-page .package-capacity {
    margin-bottom: 3px !important;
    color: #334155 !important;
}

.roomlists-page .package-highlight {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    border-radius: 7px !important;
    line-height: 1.4 !important;
}

    .roomlists-page .package-highlight i {
        margin-top: 2px !important;
        flex: 0 0 auto !important;
    }

.roomlists-page .package-highlight-success {
    background: #ecfdf3 !important;
    color: #15803d !important;
}

.roomlists-page .package-highlight-danger {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.roomlists-page .package-summary-line {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: #334155 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

    .roomlists-page .package-summary-line i {
        width: 17px !important;
        margin-top: 2px !important;
        color: var(--primary) !important;
        text-align: center !important;
        flex: 0 0 auto !important;
    }

/* Expandable full policy */
.roomlists-page .package-policy-details {
    margin-top: 5px !important;
    padding-top: 9px !important;
    border-top: 1px dashed #cbd5e1 !important;
}

    .roomlists-page .package-policy-details summary {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: var(--primary) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        list-style: none !important;
    }

        .roomlists-page .package-policy-details summary::-webkit-details-marker {
            display: none !important;
        }

        .roomlists-page .package-policy-details summary i {
            font-size: 10px !important;
            transition: none !important;
        }

    .roomlists-page .package-policy-details[open] summary i {
        transform: none !important;
    }

.roomlists-page .package-policy-content {
    margin-top: 10px !important;
    padding: 11px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 7px !important;
    background: #f8fafc !important;
}

.roomlists-page .policy-detail-item + .policy-detail-item {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.roomlists-page .policy-detail-item strong {
    display: block !important;
    margin-bottom: 3px !important;
    color: #334155 !important;
    font-size: 11px !important;
}

.roomlists-page .policy-detail-item p {
    margin: 0 !important;
    color: var(--primary) !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

.room-gallery-dialog {
    position: relative !important;
    z-index: 100000;
}

.room-gallery-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 100001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.72) !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

    .room-gallery-close:hover {
        background: rgba(15, 23, 42, 0.9) !important;
    }

.room-gallery-header {
    padding-right: 70px !important;
}

.booking-page-content {
    z-index: auto !important;
}

.room-gallery-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 24px !important;
    margin: 0 !important;
    background: rgba(15, 23, 42, 0.82) !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

    .room-gallery-modal.show {
        display: flex !important;
    }

.room-gallery-dialog {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    width: min(1180px, calc(100vw - 48px)) !important;
    height: min(860px, calc(100vh - 48px)) !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38) !important;
}

.room-gallery-header {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    flex: 0 0 auto !important;
    min-height: 82px !important;
    padding: 18px 72px 18px 22px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

    .room-gallery-header h3 {
        margin: 0 0 4px !important;
        color: var(--primary) !important;
        font-size: 21px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .room-gallery-header p {
        margin: 0 !important;
        color: var(--primary) !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

.room-gallery-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 50 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
}

    .room-gallery-close:hover, .room-gallery-close:focus {
        background: #1e293b !important;
        color: #ffffff !important;
        outline: none !important;
    }

.room-gallery-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.85fr) !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.room-gallery-photo-section {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    background: #f8fafc !important;
}

.room-gallery-main {
    position: relative !important;
    width: 100% !important;
    height: min(500px, 58vh) !important;
    min-height: 320px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #e2e8f0 !important;
}

    .room-gallery-main img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

.room-gallery-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
    background: rgba(15, 23, 42, 0.76) !important;
    color: #ffffff !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

    .room-gallery-nav:hover {
        background: rgba(15, 23, 42, 0.94) !important;
    }

.room-gallery-prev {
    left: 14px !important;
}

.room-gallery-next {
    right: 14px !important;
}

.room-gallery-counter {
    margin-top: 10px !important;
    color: var(--primary) !important;
    font-size: 12px !important;
    text-align: center !important;
}

.room-gallery-thumbnails {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding-bottom: 2px !important;
}

.room-gallery-thumb {
    display: block !important;
    width: 100% !important;
    height: 72px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    cursor: pointer !important;
}

    .room-gallery-thumb.active {
        border-color: var(--primary) !important;
    }

    .room-gallery-thumb img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

.room-gallery-details {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 22px !important;
    overflow-y: auto !important;
    border-left: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.room-gallery-specifications {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 18px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.room-detail-line {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    color: #334155 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

    .room-detail-line i {
        flex: 0 0 auto !important;
        color: var(--primary) !important;
        font-size: 15px !important;
    }

.room-amenity-group {
    margin-bottom: 22px !important;
}

    .room-amenity-group h5 {
        margin: 0 0 11px !important;
        color: var(--primary) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

.room-amenity-item {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 7px !important;
    align-items: start !important;
    min-width: 0 !important;
    color: #475569 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

    .room-amenity-item i {
        margin-top: 2px !important;
        color: #0f766e !important;
    }

    .room-amenity-item span {
        min-width: 0 !important;
        overflow-wrap: break-word !important;
    }

@media (max-width: 900px) {
    .room-gallery-modal {
        padding: 12px !important;
    }

    .room-gallery-dialog {
        width: calc(100vw - 24px) !important;
        height: calc(100vh - 24px) !important;
    }

    .room-gallery-content {
        grid-template-columns: 1fr !important;
        overflow-y: auto !important;
    }

    .room-gallery-photo-section, .room-gallery-details {
        overflow: visible !important;
    }

    .room-gallery-details {
        border-left: 0 !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .room-gallery-main {
        height: 390px !important;
        min-height: 280px !important;
    }

    .room-gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .room-gallery-modal {
        padding: 0 !important;
    }

    .room-gallery-dialog {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }

    .room-gallery-header {
        min-height: 72px !important;
        padding: 14px 62px 14px 16px !important;
    }

        .room-gallery-header h3 {
            font-size: 17px !important;
        }

    .room-gallery-close {
        top: 10px !important;
        right: 10px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .room-gallery-photo-section {
        padding: 12px !important;
    }

    .room-gallery-main {
        height: 300px !important;
        min-height: 240px !important;
    }

    .room-gallery-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .room-gallery-details {
        padding: 16px !important;
    }

    .room-gallery-specifications, .room-amenity-grid {
        grid-template-columns: 1fr !important;
    }
}

.hotel-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.hotel-address-row {
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.hotel-location-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #e83e8c;
    font-size: 14px;
}

.hotel-address-row .hotel-addr {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

    .hotel-address-row .hotel-addr::before {
        content: none;
    }

.hotel-view-map {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    margin-left: 8px;
    padding: 2px 0;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

    .hotel-view-map:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

    .hotel-view-map i {
        font-size: 11px;
    }

.hotel-distance, .hotel-walk {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.hotel-distance {
    color: var(--text-muted);
    font-weight: 700;
}

.hotel-walk {
    color: #475569;
    font-weight: 600;
}

.hotel-distance-icon, .hotel-walk-icon {
    width: 15px;
    flex: 0 0 auto;
    margin-top: 2px;
    text-align: center;
}

.hotel-distance-icon {
    color: var(--text-muted);
}

.hotel-walk-icon {
    color: #f59e0b;
}

.view-switch {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
}

    .view-switch button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 42px;
        padding: 0;
        border: 0;
        border-right: 1px solid #e5e7eb;
        border-radius: 0;
        background: #fff;
        color: var(--primary);
        font-size: 17px;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease;
    }

        .view-switch button:last-child {
            border-right: 0;
        }

        .view-switch button:hover {
            background: #f1f5f9;
            color: var(--primary);
        }

        .view-switch button.active {
            background: var(--primary);
            color: #fff;
        }

        .view-switch button i {
            font-size: 16px;
            line-height: 1;
        }

@media (max-width: 600px) {
    .hotel-address-row {
        flex-wrap: wrap;
    }

        .hotel-address-row .hotel-addr {
            flex-basis: calc(100% - 24px);
        }

    .hotel-view-map {
        margin-left: 23px;
    }
}

@media (max-width: 768px) {
    .booking-page-content {
        width: 100%;
        margin-top: -20px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .search-wrap {
        width: 100%;
        padding: 14px;
    }

    .search-bar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

        .search-bar .field-group {
            max-width: none !important;
            min-width: 0;
        }

        .search-bar .btn-search {
            grid-column: 1 / -1;
            width: 100%;
        }

    .hotel-toolbar {
        width: 100%;
        margin: 16px 0;
        padding: 0;
        gap: 12px;
        flex-wrap: wrap;
    }

    .toolbar-left {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

        .toolbar-left select {
            max-width: 190px;
            min-width: 0;
        }

    .view-switch {
        margin-left: auto;
    }

    .hotel-grid, .hotel-grid.list-view, .hotel-grid.grid-view {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        float: none !important;
    }

        .hotel-grid.list-view .hotel-card, .hotel-grid.grid-view .hotel-card, .hotel-card {
            display: flex;
            flex-direction: column;
            width: 100% !important;
            min-width: 0;
        }

        .hotel-grid.list-view .hotel-thumb, .hotel-grid.grid-view .hotel-thumb, .hotel-thumb {
            width: 100%;
            height: 190px;
            flex-shrink: 0;
        }

        .hotel-grid.list-view .hotel-body, .hotel-grid.grid-view .hotel-body, .hotel-body {
            width: 100%;
            padding: 16px;
        }

        .hotel-grid.list-view .hotel-divider, .hotel-divider {
            width: 100%;
            height: 1px;
            margin: 0;
        }

    .hotel-address-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 6px;
    }

    .hotel-addr {
        flex: 1 1 220px;
        min-width: 0;
        min-height: 0;
        overflow-wrap: anywhere;
    }

    .hotel-view-map {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-top: 5px;
        white-space: nowrap;
    }

    .hotel-distance, .hotel-walk {
        display: flex;
        align-items: flex-start;
        gap: 7px;
        line-height: 1.4;
    }

    .hotel-grid.list-view .btn-view, .hotel-grid.grid-view .btn-view, .btn-view {
        display: block;
        width: 100%;
        height: 46px;
        margin-top: 10px;
        align-self: stretch;
    }

    #hotelMap, .map-layout {
        display: none !important;
        width: 100% !important;
        height: 420px;
        margin: 15px 0 0;
        float: none !important;
        position: static;
    }
}

.hotel-grid.list-view .hotel-card > .hotel-body:last-child {
    flex: 0 0 210px;
    min-width: 210px;
    padding: 20px 24px;
    align-items: flex-end;
    text-align: right;
}

    .hotel-grid.list-view .hotel-card > .hotel-body:last-child small, .hotel-grid.list-view .hotel-card > .hotel-body:last-child .fw-bold {
        width: 100%;
        text-align: right;
    }

    .hotel-grid.list-view .hotel-card > .hotel-body:last-child .btn-view {
        width: 130px;
        align-self: flex-end;
    }

@media (max-width: 768px) {
    .hotel-grid.list-view .hotel-card > .hotel-body:last-child {
        flex: none;
        width: 100%;
        min-width: 0;
        padding: 16px;
        align-items: stretch;
        text-align: left;
    }

        .hotel-grid.list-view .hotel-card > .hotel-body:last-child small, .hotel-grid.list-view .hotel-card > .hotel-body:last-child .fw-bold {
            text-align: left;
        }

        .hotel-grid.list-view .hotel-card > .hotel-body:last-child .btn-view {
            width: 100%;
            align-self: stretch;
        }
}

.room-bed-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.room-bed-icons {
    display: flex;
    gap: 4px;
    color: #0d6efd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.room-bed-text {
    font-weight: 600;
    color: #333;
}

.roomlists-page .room-package-row {
    position: relative !important;
    border-bottom: 0 !important;
}

    .roomlists-page .room-package-row:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: #d9e2ea;
        z-index: 10;
        pointer-events: none;
    }

    .roomlists-page .room-package-row .package-benefits, .roomlists-page .room-package-row .package-booking {
        border-bottom: 0 !important;
    }

.roomlists-page .package-benefits {
    border-right: 1px solid #d9e2ea !important;
}

.roomlists-page .room-rate-card {
    display: grid;
    align-items: stretch;
}

.roomlists-page .room-package-list {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 100%;
}

.roomlists-page .room-package-row {
    flex: 1 1 0;
    min-height: 0;
}

.room-card-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.room-card-amenity {
    white-space: nowrap;
}

.room-amenity-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roomlists-page .room-card-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    margin-top: 8px;
}

.roomlists-page .room-card-amenity {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
}

.roomlists-page .room-amenity-icon {
    width: 16px;
    flex-shrink: 0;
}

.roomlists-page .room-amenity-text {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roomlists-page .room-card-amenities {
    max-height: 92px;
    /* about 4 rows */
    overflow: hidden;
}

.roomlists-page .package-booking {
    padding: 12px 16px !important;
    gap: 8px;
}

.roomlists-page .package-price {
    margin-bottom: 8px !important;
}

    .roomlists-page .package-price strong {
        font-size: 22px !important;
        line-height: 1.2;
    }

    .roomlists-page .package-price small {
        font-size: 11px;
    }

.roomlists-page .package-quantity-label {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

.roomlists-page .roomQty {
    height: 34px;
    padding: 4px 8px;
}

.room-package-row {
    display: flex;
    align-items: stretch;
}

.package-benefits {
    flex: 1;
}

.package-booking {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
}

.package-booking {
    min-height: 100%;
    border-left: 1px solid var(--border);
}

.room-package-row {
    background: #fff;
}

.package-booking {
    background: var(--surface-2);
}

.room-package-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: stretch;
}

.package-booking {
    background: #fafaf8;
    border-left: 1px solid #e5e7eb;
    padding: 16px;
}

.room-rate-card {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
}

.room-card-info {
    height: 100%;
}

.room-package-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-package-row {
    display: grid;
    grid-template-columns: 65% 35%;
    flex: 1;
}

.package-benefits, .package-booking {
    height: 100%;
}

.package-booking {
    background: #fafafa;
    border-left: 1px solid #e5e7eb;
}

.retrieve-booking-link, .retrieve-booking-link:link, .retrieve-booking-link:visited {
    color: #fff !important;
}

    .retrieve-booking-link:hover, .retrieve-booking-link:focus {
        color: #fff !important;
    }

    .retrieve-booking-link i, .retrieve-booking-link span {
        color: #fff !important;
    }

.summary-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.summary-next-btn {
    width: 100%;
    margin: 0;
}

.hotel-star-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    font-size: 13px;
}

    .hotel-star-rating i {
        color: var(--gold) !important;
    }

    .hotel-star-rating span {
        margin-left: 4px;
        color: var(--text-muted) !important;
        font-weight: 600;
    }

.hotel-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.preferred-hotel-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #2563a6;
    border: 1px solid #cfe3f7;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.hotel-map-marker-wrapper {
    background: transparent !important;
    border: none !important;
}

.hotel-map-marker {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 4px;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 63, 70, 0.28);
    transform: rotate(-45deg);
}

    .hotel-map-marker i {
        color: #fff !important;
        font-size: 17px;
        transform: rotate(45deg);
    }

.hotel-map-tooltip {
    padding: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
}

    .hotel-map-tooltip::before {
        display: none !important;
    }

.hotel-map-label {
    max-width: 190px;
    padding: 7px 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 63, 70, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 63, 70, 0.16);
    color: var(--text-muted) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-map-popup {
    min-width: 190px;
}

    .hotel-map-popup strong {
        display: block;
        margin-bottom: 5px;
        color: var(--primary) !important;
        font-size: 14px;
    }

.hotel-map-popup-address {
    margin-bottom: 10px;
    color: var(--primary) !important;
    font-size: 12px;
    line-height: 1.4;
}

.hotel-map-room-btn {
    width: 100%;
    color: #fff !important;
}

.property-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.property-name {
    margin: 0;
}

.property-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
}

    .property-star-rating i {
        color: var(--gold) !important;
        font-size: 16px;
    }

    .property-star-rating span {
        margin-left: 4px;
        color: var(--primary) !important;
        font-size: 14px;
        font-weight: 700;
    }

/* =========================================================
   FLEXIBLE RATE ROW HEIGHT
   Works with one rate or multiple rates
========================================================= */
.roomlists-page .room-rate-card {
    display: grid !important;
    grid-template-columns: minmax(330px, 36%) minmax(0, 1fr) !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

/* Left room information must define the card's natural height */
.roomlists-page .room-card-info {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
}

/* Right rate section fills the full room-card height */
.roomlists-page .room-package-list {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 100% !important;
    height: auto !important;
}

/* Each rate shares the available height */
.roomlists-page .room-package-row {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) 170px !important;
    align-items: stretch !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    /* Important: remove the fixed 260px */
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
}

/* Both columns must stretch equally */
.roomlists-page .package-benefits, .roomlists-page .package-booking {
    align-self: stretch !important;
    height: auto !important;
    min-height: 100% !important;
}

/* Today's price column */
.roomlists-page .package-booking {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    padding: 12px 16px !important;
    background: #fafaf8 !important;
    border-left: 1px solid #d9e2ea !important;
}

/* Separator between multiple rates */
.roomlists-page .room-package-row:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #d9e2ea;
    pointer-events: none;
    z-index: 2;
}

/* =========================================================
   GPHL BRAND PALETTE AND COMPONENT OVERRIDES
========================================================= */
html {
    font-size: 15px;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, input, select, textarea, button, table {
    font-family: var(--font-main);
    color: var(--text);
}

/* Main typography */
h1, h2, h3, h4, h5, h6, .results-title, .hotel-name, .room-name, .property-name, .summary-title, .summary-value, .panel-title, .room-section-title {
    color: var(--text);
}

p, td, th, li, .modal-body {
    color: var(--text);
}

/* Secondary and supporting copy */
small, .hotel-addr, .hotel-address, .hotel-walk, .property-location, .room-meta, .room-guests, .room-tax-note, .room-section-subtitle, .results-count, .price-note, .summary-note, .summary-room-meta, .extra-desc, .booking-trust-text, .booking-trust-link {
    color: var(--text-muted);
}

/* Brand text */
.field-group label, .field label, .summary-label, .hotel-location, .hotel-distance, .property-map-link, .summary-link, .rate-cta, .booking-trust-title {
    color: var(--primary);
}

/* Links */
a {
    color: var(--primary);
}

    a:hover {
        color: var(--primary-hover);
    }

/* Inputs */
input, select, textarea, .form-control {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

    input::placeholder, textarea::placeholder {
        color: var(--text-muted);
        opacity: 1;
    }

    input:focus, select:focus, textarea:focus, .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 63, 70, 0.10);
    }

/* Cards and panels */
.hotel-card, .room-card, .panel, .booking-summary, .summary-card, .modal-content, .search-wrap {
    background: var(--surface);
    border-color: var(--border);
}

/* Primary actions */
.btn-primary, .btn-search, .btn-view, .btn-book, .btn-next, .btn-select, .btn-confirm, .summary-next-btn, .app-alert-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

    .btn-primary:hover, .btn-primary:focus, .btn-search:hover, .btn-view:hover, .btn-book:hover, .btn-next:hover, .btn-select:hover, .btn-confirm:hover, .summary-next-btn:hover, .app-alert-btn:hover {
        background: var(--primary-hover);
        border-color: var(--primary-hover);
        color: #FFFFFF;
    }

    /* Ensure button descendants remain white */
    .btn-primary *, .btn-search *, .btn-view *, .btn-book *, .btn-next *, .btn-select *, .btn-confirm *, .summary-next-btn *, .app-alert-btn * {
        color: inherit;
    }

/* Gold accents */
.room-price, .summary-room-price, .price-total-line strong, .summary-grand-total .amount, .extra-price, .hotel-star-rating i, .property-star-rating i {
    color: var(--gold);
}

/* Status colors */
.benefit, .avail-tag {
    color: var(--success);
}

/* Header */
.booking-header {
    background: var(--primary);
}

    .booking-header .retrieve-booking-link, .booking-header .retrieve-booking-link:link, .booking-header .retrieve-booking-link:visited, .booking-header .retrieve-booking-link span, .booking-header .retrieve-booking-link i, .booking-header .retrieve-booking-link svg {
        color: #FFFFFF;
    }

        .booking-header .retrieve-booking-link:hover, .booking-header .retrieve-booking-link:focus {
            color: rgba(255, 255, 255, 0.85);
        }

/* Trust footer */
.booking-trust-footer {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 17px 28px;
    background: rgba(0, 63, 70, 0.06);
    border: 1px solid rgba(0, 63, 70, 0.10);
    border-radius: 6px;
    box-shadow: none;
}

.booking-trust-inner {
    width: 100%;
}

.booking-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 16px;
}

.booking-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.booking-trust-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

    .booking-trust-icon i {
        color: var(--primary);
        font-size: 21px;
    }

.booking-trust-title {
    color: var(--primary);
    font-size: 12px;
    font-weight: var(--fw-bold);
    line-height: 1.3;
}

.booking-trust-text, .booking-trust-link {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.4;
}

.booking-trust-link {
    text-decoration: none;
}

    .booking-trust-link:hover {
        color: var(--primary);
        text-decoration: underline;
    }

@media (max-width: 900px) {
    .booking-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .booking-trust-footer {
        width: calc(100% - 24px);
        padding: 18px;
    }

    .booking-trust-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .roomlists-page, .roomlists-page .hotel-page, .roomlists-page .hotel-layout, .roomlists-page .room-list, .roomlists-page .booking-table-wrapper, .roomlists-page .booking-table-left, .roomlists-page .room-rate-list {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

        .roomlists-page .hotel-page {
            padding-left: 12px !important;
            padding-right: 12px !important;
        }

        /* List first, selected-room summary below */
        /*.roomlists-page .booking-table-wrapper {
            display: flex !important;
            flex-direction: column !important;
            gap: 14px !important;
            overflow: visible !important;
        }*/

        .roomlists-page .booking-table-left {
            order: 1 !important;
            overflow: visible !important;
        }

        .roomlists-page .booking-table-right {
            order: 2 !important;
            position: static !important;
            top: auto !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
        }

        /* Desktop table heading is unnecessary on mobile */
        .roomlists-page .room-rate-header {
            display: none !important;
        }

        /* Stack room details above rate packages */
        .roomlists-page .room-rate-card {
            display: block !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            grid-template-columns: none !important;
            overflow: hidden !important;
            border-radius: 10px !important;
            margin-bottom: 16px !important;
        }

        .roomlists-page .room-card-info {
            width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            border-right: 0 !important;
            border-bottom: 1px solid var(--border) !important;
        }

        .roomlists-page .room-package-list {
            display: block !important;
            width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            min-height: 0 !important;
        }

        /* Stack benefits and booking selector */
        .roomlists-page .room-package-row {
            display: block !important;
            width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            min-height: 0 !important;
            grid-template-columns: none !important;
        }

        .roomlists-page .package-benefits {
            display: block !important;
            width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            min-height: 0 !important;
            padding: 16px !important;
            border-right: 0 !important;
            border-bottom: 1px solid var(--border) !important;
        }

        /* Make the price and room selector fully visible */
        .roomlists-page .package-booking {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) 90px !important;
            align-items: end !important;
            gap: 8px 12px !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            height: auto !important;
            min-height: 0 !important;
            padding: 14px 16px !important;
            background: var(--surface-2) !important;
            border-left: 0 !important;
            border-bottom: 0 !important;
        }

        .roomlists-page .package-price {
            grid-column: 1 / 2 !important;
            grid-row: 1 / 3 !important;
            margin: 0 !important;
            text-align: left !important;
            align-self: center !important;
        }

            .roomlists-page .package-price strong {
                display: block !important;
                font-size: 21px !important;
                line-height: 1.2 !important;
                white-space: normal !important;
            }

            .roomlists-page .package-price small {
                display: block !important;
                margin-top: 4px !important;
                font-size: 11px !important;
            }

        .roomlists-page .package-quantity-label {
            grid-column: 2 !important;
            grid-row: 1 !important;
            display: block !important;
            margin: 0 !important;
            font-size: 11px !important;
            font-weight: 600 !important;
            text-align: left !important;
        }

        .roomlists-page .package-booking .roomQty {
            grid-column: 2 !important;
            grid-row: 2 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            width: 100% !important;
            min-width: 80px !important;
            max-width: 90px !important;
            height: 42px !important;
            padding: 6px 28px 6px 10px !important;
            border: 1px solid var(--border-hover) !important;
            border-radius: 8px !important;
            background-color: #fff !important;
            color: var(--text) !important;
            font-size: 16px !important;
            cursor: pointer !important;
            position: relative !important;
            z-index: 5 !important;
        }

        /* Compact selected-room summary */
        .roomlists-page #bookingPackage {
            display: grid !important;
            grid-template-columns: 1fr auto !important;
            gap: 8px 12px !important;
            width: 100% !important;
            padding: 14px !important;
        }

        .roomlists-page .book-title {
            display: none !important;
        }

        .roomlists-page .sidebar-room-count {
            margin: 0 !important;
            align-self: center !important;
        }

        .roomlists-page .book-amount {
            margin: 0 !important;
            align-self: center !important;
            text-align: right !important;
            font-size: 20px !important;
        }

        .roomlists-page .book-tax, .roomlists-page .book-note {
            display: none !important;
        }

        .roomlists-page .summary-next-btn {
            grid-column: 1 / -1 !important;
            width: 100% !important;
            margin: 4px 0 0 !important;
        }
}

.hotel-grid.map-view::after {
    content: "";
    display: block;
    clear: both;
}

.booking-trust-footer {
    clear: both;
}

.hotel-name, .roomlists-page .room-main h3 {
    color: var(--text);
}

.roomlists-page .room-main h3 {
    color: var(--text);
}

.room-card-photo {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #e9eef3;
    overflow: hidden;
    cursor: pointer;
}

    .room-card-photo img {
        width: 100%;
        height: 180px;
        display: block;
        object-fit: cover;
        transition: transform 0.25s ease;
    }

    .room-card-photo:hover img {
        transform: scale(1.03);
    }

    .room-card-photo::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 45%;
        pointer-events: none;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0) );
    }

.room-photo-overlay {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.room-card-photo:hover .room-photo-overlay {
    background: rgba(0, 63, 70, 0.92);
}

/* First dark thumbnail: show all photos */
.room-gallery-show-all-thumb {
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

    .room-gallery-show-all-thumb:hover {
        background: var(--primary);
    }

    .room-gallery-show-all-thumb i {
        font-size: 18px;
    }

    .room-gallery-show-all-thumb span {
        color: #fff;
        font-size: 11px;
        font-weight: 600;
    }

.room-gallery-back-album {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

    .room-gallery-back-album:hover {
        text-decoration: underline;
    }

.room-gallery-all-view {
    height: 100%;
    overflow-y: auto;
}

.room-gallery-all-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.room-gallery-all-photo {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--surface-3);
    overflow: hidden;
    cursor: pointer;
}

    .room-gallery-all-photo img {
        display: block;
        width: 100%;
        height: 210px;
        object-fit: cover;
    }

    .room-gallery-all-photo:hover img {
        opacity: 0.92;
    }

.hotel-grid.grid-view {
    align-items: stretch;
}

    .hotel-grid.grid-view .hotel-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
    }

        .hotel-grid.grid-view .hotel-card > .hotel-body:first-of-type {
            flex: 0 0 auto;
        }

        .hotel-grid.grid-view .hotel-card > .hotel-divider {
            margin-top: auto !important;
        }

        .hotel-grid.grid-view .hotel-card > .hotel-body:last-of-type {
            flex: 0 0 auto !important;
            width: 100%;
        }

        .hotel-grid.grid-view .hotel-card .btn-view {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100% !important;
            height: 48px;
            margin-top: 10px;
        }

.property-overview-section {
    color: var(--text);
}

.property-highlight-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    border-bottom: 1px solid var(--border);
}

.property-highlight-item, .property-highlight-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
    padding: 4px;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: center;
}

.property-highlight-icon, .property-highlight-more-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 63, 70, 0.07);
    color: var(--primary);
}

    .property-highlight-icon i, .property-highlight-more-icon i {
        font-size: 22px;
    }

.property-highlight-item span, .property-highlight-more > span:last-child {
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.property-highlight-more {
    cursor: pointer;
}

    .property-highlight-more:hover .property-highlight-more-icon {
        background: var(--primary);
        color: #fff;
    }

.property-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 10px;
    align-items: start;
    padding-top: 10px;
}

.property-overview-main {
    min-width: 0;
}

.property-overview-block {
    padding: 0 0 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

    .property-overview-block:last-child {
        margin-bottom: 0;
    }

.property-overview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

.property-overview-title {
    margin: 0 0 17px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
}

.property-overview-heading .property-overview-title {
    margin-bottom: 0;
}

.property-information-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-information-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
}

    .property-information-item > i {
        margin-top: 2px;
        color: var(--primary);
        font-size: 18px;
    }

    .property-information-item strong, .property-information-item span {
        display: block;
    }

    .property-information-item strong {
        color: var(--text);
        font-size: 14px;
        font-weight: 700;
    }

    .property-information-item span {
        margin-top: 2px;
        color: var(--text-muted);
        font-size: 12px;
        line-height: 1.45;
    }

.property-information-link:hover strong {
    color: var(--primary);
    text-decoration: underline;
}

.property-amenity-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px 10px;
}

.property-amenity-preview-item {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
}

    .property-amenity-preview-item i {
        color: var(--primary);
        font-size: 17px;
    }

    .property-amenity-preview-item span {
        color: var(--text);
        font-size: 13px;
        line-height: 1.4;
    }

.property-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .property-all-link:hover {
        text-decoration: underline;
    }

/* Best-price card */
.property-best-rate-card {
    position: sticky;
    top: 145px;
    overflow: hidden;
    border: 1px solid rgba(0, 63, 70, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 63, 70, 0.10);
}

.property-best-rate-header {
    padding: 10px 15px;
    background: linear-gradient( 135deg, rgba(0, 63, 70, 0.11), rgba(0, 63, 70, 0.03) );
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
}

.property-best-rate-body {
    padding: 10px;
}

.property-best-rate-price {
    color: var(--text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.property-best-rate-tax {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.property-best-rate-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 10px 0;
}

    .property-best-rate-features div {
        display: flex;
        align-items: center;
        color: var(--text);
        font-size: 13px;
    }

    .property-best-rate-features i {
        width: 18px;
        color: var(--success);
    }

.property-view-rooms-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .property-view-rooms-button:hover {
        background: var(--primary-hover);
    }

/* All-facilities modal */
.property-amenities-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 24px;
    background: rgba(15, 23, 42, 0.72);
}

    .property-amenities-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.property-amenities-dialog {
    position: relative;
    width: min(850px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,.30);
}

.property-amenities-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 25px;
    cursor: pointer;
}

.property-amenities-header {
    padding: 22px 70px 18px 22px;
    border-bottom: 1px solid var(--border);
}

    .property-amenities-header h3 {
        margin: 0 0 5px;
        color: var(--primary);
        font-size: 21px;
    }

    .property-amenities-header p {
        margin: 0;
        color: var(--text-muted);
        font-size: 13px;
    }

.property-amenities-content {
    padding: 22px;
}

.property-amenity-category {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

    .property-amenity-category:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .property-amenity-category h4 {
        color: var(--primary);
        font-size: 16px;
    }

.property-amenity-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-amenity-modal-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

    .property-amenity-modal-item i {
        margin-top: 2px;
        color: var(--success);
    }

    .property-amenity-modal-item span {
        color: var(--text);
        font-size: 13px;
        line-height: 1.4;
    }

@media (max-width: 900px) {
    .property-overview-grid {
        grid-template-columns: 1fr;
    }

    .property-best-rate-card {
        position: static;
    }

    .property-amenity-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .property-highlight-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 7px;
    }

    .property-information-grid {
        grid-template-columns: 1fr;
    }

    .property-amenity-preview {
        grid-template-columns: 1fr 1fr;
        gap: 13px 10px;
    }

    .property-amenity-category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .property-overview-title {
        font-size: 16px;
    }

    .property-amenities-modal {
        padding: 12px;
    }
}

/* Fix hotel image spacing and visibility */
.hotel-card {
    overflow: hidden;
}

    .hotel-card .hotel-thumb {
        position: relative;
        display: block;
        padding: 0;
        margin: 0;
        line-height: 0;
        overflow: hidden;
        background: #f3f4f6;
    }

        .hotel-card .hotel-thumb img {
            display: block;
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            object-fit: cover;
            object-position: center;
        }

.hotel-grid.list-view .hotel-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 180px;
}

.hotel-grid.list-view .hotel-thumb {
    flex: 0 0 260px;
    height: auto;
    min-height: 180px;
}

    .hotel-grid.list-view .hotel-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

.property-amenity-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-amenity-preview-item, .property-amenity-modal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

    .property-amenity-preview-item i, .property-amenity-modal-item i {
        width: 20px;
        min-width: 20px;
        text-align: center;
        font-size: 16px;
        line-height: 1;
        color: var(--primary);
    }

    .property-amenity-preview-item span, .property-amenity-modal-item span {
        font-size: 14px;
        line-height: 1.4;
        color: var(--text);
    }

.property-amenity-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 16px;
}

@media (max-width: 992px) {
    .property-amenity-preview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .property-amenity-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.property-amenity-preview-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

    .property-amenity-preview-item i {
        width: 18px;
        flex-shrink: 0;
        margin-top: 2px;
        font-size: 15px;
    }

    .property-amenity-preview-item span {
        line-height: 1.35;
        word-break: break-word;
    }

.property-amenity-preview-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .property-amenity-preview-item i {
        flex-shrink: 0;
    }

.property-amenity-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.amenity-request {
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #FFF4D6;
    color: #8A6400;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.property-amenity-preview-item, .property-amenity-modal-item, .room-card-amenity {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

    .property-amenity-preview-item > i, .property-amenity-modal-item > i, .room-amenity-icon {
        flex: 0 0 18px;
        width: 18px;
        text-align: center;
    }

.property-amenity-name, .room-amenity-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amenity-request {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(176, 138, 69, 0.12);
    color: var(--gold-hover);
    border: 1px solid rgba(176, 138, 69, 0.3);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.room-card-amenity {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.room-amenity-icon {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
}

.room-amenity-main {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    white-space: nowrap;
}

.room-amenity-text {
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.amenity-request {
    display: inline-block;
    flex-shrink: 0;
    padding: 1px 4px;
    border: 1px solid #e3e6e8;
    border-radius: 2px;
    background: #f6f7f8;
    color: #6f7780;
    font-size: 9px !important;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

/* Room gallery amenity name and note on the same line */
.room-amenity-item {
    display: grid !important;
    grid-template-columns: 17px minmax(0, 1fr) !important;
    column-gap: 7px !important;
    align-items: center !important;
    min-width: 0 !important;
}

.room-gallery-amenity-main {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.room-gallery-amenity-name {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.room-amenity-item .amenity-request {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 1px 4px !important;
    border: 1px solid #e3e6e8 !important;
    border-radius: 2px !important;
    background: #f4f5f6 !important;
    color: #6b7280 !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

/* ================================
   Room gallery amenities
   ================================ */
#roomGalleryAmenities .room-amenity-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 10px !important;
    width: 100% !important;
}

#roomGalleryAmenities .room-amenity-item {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

    #roomGalleryAmenities .room-amenity-item > i {
        display: block !important;
        width: 18px !important;
        margin-top: 3px !important;
        color: var(--primary) !important;
        font-size: 13px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

#roomGalleryAmenities .room-gallery-amenity-main {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: auto !important;
    text-align: left !important;
    white-space: normal !important;
}

#roomGalleryAmenities .room-gallery-amenity-name {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Keep name and request badge together */
#roomGalleryAmenities .room-amenity-item.has-note .room-gallery-amenity-main {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
}

#roomGalleryAmenities .room-amenity-item.has-note .room-gallery-amenity-name {
    flex: 0 1 auto !important;
    white-space: nowrap !important;
}

/* Trip.com-style secondary note */
#roomGalleryAmenities .amenity-request {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 2px !important;
    padding: 1px 4px !important;
    border: 1px solid #dfe3e6 !important;
    border-radius: 2px !important;
    background: #f3f4f5 !important;
    color: #68717a !important;
    font-size: 8px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

#roomGalleryAmenities .room-amenity-group {
    margin: 0 0 22px !important;
}

    #roomGalleryAmenities .room-amenity-group h5 {
        margin: 0 0 12px !important;
        padding: 0 !important;
        color: var(--primary) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

@media (max-width: 520px) {
    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr !important;
        row-gap: 10px !important;
    }
}

#roomGalleryAmenities .room-amenity-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
}

/* =====================================================
   FINAL ROOM GALLERY SPECIFICATIONS AND AMENITIES
   ===================================================== */
#roomGallerySpecifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--border);
}

    #roomGallerySpecifications .room-detail-line {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: center;
        column-gap: 9px;
        min-width: 0;
        margin: 0;
        padding: 0;
        text-align: left;
    }

        #roomGallerySpecifications .room-detail-line > i {
            display: block;
            width: 20px;
            color: var(--primary);
            font-size: 14px;
            line-height: 1;
            text-align: center;
        }

        #roomGallerySpecifications .room-detail-line > span {
            min-width: 0;
            color: var(--text);
            font-size: 15px;
            font-weight: 400;
            line-height: 1.4;
            text-align: left;
        }

/* Amenities container */
#roomGalleryAmenities {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--text);
    text-align: left;
}

    /* Category */
    #roomGalleryAmenities .room-amenity-group {
        width: 100%;
        margin: 0;
    }

        #roomGalleryAmenities .room-amenity-group > h5 {
            margin: 0 0 11px;
            padding: 0;
            color: var(--primary);
            font-size: 15px;
            font-weight: 700;
            line-height: 1.3;
            text-align: left;
        }

    /* Two-column amenity grid */
    #roomGalleryAmenities .room-amenity-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 10px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Single amenity */
    #roomGalleryAmenities .room-amenity-item {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: start;
        column-gap: 9px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        color: var(--text);
        text-align: left;
    }

        /* Amenity icon */
        #roomGalleryAmenities .room-amenity-item > i {
            display: block;
            width: 20px;
            margin: 3px 0 0;
            color: var(--primary);
            font-size: 13px;
            line-height: 1;
            text-align: center;
        }

    /* Name and badge wrapper */
    #roomGalleryAmenities .room-gallery-amenity-content {
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px 6px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        line-height: 1.4;
        text-align: left;
    }

    /* Amenity name */
    #roomGalleryAmenities .room-gallery-amenity-name {
        display: inline;
        min-width: 0;
        margin: 0;
        padding: 0;
        color: var(--text);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.4;
        text-align: left;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Keep note beside short amenity names */
    #roomGalleryAmenities .room-amenity-item.has-note .room-gallery-amenity-content {
        display: inline-flex;
        align-items: center;
        flex-wrap: nowrap;
        width: max-content;
        max-width: 100%;
        white-space: nowrap;
    }

    #roomGalleryAmenities .room-amenity-item.has-note .room-gallery-amenity-name {
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
    }

    /* Trip.com-style secondary badge */
    #roomGalleryAmenities .amenity-request {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-height: 18px;
        margin: 0;
        padding: 1px 5px;
        border: 1px solid #dfe4e7;
        border-radius: 3px;
        background: #f3f5f6;
        color: #66717b;
        font-size: 9px !important;
        font-weight: 400;
        line-height: 1.35;
        letter-spacing: 0;
        white-space: nowrap;
    }

    /* Empty amenities */
    #roomGalleryAmenities .room-amenity-empty {
        padding: 10px 0;
        color: var(--text-muted);
        font-size: 13px;
        line-height: 1.5;
    }

/* One column when the details section is narrow */
@media (max-width: 900px) {
    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    #roomGallerySpecifications {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 17px;
        padding-bottom: 15px;
    }

    #roomGalleryAmenities .room-amenity-group {
        padding-bottom: 19px;
    }

        #roomGalleryAmenities .room-amenity-group > h5 {
            margin-bottom: 9px;
            font-size: 14px;
        }

    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr;
        row-gap: 9px;
    }

    #roomGalleryAmenities .room-gallery-amenity-name {
        font-size: 13px;
    }
}

/* =========================================
   ROOM GALLERY AMENITIES — FINAL OVERRIDE
   ========================================= */
.room-gallery-details {
    min-width: 0;
    overflow-x: hidden;
    container-type: inline-size;
}

#roomGalleryAmenities {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

    #roomGalleryAmenities .room-amenity-group {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

        #roomGalleryAmenities .room-amenity-group:last-child {
            padding-bottom: 0;
        }

        #roomGalleryAmenities .room-amenity-group > h5 {
            margin: 0 0 10px;
            padding: 0;
            color: var(--primary);
            font-size: 15px;
            font-weight: 700;
            line-height: 1.3;
            text-align: left;
        }

    #roomGalleryAmenities .room-amenity-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 24px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    #roomGalleryAmenities .room-amenity-item {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        align-items: start;
        column-gap: 8px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        text-align: left;
    }

        #roomGalleryAmenities .room-amenity-item > i {
            width: 18px;
            margin-top: 3px;
            color: var(--primary);
            font-size: 13px;
            line-height: 1;
            text-align: center;
        }

    #roomGalleryAmenities .room-gallery-amenity-content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 6px;
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    #roomGalleryAmenities .room-gallery-amenity-name {
        min-width: 0;
        color: var(--text);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.35;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #roomGalleryAmenities .amenity-request {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        margin: 0;
        padding: 1px 5px;
        border: 1px solid #dfe4e7;
        border-radius: 3px;
        background: #f3f5f6;
        color: #66717b;
        font-size: 9px !important;
        font-weight: 400;
        line-height: 1.4;
        white-space: nowrap;
    }

@container (max-width: 430px) {
    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 900px) {
    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr;
    }
}

.room-gallery-dialog, .room-gallery-content, .room-gallery-details {
    max-width: 100%;
    min-width: 0;
}

.room-gallery-dialog {
    overflow-x: hidden;
}

/* ==================================================
   ROOM GALLERY — MOBILE FIX
   Keep this at the bottom of the CSS file
   ================================================== */
@media (max-width: 768px) {
    .room-gallery-modal {
        padding: 0 !important;
        overflow: hidden;
    }

        .room-gallery-modal.show {
            display: flex;
            align-items: stretch;
            justify-content: stretch;
        }

    .room-gallery-dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .room-gallery-header {
        position: sticky;
        top: 0;
        z-index: 20;
        width: 100%;
        padding: 14px 54px 14px 14px !important;
        background: #fff;
    }

        .room-gallery-header h3 {
            margin: 0 0 4px;
            font-size: 16px !important;
            line-height: 1.3;
        }

        .room-gallery-header p {
            margin: 0;
            font-size: 12px !important;
            line-height: 1.45;
        }

    .room-gallery-close {
        position: absolute;
        top: 8px;
        right: 10px;
        width: 38px;
        height: 38px;
        z-index: 25;
    }

    .room-gallery-content {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .room-gallery-photo-section, .room-gallery-details {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .room-gallery-photo-section {
        padding: 14px !important;
    }

    .room-gallery-main {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
    }

        .room-gallery-main img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover;
        }

    .room-gallery-thumbnails {
        display: flex !important;
        width: 100%;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 5px;
    }

    .room-gallery-thumb {
        flex: 0 0 78px;
        width: 78px;
        height: 58px;
    }

    .room-gallery-details {
        padding: 16px 14px 28px !important;
        overflow-x: hidden !important;
    }

    .room-gallery-specifications {
        grid-template-columns: 1fr !important;
    }

    #roomGalleryAmenities {
        width: 100%;
        overflow: visible;
    }

        #roomGalleryAmenities .room-amenity-grid {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 10px !important;
        }

        #roomGalleryAmenities .room-amenity-item {
            display: grid !important;
            grid-template-columns: 18px minmax(0, 1fr) !important;
            width: 100%;
            min-width: 0;
        }

        #roomGalleryAmenities .room-gallery-amenity-name {
            white-space: normal !important;
            overflow: visible !important;
            text-overflow: clip !important;
        }
}

.property-amenity-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

.property-amenity-modal-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
}

    .property-amenity-modal-item > i {
        width: 20px;
        margin-top: 2px;
        color: var(--primary);
        text-align: center;
    }

    .property-amenity-modal-item > span {
        min-width: 0;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }

    .property-amenity-modal-item.amenity-full-row {
        grid-column: 1 / -1;
    }

@media (max-width: 768px) {
    .property-amenity-category-grid {
        grid-template-columns: 1fr;
    }

    .property-amenity-modal-item,
    .property-amenity-modal-item.amenity-full-row {
        grid-column: 1;
    }

        .property-amenity-modal-item > span {
            white-space: normal;
            overflow-wrap: anywhere;
        }
}

.room-amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    width: 100%;
}

.room-amenity-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
}

    .room-amenity-item > i {
        width: 20px;
        margin-top: 2px;
        color: var(--primary);
        text-align: center;
    }

.room-gallery-amenity-content {
    min-width: 0;
}

.room-gallery-amenity-name {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.room-amenity-item.amenity-full-row {
    grid-column: 1 / -1;
}

.room-amenity-item.has-note {
    align-items: start;
}

.room-amenity-item .amenity-request {
    display: block;
    margin-top: 3px;
    white-space: normal;
}

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

    .room-amenity-item,
    .room-amenity-item.amenity-full-row {
        grid-column: 1;
    }

    .room-gallery-amenity-name {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

.booking-table-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.booking-table-right {
    position: sticky;
    top: 20px;
}

.property-overview-grid,
.booking-table-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: start;
    width: 100%;
}

.property-overview-main,
.booking-table-left {
    min-width: 0;
}

.booking-table-left {
    overflow-x: auto;
}

.property-best-rate-card,
.booking-table-right {
    width: auto;
    min-width: 0;
    align-self: start;
}

.booking-table-right {
    position: sticky;
    top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
}

.property-amenity-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 24px;
    width: 100%;
}

.room-amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    width: 100%;
}

@media (max-width: 992px) {
    .property-overview-grid,
    .booking-table-wrapper {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .property-overview-grid,
    .booking-table-wrapper {
        grid-template-columns: 1fr;
    }

    .property-best-rate-card,
    .booking-table-right {
        position: static;
        width: 100%;
    }

    .property-amenity-category-grid,
    .room-amenity-grid {
        grid-template-columns: 1fr;
    }

    .property-amenity-modal-item,
    .property-amenity-modal-item.amenity-full-row,
    .room-amenity-item,
    .room-amenity-item.amenity-full-row {
        grid-column: 1;
    }

        .property-amenity-modal-item > span,
        .room-gallery-amenity-name {
            white-space: normal;
            overflow-wrap: anywhere;
        }
}

.room-card-name {
    white-space: nowrap;
}

.booking-room-table {
    width: 100%;
    table-layout: fixed;
}

    .booking-room-table th:nth-child(1),
    .booking-room-table td:nth-child(1) {
        width: 45%;
    }

    .booking-room-table th:nth-child(2),
    .booking-room-table td:nth-child(2) {
        width: 35%;
    }

    .booking-room-table th:nth-child(3),
    .booking-room-table td:nth-child(3) {
        width: 20%;
    }

.room-card-name,
.room-type-name-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-grid.map-view {
    width: 68% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column;
    float: left !important;
}

    .hotel-grid.map-view .hotel-card {
        display: flex;
        flex-direction: row;
        width: 100%;
        min-height: 180px;
    }

    .hotel-grid.map-view .hotel-thumb {
        width: 230px;
        flex-shrink: 0;
    }

    .hotel-grid.map-view .hotel-body {
        padding: 14px 18px;
    }

    .hotel-grid.map-view .hotel-name {
        font-size: 16px;
    }

    .hotel-grid.map-view .btn-view {
        width: 110px;
        height: 36px;
    }

#hotelMap,
.map-layout {
    width: 32% !important;
    height: 700px;
    display: block;
    position: sticky;
    top: 100px;
}

#leafletMap {
    width: 100%;
    height: 100%;
}

/* Reduce map labels */

.hotel-map-tooltip {
    max-width: 160px;
}

.hotel-map-label {
    font-size: 12px;
    white-space: nowrap;
}

/* =====================================
   MAP PANEL SAME STYLE AS ROOM LIST
===================================== */

#hotelMap {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

    /* Leaflet fill inside rounded container */

    #hotelMap #leafletMap {
        border-radius: inherit;
        overflow: hidden;
    }

/* Remove leaflet default sharp corners */

.leaflet-container {
    border-radius: inherit;
}

/* Popup style same as room cards */

.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.08) !important;
    border: 1px solid var(--border);
}

.leaflet-popup-tip {
    box-shadow: none !important;
}

/* Map marker popup button */

.hotel-map-room-btn {
    border-radius: 8px !important;
    height: 36px;
    font-size: 13px;
}

.hotel-map-popup {
    min-width: 220px;
}

    .hotel-map-popup strong {
        font-size: 14px;
        line-height: 1.3;
    }

.hotel-map-popup-address {
    color: #6B7280;
    font-size: 12px;
    margin: 6px 0;
}

/* Common close button style */
.property-amenities-close,
.room-gallery-close {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

/* Property amenities close */
.property-amenities-close {
    width: 36px;
    height: 36px;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 400;
}

.room-gallery-close {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 28px;
    font-weight: 300;
}

    .room-gallery-close:hover {
        background: rgba(0,0,0,.85);
    }

.property-amenities-close,
.room-gallery-close {
    padding-bottom: 3px;
}

.property-amenities-close {
    color: #0b4f54;
}
/* ================================
   HOTEL VIEW MODE
================================ */

.hotel-grid {
    width: 100%;
    display: grid;
    gap: 24px;
}

    /* GRID VIEW */
    .hotel-grid.grid-view {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }


    /* LIST VIEW */
    .hotel-grid.list-view {
        display: flex;
        flex-direction: column;
    }

        .hotel-grid.list-view .hotel-card {
            width: 100%;
            display: flex;
            flex-direction: row;
            min-height: 200px;
        }

        .hotel-grid.list-view .hotel-thumb {
            width: 280px;
            height: 200px;
            flex-shrink: 0;
        }

        .hotel-grid.list-view .hotel-body {
            flex: 1;
            display: flex;
            flex-direction: column;
        }


/* MAP VIEW */

.map-layout {
    display: none;
    width: 100%;
    height: calc(100vh - 220px);
    grid-template-columns: 380px 1fr;
}


    .map-layout.active {
        display: grid;
    }


.map-hotels {
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid var(--border);
}


#leafletMap {
    width: 100%;
    height: 100%;
}


/* map hotel cards */

.hotel-grid.map-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


    .hotel-grid.map-view .hotel-card {
        display: flex;
        width: 100%;
    }


    .hotel-grid.map-view .hotel-thumb {
        flex-shrink: 0;
    }


    .hotel-grid.map-view .hotel-body {
        padding: 12px;
    }


/* ================================
   RESPONSIVE
================================ */


/* Tablet */
@media(max-width:1100px) {

    .hotel-grid.grid-view {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }


    .map-layout.active {
        grid-template-columns: 320px 1fr;
    }
}


/* Mobile */
@media(max-width:768px) {


    /* Grid */

    .hotel-grid.grid-view {
        grid-template-columns: 1fr;
    }


    /* List */

    .hotel-grid.list-view .hotel-card {
        flex-direction: column;
    }


    .hotel-grid.list-view .hotel-thumb {
        width: 100%;
        height: 220px;
    }


    .hotel-grid.list-view .hotel-body {
        padding: 16px;
    }


    /* Map */

    .map-layout.active {
        display: flex;
        flex-direction: column;
        height: auto;
    }


    .map-hotels {
        order: 2;
        height: auto;
        max-height: none;
        border-right: none;
        border-top: 1px solid var(--border);
    }


    #leafletMap {
        order: 1;
        width: 100%;
        height: 350px;
    }


    .hotel-grid.map-view .hotel-card {
        flex-direction: column;
    }


    .hotel-grid.map-view .hotel-thumb {
        width: 100%;
        height: 180px;
    }


    .hotel-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }


    .view-switch {
        width: 100%;
    }


        .view-switch button {
            flex: 1;
        }
}


/* Small mobile */

@media(max-width:480px) {

    .hotel-thumb {
        height: 180px;
    }


    .hotel-name {
        font-size: 15px;
    }


    .btn-view {
        width: 100%;
    }
}
/* Fix Map View Layout Override */

.hotel-grid.map-view {
    width: 100%;
    float: none;
    display: flex;
    flex-direction: column;
}


#hotelMap {
    width: 100%;
    height: 700px;
    float: none;
    margin: 0;
}


.map-layout {
    display: none;
    width: 100%;
    height: calc(100vh - 220px);
}


    .map-layout.active {
        display: grid;
        grid-template-columns: 380px 1fr;
    }


@media(max-width:768px) {

    .map-layout.active {
        display: flex;
        flex-direction: column;
    }

    #hotelMap {
        order: 1;
        width: 100%;
        height: 350px;
    }

    .hotel-grid.map-view {
        order: 2;
        width: 100%;
    }
}

/* ==========================================================
   RESPONSIVE FINISHING LAYER
   Layout-only refinements. Existing colour tokens are unchanged.
   ========================================================== */

html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
}

.booking-page-content {
    width: 100%;
}

    .booking-page-content:not(.checkout-page-content),
    .hotel-page,
    .roomlists-page,
    .page,
    .container-box {
        max-width: 1240px;
        margin-inline: auto;
    }

.booking-header .container,
.booking-trust-footer .container {
    max-width: 1240px;
}

.booking-header-logo {
    max-width: min(220px, 48vw);
}

.hotel-card,
.room-card,
.room-rate-card,
.panel,
.booking-summary,
.property-best-rate-card,
.booking-table-right {
    min-width: 0;
}

.hotel-name,
.property-name,
.room-card-name,
.summary-hotel-name,
.summary-room-name,
.info-val,
.value {
    overflow-wrap: anywhere;
}

.hotel-grid.grid-view {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hotel-grid.grid-view {
    align-items: start;
}

    .hotel-grid.grid-view .hotel-card {
        height: auto;
    }

    .hotel-grid.grid-view .hotel-body {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .hotel-grid.grid-view .btn-view {
        margin-top: 10px;
    }


.hotel-grid.map-view .hotel-card > .hotel-body:first-of-type,
.hotel-grid.list-view .hotel-card > .hotel-body:first-of-type {
    flex: 1 1 auto;
    min-width: 0;
}

.hotel-grid.map-view .hotel-card > .hotel-body:last-of-type {
    flex: 0 0 180px;
    width: 180px;
    margin-left: auto;
    padding: 20px 16px;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
}

    .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type small,
    .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type .fw-bold {
        width: 100%;
        text-align: right;
    }

    .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type .btn-view {
        align-self: flex-end;
    }

.checkout-layout {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

.steps-container,
.sidebar,
.panel-body,
.form-grid,
.field,
.phone-row {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 92px;
}

.stepper-wrap,
.top-nav {
    padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.phone-row input {
    width: 100%;
    min-width: 0;
}

.summary-row-line,
.price-line,
.price-total-line,
.summary-room-box {
    gap: 16px;
}

    .summary-row-line > :last-child,
    .price-line > :last-child,
    .price-total-line > :last-child {
        text-align: right;
    }

.booking-trust-grid {
    gap: clamp(18px, 3vw, 36px);
}

.checkout-page-content .top-nav .back-link svg {
    display: block;
    flex: 0 0 16px;
    width: 16px !important;
    min-width: 16px;
    max-width: 16px;
    height: 16px !important;
    min-height: 16px;
    max-height: 16px;
}

.checkout-page-content .top-nav .back-link {
    white-space: nowrap;
}

.checkout-page-content .top-nav .back-arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.actions,
.form-actions {
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .hotel-grid.grid-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-layout {
        width: min(940px, calc(100% - 40px));
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        gap: 24px;
    }

    .property-overview-grid,
    .booking-table-wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    }

    .booking-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .booking-header .container {
        gap: 16px;
    }

    .retrieve-booking-link {
        text-align: right;
        line-height: 1.3;
    }

    .search-wrap {
        margin-inline: 16px;
        padding: 16px;
    }

    .search-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .search-bar .btn-search {
            width: 100%;
        }

    .checkout-layout {
        width: min(680px, calc(100% - 32px));
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .booking-summary {
        width: 100%;
    }

    .stepper-wrap,
    .top-nav {
        padding-inline: 16px;
    }

    .property-overview-grid,
    .booking-table-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-table-right,
    .property-best-rate-card {
        position: static;
        width: 100%;
    }

    .property-photo-collection,
    .property-overview-grid,
    .booking-table-wrapper {
        gap: 16px;
    }

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

@media (max-width: 576px) {
    :root {
        --fs-page: 26px;
        --fs-price: 24px;
    }

    .booking-header .container {
        min-height: 68px;
        padding-inline: 16px;
    }

    .booking-header-logo {
        height: 42px;
        max-width: 46vw;
    }

    .retrieve-booking-link {
        max-width: 48vw;
        font-size: 12px;
    }

        .retrieve-booking-link svg,
        .retrieve-booking-link i {
            flex: 0 0 auto;
        }

    .search-wrap {
        margin-inline: 12px;
        padding: 14px;
    }

    .search-bar,
    .form-grid,
    .name-row,
    .info-grid,
    .booking-trust-grid {
        grid-template-columns: 1fr !important;
    }

        .search-bar .btn-search,
        .btn-view,
        .summary-next-btn,
        .btn-confirm,
        .btn-next {
            min-height: 46px;
        }

    .hotel-grid.grid-view {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hotel-grid.list-view .hotel-thumb,
    .hotel-grid.map-view .hotel-thumb {
        height: 200px;
    }

    .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type {
        flex: none;
        width: 100%;
        margin-left: 0;
        padding: 16px;
        align-items: stretch;
        text-align: left;
    }

        .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type small,
        .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type .fw-bold {
            text-align: left;
        }

        .hotel-grid.map-view .hotel-card > .hotel-body:last-of-type .btn-view {
            width: 100%;
            align-self: stretch;
        }

    .hotel-toolbar,
    .toolbar-left,
    .view-switch {
        width: 100%;
    }

    .checkout-layout {
        width: calc(100% - 24px);
        gap: 16px;
    }

    .top-nav {
        min-height: 58px;
        gap: 12px;
    }

        .top-nav .nav-brand {
            text-align: right;
            line-height: 1.25;
        }

    .stepper-wrap {
        overflow-x: auto;
    }

    .stepper {
        min-width: 280px;
    }

    .panel-header,
    .panel-body,
    .booking-summary,
    .booking-table-right,
    .property-best-rate-card {
        padding: 16px;
    }

    .panel-header {
        gap: 12px;
        align-items: flex-start;
    }

    .phone-row {
        grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    }

    .summary-row-line,
    .price-line,
    .price-total-line {
        align-items: flex-start;
    }

    .summary-room-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-link {
        align-self: flex-start;
    }

    .actions,
    .form-actions {
        flex-direction: column;
    }

        .actions .btn,
        .form-actions button {
            width: 100%;
            justify-content: center;
        }

    .room-gallery-dialog,
    .property-amenities-dialog {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
        margin: 8px;
    }

    #hotelMap,
    #leafletMap {
        height: 300px !important;
    }

    .booking-trust-item {
        align-items: flex-start;
    }
}

.roomlists-page .package-highlight-neutral {
    color: #555;
    font-weight: 700;
}

.roomlists-page .package-highlight-success {
    color: #287a45;
    font-weight: 700;
}

.room-amenity-item {
    min-width: 0;
}

.room-gallery-amenity-main {
    min-width: 0;
    flex-wrap: wrap;
}

.room-gallery-amenity-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.amenity-request {
    white-space: nowrap;
    flex-shrink: 0;
}
/* ==========================================================
   FINAL FIX - ROOM MODAL AMENITIES
   Keep at very bottom of CSS
   ========================================================== */

#roomGalleryAmenities {
    width: 100%;
    min-width: 0;
    overflow: visible;
}

    #roomGalleryAmenities .room-amenity-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 18px !important;
        row-gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    #roomGalleryAmenities .room-amenity-item {
        display: grid !important;
        grid-template-columns: 18px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        align-items: start !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

        #roomGalleryAmenities .room-amenity-item > i {
            width: 18px !important;
            min-width: 18px !important;
            margin-top: 3px !important;
            font-size: 13px !important;
            line-height: 1.3 !important;
            text-align: center !important;
            color: var(--primary) !important;
        }

    /* Name + "Available on Request" */
    #roomGalleryAmenities .room-gallery-amenity-main {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 3px 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    /* Never truncate amenity names */
    #roomGalleryAmenities .room-gallery-amenity-name {
        display: inline !important;
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        line-height: 1.4 !important;
    }

    /* Available on Request badge */
    #roomGalleryAmenities .amenity-request {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1px 5px !important;
        white-space: nowrap !important;
        font-size: 9px !important;
        line-height: 1.4 !important;
        border: 1px solid #dfe4e7 !important;
        border-radius: 3px !important;
        background: #f3f5f6 !important;
        color: #66717b !important;
    }

    /* Long amenity should use whole row */
    #roomGalleryAmenities .room-amenity-item.amenity-full-row {
        grid-column: 1 / -1 !important;
    }


/* Narrow details panel -> switch amenities to 1 column */
@media (max-width: 1200px) {

    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Mobile */
@media (max-width: 768px) {

    #roomGalleryAmenities .room-amenity-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    #roomGalleryAmenities .room-gallery-amenity-name {
        overflow-wrap: anywhere !important;
    }
}

#roomGalleryAmenities .room-amenity-item.amenity-full-row {
    grid-column: 1 / -1 !important;
}

    #roomGalleryAmenities .room-amenity-item.amenity-full-row
    .room-gallery-amenity-name {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

.guest-field {
    position: relative;
    min-width: 260px;
}

.guest-selector-trigger {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

    .guest-selector-trigger > span {
        flex: 1;
        white-space: nowrap;
    }

    .guest-selector-trigger > i:first-child {
        font-size: 18px;
        color: var(--primary);
    }

.guest-chevron {
    color: var(--text-muted);
    font-size: 12px;
}


/* popup */

.guest-selector-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10000;
    width: 380px;
    max-width: calc(100vw - 30px);
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,.16);
}

    .guest-selector-popup.show {
        display: block;
    }


.guest-selector-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
}

    .guest-selector-row strong {
        display: inline-block;
        font-size: 15px;
        font-weight: 600;
    }

    .guest-selector-row small {
        margin-left: 6px;
        color: var(--text-muted);
    }


/* +/- */

.guest-counter {
    display: grid;
    grid-template-columns: 34px 34px 34px;
    align-items: center;
    gap: 6px;
    text-align: center;
}

    .guest-counter button {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--primary);
        border-radius: 50%;
        background: #fff;
        color: var(--primary);
        font-size: 20px;
        cursor: pointer;
    }

        .guest-counter button:hover {
            background: var(--accent-light);
        }

    .guest-counter span {
        font-size: 16px;
        font-weight: 600;
    }


/* child age */

.child-age-section {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.child-age-title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.child-age-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.child-age-field label {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.child-age-field select {
    width: 100%;
    height: 38px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #fff;
}

.guest-selector-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.guest-done-btn {
    min-width: 100px;
    padding: 9px 22px;
    border: 0;
    border-radius: 7px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

    .guest-done-btn:hover {
        background: var(--primary-hover);
    }


@media (max-width: 600px) {

    .guest-field {
        min-width: 0;
    }

    .guest-selector-popup {
        position: fixed;
        left: 15px;
        right: 15px;
        top: 50%;
        width: auto;
        transform: translateY(-50%);
    }

    .child-age-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.room-guest-card {
    padding: 18px;
    margin-bottom: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
}

    .room-guest-card:last-child {
        margin-bottom: 0;
    }

.room-guest-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

    .room-guest-header h5 {
        margin: 0 0 4px;
        color: var(--primary);
        font-size: 15px;
        font-weight: 700;
    }

.room-guest-type {
    color: var(--text-muted);
    font-size: 12px;
}
/* ==========================================================
   MOBILE HEADER / BANNER / FOOTER FIX
   Layout only - no colour or design changes
   ========================================================== */

@media (max-width: 768px) {

    /* Keep header compact */
    .booking-header {
        margin: 0;
        padding: 0;
    }

        .booking-header .container {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

    /*
       Remove the 10px gap currently added between
       the header and event banner.
    */
    .event-banner {
        width: calc(100% - 24px);
        height: 170px;
        margin-top: 0;
        margin-right: 12px;
        margin-bottom: -20px;
        margin-left: 12px;
        border-radius: 14px;
    }

    .event-banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


    .booking-page-content {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .booking-header-logo {
        height: 44px;
    }

    .event-banner {
        width: calc(100% - 20px);
        height: 155px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
}

@media (max-width: 480px) {
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.booking-header {
    flex-shrink: 0;
    width: 100%;
}

    .booking-header .container {
        min-height: 64px;
    }

.booking-header-logo {
    display: block;
    width: auto;
    height: 50px;
    object-fit: contain;
}

.booking-page-content {
    position: relative;
    z-index: 10;
    flex: 1 0 auto;
    width: 100%;
    max-width: 1100px;
    margin: -36px auto 0;
}

@media (max-width: 768px) {

    .booking-header .container {
        min-height: 56px;
    }

    .booking-header-logo {
        height: 42px;
    }
}

.property-gallery-dialog {
    width: min(1050px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}


    .property-gallery-dialog .room-gallery-header {
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 18px 22px;
    }

        .property-gallery-dialog .room-gallery-header h3 {
            margin: 0 0 5px;
            color: var(--primary);
            font-size: 21px;
            font-weight: 700;
        }

        .property-gallery-dialog .room-gallery-header p {
            margin: 0;
            color: var(--text-muted);
            font-size: 13px;
        }

    .property-gallery-dialog .room-gallery-close {
        background: var(--accent-light);
        color: var(--primary);
        border: 1px solid transparent;
    }

        .property-gallery-dialog .room-gallery-close:hover {
            background: rgba(0, 63, 70, 0.14);
            color: var(--primary-hover);
        }


    .property-gallery-dialog .room-gallery-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 220px;
        min-height: 0;
        background: var(--surface);
    }

    .property-gallery-dialog .room-gallery-photo-section {
        min-width: 0;
        padding: 18px;
        background: var(--surface);
    }


    .property-gallery-dialog .room-gallery-main {
        position: relative;
        overflow: hidden;
        border-radius: var(--r);
        background: var(--surface-3);
    }

        .property-gallery-dialog .room-gallery-main img {
            display: block;
            width: 100%;
            height: 430px;
            object-fit: cover;
        }

    .property-gallery-dialog .room-gallery-nav {
        background: rgba(255, 255, 255, 0.94);
        color: var(--primary);
        border: 1px solid rgba(0, 63, 70, 0.12);
        box-shadow: 0 3px 12px rgba(0, 63, 70, 0.10);
    }

        .property-gallery-dialog .room-gallery-nav:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }


    .property-gallery-dialog .room-gallery-counter {
        background: rgba(255, 255, 255, 0.94);
        color: var(--primary);
        border: 1px solid rgba(0, 63, 70, 0.12);
        box-shadow: 0 2px 8px rgba(0, 63, 70, 0.08);
    }


    .property-gallery-dialog .room-gallery-thumbnails {
        display: flex;
        gap: 8px;
        margin-top: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .property-gallery-dialog .room-gallery-thumb {
        border: 2px solid transparent;
        background: var(--surface-3);
        border-radius: var(--r-sm);
        overflow: hidden;
    }

        .property-gallery-dialog .room-gallery-thumb:hover {
            border-color: rgba(0, 63, 70, 0.35);
        }

        .property-gallery-dialog .room-gallery-thumb.active {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--accent-light);
        }

    .property-gallery-dialog .room-gallery-show-all-thumb {
        background: var(--accent-light);
        color: var(--primary);
        border: 1px solid rgba(0, 63, 70, 0.18);
        border-radius: var(--r-sm);
    }

        .property-gallery-dialog .room-gallery-show-all-thumb:hover {
            background: rgba(0, 63, 70, 0.14);
            border-color: var(--primary);
        }


.property-gallery-categories {
    background: var(--surface-2);
    border-left: 1px solid var(--border);
    padding: 14px 10px;
    overflow-y: auto;
}

.property-gallery-category-list {
    display: flex;
    flex-direction: column;
}

.property-gallery-category-btn {
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}


    .property-gallery-category-btn:hover {
        background: var(--accent-light);
        border-color: rgba(0, 63, 70, 0.12);
        color: var(--primary);
    }


    .property-gallery-category-btn.active {
        background: var(--accent-light);
        border-color: rgba(0, 63, 70, 0.20);
        color: var(--primary);
        font-weight: 700;
    }


        .property-gallery-category-btn.active::before {
            content: "";
            width: 3px;
            height: 22px;
            flex: 0 0 3px;
            background: var(--primary);
            border-radius: 999px;
        }

.property-gallery-category-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

    .property-gallery-category-name i {
        width: 18px;
        flex: 0 0 18px;
        color: var(--primary);
        font-size: 14px;
        text-align: center;
    }

    .property-gallery-category-name span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.property-gallery-category-count {
    flex: 0 0 auto;
    color: var(--text-subtle);
    font-size: 11px;
    font-weight: 500;
}

.property-gallery-category-btn:hover
.property-gallery-category-count,
.property-gallery-category-btn.active
.property-gallery-category-count {
    color: var(--primary);
}


.property-gallery-amenity-content {
    margin-top: 18px;
    padding: 18px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
}

.property-gallery-amenity-group {
    margin-bottom: 22px;
}

    .property-gallery-amenity-group:last-child {
        margin-bottom: 0;
    }

    .property-gallery-amenity-group h4 {
        margin: 0 0 12px;
        color: var(--primary);
        font-size: 15px;
        font-weight: 700;
    }


        .property-gallery-amenity-group h4::after {
            content: "";
            display: block;
            width: 32px;
            height: 2px;
            margin-top: 6px;
            background: var(--gold);
            border-radius: 999px;
        }


.property-gallery-amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.property-gallery-amenity-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 13px;
}

    .property-gallery-amenity-item:hover {
        background: var(--accent-light);
        border-color: rgba(0, 63, 70, 0.10);
        color: var(--primary);
    }

    .property-gallery-amenity-item i {
        width: 18px;
        flex: 0 0 18px;
        color: var(--gold);
        font-size: 15px;
        text-align: center;
    }

    .property-gallery-amenity-item span {
        min-width: 0;
        line-height: 1.35;
    }


.property-gallery-dialog .room-gallery-all-view {
    background: var(--surface);
}

.property-gallery-dialog .room-gallery-back-album {
    color: var(--primary);
    background: var(--accent-light);
    border: 1px solid rgba(0, 63, 70, 0.15);
    border-radius: var(--r-sm);
}

    .property-gallery-dialog .room-gallery-back-album:hover {
        background: rgba(0, 63, 70, 0.14);
        border-color: var(--primary);
    }


.property-gallery-dialog .room-gallery-all-photo {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
}

    .property-gallery-dialog .room-gallery-all-photo:hover {
        border-color: rgba(0, 63, 70, 0.30);
    }


.property-gallery-categories::-webkit-scrollbar,
.property-gallery-dialog
.room-gallery-thumbnails::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.property-gallery-categories::-webkit-scrollbar-track,
.property-gallery-dialog
.room-gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.property-gallery-categories::-webkit-scrollbar-thumb,
.property-gallery-dialog
.room-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(0, 63, 70, 0.20);
    border-radius: 999px;
}

    .property-gallery-categories::-webkit-scrollbar-thumb:hover,
    .property-gallery-dialog
    .room-gallery-thumbnails::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 63, 70, 0.35);
    }


@media (max-width: 900px) {

    .property-gallery-dialog .room-gallery-content {
        grid-template-columns: minmax(0, 1fr) 190px;
    }

    .property-gallery-dialog .room-gallery-main img {
        height: 380px;
    }

    .property-gallery-amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 768px) {

    .property-gallery-dialog .room-gallery-content {
        display: flex;
        flex-direction: column;
    }


    .property-gallery-categories {
        order: -1;
        width: 100%;
        padding: 9px 12px;
        border-left: 0;
        border-bottom: 1px solid var(--border);
        background: var(--surface-2);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .property-gallery-category-list {
        width: max-content;
        flex-direction: row;
    }

    .property-gallery-category-btn {
        width: auto;
        min-height: 36px;
        flex: 0 0 auto;
        padding: 7px 11px;
        background: var(--surface);
        border: 1px solid var(--border);
        white-space: nowrap;
    }

        .property-gallery-category-btn.active {
            background: var(--accent-light);
            border-color: var(--primary);
            color: var(--primary);
        }


            .property-gallery-category-btn.active::before {
                display: none;
            }

    .property-gallery-dialog
    .room-gallery-photo-section {
        padding: 12px;
    }

    .property-gallery-dialog
    .room-gallery-main img {
        height: 320px;
    }

    .property-gallery-amenity-content {
        margin-top: 14px;
        padding: 14px;
    }

    .property-gallery-amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 480px) {

    .property-gallery-dialog
    .room-gallery-main img {
        height: 250px;
    }

    .property-gallery-amenity-grid {
        grid-template-columns: 1fr;
    }

    .property-gallery-amenity-content {
        padding: 12px;
    }
}

.phone-row {
    display: grid;
    grid-template-columns: minmax(160px, 42%) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
}

    .phone-row select,
    .phone-row input {
        width: 100%;
        min-width: 0;
    }

    .phone-row select {
        max-width: 100%;
    }

@media (max-width: 576px) {
    .phone-row {
        grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
        gap: 8px;
    }
}

/* ==========================================================
   FINAL RESPONSIVE LAYOUT / HEADER / FOOTER OVERRIDES
   Keep this section at the END of booking.css.
   ========================================================== */

html {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg);
}

body {
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
}

/* Main page must occupy the unused viewport height.
   This prevents a white strip appearing below the footer. */
.booking-page-content {
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
}

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.booking-header {
    position: sticky;
    top: 0;
    z-index: 999;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--primary);
    color: #fff;
    border: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}

    .booking-header .container {
        width: 100%;
        max-width: 1320px;
        min-height: 72px;
        margin: 0 auto;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex;
        align-items: center;
    }

.booking-header-logo {
    display: block;
    width: auto;
    height: 52px;
    max-width: min(230px, 42vw);
    object-fit: contain;
    flex: 0 0 auto;
}

.retrieve-booking-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    line-height: 1.2;
    white-space: nowrap;
}

    .retrieve-booking-link,
    .retrieve-booking-link span,
    .retrieve-booking-link svg,
    .retrieve-booking-link i {
        color: #fff !important;
    }

        .retrieve-booking-link svg {
            width: 18px;
            height: 18px;
            flex: 0 0 18px;
        }

/* ----------------------------------------------------------
   FOOTER IMAGE
   ---------------------------------------------------------- */

/*
   The artwork is extremely wide.
   "contain" keeps ALL four footer benefits visible.
   A fixed/minimum footer bar height keeps the footer from
   looking tiny on mobile while the teal background fills
   any remaining vertical space.
*/
.booking-footer-image {
    flex: 0 0 auto;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 0;
    background: var(--primary);
}

    .booking-footer-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 72px;
        margin: 0;
        object-fit: contain;
        object-position: center;
    }

/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 992px) {
    .booking-header .container {
        min-height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .booking-header-logo {
        height: 46px;
        max-width: 210px;
    }

    .booking-footer-image {
        min-height: 64px;
    }

        .booking-footer-image img {
            height: 64px;
            object-fit: contain;
        }
}

/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 768px) {
    .booking-header {
        min-height: 60px;
    }

        .booking-header .container {
            min-height: 60px;
            padding-left: 12px !important;
            padding-right: 12px !important;
            gap: 10px;
        }

    .booking-header-logo {
        height: 42px;
        max-width: 42vw;
    }

    .retrieve-booking-link {
        min-height: 42px;
        max-width: 52vw;
        padding: 7px 12px;
        gap: 7px;
        white-space: normal;
        text-align: center;
    }

        .retrieve-booking-link span {
            font-size: 12px;
            line-height: 1.15;
        }

        .retrieve-booking-link svg {
            width: 17px;
            height: 17px;
            flex-basis: 17px;
        }

    /*
       Important:
       Keep a 56px teal footer bar, but preserve the entire
       wide image with contain. This avoids both cropping and
       the white strip under the image.
    */
    .booking-footer-image {
        min-height: 56px;
        height: 56px;
        margin: 0;
        background: var(--primary);
    }

        .booking-footer-image img {
            width: 100%;
            height: 56px;
            max-height: 56px;
            object-fit: contain;
            object-position: center;
        }
}

/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {
    .booking-header {
        min-height: 58px;
    }

        .booking-header .container {
            min-height: 58px;
            padding-left: 10px !important;
            padding-right: 10px !important;
            gap: 8px;
        }

    .booking-header-logo {
        height: 40px;
        max-width: 43vw;
    }

    .retrieve-booking-link {
        min-height: 40px;
        max-width: 54vw;
        padding: 6px 10px;
    }

        .retrieve-booking-link span {
            font-size: 11px;
        }

    .booking-footer-image {
        min-height: 54px;
        height: 54px;
    }

        .booking-footer-image img {
            width: 100%;
            height: 54px;
            max-height: 54px;
            object-fit: contain;
        }
}

/* ----------------------------------------------------------
   VERY SMALL DEVICES
   ---------------------------------------------------------- */

@media (max-width: 360px) {
    .booking-header-logo {
        height: 38px;
        max-width: 41vw;
    }

    .retrieve-booking-link {
        max-width: 56vw;
        padding-left: 8px;
        padding-right: 8px;
    }

        .retrieve-booking-link span {
            font-size: 10.5px;
        }

    .booking-footer-image,
    .booking-footer-image img {
        height: 52px;
        min-height: 52px;
        max-height: 52px;
    }
}

.property-photo-preview-image {
    position: relative;
}

.property-photo-category-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 63, 70, .9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.property-gallery-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    font-weight: 400;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .property-gallery-category-btn.active {
        background: color-mix( in srgb, var(--theme-color) 10%, transparent );
        border-color: var(--theme-color);
        color: var(--theme-color);
    }

/* ==========================================================
   FINAL CHECKOUT / GUEST FORM OVERRIDES
   Fine-tuned for consistent field sizing and phone layout.
   Keep this section at the VERY END of booking.css.
   ========================================================== */

.checkout-page-content .form-grid,
.checkout-layout .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    min-width: 0;
}

    .checkout-page-content .form-grid .full,
    .checkout-layout .form-grid .full {
        grid-column: 1 / -1;
    }

.checkout-page-content .field,
.checkout-layout .field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

    .checkout-page-content .field label,
    .checkout-layout .field label {
        margin: 0;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.35;
        text-transform: uppercase;
        letter-spacing: .6px;
        color: var(--primary);
    }

    .checkout-page-content .field input,
    .checkout-page-content .field select,
    .checkout-page-content .field textarea,
    .checkout-layout .field input,
    .checkout-layout .field select,
    .checkout-layout .field textarea {
        display: block;
        width: 100%;
        min-width: 0;
        height: 42px;
        margin: 0;
        padding: 9px 12px;
        font-family: var(--font-main);
        font-size: 14px;
        line-height: 1.4;
        color: var(--ink);
        background-color: var(--surface-2);
        border: 1.5px solid var(--border);
        border-radius: var(--r-sm);
        outline: 0;
        box-shadow: none;
        appearance: none;
        -webkit-appearance: none;
        transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
    }

    .checkout-page-content .field textarea,
    .checkout-layout .field textarea {
        height: auto;
        min-height: 80px;
        resize: vertical;
    }

    .checkout-page-content .field select,
    .checkout-layout .field select {
        padding-right: 34px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 11px center;
        background-size: 12px 12px;
    }

        .checkout-page-content .field input:focus,
        .checkout-page-content .field select:focus,
        .checkout-page-content .field textarea:focus,
        .checkout-layout .field input:focus,
        .checkout-layout .field select:focus,
        .checkout-layout .field textarea:focus {
            border-color: var(--primary-hover);
            background-color: var(--surface);
            box-shadow: 0 0 0 3px rgba(0, 63, 70, .10);
        }

        .checkout-page-content .field input.error,
        .checkout-page-content .field select.error,
        .checkout-page-content .field textarea.error,
        .checkout-layout .field input.error,
        .checkout-layout .field select.error,
        .checkout-layout .field textarea.error {
            border-color: var(--red);
        }

/* Phone number ------------------------------------------------ */

.checkout-page-content .phone-row,
.checkout-layout .phone-row {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

    .checkout-page-content .phone-row select,
    .checkout-page-content .phone-row input,
    .checkout-layout .phone-row select,
    .checkout-layout .phone-row input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 42px;
        margin: 0;
    }

    .checkout-page-content .phone-row select,
    .checkout-layout .phone-row select {
        flex: none !important;
        padding-right: 34px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .checkout-page-content .phone-row input,
    .checkout-layout .phone-row input {
        flex: none !important;
    }

/* Errors ------------------------------------------------------ */

.checkout-page-content .field-error,
.checkout-layout .field-error {
    display: none;
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--red);
}

.checkout-page-content .field.has-error .field-error,
.checkout-layout .field.has-error .field-error {
    display: block;
}

/* Panels ------------------------------------------------------ */

.checkout-page-content .panel,
.checkout-layout .panel {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r);
}

.checkout-page-content .panel-header,
.checkout-layout .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: .875rem 1.25rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.checkout-page-content .panel-body,
.checkout-layout .panel-body {
    width: 100%;
    min-width: 0;
    padding: 1.25rem;
}

/* Checkout columns ------------------------------------------- */

.checkout-layout {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

    .checkout-layout .steps-container,
    .checkout-layout .sidebar {
        min-width: 0;
    }

    .checkout-layout .sidebar {
        position: sticky;
        top: 92px;
    }

/* Tablet ------------------------------------------------------ */

@media (max-width: 860px) {
    .checkout-layout {
        width: min(100% - 32px, 760px);
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 1.5rem 0;
    }

        .checkout-layout .sidebar {
            position: static;
        }
}

/* Mobile ------------------------------------------------------ */

@media (max-width: 576px) {
    .checkout-layout {
        width: calc(100% - 24px);
        padding: 1rem 0;
        gap: 16px;
    }

        .checkout-page-content .form-grid,
        .checkout-layout .form-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: .875rem;
        }

            .checkout-page-content .form-grid .full,
            .checkout-layout .form-grid .full,
            .checkout-page-content .name-row,
            .checkout-layout .name-row {
                grid-column: 1 / -1 !important;
            }

        .checkout-page-content .name-row,
        .checkout-layout .name-row {
            grid-template-columns: minmax(0, 1fr) !important;
            gap: .875rem !important;
        }

        .checkout-page-content .phone-row,
        .checkout-layout .phone-row {
            grid-template-columns: 120px minmax(0, 1fr) !important;
            gap: 8px;
        }

        .checkout-page-content .panel-header,
        .checkout-layout .panel-header,
        .checkout-page-content .panel-body,
        .checkout-layout .panel-body {
            padding: 16px;
        }
}

/* Very small phones ------------------------------------------ */

@media (max-width: 380px) {
    .checkout-page-content .phone-row,
    .checkout-layout .phone-row {
        grid-template-columns: 105px minmax(0, 1fr) !important;
        gap: 6px;
    }

    .checkout-page-content .field input,
    .checkout-page-content .field select,
    .checkout-layout .field input,
    .checkout-layout .field select {
        font-size: 13px;
    }
}

.booking-page-content.no-event-banner {
    margin-top: 0 !important;
}

.event-info-strip {
    background: transparent;
    margin: 0;
    padding: 0;
}

.event-info-inner {
    padding: 16px 0 12px;
}

.event-info-title {
    margin: 0;
    font-size: 28px !important;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary) !important;
}

.event-info-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    font-size: 13px !important;
    font-weight: 500;
    color: var(--primary) !important;
}

    .event-info-date i,
    .event-info-date span {
        color: var(--primary) !important;
    }

    .event-info-date i {
        font-size: 13px;
    }

@media (max-width: 768px) {
    .event-info-inner {
        padding: 14px 0 20px;
    }

    .event-info-title {
        font-size: 22px !important;
    }
}

.property-gallery-scroll-area {
    overflow-y: auto;
    max-height: calc(100vh - 190px);
    padding-right: 20px;
}

.property-gallery-grouped-photos {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.property-photo-category-section {
    scroll-margin-top: 10px;
}

.property-photo-category-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #003F46;
}

.property-photo-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.property-photo-category-item {
    overflow: hidden;
    border-radius: 10px;
}

    .property-photo-category-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

.property-gallery-category-btn.active {
    background: rgba(0, 63, 70, 0.08);
    color: #003F46;
    font-weight: 700;
}

.property-photo-category-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

    .property-photo-category-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
        transition: transform 0.2s ease;
    }

    .property-photo-category-item:hover img {
        transform: scale(1.03);
    }
/* =========================================
   PROPERTY FULL SCREEN PHOTO VIEWER
   ========================================= */

.property-photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.96);
}

    .property-photo-viewer.show {
        display: flex;
    }


/* Top information */

.property-photo-viewer-top {
    position: absolute;
    top: 24px;
    left: 32px;
    right: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.property-photo-viewer-category {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.property-photo-viewer-counter {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}


/* Main photo */

.property-photo-viewer-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100vw - 220px);
    height: calc(100vh - 120px);
}

    .property-photo-viewer-image-wrap img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
    }


/* Caption */

.property-photo-viewer-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -38px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 14px;
}


/* Close */

.property-photo-viewer-close {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

    .property-photo-viewer-close:hover {
        background: rgba(255, 255, 255, 0.20);
    }


/* Previous / Next */

.property-photo-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

    .property-photo-viewer-nav:hover {
        background: rgba(255, 255, 255, 0.24);
    }

.property-photo-viewer-prev {
    left: 28px;
}

.property-photo-viewer-next {
    right: 28px;
}

@media (max-width: 768px) {

    .property-photo-viewer-top {
        top: 18px;
        left: 16px;
        right: 68px;
    }


    .property-photo-viewer-nav {
        width: 42px;
        height: 42px;
        font-size: 30px;
        background: rgba(15, 23, 42, 0.45);
    }

    .property-photo-viewer-prev {
        left: 10px;
    }

    .property-photo-viewer-next {
        right: 10px;
    }

    .property-photo-viewer-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }
}

.property-photo-viewer-thumbnails-wrap {
    position: absolute;
    left: 90px;
    right: 90px;
    bottom: 20px;
    z-index: 6;
    display: flex;
    justify-content: center;
}

.property-photo-viewer-thumbnails {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    padding: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.property-photo-viewer-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 88px;
    height: 64px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba( 255, 255, 255, 0.10 );
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}


    .property-photo-viewer-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    .property-photo-viewer-thumb:hover {
        opacity: 1;
    }


    .property-photo-viewer-thumb.active {
        opacity: 1;
        border-color: #ffffff;
        transform: translateY(-2px);
        background: rgba( 255, 255, 255, 0.18 );
    }

.property-photo-viewer-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100vw - 220px);
    height: calc(100vh - 190px);
    margin-bottom: 70px;
}

@media (max-width: 768px) {

    .property-photo-viewer-thumbnails-wrap {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .property-photo-viewer-thumbnails {
        justify-content: flex-start;
        width: 100%;
    }

    .property-photo-viewer-thumb {
        width: 68px;
        height: 52px;
    }

    .property-photo-viewer-image-wrap {
        width: calc(100vw - 24px);
        height: calc(100vh - 170px);
        margin-bottom: 60px;
    }
}

.property-photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 2147483640;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: #0F172A;
    overflow: hidden;
}

    .property-photo-viewer.show {
        display: flex;
    }

.property-photo-viewer-image-wrap {
    position: absolute;
    top: 65px;
    left: 80px;
    right: 80px;
    bottom: 110px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: transparent;
}

    .property-photo-viewer-image-wrap img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 0;
    }

#roomGalleryModal .room-gallery-main {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: min(500px, 58vh) !important;
    min-height: 320px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f3f5f6 !important;
}

    #roomGalleryModal .room-gallery-main img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

@media (max-width: 768px) {

    #roomGalleryModal .room-gallery-main {
        height: min(420px, 55vh) !important;
        min-height: 260px !important;
    }

        #roomGalleryModal .room-gallery-main img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            object-position: center !important;
        }
}

@media (max-width: 480px) {

    #roomGalleryModal .room-gallery-main {
        height: min(360px, 50vh) !important;
        min-height: 230px !important;
    }
}

    .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        font-family: inherit !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #212529 !important;
    }

.sales-conditions {
    margin-top: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.35;
}

.sales-condition-item {
    margin-bottom: 14px;
}

.sales-condition-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.sales-condition-text {
    font-weight: normal;
}
.hotel-eco-certified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0px 3px;
    border: 1px solid #73a942;
    border-radius: 1px;
    background: #f1f8e9;
    color: #4f772d;
    font-weight: 500;
    white-space: nowrap;
}

.eco-leaf-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}
.hotel-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}
