/* ===== AMENITIES SECTION ===== */

.amenities-section {
    padding: 10px 0;
}

.amenities-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

/* ===== AMENITIES CONTAINER ===== */
.amenities-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== SINGLE AMENITY CARD ===== */
.amenities-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px 0 0;
    background: #f8fafc;
    border-radius: 14px;
    transition: all 0.35s ease;
    height: 100%;
    width: stretch;
}

.amenities-item:hover {
    background: #dde5ed;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* ===== ICON ===== */
.amenities-icon {
    width: 42px;
    height: 42px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenities-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ===== TEXT ===== */
.amenities-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .amenities-title {
        font-size: 1.2rem;
    }

    .amenities-item {
        display: flex;
        padding: 12px;
    }

    .amenities-icon {
        width: 38px;
        height: 38px;
    }
}

.booking-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    font-family: "Inter", system-ui, sans-serif;
}

/* LOGIN CTA */
.login-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(265deg, #0f4a7a, #25c6ee 48%, #1485d1);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.login-cta p {
    font-weight: 600;
    margin: 0;
    color: white;
    font-size: 23px;
}

.login-cta button {
    background: #4f46e5;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
}

/* PRICE */
.price-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
}

.price-note {
    font-size: 0.85rem;
    color: #64748b;
}

/* DATE BOX */
.booking-box {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

.date-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-row input {
    width: 100%;
    border: none;
    background: #f9fafb;
    padding: 8px;
    border-radius: 8px;
}

.room-text {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #475569;
}

/* BREAKDOWN */
.price-breakdown {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-bottom: 16px;
}

.row-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
}

.row-line.discount {
    color: #16a34a;
}

.row-line.total {
    font-weight: 700;
    font-size: 1.1rem;
}

/* BUTTON */
.book-btn {
    width: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
}

/* FOOTER */
.card-footer {
    margin-top: 14px;
    font-size: 0.75rem;
    justify-content: center;
}

.card-footer a {
    margin-bottom: 4px;
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-footer p {
    font-size: 16px;
    font-weight: 600;
}

/* ERROR */
.error-text {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 6px;
}

@media (max-width: 576px) {
    /* CARD */
    .booking-card {
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    /* LOGIN CTA */
    .login-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .login-cta button {
        width: 100%;
        text-align: center;
    }

    /* PRICE */
    .price-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .price {
        font-size: 1.6rem;
    }

    .price-note {
        font-size: 0.8rem;
    }

    /* DATE BOX */
    .booking-box {
        padding: 12px;
    }

    .date-row {
        flex-direction: column;
        gap: 10px;
    }

    .date-row span {
        display: none;
        /* hide arrow on mobile */
    }

    .date-row input {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
    }

    .room-text {
        font-size: 0.8rem;
    }

    /* PRICE BREAKDOWN */
    .row-line {
        font-size: 0.9rem;
    }

    .row-line.total {
        font-size: 1.05rem;
    }

    /* BUTTON */
    .book-btn {
        padding: 16px;
        font-size: 1rem;
        border-radius: 14px;
    }

    /* FOOTER */
    .card-footer {
        font-size: 0.7rem;
        text-align: center;
    }

    .card-footer a {
        display: block;
        margin-bottom: 6px;
    }

    /* ERROR */
    .error-text {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* Review container */
.review-list-box {
    max-height: 520px;
    overflow-y: auto; /* pointer scrolling ON */
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    padding-right: 8px;
}

/* Each review snaps */
.review-items {
    scroll-snap-align: start;
}

/* Prevent half-cut reviews */
.review-item-box {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-top: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .review-list-box {
        max-height: 260px;
    }
    .login-cta p {
        font-size: 18px;
        margin: auto;
    }
}
/* ===== Root Feel ===== */
.hotel-title {
    padding: 12px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== Hotel Name ===== */
.hotel-title h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #0f172a;
    margin: 0;
}

/* ===== Star Row ===== */
.defaultstar {
    font-size: 26px;
    color: #a4a4a6;
    margin-right: 3px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.defaultstar.filled {
    background: linear-gradient(180deg, #facc15, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* ===== Location Line ===== */
.hotel-title .d-flex.align-items-center {
    gap: 4px;
}

.hotel-title .bi-geo-alt-fill {
    font-size: 1rem;
    color: #3b82f6;
}

.hotel-title p {
    font-size: 18px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

/* ===== Rating Overview Card ===== */
.rating-overview {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    /* background: rgba(255, 255, 255, 0.7); */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    max-width: fit-content;
}

/* ===== Rating Row ===== */
.rating-block {
    gap: 10px;
}

/* ===== Floating Rating Badge ===== */
.rating-label .badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.rating-label .badge p {
    margin: 0;
}

/* ===== Rating Text ===== */
.rating-word p {
    font-size: 1.05rem;
    font-weight: 700;
    color: #020617;
    letter-spacing: -0.2px;
    margin: 0;
}

/* ===== Review Link ===== */
.review-link {
    margin-top: 6px;
}

.review-link a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    position: relative;
}

.review-link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.25s ease;
}

.review-link a:hover::after {
    width: 100%;
}
/* ===== House Rules Container ===== */
.house-rules {
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 18px;
    /* background: linear-gradient(180deg, #ffffff, #f6f9ff); */
    /* box-shadow: 0 18px 50px rgba(0, 53, 128, 0.18); */
}

/* ===== Title ===== */
.house-rules > div > p {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #003580;
    margin-bottom: 14px;
    position: relative;
}

/* Accent line under title */
.house-rules > div > p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #0071c2, #00a1ff);
    border-radius: 4px;
}

/* ===== Rules Grid ===== */
.rules-width {
    row-gap: 12px;
}

/* ===== Individual Rule ===== */
.rules-width p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 53, 128, 0.12);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.rules-width p:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 53, 128, 0.18);
}

/* ===== Icon Styling ===== */
.rules-width i {
    font-size: 0.9rem;
    color: #0071c2;
    margin-top: 3px;
}

/* ===== See All Link ===== */
.rules-more-link {
    margin-top: 14px;
}

.see-all-house {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0071c2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 113, 194, 0.08);
    transition: all 0.25s ease;
}

.see-all-house::after {
    content: "＋";
    font-size: 1rem;
}

.see-all-house:hover {
    background: rgba(0, 113, 194, 0.16);
}

/* ===== Expanded Rules ===== */
#additional-rules {
    margin-top: 14px;
}

@media (max-width: 768px) {
    .house-rules {
        padding: 0;
    }
    /* .mob-amenities-li {
        width: max-content;
    } */
    .rating-overview {
        max-width: 100%;
    }
}
.location-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.location-icon {
    font-size: 20px;
    color: #5896e7;
    flex-shrink: 0;
    margin-top: 3px;
}

.location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.location-text .address {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.location-text .area {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* ---------- MOBILE ---------- */
@media (max-width: 576px) {
    .location-box {
        gap: 8px;
    }

    .location-icon {
        font-size: 18px;
    }

    .location-text .address {
        font-size: 14px;
    }

    .location-text .area {
        font-size: 12px;
    }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 400px) {
    .location-text .address {
        font-size: 13px;
    }

    .location-text .area {
        font-size: 11px;
    }
}

/* modern date input with right icon */
.date-row input[type="text"] {
    width: 100%;
    padding: 12px 42px 12px 14px; /* space on RIGHT */
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    background-color: #fff;

    /* 📅 calendar icon on RIGHT */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10m-11 9h12a2 2 0 002-2V7a2 2 0 00-2-2H6a2 2 0 00-2 2v11a2 2 0 002 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.date-row input[type="text"]:focus {
    outline: none;
    border-color: #7d7d7d;
    box-shadow: none;
}

/* arrow */
.date-row span {
    color: #9ca3af;
    font-size: 18px;
}

@media (max-width: 1220px) and (min-width: 992px) {
    .date-row {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .date-row {
        flex-direction: row;
    }
    .card-footer {
        display: flex;
        flex-direction: column;
    }
}

/* Wrapper */
.selected-room-view {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Modern arrows */
.navigation-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    z-index: 10;
}

.navigation-arrow i {
    font-size: 20px;
    color: #222;
}

.navigation-arrow:hover {
    transform: scale(1.08);
    background: #000;
}

.navigation-arrow:hover i {
    color: #fff;
}

/* Disable state */
.navigation-arrow.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.room-image-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.room-image-card:hover {
    /* transform: translateY(-6px); */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-image img {
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
    border-radius: 14px;
}

.room-image-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.room-image-card:hover {
    /* transform: translateY(-6px); */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-image img {
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
    border-radius: 14px;
}

.button-29 {
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    background: #000;
    color: #fff;
    border: none;
    transition: all 0.2s ease;
}

.button-29:hover {
    background: #222;
    transform: translateY(-1px);
}

.button-29.selected {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.button-29.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: #000;
    width: 18px;
    border-radius: 6px;
}

/* Selected date styling */
.flatpickr-day.selected {
    background: #007bff !important;
    color: #fff !important;
}
