.baskervville-regular {
    font-family: "Baskervville", serif;
    font-weight: 400;
    font-style: normal;
}

.baskervville-regular-italic {
    font-family: "Baskervville", serif;
    font-weight: 400;
    font-style: italic;
}


.noto-sans-400 {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400 !important;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
.noto-sans-600 {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600 !important;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}


.mulish-400 {
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


.pixelify-sans-400 {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}



body{
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
}
@media (min-width: 1100px) {
    .px-lg-10 {
        padding-left: 8rem !important;
        padding-right: 8rem !important;
    }
    .px-lg-6 {
        padding-left: 5.4rem !important;
        padding-right: 5.4rem !important;
    }
}

.text-bg-success{
    background-color: #00ba5c !important;
}
.btn-primary{
    background: #006fba !important;
}
.btn-success{
    background: #00ba5c !important;
}
.btn-danger{
    background: #ff1e1e !important;
}
.btn-warning{
    background: #fee008 !important;
}

.btn-outline-warning:hover{
    background: #fee008 !important;
}
.btn-outline-warning{
    color:inherit !important;
}


 .slide-in {
     transform: translateX(100%);
     opacity: 0;
     transition: transform 0.5s ease, opacity 0.5s ease;
 }

.slide-in.show {
    transform: translateX(0);
    opacity: 1;
}



.form-control, .form-select{
    border-color:#adadad ;
}

.number_fo_guests{
    background: none;
    color: #fff;
    border-color: #ffffff ;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.number_fo_guests:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border-color: #ffffff !important;
}

.number_fo_guests:hover {
    transform: translateY(-0.5px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* Enhanced dropdown UX */
.number_fo_guests option {
    background: #fff;
    color: #000;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.number_fo_guests option:hover {
    background: #f8f9fa;
}

.number_fo_guests option:nth-child(10n) {
    border-bottom: 1px solid #dee2e6;
}

.number_fo_guests option[value="60+"] {
    background: #fee008;
    color: #000;
    font-weight: 600;
    border-top: 2px solid #000;
    animation: highlight-option 0.3s ease;
}

@keyframes highlight-option {
    0% { background: #fff; }
    50% { background: #fff3cd; }
    100% { background: #fee008; }
}

/* Optgroup styling for better UX */
.number_fo_guests optgroup {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.number_fo_guests optgroup[label="Private Events"] {
    background: #fee008;
    color: #000;
    font-weight: 700;
    animation: gentle-glow 2s ease-in-out infinite;
}

@keyframes gentle-glow {
    0%, 100% { background: #fee008; }
    50% { background: #ffcd39; }
}


.input-group-text{
    border-color:#adadad ;
    background-color: #adadad;
    color:#fff;
}

.find_your_stay .form-control{
    border-color:#fff !important;
    background: unset;
    color: #fff !important;
}
.find_your_stay .input-group-text{
    border-color:#fff !important;
    background-color: #fff;
    color:#000;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
    min-width: 44px; /* Minimum touch target size for mobile */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.find_your_stay .input-group-text:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.find_your_stay .input-group-text:active {
    background-color: #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
}


a, a:hover, a:focus , a:active{
    color:#000
}

h1, h2{
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
}

.h1_border{
    font-weight: 800;
    border-left: 2px solid #000;
    padding-left: 10px;
}

.h1_border span{
    font-size: 0.7rem;
    font-weight: 400;

}

footer{
    font-size: 0.7rem;
}

footer h6{
    font-size: 0.8rem !important;
}

/* Minimal footer layout */
.footer-minimal {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.footer-logo-img {
    height: clamp(24px, 3vw, 32px);
    width: auto;
}

.footer-text-small {
    font-size: clamp(0.6rem, 0.9vw, 0.75rem);
    line-height: 1.3;
    color: #6c757d;
    white-space: nowrap;
}

.footer-address {
    flex: 1 1 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: clamp(0.5rem, 1.2vw, 0.75rem);
    align-items: center;
}

.footer-social-link {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #0b70b8;
    transform: translateY(-2px);
}

.footer-social-link i {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
}

/* Desktop footer - single horizontal line */
@media (min-width: 992px) {
    footer {
        padding: clamp(1.25rem, 2.5vh, 2rem) clamp(1rem, 2vw, 2rem) !important;
    }
    
    .footer-minimal {
        flex-wrap: nowrap !important;
    }
}

/* Mobile footer - compact vertical stack */
@media (max-width: 991.98px) {
    footer {
        padding: clamp(1.25rem, 3.5vh, 1.75rem) clamp(1rem, 3vw, 1.5rem) !important;
    }
    
    .footer-minimal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: clamp(0.75rem, 2.5vh, 1rem);
    }
    
    .footer-logo-img {
        height: clamp(22px, 5vw, 28px);
    }
    
    .footer-text-small {
        font-size: clamp(0.55rem, 2vw, 0.7rem);
        white-space: normal;
        line-height: 1.4;
    }
    
    .footer-address {
        text-align: center;
    }
    
    .footer-social {
        gap: clamp(0.75rem, 3vw, 1rem);
    }
    
    .footer-social-link i {
        font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    }
}


.logo-line {
    width: 2px !important;
    background-color: #000;
    height: 30px;
    margin-right: 0.7rem;
    flex-shrink: 0;
    display: block !important;
}

.brand-left {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-right {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
}

.brand-inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-container {
    display: flex;
    align-items: center;
}

/* Mobile brand sizing - make RENT-A-ROOM INSTRUCTIONS match ROOMIE height */
@media (max-width: 991.98px) and (min-width: 581px) {
    .brand-right {
        font-size: clamp(0.6rem, 1.8vw, 0.75rem) !important;
        line-height: 1.2 !important;
        align-self: center !important;
    }
    
    .brand-left {
        font-size: clamp(2rem, 5.5vw, 2.4rem) !important;
    }
    
    .logo-line {
        height: clamp(26px, 6vw, 32px) !important;
    }
}

/* Hide RENT-A-ROOM INSTRUCTIONS text after 580px to give ROOMIE space */
@media (max-width: 580px) {
    .brand-right {
        display: none !important;
    }
}

/* CRITICAL: Mobile ROOMIE Alignment - Must match desktop left-aligned positioning */
@media (max-width: 991.98px) {
    /* Force container to remove Bootstrap padding for perfect alignment */
    .instructions-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1rem !important;
        /* MINIMAL bottom padding - tight flow to calendar */
        padding-bottom: 0 !important;
    }
    
    /* Row containing ROOMIE - remove all Bootstrap margins */
    .instructions-section .row.mt-4:first-child {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 1rem !important;
    }
    
    /* Brand column - remove Bootstrap padding, left-align */
    .instructions-section .row.mt-4:first-child .col-8 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* ROOMIE brand - left aligned, no margins */
    .instructions-section .brand-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .brand-inner {
        align-items: center;
        justify-content: flex-start;
        gap: 0.7rem;
    }
    
    /* Images below - same left alignment as ROOMIE */
    .instructions-section .row.mt-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        /* BALANCED: Small gap, no overlap */
        margin-bottom: 0 !important;
        margin-top: 2rem !important;
    }
    
    .instructions-section .row.mt-5 [class*="col-"] {
        padding-left: 0 !important;
        /* Tight spacing between instruction items */
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* CRITICAL: Last row of instructions - Keep tight but no overlap */
    .instructions-section .row.mt-5:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .brand-container {
        align-items: flex-start;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .logo-line {
        width: 2px !important;
        background-color: #000;
        height: clamp(26px, 6vw, 32px) !important;
        margin-right: 0.7rem;
        flex-shrink: 0;
    }

    .brand-inner {
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
        justify-content: flex-start;
    }
}

.step-draw-img{
    display: flex;
    align-items: center;     /* Dikeyde ortala */
    justify-content: center; /* İstersen yatayda da ortala */
    /*min-height: 250px;*/           /* Yükseklik belirlenmeli */
    overflow: hidden;
}

.step-draw-img img{
    height: auto;
    /*min-height: 100px;*/
}




.calendar-table {
    height: clamp(200px, 25vh, 240px) !important;
    max-height: clamp(200px, 25vh, 240px) !important;
    min-height: clamp(200px, 25vh, 240px) !important;
    table-layout: fixed;
    width: 100% !important;
    max-width: 550px; /* Fixed calendar size - prevents stretching */
    margin-left: auto;
    margin-right: auto;
}

.calendar-table tbody {
    height: clamp(170px, 22vh, 200px) !important;
    max-height: clamp(170px, 22vh, 200px) !important;
    min-height: clamp(170px, 22vh, 200px) !important;
    display: table-row-group;
}

.calendar-table tr {
    height: clamp(28px, 3.6vh, 33.33px) !important;
    max-height: clamp(28px, 3.6vh, 33.33px) !important;
    min-height: clamp(28px, 3.6vh, 33.33px) !important;
}

/* Fixed height for calendar border container - locked to longest month */
.bg_blue .border.p-4.border-2.rounded-4 {
    height: clamp(380px, 45vh, 460px) !important;
    max-height: clamp(380px, 45vh, 460px) !important;
    min-height: clamp(380px, 45vh, 460px) !important;
    width: 100%; /* Container stretches to match dropdown/button width */
    max-width: 600px; /* Prevent excessive stretching on wide screens */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Keep everything within border */
    position: relative;
    padding: clamp(0.75rem, 2vh, 1.5rem) !important; /* Scale padding */
}

.bg_blue .border.p-4.border-2.rounded-4 .position-relative {
    height: clamp(240px, 30vh, 280px) !important; /* Scale height to fit */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; /* Center calendar table horizontally */
    flex: 0 0 auto;
    width: 100%;
}

/* Center month navigation header and keep it fixed width */
.bg_blue .d-flex.justify-content-between.align-items-center.mb-3 {
    max-width: 550px; /* Match calendar table width */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: clamp(0.4rem, 1.5vh, 0.75rem) !important;
    gap: clamp(0.4rem, 1.5vw, 0.75rem);
    width: 100%;
}

/* Navigation buttons responsive sizing */
.bg_blue .btn-sm {
    padding: clamp(0.25rem, 0.8vw, 0.5rem) clamp(0.5rem, 1.2vw, 0.75rem) !important;
    font-size: clamp(0.8rem, 1.5vw, 1rem) !important;
}

/* Message positioned to overlay 6th calendar row */
.bg_blue .border.p-4.border-2.rounded-4 #calendarMessage {
    margin-top: 0 !important;
    margin-bottom: clamp(0.5rem, 1.5vh, 0.75rem) !important;
    padding: clamp(0.3rem, 1vh, 0.4rem) !important;
    padding-left: clamp(0.75rem, 2vw, 1.2rem) !important;
    min-height: clamp(28px, 3.5vh, 33px) !important; /* Match scaled row height */
    display: block;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    position: absolute;
    bottom: clamp(45px, 10vh, 60px); /* Scale position */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center using transform */
    max-width: 550px; /* Match calendar table width */
    width: calc(100% - 2rem); /* Account for container padding */
    z-index: 10;
    line-height: 1.2;
    background-color: #0b70b8; /* Exact same blue as calendar background */
    border-radius: 4px;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    white-space: nowrap; /* Keep "Drop us an email" on same line */
}

/* Show message with smooth animation */
.bg_blue .border.p-4.border-2.rounded-4 #calendarMessage.show {
    opacity: 1;
}

/* Hide 6th row when message is showing */
.bg_blue .border.p-4.border-2.rounded-4 #calendarMessage.show ~ .position-relative .calendar-table tr:nth-child(6) {
    opacity: 0.3; /* Dim the 6th row instead of hiding completely */
}

.calendar-table td {
    padding: clamp(0.2rem, 0.8vw, 0.5rem);
    position: relative;
    height: clamp(28px, 3.6vh, 35px) !important;
    vertical-align: middle;
}

.calendar-table td {
    padding-left: unset !important;
    padding-right: unset !important;
    position: relative;
}
.table>:not(caption)>*>*{
    padding-left: unset !important;
    padding-right: unset !important;
}




.calendar-day {
    width: clamp(1.8rem, 2.8vw, 2.3rem);
    height: clamp(1.8rem, 2.8vw, 2.3rem);
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(254, 224, 8, 0.4);
}

.calendar-day-available {
    background-color: rgba(255, 255, 255, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day-available:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Ensure selected state persists on mobile after tap */
.calendar-day-available:active {
    background-color: rgba(255, 255, 255, 0.08);
}

.calendar-day-available.calendar-day-selected:active {
    background-color: #fee008 !important;
    color: #000 !important;
}

.calendar-day-selected {
    background-color: #fee008 !important;
    color: #000 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 3px 10px rgba(254, 224, 8, 0.4) !important;
    animation: none !important; /* Prevent pulse clearing selection */
}

.calendar-day-disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.calendar-day-loading {
    color: rgba(255, 255, 255, 0.6);
    cursor: wait;
    background-color: rgba(255, 255, 255, 0.1);
    animation: pulse-loading 1.5s ease-in-out infinite;
}

/* Default day name display - full names on desktop */
.day-full {
    display: inline;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
}

.day-short {
    display: none;
}

/* Calendar table header responsive */
.calendar-table thead th {
    font-size: clamp(0.65rem, 1.1vw, 0.8rem) !important;
    padding: clamp(0.25rem, 0.8vh, 0.4rem) clamp(0.15rem, 0.6vw, 0.3rem) !important;
}

@keyframes pulse-loading {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.calendar-loading-icon {
    animation: spin-pulse 1.2s ease-in-out infinite;
}

.calendar-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.calendar-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(254, 224, 8, 0.15);
    border-top: 4px solid #fee008;
    border-radius: 50%;
    animation: calendar-spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes calendar-spin {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: rotate(180deg) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.9;
    }
}

@keyframes spin-pulse {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

/* Enhanced loading animations for better UX */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.calendar-day-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    position: relative;
    overflow: hidden;
}

.calendar-day-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 224, 8, 0.2), transparent);
    animation: shimmer 2s infinite;
}

/* Smooth transitions for calendar days */
.calendar-day {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calendar-day-selected {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 224, 8, 0.3);
}

.booking-block-disabled {
    opacity: 0.5;
}

/* Mobile responsiveness for instructions section */
@media (max-width: 991.98px) {
    /* Minimize container spacing on mobile */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .container-fluid > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .instructions-section {
        transform: scale(0.7);
        transform-origin: top center;
        height: auto !important; /* Let content determine height */
        max-height: none !important; /* Remove height cap to show all text */
        overflow: visible; /* Don't clip content */
        padding-bottom: 0 !important;
        padding-left: clamp(0.75rem, 3vw, 1rem) !important;
        padding-right: clamp(0.75rem, 3vw, 1rem) !important;
        padding-top: clamp(0.5rem, 2vh, 1rem) !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0 !important; /* BALANCED: No margin to keep tight */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    /* Bring blue section higher up on mobile and scale it down */
    .bg_blue {
        padding-top: clamp(0.5rem, 1.5vh, 1rem) !important; /* BALANCED: Small padding at top */
        padding-bottom: clamp(1.5rem, 4vh, 2rem) !important;
        margin-top: clamp(-6rem, -9vh, -5rem) !important; /* BALANCED: Moderate overlap - reduces gap without overlapping text */
        transform: scale(0.9);
        transform-origin: top center;
        padding-left: clamp(1rem, 4vw, 1.5rem) !important;
        padding-right: clamp(1rem, 4vw, 1.5rem) !important;
        position: relative;
        z-index: 1;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Ensure instructions section stays above calendar and shows all content */
    .instructions-section {
        position: relative;
        z-index: 2;
        min-height: auto !important; /* Adapt to content + user font size */
    }
    
    /* Ensure all column content is visible */
    .instructions-section .col-6,
    .instructions-section .col-lg-4 {
        overflow: visible !important;
        height: auto !important;
    }
    
    /* Minimize spacing at top of blue section */
    .bg_blue .mt-4 {
        margin-top: 0 !important; /* REDUCED: No margin at top */
    }
    
    .bg_blue .mb-4 {
        margin-bottom: clamp(0.5rem, 1.5vh, 1rem) !important;
    }
    
    .bg_blue .find_your_stay {
        margin-top: clamp(0.25rem, 0.8vh, 0.4rem) !important; /* REDUCED: Less space above form */
        max-width: calc(100vw - 2rem) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    /* CRITICAL: Enforce consistent alignment for all blue section elements on mobile */
    /* All three elements must have same max-width and centering */
    .bg_blue .mb-3.p-3.pb-0.row,
    .bg_blue .border.p-4.border-2.rounded-4,
    .bg_blue .d-grid.gap-2.mt-3 {
        max-width: calc(100vw - 2rem) !important; /* Full width minus padding */
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    /* Ensure parent row container doesn't override */
    .bg_blue .row.mt-4.mb-4 {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: clamp(0.5rem, 2vw, 1rem) !important;
        padding-right: clamp(0.5rem, 2vw, 1rem) !important;
    }
    
    /* CRITICAL: Align guest dropdown with calendar borders on mobile */
    .bg_blue .mb-3.p-3.pb-0.row {
        padding: 0 !important;
        margin-bottom: clamp(1rem, 3vh, 1.5rem) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    /* Override Bootstrap col-6 padding first */
    .bg_blue .mb-3.p-3.pb-0.row > .col-6 {
        padding: 0 !important;
    }
    
    /* Number of Guests column - EXACT calendar left padding */
    .bg_blue .mb-3.p-3.pb-0.row > .col-6:nth-child(1) {
        padding-left: clamp(1rem, 3vw, 1.5rem) !important;
        padding-right: 0 !important;
    }
    
    /* Dropdown column - EXACT calendar right padding */
    .bg_blue .mb-3.p-3.pb-0.row > .col-6:nth-child(2) {
        padding-left: 0 !important;
        padding-right: clamp(1rem, 3vw, 1.5rem) !important;
        display: flex;
        justify-content: flex-end;
    }
    
    /* "Number of Guests" label itself has no padding */
    .bg_blue .col-form-label {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: clamp(0.85rem, 2.5vw, 1.1rem) !important;
    }
    
    /* Dropdown styling */
    .bg_blue .input-group {
        margin-left: auto;
        margin-right: 0;
        max-width: fit-content;
    }
    
    .bg_blue .number_fo_guests {
        font-size: clamp(0.8rem, 2.2vw, 1rem) !important;
    }
    
    /* IMPORTANT: Calendar container must have EXACT same padding */
    .bg_blue .border.p-4.border-2.rounded-4 {
        padding-left: clamp(1rem, 3vw, 1.5rem) !important;
        padding-right: clamp(1rem, 3vw, 1.5rem) !important;
        padding-top: clamp(1rem, 3vw, 1.5rem) !important;
        padding-bottom: clamp(1rem, 3vw, 1.5rem) !important;
    }
    
    /* Ensure search button aligns perfectly */
    .bg_blue .btn-warning {
        width: 100% !important;
    }
    
    /* Tighten spacing in instruction section - adaptive to user font size */
    .instructions-section .py-3 {
        padding-top: clamp(0.5rem, 1.5vh, 1rem) !important;
        padding-bottom: 0 !important;
    }
    
    .instructions-section .row.mt-4 {
        margin-top: clamp(0.25rem, 1vh, 0.5rem) !important;
        margin-bottom: clamp(0.25rem, 1vh, 0.5rem) !important;
    }
    
    /* Make ROOMIE header properly sized on mobile */
    .instructions-section .brand-left {
        font-size: clamp(2rem, 5.5vw, 2.4rem) !important;
    }
    
    /* RENT-A-ROOM INSTRUCTIONS should match ROOMIE height on mobile */
    .instructions-section .brand-right {
        font-size: clamp(0.6rem, 1.8vw, 0.75rem) !important;
        line-height: 1.2 !important;
    }
    
    .instructions-section .logo-line {
        height: clamp(26px, 6vw, 32px) !important;
    }
    
    .instructions-section img[src="images/logo_siyah.svg"] {
        height: clamp(22px, 5.5vw, 28px) !important;
    }
    
    .instructions-section .row.mt-5 {
        margin-top: clamp(0.3rem, 1.5vh, 0.5rem) !important;
        padding-bottom: 0 !important; /* REDUCED: No bottom padding - tight flow to calendar */
        overflow: visible !important;
    }
    
    .instructions-section .step-draw-img {
        padding: clamp(0.3rem, 1vh, 0.5rem) 0 !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .instructions-section .step-draw-img img {
        max-height: none !important; /* Don't restrict image height */
    }
    
    .instructions-section .small-1 {
        /* MOBILE: Responsive to user font size (em) + viewport (vw) - scales with accessibility settings */
        font-size: clamp(0.75rem, 1em + 1.8vw, 1.1rem) !important;
        line-height: 1.4 !important; /* Better readability */
        margin-bottom: clamp(0.3rem, 1vh, 0.5rem) !important;
        overflow: visible !important; /* Ensure text isn't clipped */
        display: block !important;
        /* Ensure text wraps properly and never cuts off */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .instructions-section .fs-3 {
        font-size: clamp(1.2rem, 3vw, 1.4rem) !important;
    }
    
    .instructions-section .fw-bold {
        margin-bottom: clamp(0.15rem, 0.6vh, 0.25rem);
        display: block;
    }
    
    .instructions-section .border {
        padding: clamp(0.4rem, 1.5vw, 0.5rem) !important;
        margin-bottom: clamp(0.3rem, 1vh, 0.5rem) !important;
    }
    
    .instructions-section .border ul {
        margin-top: clamp(0.3rem, 1vh, 0.5rem) !important;
        margin-bottom: 0 !important;
    }
    
    .instructions-section .border li {
        padding: clamp(0.05rem, 0.3vh, 0.1rem) 0 !important;
        font-size: clamp(0.55rem, 1.6vw, 0.65rem);
        line-height: 1.2;
    }
    
    .instructions-section .mb-4,
    .instructions-section .mb-lg-5 {
        margin-bottom: clamp(0.2rem, 0.8vh, 0.4rem) !important; /* REDUCED: Tighter spacing between steps */
    }
    
    /* Ensure columns 1 and 2 show all text including description */
    .instructions-section .col-6 {
        margin-bottom: clamp(0.2rem, 0.8vh, 0.4rem) !important; /* REDUCED: Tighter spacing */
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .instructions-section .col-6 .fw-bold,
    .instructions-section .col-6 .step-draw-img,
    .instructions-section .col-6 .small-1 {
        flex-shrink: 0; /* Prevent content from being compressed */
    }
    
    /* Hide steps 3, 4, 5, and CONTENTS on mobile - only show steps 1 and 2 */
    .instructions-section .col-lg-4:nth-child(n+3) {
        display: none !important;
    }
    
    /* Fix calendar day overlapping on iPhone 12/XR and similar mobile devices */
    .calendar-day {
        width: 1.8rem !important;
        height: 1.8rem !important;
        font-size: 0.7rem !important;
        margin: 0.05rem !important;
    }
    
    .calendar-table {
        font-size: 0.75rem !important;
    }
    
    .calendar-table td {
        padding: 0.1rem !important;
        width: 2rem !important;
        height: 2rem !important;
    }
    
    .calendar-table th {
        padding: 0.2rem 0.05rem !important;
        font-size: 0.65rem !important;
        width: 2rem !important;
    }
    
    /* Show abbreviated day names on mobile */
    .day-full {
        display: none;
    }
    
    .day-short {
        display: inline;
    }
}

/* Mid-range desktop screens: Keep calendar centered for design balance */
/* This prevents alignment issues around 977-1200px range */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Ensure blue fills entire height */
    .bg_blue {
        min-height: 100vh !important;
    }
    
    /* CRITICAL: All three elements must be identical width and centered */
    .bg_blue .border.p-4.border-2.rounded-4,
    .bg_blue .mb-3.p-3.pb-0.row,
    .bg_blue .d-grid.gap-2.mt-3 {
        max-width: 550px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    /* Ensure form container doesn't override */
    .bg_blue .find_your_stay {
        max-width: 550px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    /* Ensure parent container allows centering */
    .bg_blue .row.mt-4.mb-4 {
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Tablet screens - hide steps 4, 5, and CONTENTS */
@media (min-width: 992px) and (max-width: 1119.98px) {
    .instructions-section {
        transform: scale(0.8);
        transform-origin: top center;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        justify-content: flex-start !important;
    }
    
    /* Hide steps 4, 5 and CONTENTS on tablets */
    .instructions-section .col-lg-4:nth-child(4),
    .instructions-section .col-lg-4:nth-child(5),
    .instructions-section .col-lg-4:nth-child(6) {
        display: none !important;
    }
    
    /* Scale logo with ROOMIE */
    .instructions-section img[src="images/logo_siyah.svg"] {
        height: 20px !important;
    }
    
    .bg_blue {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow: hidden !important;
    }
    
    /* Add spacing between dropdown and calendar */
    .bg_blue .mb-3.p-3.pb-0.row {
        margin-bottom: 2rem !important;
    }
    
    .calendar-table {
        font-size: 0.9rem;
    }
    
    .calendar-day {
        padding: 0.4rem !important;
    }
}

/* Hide contents box when lime/lemon text wraps to 4+ lines */
/* This targets the scaling range where column width causes excessive wrapping */
@media (min-width: 992px) and (max-width: 1799.98px) {
    /* Hide only the 6th column (contents box + icons row below) */
    .instructions-section .col-lg-4:nth-child(6) {
        display: none !important;
    }
    
    /* Columns 4 and 5 maintain their original position */
    /* Bootstrap grid naturally keeps them in place (col-lg-4 = 33.333% width each) */
    /* No layout changes needed - they stay left-aligned in their row */
}

/* Stage 1: Large screens - scale everything proportionally */
@media (min-width: 1300px) and (max-width: 1599.98px) {
    /* Scale both sections together */
    .instructions-section {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        overflow: hidden !important; /* Keep content within white background */
        position: relative !important;
        padding-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    .bg_blue {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        overflow: hidden !important; /* Keep button within blue background */
        position: relative !important;
        padding-top: 0 !important; /* No padding - blue extends to top */
        min-height: 100vh !important;
    }
    
    /* Add spacing to content instead */
    .bg_blue > .row:first-child {
        margin-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    /* Ensure search button stays within blue area */
    .bg_blue .btn-warning {
        position: relative !important;
        z-index: 1 !important;
    }
    
    .instructions-section img[src="images/logo_siyah.svg"] {
        height: 26px !important;
    }
}

/* Stage 2: Medium screens - scale more, everything still visible */
@media (min-width: 1150px) and (max-width: 1299.98px) {
    /* Scale both sections together */
    .instructions-section {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        overflow: hidden !important; /* Keep content within white background */
        position: relative !important;
        padding-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    .bg_blue {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        overflow: hidden !important; /* Keep button within blue background */
        position: relative !important;
        padding-top: 0 !important; /* No padding - blue extends to top */
        min-height: 100vh !important;
    }
    
    /* Add spacing to content instead */
    .bg_blue > .row:first-child {
        margin-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    /* Ensure search button stays within blue area */
    .bg_blue .btn-warning {
        position: relative !important;
        z-index: 1 !important;
    }
    
    .instructions-section img[src="images/logo_siyah.svg"] {
        height: 24px !important;
    }
    
    /* Ensure dropdown spacing */
    .bg_blue .mb-3.p-3.pb-0.row {
        margin-bottom: clamp(1rem, 2vh, 2rem) !important;
    }
}

/* Stage 3: Smaller screens - hide bottom row (4,5,6) and recenter */
@media (min-width: 1050px) and (max-width: 1149.98px) {
    /* Scale both sections together */
    .instructions-section {
        -webkit-transform: scale(0.85);
        transform: scale(0.85);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start !important; /* Align from top */
        overflow: hidden !important; /* Keep content within white background */
        position: relative !important;
        padding-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    .bg_blue {
        -webkit-transform: scale(0.85);
        transform: scale(0.85);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        overflow: hidden !important; /* Keep button within blue background */
        position: relative !important;
        padding-top: 0 !important; /* No padding - blue extends to top */
        min-height: 100vh !important;
    }
    
    /* Add spacing to content instead */
    .bg_blue > .row:first-child {
        margin-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    /* Ensure search button stays within blue area */
    .bg_blue .btn-warning {
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Hide entire bottom row */
    .instructions-section .col-lg-4:nth-child(4),
    .instructions-section .col-lg-4:nth-child(5),
    .instructions-section .col-lg-4:nth-child(6) {
        display: none !important;
    }
    
    .instructions-section img[src="images/logo_siyah.svg"] {
        height: 22px !important;
    }
    
    /* Ensure dropdown spacing */
    .bg_blue .mb-3.p-3.pb-0.row {
        margin-bottom: clamp(1rem, 2vh, 2rem) !important;
    }
}

/* Stage 4: Compact desktop - only ROOMIE + 3 icons, aligned from top */
@media (min-width: 992px) and (max-width: 1049.98px) {
    /* Scale both sections together and align from top */
    .instructions-section {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .bg_blue {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Ensure search button stays within blue area */
    .bg_blue .btn-warning {
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Hide bottom row - only show ROOMIE + steps 1, 2, 3 */
    .instructions-section .col-lg-4:nth-child(4),
    .instructions-section .col-lg-4:nth-child(5),
    .instructions-section .col-lg-4:nth-child(6) {
        display: none !important;
    }
    
    .instructions-section img[src="images/logo_siyah.svg"] {
        height: 20px !important;
    }
    
    /* Ensure dropdown spacing */
    .bg_blue .mb-3.p-3.pb-0.row {
        margin-bottom: clamp(1rem, 2vh, 2rem) !important;
    }
}

/* Prevent overlap on smaller screens */
@media (max-width: 1119.98px) {
    .container-fluid {
        overflow: hidden !important;
    }
    
    .row {
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    .col-lg-6 {
        max-height: 100vh !important;
        overflow: hidden !important;
    }
    
    /* Ensure sections stay within bounds */
    .instructions-section {
        position: relative !important;
        z-index: 1 !important;
        overflow: hidden !important;
    }
    
    .bg_blue {
        position: relative !important;
        z-index: 2 !important;
        overflow: hidden !important;
    }
}

/* Desktop styling and alignment */
@media (min-width: 992px) {
    /* Remove any gaps after header */
    .container-fluid {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* CRITICAL: Force both columns to same height and SAME starting position */
    .container-fluid > .row {
        display: flex !important;
        align-items: stretch !important; /* STRETCH not flex-start - forces same height */
        min-height: 100vh;
        padding-top: 0 !important; /* No padding - blue extends to header */
        margin-top: 0 !important;
    }
    
    /* Ensure both columns have same height and alignment */
    .col-lg-6 {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }
    
    /* Instructions column - add padding at top for spacing */
    .instructions-section.py-3,
    .col-lg-6.instructions-section {
        padding-top: clamp(1.5rem, 4vh, 2.5rem) !important;
        margin-top: 0 !important;
    }
    
    /* BULLETPROOF: ALL blue section class combinations - ZERO top spacing */
    .bg_blue,
    div.bg_blue,
    .col-12.bg_blue,
    .col-lg-6.bg_blue,
    .py-3.bg_blue,
    .bg_blue.py-3,
    .col-12.py-3.bg_blue,
    .col-lg-6.py-3.bg_blue,
    .px-3.bg_blue,
    .px-lg-6.bg_blue,
    .col-lg-6.px-3.bg_blue,
    .col-lg-6.px-lg-6.bg_blue,
    .col-lg-6.px-3.px-lg-6.py-3.col-12.bg_blue,
    [class*="col-"].bg_blue,
    [class*="py-"].bg_blue {
        margin-top: 0 !important; /* No margin - blue starts at top */
        padding-top: 0 !important; /* No padding - blue extends to top */
    }
    
    /* Blue first row spacing */
    .bg_blue .row.mt-4 {
        margin-top: 1.5rem !important;
    }
    
    /* Balance padding between left and right sections */
    .instructions-section {
        -webkit-transform: scale(clamp(0.75, 0.85, 0.95));
        transform: scale(clamp(0.75, 0.85, 0.95));
        -webkit-transform-origin: top center;
        transform-origin: top center; /* Anchor to top */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start; /* Start from top */
        height: auto; /* Auto height based on content */
        margin-top: 0;
        padding-top: clamp(1.5rem, 4vh, 2.5rem); /* Position at top of center */
        padding-bottom: clamp(1rem, 3vh, 2rem);
        overflow: visible;
        position: relative;
        z-index: 1;
        min-height: auto;
    }
    
    /* Ensure blue section fills entire height - no white gap above */
    .bg_blue {
        position: relative;
        z-index: 2;
        overflow: visible;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start; /* Start from top */
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center; /* Center content horizontally */
        height: auto; /* Auto height based on content */
        min-height: 100vh; /* Fill entire viewport height - no white gap */
        padding-top: 0 !important; /* No padding - blue extends to top */
        padding-bottom: clamp(1rem, 3vh, 2rem) !important;
    }
    
    /* Add spacing to first row inside blue section instead */
    .bg_blue > .row:first-child {
        margin-top: clamp(1.5rem, 4vh, 2.5rem) !important;
    }
    
    /* Ensure blue section content wrapper has max width */
    .bg_blue .row {
        width: 100%;
        max-width: 650px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* CRITICAL: Base desktop alignment for all blue section elements */
    /* Prevents any alignment gaps during resize */
    .bg_blue .border.p-4.border-2.rounded-4,
    .bg_blue .mb-3.p-3.pb-0.row,
    .bg_blue .d-grid.gap-2.mt-3,
    .bg_blue .find_your_stay {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Keep title section aligned left-right as original */
    .instructions-section .row.mt-4 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
    }
    
    .instructions-section .row.mt-4 .col-8,
    .instructions-section .row.mt-4 .col-4 {
        flex: none !important;
        width: auto !important;
    }
    
    /* Reduce spacing between instruction steps */
    .instructions-section .row.mt-5 {
        margin-top: 1.5rem !important;
    }
    
    .instructions-section .row.mt-4 {
        margin-top: 1rem !important;
    }
    
    .instructions-section .step-draw-img {
        padding: 1rem 0 !important;
    }
    
    .instructions-section .small-1 {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .instructions-section .fs-3 {
        font-size: 1.6rem !important;
    }
    
    .instructions-section .fw-bold {
        margin-bottom: 0.5rem;
    }
    
    /* CRITICAL: Align guest dropdown with calendar borders on desktop */
    .bg_blue .mb-3.p-3.pb-0.row {
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: clamp(0.75rem, 1.5vh, 1rem) !important;
        max-width: 600px;
        width: 100%;
    }
    
    /* Override Bootstrap col-6 padding first */
    .bg_blue .mb-3.p-3.pb-0.row > .col-6 {
        padding: 0 !important;
    }
    
    /* Number of Guests column - EXACT calendar left padding */
    .bg_blue .mb-3.p-3.pb-0.row > .col-6:nth-child(1) {
        padding-left: clamp(0.75rem, 2vh, 1.5rem) !important;
        padding-right: 0 !important;
    }
    
    /* Dropdown column - EXACT calendar right padding */
    .bg_blue .mb-3.p-3.pb-0.row > .col-6:nth-child(2) {
        padding-left: 0 !important;
        padding-right: clamp(0.75rem, 2vh, 1.5rem) !important;
        display: flex;
        justify-content: flex-end;
    }
    
    /* "Number of Guests" label itself has no padding */
    .bg_blue .col-form-label {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: clamp(0.85rem, 1.1vw, 1.1rem) !important;
    }
    
    /* Dropdown styling */
    .bg_blue .input-group {
        margin-left: auto;
        margin-right: 0;
        max-width: fit-content;
    }
    
    /* IMPORTANT: Calendar container must have EXACT same padding */
    .bg_blue .border.p-4.border-2.rounded-4 {
        padding-left: clamp(0.75rem, 2vh, 1.5rem) !important;
        padding-right: clamp(0.75rem, 2vh, 1.5rem) !important;
        padding-top: clamp(0.75rem, 2vh, 1.5rem) !important;
        padding-bottom: clamp(0.75rem, 2vh, 1.5rem) !important;
    }
    
    /* Make search button same width as calendar with max-width */
    .bg_blue .btn-warning {
        width: 100% !important;
        max-width: 600px; /* Match calendar max-width */
        margin-left: auto;
        margin-right: auto;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(0);
        padding: clamp(0.4rem, 1.5vh, 0.65rem) clamp(1rem, 2.5vw, 1.5rem);
        font-size: clamp(0.85rem, 1.5vw, 1rem);
    }
    
    /* Subtle hover animation for search button */
    .bg_blue .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
        background-color: #ffcd39 !important;
        border-color: #ffcd39 !important;
    }
    
    /* Ensure form container centers with calendar */
    .bg_blue .find_your_stay {
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure consistent alignment of all blue section elements */
    .bg_blue .mt-4.mb-4 {
        width: 100%;
        max-width: 650px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}




.small-1{
    /* Base: Responsive to user font size (em) for accessibility */
    font-size: clamp(0.7rem, 0.9em + 0.5vw, 0.95rem);
    line-height: 1.4 !important;
    /* Ensure text wraps properly */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.wizard-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .wizard-container {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.logo {
    height: 50px;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.step-link {
    font-family: "Noto Sans", sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.step-link:hover,
.step-link:focus {
    color: #0f172a;
    background-color: rgba(15, 23, 42, 0.08);
    text-decoration: none;
}

.step-link.active {
    color: #0f172a;
    font-weight: 800;
    background-color: rgba(15, 23, 42, 0.12);
    pointer-events: none;
}

.step-link.disabled {
    color: #9ca3af;
    cursor: default;
    opacity: 0.7;
    pointer-events: none;
}

.step-label {
    font-family: "Noto Sans", sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #6c757d;
}

.step-label.active {
    font-weight: bold;
    color: #000;
}

.arrow {
    font-size: 1.2rem;
    color: #6c757d;
}

.bg_blue{
    background: #0b70b8;
    color: #fff;
}

/* REINFORCED: Ensure blue section extends to fill viewport - bulletproof override */
@media (min-width: 992px) {
    .bg_blue {
        min-height: 100vh !important;
        padding-top: 0 !important;
    }
    
    /* REINFORCED: Override any Bootstrap padding/margin on blue section */
    .col-lg-6.bg_blue {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* CRITICAL: Instructions section KEEPS its padding for visual spacing */
    .col-lg-6.instructions-section {
        padding-top: clamp(1.5rem, 4vh, 2.5rem) !important; /* KEEP padding */
        margin-top: 0 !important;
    }
    
    /* BULLETPROOF: Override py-3 class on ALL blue section combinations */
    .bg_blue.py-3,
    .py-3.bg_blue,
    .col-12.bg_blue.py-3,
    .col-lg-6.bg_blue.py-3,
    .col-lg-6.px-3.px-lg-6.py-3.bg_blue,
    .col-lg-6.px-3.px-lg-6.py-3.col-12.bg_blue,
    div.bg_blue.py-3,
    div.col-lg-6.bg_blue.py-3,
    [class*="col-"].py-3.bg_blue {
        padding-top: 0 !important;
        padding-bottom: clamp(1rem, 3vh, 2rem) !important;
    }
    
    /* Remove px-3 and px-lg-6 top padding on desktop */
    .bg_blue.px-3,
    .bg_blue.px-lg-6 {
        padding-top: 0 !important;
    }
    
    /* REINFORCED: Override column py-3 - all variations */
    .col-lg-6.py-3.bg_blue,
    .col-12.py-3.bg_blue,
    .py-3.col-lg-6.bg_blue,
    .py-3.col-12.bg_blue {
        padding-top: 0 !important;
    }
}

/* Calendar header responsive sizing */
.bg_blue #calendarCurrentMonth {
    font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
    font-weight: 700;
}

/* Very wide screens - prevent excessive stretching */
@media (min-width: 1600px) {
    .container-fluid .row {
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .instructions-section {
        padding-left: clamp(2rem, 5vw, 8rem) !important;
        padding-right: clamp(2rem, 5vw, 8rem) !important;
    }
    
    .bg_blue {
        padding-left: clamp(2rem, 5vw, 8rem) !important;
        padding-right: clamp(2rem, 5vw, 8rem) !important;
        min-height: 100vh !important;
    }
}

/* Ensure button accessibility on height constraints and large font sizes */
@media (max-height: 700px) {
    .bg_blue {
        overflow-y: auto !important;
        max-height: calc(100vh - 60px) !important;
        min-height: auto !important;
    }
    
    /* Apple-style search button on mobile - matches package page button */
    .search-rooms-btn {
        position: sticky !important;
        bottom: 1rem !important;
        z-index: 10 !important;
        margin-top: 1rem !important;
        /* Apple-inspired styling */
        font-size: clamp(1rem, 3vw, 1.1rem) !important;
        padding: clamp(0.875rem, 2.2vh, 1rem) clamp(2rem, 5vw, 2.5rem) !important;
        min-height: 52px !important;
        width: calc(100% - 2rem) !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        border-radius: 16px !important;
        font-weight: 600 !important;
        letter-spacing: 0.3px;
        box-shadow: 0 6px 20px rgba(254, 224, 8, 0.3) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .search-rooms-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(254, 224, 8, 0.4) !important;
    }
    
    .search-rooms-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(254, 224, 8, 0.35) !important;
    }
    
    .search-button-container {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .bg_blue .border.p-4.border-2.rounded-4 {
        height: auto !important;
        max-height: 400px !important;
        min-height: 350px !important;
    }
}

/* Additional height constraint for user accessibility (large font sizes) */
@media (min-width: 992px) {
    @supports (height: 100dvh) {
        .bg_blue {
            max-height: 100dvh !important;
        }
    }
    
    /* Ensure search button is always in viewport with scaled spacing */
    .bg_blue .d-grid.gap-2.mt-3 {
        margin-top: clamp(0.5rem, 1.5vh, 0.75rem) !important;
        padding-bottom: 0;
    }
    
    /* Reduce overall form spacing */
    .bg_blue .find_your_stay {
        margin-top: clamp(0.5rem, 1.5vh, 1rem) !important;
    }
}

@media (max-height: 600px) {
    .bg_blue {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .bg_blue .border.p-4.border-2.rounded-4 {
        height: auto !important;
        min-height: 300px !important;
        max-height: none !important;
    }
    
    .bg_blue .border.p-4.border-2.rounded-4 .position-relative {
        height: auto !important;
        min-height: 250px !important;
    }
}

@media (max-height: 500px) {
    .bg_blue {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .bg_blue .mb-3.p-3.pb-0.row {
        margin-bottom: 0.5rem !important;
        padding: 0.5rem !important;
    }
    
    .bg_blue .border.p-4.border-2.rounded-4 {
        padding: 0.5rem !important;
        min-height: 200px !important;
    }
}

.mySwiper {
    width: 100%;
    height: 90vh;
}

.c_room {
    color:#fff;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    background-size: cover;
    background-position: center center;
}


.custom-arrow {
    background-color: #fee008 !important; /* Match yellow theme */
    color: #000 !important;
    border-radius: 50% !important;
    border: 2px solid #000 !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    cursor: pointer;
    z-index: 15;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none; /* Swiper'ın kendi ikonlarını gizliyoruz */
}



.overlay {
    pointer-events: auto;

    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}


.top-left {
    position: absolute;
    top: 40px;
    left: 60px;
}

.bottom-left {
    position: absolute;
    bottom: 80px;
    left: 60px;
    max-width: 400px;
}

.bottom-right {
    position: absolute;
    bottom: 40px;
    right: 60px;
}

@media (max-width: 769px) {
    .bottom-left {
        max-width: 250px;
    }
    .bottom-right {
        left: 60px;
    }
}





.scroll-track {
    width: 100%;
    height: 8px;
    background: #ddd;
    margin-top: 20px;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

.scroll-thumb {
    width: 100px;
    height: 100%;
    background: #333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

@media (min-width: 769px) {
    .scroll-track {
        display: none;
    }
}



.room-line {
    width: 2px;
    background-color: #fff;
    height: 30px;
    margin-right: 0px;
}

.room-family-right {
    font-size: 1.9rem;
    font-weight: 800;
}

.room-family-left {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
}

.room-family-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.room-family-container {
    display: flex;
    align-items: center;
}

/*
@media (max-width: 576px) {
    .room-family-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .room-line {
        height: 3px;
        width: 100%;
    }

    .room-family-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}*/


.badge-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-align: center;
    font-size: 0.6rem;
    background: #e97c24;
}

@keyframes pulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.1); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

.badge-animate {
    animation: pulse 1.5s infinite ease-in-out;
}


.timeslot-btn.active {
    background-color: #ffc107;
}

/* Checkout page - Redesigned to match site */
.checkout-container {
    min-height: 100vh;
    background: #f5f5f5;
}

.checkout-container .container {
    background: transparent;
    max-width: 1400px;
}

.checkout-container .row {
    background: transparent;
}

.checkout-right-pane {
    background: transparent;
    padding: 0 !important;
}

.checkout-right-pane > div {
    padding: 0 !important;
    margin: 0 !important;
}

/* New Booking Summary Card - Premium IKEA Style */
.booking-summary-card-new {
    background: #0b70b8;
    border-radius: 8px;
    border: none;
    padding: 0;
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    overflow: hidden;
}

.booking-summary-card-new:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.checkout-title {
    font-size: 1.25rem;
    color: #fff;
    background: #0b70b8;
    padding: 2rem 1.5rem 1.5rem;
    margin: 0;
    border: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Booking Info Section - Premium Minimal Style */
.checkout-booking-info {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-detail-row {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.detail-subvalue {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Breakdown Section - Premium Flat White */
.checkout-breakdown {
    background: #fff;
    border-radius: 0;
    padding: 2rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.breakdown-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    font-size: 0.9375rem;
}

.breakdown-line:first-child {
    padding-top: 0;
}

.breakdown-line:last-of-type {
    padding-bottom: 0;
}

.breakdown-label-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.breakdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(11, 112, 184, 0.15);
    transition: all 0.2s ease;
}

.breakdown-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 112, 184, 0.2);
}

.breakdown-icon i {
    font-size: 1.25rem;
}

.breakdown-icon-blue {
    background: linear-gradient(135deg, #0b70b8 0%, #0a5ea0 100%);
    color: #fff;
}

.breakdown-icon-green {
    background: linear-gradient(135deg, #0b70b8 0%, #0a5ea0 100%);
    color: #fff;
}

.breakdown-label {
    color: #111;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.breakdown-value {
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.breakdown-value.checkout-green {
    color: #00ba5c;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 0;
    margin-top: 1.25rem;
    border-top: 2px solid #FCEC1B;
    background: #fff;
    border-radius: 0;
}

.total-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    text-align: right;
    letter-spacing: -0.02em;
}

/* Credit Info - Premium Minimal Card */
.checkout-credit-info {
    background: #fff;
    border-radius: 0;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.credit-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.credit-info-header i {
    font-size: 1.375rem;
    color: #0b70b8;
}

.credit-info-text {
    font-size: 0.9375rem;
    color: #484848;
    line-height: 1.6;
    padding-left: 2.125rem;
}

.credit-link {
    color: #0b70b8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.credit-link:hover {
    border-bottom-color: #0b70b8;
}

.credit-link i {
    font-size: 0.75rem;
}

/* Deposit Section - Premium Flat Design */
.checkout-deposit-section {
    background: #fff;
    border-radius: 0;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.deposit-badge-extended {
    background: #FCEC1B;
    border: none;
    color: #0b70b8;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.badge-percentage {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-left: 1px solid rgba(11, 112, 184, 0.25);
    padding-left: 1rem;
    flex: 1;
}

.badge-amount {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

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

.payment-item {
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 1rem 0.875rem;
    text-align: center;
}

.payment-now {
    border-left: 3px solid #FCEC1B;
}

.payment-later {
    border-left: 3px solid #e5e7eb;
}

.payment-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #767676;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payment-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

/* Footer Info - Premium Style */
.checkout-footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.info-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    flex-shrink: 0;
}

.checkout-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    letter-spacing: -0.01em;
}

.checkout-back-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateX(-2px);
}

/* Mobile view - below 992px */
@media (max-width: 991.98px) {
    .booking-summary-card-new {
        position: static !important;
        margin-bottom: 0 !important; /* Controlled by .checkout-left-pane margin */
        transform: translateZ(0); /* Force GPU acceleration and separate layer */
    }
    
    .checkout-title,
    .checkout-booking-info,
    .checkout-breakdown,
    .checkout-credit-info,
    .checkout-deposit-section {
        padding: 1.25rem;
    }
    
    /* CRITICAL: Hide checkout footer info on mobile only */
    .checkout-footer-info,
    .checkout-footer-info-responsive {
        display: none !important;
    }
    
    /* Minimal padding for credit info section before iframe */
    .checkout-credit-info {
        padding-bottom: 0.75rem !important; /* Reduced padding */
        margin-bottom: 0 !important;
    }
    
    .total-value {
        font-size: 1.35rem;
    }
    
    .deposit-badge-extended {
        padding: 0.75rem 1rem;
        gap: 0.875rem;
    }
    
    .badge-percentage {
        font-size: 1.5rem;
    }
    
    .badge-label {
        font-size: 0.6rem;
        padding-left: 0.75rem;
    }
    
    .badge-amount {
        font-size: 1.5rem;
    }
    
    .payment-amount {
        font-size: 1rem;
    }
    
    .breakdown-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .breakdown-icon i {
        font-size: 1rem;
    }
    
    .checkout-iframe {
        min-height: 2000px !important; /* CRITICAL: Show full Collins form without internal scroll */
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .checkout-iframe-wrapper {
        overflow: visible !important;
        height: auto !important;
        min-height: 2000px !important;
        max-height: none !important;
    }
    
    /* CRITICAL: Remove any overlay/sliding behavior on mobile */
    .checkout-left-pane {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 1 !important; /* Low z-index - never overlays iframe */
        margin-bottom: 1.25rem !important; /* Clear gap before iframe */
    }
    
    .checkout-left-pane.summary-hidden {
        display: block !important;
        transform: none !important;
        opacity: 1 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* CRITICAL: Protect Collins iframe from being covered */
    .checkout-right-pane {
        position: relative !important;
        z-index: 10 !important; /* Higher than booking summary */
        background: white;
        margin-top: 1.25rem !important; /* Clear separation from booking summary */
        padding-top: 0 !important;
        clear: both; /* Ensure it clears any floats */
    }
    
    .checkout-iframe-wrapper {
        position: relative !important;
        z-index: 10 !important;
        isolation: isolate; /* Create new stacking context */
        margin-top: 0 !important;
        padding-top: 0 !important;
        background: white; /* Ensure white background behind iframe */
    }
    
    #checkoutFrame {
        position: relative !important;
        z-index: 10 !important;
        display: block !important;
        margin-top: 0 !important;
        overflow: visible !important;
        /* CRITICAL: Ensure Collins "next" button at bottom is always visible */
        min-height: 2000px !important;
        max-height: none !important;
    }
    
    /* Remove any top margin/padding on checkout container for mobile */
    .checkout-container .container {
        padding-top: 0.5rem !important;
        margin-top: 0 !important;
    }
    
    /* Reduce padding after header on mobile */
    .checkout-container .container > .row:first-child {
        margin-bottom: 0.75rem !important;
        padding-top: 0.5rem !important;
    }
    
    /* Ensure checkout row container has proper spacing */
    .checkout-row-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important; /* Clear gap between booking summary and iframe */
    }
}

@media (max-width: 768px) {
    .checkout-title,
    .checkout-booking-info,
    .checkout-breakdown,
    .checkout-credit-info,
    .checkout-deposit-section {
        padding: 1rem;
    }
    
    /* CRITICAL: Ensure footer info stays hidden on smaller mobile */
    .checkout-footer-info,
    .checkout-footer-info-responsive {
        display: none !important;
    }
    
    /* Even tighter padding before iframe on smaller screens */
    .checkout-credit-info {
        padding-bottom: 0.5rem !important;
        margin-bottom: 0 !important;
    }
    
    .total-value {
        font-size: 1.25rem;
    }
    
    .deposit-badge-extended {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .badge-percentage {
        font-size: 1.25rem;
    }
    
    .badge-label {
        font-size: 0.55rem;
        padding-left: 0.625rem;
        border-left-width: 1px;
    }
    
    .badge-amount {
        font-size: 1.25rem;
    }
    
    .payment-amount {
        font-size: 0.95rem;
    }
    
    .breakdown-icon {
        width: 32px;
        height: 32px;
        border-radius: 7px;
    }
    
    .breakdown-icon i {
        font-size: 0.9375rem;
    }
    
    .checkout-iframe {
        border-radius: 8px;
    }
    
    #checkoutFrame {
        /* CRITICAL: Extra height on small screens for full Collins form */
        min-height: 2200px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .credit-info-text {
        padding-left: 1.875rem;
    }
    
    /* Extra tight spacing on very small screens */
    .checkout-container .container {
        padding-top: 0.25rem !important;
    }
    
    .checkout-container .container > .row:first-child {
        margin-bottom: 0.5rem !important;
        padding-top: 0.25rem !important;
    }
    
    .booking-summary-card-new {
        margin-bottom: 0 !important; /* Controlled by parent container */
    }
    
    /* Slightly larger gap on smaller screens for clarity */
    .checkout-row-container {
        gap: 1rem !important;
    }
    
    .checkout-left-pane {
        margin-bottom: 1rem !important;
    }
    
    .checkout-right-pane {
        margin-top: 1rem !important;
    }
}

/* Mobile nav bar - CRITICAL: Only show on mobile/tablet (< 992px), hide on desktop */
@media (max-width: 991.98px) {
  .mobile-nav-bar {
    padding-bottom: 12px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
}

/* CRITICAL: Ensure mobile nav bar is completely hidden on desktop (>= 992px) */
@media (min-width: 992px) {
  .mobile-nav-bar {
    display: none !important;
  }
}

/* Ensure back button and menu toggle have same width for perfect centering */
.mobile-back,
.mobile-menu-toggle {
  width: 42px !important;
  min-width: 42px !important;
  flex-shrink: 0 !important;
}

.mobile-nav-spacer {
  display: inline-block;
  width: 42px;
  height: 42px;
}

/* Logo centered between back and menu */
.mobile-logo {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.mobile-back {
  color: #0f172a;
  font-size: 1.25rem;
}

.mobile-back:hover,
.mobile-back:focus {
  color: #0f172a;
  text-decoration: none;
}

.mobile-logo .logo {
  height: 42px;
}

.mobile-menu-toggle {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Legacy checkout styles - keeping for iframe */
.booking-summary-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    padding: 30px;
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
}



/* Prevent content overlap with header */
.navbar {
    z-index: 1050;
    position: relative;
    margin-bottom: 0 !important;
}

.container-fluid {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
}

.navbar .wizard-container {
  position: relative;
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Ensure navbar content alignment matches main content */
@media (min-width: 992px) {
    .navbar .wizard-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* Align burger menu with right section edge */
    .nav-desktop .mobile-menu-toggle {
        margin-right: 0;
    }
}

@keyframes slideDownMenu {
  from {
    transform: translateY(-12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  z-index: 2000;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transform-origin: top;
  transform: translateY(-12px);
  pointer-events: none;
  opacity: 0;
}

.mobile-menu.is-open {
  display: block;
  animation: slideDownMenu 0.32s ease forwards;
  pointer-events: auto;
}

.mobile-menu.full-width {
  width: 100%;
  border-radius: 0 0 18px 18px;
  left: 0;
  right: 0;
}

@media (max-width: 991.98px) {
  .mobile-menu {
    width: 100%;
    left: 0;
    right: 0;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    width: 320px;
    right: 0;
    left: auto;
  }
}

.mobile-menu .nav-link {
  color: #1f2937;
  font-weight: 600;
}

.mobile-menu .nav-link:hover {
  color: #0f172a;
}

/* Custom yellow class matching home button exactly */
.text-yellow-home {
  color: #e5cd07 !important;
  font-weight: 600;
}

.text-yellow-home:hover {
  color: #fee008 !important;
}

.mobile-menu .text-warning {
  color: #fee008 !important;
  font-weight: 600;
}

.mobile-menu .text-warning:hover {
  color: #ffcd39 !important;
}

.mobile-submenu {
  display: none;
  margin-top: 10px;
}

.mobile-submenu.is-open {
  display: block;
}

.checkout-iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 600px;
    border: none !important;
    border-radius: 8px;
    background-color: #fff !important;
    overflow: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color-scheme: light;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Iframe wrapper - Premium minimal style */
.checkout-iframe-wrapper {
    background: #fff !important;
    border-radius: 8px;
    overflow: visible !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: block !important;
    visibility: visible !important;
}

.checkout-iframe-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 0;
    pointer-events: none;
}

/* Remove any Bootstrap padding */
.checkout-right-pane .col,
.checkout-right-pane [class*="col-"] {
    padding: 0 !important;
}

.checkout-right-pane .position-relative {
    padding: 0 !important;
}

/* Desktop layout - no scaling, just flex */
@media (min-width: 992px) {
    .checkout-row-container {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .checkout-left-pane,
    .checkout-right-pane {
        flex: 1;
    }
    
    .checkout-right-pane {
        display: flex;
        flex-direction: column;
    }
    
    .checkout-iframe-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .checkout-iframe {
        flex: 1;
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.amount-large {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
}

.amount-medium {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}

.price-breakdown-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.price-breakdown-card .breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.price-breakdown-card .breakdown-item:last-child {
  border-bottom: none;
}

.credit-highlight {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #10b981;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}

.credit-badge {
  background: #10b981;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.deposit-card {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #3b82f6;
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
}

.package-badge {
    background: linear-gradient(45deg, #198754, #20c997);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.back-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    border-radius: 10px;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
    text-decoration: none;
}

.step-indicator {
    background: #198754;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .checkout-iframe {
        min-height: 2200px !important; /* CRITICAL: Extra height on small screens for full Collins form */
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .checkout-iframe-wrapper {
        overflow: visible !important;
        height: auto !important;
        min-height: 2200px !important;
        max-height: none !important;
    }

    .booking-summary-card {
        position: static;
        margin-bottom: 30px;
    }
}


/* Page title and summary animations - Responsive Typography */
@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes summaryFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-title-animate {
  animation: titleFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  /* Fluid title sizing that respects user text preferences */
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem) !important;
  line-height: 1.2;
  /* Ensure proper text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.selection-summary-animate {
  animation: summaryFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
  opacity: 0;
  /* Responsive font size */
  font-size: clamp(0.85rem, 1.5vw + 0.25rem, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #6b7280;
  line-height: 1.5;
  /* Ensure proper text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Mini Breakdown - Fully Responsive and Dynamic - ALWAYS VISIBLE */
.mini-breakdown {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  /* Fluid border radius */
  border-radius: clamp(8px, 1.5vw, 10px);
  /* Dynamic padding that scales with viewport and user text size */
  padding: clamp(8px, 1.5vw + 0.25rem, 14px) clamp(10px, 2vw + 0.25rem, 14px);
  /* Fluid margin */
  margin: clamp(8px, 1.5vh, 10px) 0;
  /* Responsive font size */
  font-size: clamp(0.65rem, 1.2vw + 0.2rem, 0.75rem);
  transition: all 0.3s ease;
  /* Ensure proper text wrapping */
  overflow: visible;
  /* CRITICAL: Always display on all devices */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.package_container:hover .mini-breakdown {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-color: #d1d5db;
}

.breakdown-row:last-child {
  border-bottom: none;
}

/* Breakdown Row - Flexible and Adaptive */
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Dynamic padding */
  padding: clamp(2px, 0.5vh, 4px) 0;
  border-bottom: 1px solid #f1f5f9;
  transition: padding 0.2s ease;
  /* Ensure text wraps if needed */
  gap: clamp(0.5rem, 1vw, 1rem);
  flex-wrap: wrap;
}

.breakdown-row span {
  transition: color 0.2s ease;
  /* Ensure proper text wrapping */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Package Container Cards - Enhanced Responsive Design with Dynamic Sizing */
.package_container {
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  will-change: transform;
  /* Dynamic padding that adapts to viewport and user text size */
  padding: clamp(1rem, 2vw + 0.5rem, 2.5rem) clamp(1.25rem, 2.5vw + 0.5rem, 2.5rem) !important;
  /* Ensure content is always visible */
  min-height: fit-content;
  max-width: 100%;
}

/* Card content grows, footer stays at bottom */
.package-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Allow content to grow with user font size */
  min-height: 0;
  gap: clamp(0.5rem, 1vh, 1rem);
}

.package-card-footer {
  flex-shrink: 0;
  margin-top: auto;
  /* Dynamic padding based on viewport */
  padding-top: clamp(0.5rem, 1vh, 0.75rem);
  border-top: 1px solid #f1f5f9;
}

/* Features section grows to fill space - fully adaptive */
.package-features-section {
  flex: 1 1 auto;
  min-height: fit-content;
  /* Dynamic margin that scales with content */
  margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
  display: flex;
  flex-direction: column;
}

[data-package-card] {
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  /* Critical: let content determine height */
  height: 100%;
  min-height: fit-content;
  max-height: none;
  /* Ensure card doesn't clip content */
  overflow: visible;
}

[data-package-card]:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

[data-package-card].is-selected {
  box-shadow: 0 8px 30px rgba(0, 186, 92, 0.25);
  position: relative;
  z-index: 1;
}

/* Subtle fade-in animation for desktop grid */
@keyframes packageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.package-card-fade-in {
  animation: packageFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

/* 
=============================================================================
DESKTOP FULL CARD DISPLAY - NO CLIPPING (SAFARI COMPATIBLE)
=============================================================================
Show complete package cards without any clipping or scrolling, while maintaining:
- Beautiful playing card aspect ratio (never long/narrow)
- Perfect button alignment across all 3 cards
- Cards scale together proportionally
- Full content visibility (no max-height restrictions)
- Safari compatibility (no viewport height constraints)
=============================================================================
*/

/* Desktop grid spacing - Full Card Display (No Clipping) */
.package-grid-desktop {
  /* Dynamic padding that scales with viewport */
  padding: 0 clamp(0.75rem, 2vw, 2rem);
  /* Compact margin to maximize space for cards */
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
  overflow: visible;
  /* CRITICAL: Remove max-height - let cards show fully */
  min-height: fit-content;
  /* Flex container for equal height cards */
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* All cards same height */
}

/* Large Desktop (XL) - Full Card Display with Perfect Alignment */
@media (min-width: 1200px) {
  .package-grid-desktop {
    /* Enhanced fluid padding for large screens */
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    /* REMOVED max-height - cards show fully without clipping */
  }
  
  /* Perfect alignment system - make all 3 cards equal height */
  .package-grid-desktop .col-xl-4 {
    /* Dynamic column padding */
    padding: 0 clamp(0.75rem, 1.5vw, 1.25rem) !important;
    /* Compact margin for better space utilization */
    margin-bottom: clamp(1rem, 2vh, 1.5rem) !important;
    /* REMOVED max-height - let cards show fully */
    min-height: fit-content !important;
    overflow: visible !important;
    /* CRITICAL: Flex column to make all cards same height */
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important; /* Equal flex basis for all columns */
    align-self: stretch !important;
  }
  
  /* Ensure wrapper inside column stretches */
  .package-grid-desktop .col-xl-4 > * {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  
  /* Package card wrapper must stretch */
  .package-grid-desktop [data-package-card] {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  
  /* Package cards - Full Display, No Clipping */
  .package_container {
    /* Viewport-aware padding that scales proportionally */
    padding: clamp(1.25rem, 1.8vw + 0.3rem, 2.2rem) clamp(1.5rem, 2.2vw + 0.3rem, 2.2rem) !important;
    /* CRITICAL: Remove max-height - show full card content */
    min-height: fit-content !important;
    /* Critical: Maintain card width for playing card aspect ratio */
    min-width: 280px !important; /* Prevents long narrow cards */
    /* NO internal scrolling - show everything */
    overflow: visible !important;
    /* Flex layout for button alignment */
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex: 1 1 auto !important;
  }
  
  /* Ensure card content grows and footer stays at bottom */
  .package-grid-desktop .package-card-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  
  /* CRITICAL: Fixed height for feature descriptions - ensures all cards equal height */
  .package-grid-desktop .package-features-section {
    /* Fixed height so all cards have same space regardless of content */
    min-height: 180px !important;
    max-height: 180px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    /* Smooth scrolling for long content */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
  }
  
  /* Thin scrollbar for feature sections */
  .package-grid-desktop .package-features-section::-webkit-scrollbar {
    width: 4px;
  }
  
  .package-grid-desktop .package-features-section::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .package-grid-desktop .package-features-section::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
  }
  
  .package-grid-desktop .package-features-section::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.25);
  }
  
  .package-grid-desktop .package-card-footer {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    padding-top: clamp(0.5rem, 1vh, 0.75rem) !important;
  }
  
  /* Ensure all select buttons have same height */
  .package-grid-desktop [data-package-select] {
    min-height: 44px !important;
    max-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Scale text proportionally with viewport - Desktop */
  .package_container h4 {
    font-size: clamp(1.15rem, 1.4vw + 0.4rem, 1.55rem);
    display: block !important;
    visibility: visible !important;
  }
  
  .price-final {
    font-size: clamp(1.5rem, 2.2vw + 0.4rem, 1.9rem);
    display: block !important;
    visibility: visible !important;
  }
  
  .mini-breakdown {
    font-size: clamp(0.68rem, 0.95vw + 0.15rem, 0.78rem);
    padding: clamp(8px, 1.3vw, 12px) clamp(10px, 1.6vw, 14px);
    display: block !important;
    visibility: visible !important;
  }
  
  .package_container .small-1 {
    font-size: clamp(0.72rem, 0.95vw + 0.2rem, 0.85rem);
    display: flex !important;
    visibility: visible !important;
  }
  
  /* Compact page title for more card space */
  .page-title-animate {
    font-size: clamp(1.85rem, 3.5vw + 0.3rem, 2.4rem) !important;
    margin-bottom: clamp(0.5rem, 1vh, 0.75rem) !important;
  }
  
  .selection-summary-animate {
    font-size: clamp(0.88rem, 1.4vw + 0.2rem, 1.02rem);
    margin-bottom: clamp(1.5rem, 2.5vh, 2rem) !important;
  }
  
  /* Compact continue button for desktop efficiency */
  .checkout-continue-btn {
    padding: clamp(0.72rem, 1.6vh, 0.88rem) clamp(2rem, 3.5vw, 2.6rem) !important;
    font-size: clamp(0.96rem, 1.6vw + 0.2rem, 1.12rem);
    min-height: 46px;
  }
}

/* Extra Large Desktop (XXL) - Full Card Display on Large Viewports */
@media (min-width: 1400px) {
  .package-grid-desktop {
    /* Enhanced padding for large screens */
    padding: 0 clamp(2rem, 3vw, 3rem);
    /* REMOVED max-height - show full cards */
  }
  
  .package-grid-desktop .col-xl-4 {
    /* REMOVED max-height - let cards show fully */
    min-height: fit-content !important;
  }
  
  /* Fixed height for feature descriptions on XL screens */
  .package-grid-desktop .package-features-section {
    min-height: 200px !important;
    max-height: 200px !important;
  }
  
  .package_container {
    /* More comfortable padding on large screens */
    padding: clamp(1.5rem, 2vw + 0.4rem, 2.5rem) clamp(1.75rem, 2.4vw + 0.4rem, 2.5rem) !important;
    /* REMOVED max-height - show full card */
    /* Maintain minimum width for aspect ratio */
    min-width: 300px !important;
    overflow: visible !important;
  }
  
  /* Scale text appropriately for large screens */
  .package_container h4 {
    font-size: clamp(1.22rem, 1.5vw + 0.4rem, 1.62rem);
  }
  
  .price-final {
    font-size: clamp(1.58rem, 2.4vw + 0.4rem, 1.98rem);
  }
  
  .mini-breakdown {
    font-size: clamp(0.72rem, 1vw + 0.15rem, 0.82rem);
  }
  
  .package_container .small-1 {
    font-size: clamp(0.76rem, 1vw + 0.2rem, 0.88rem);
  }
  
  /* Optimal text sizing on very large screens */
  .page-title-animate {
    font-size: clamp(1.95rem, 3.8vw + 0.3rem, 2.55rem) !important;
  }
  
  .selection-summary-animate {
    font-size: clamp(0.92rem, 1.5vw + 0.2rem, 1.08rem);
  }
}

/* 
=============================================================================
PACKAGE PAGE RESPONSIVE DESIGN SYSTEM - COMPLETE OVERHAUL 2025
=============================================================================

This comprehensive responsive system ensures package cards are ALWAYS fully 
visible and adapt dynamically to:
- Different viewport sizes (mobile 320px → desktop 2560px+)
- User text size preferences (browser zoom, accessibility settings)
- Various screen densities and aspect ratios

KEY RESPONSIVE TECHNIQUES APPLIED:
----------------------------------
1. **clamp() Function**: Fluid typography and spacing that scales smoothly
   - Syntax: clamp(min, preferred, max)
   - Ensures text/spacing never too small or too large
   - Adapts to both viewport (vw/vh) and user text settings (rem/em)

2. **Flexbox with Dynamic Constraints**:
   - min-height: fit-content → Cards grow with content
   - max-height: none → No clipping of content
   - flex: 1 1 auto → Sections adapt to available space
   - overflow: visible → Prevents content cutoff

3. **Viewport-Based Units (vw/vh)**:
   - Combined with rem/em for dual-axis responsiveness
   - Example: font-size: clamp(1rem, 2vw + 0.5rem, 1.65rem)
   - Scales with both viewport AND user text preferences

4. **Word Wrapping & Overflow Handling**:
   - word-wrap: break-word
   - overflow-wrap: break-word
   - hyphens: auto
   - Ensures long text never breaks layout

5. **Breakpoint Strategy**:
   - Mobile: < 768px (optimized for touch, card visibility)
   - Tablet: 768px - 1199px (swiper with dynamic sizing)
   - Desktop: 1200px+ (3-column grid with fluid spacing)
   - XL Desktop: 1400px+ (enhanced comfortable spacing)

6. **Critical Visibility Rules**:
   - All containers: overflow: visible
   - All cards: min-height: fit-content, max-height: none
   - All text: proper wrapping with clamp() sizing
   - All buttons: min-height for accessibility (44px mobile, 40px desktop)

COMPONENTS OVERHAULED:
----------------------
✓ Package container cards (main wrapper)
✓ Package card content (flex container)
✓ Package card footer (buttons, ratings)
✓ Package card image containers
✓ Package titles (h4 elements)
✓ Mini breakdown sections
✓ Breakdown rows (price display)
✓ Feature lists (small-1 text)
✓ Price displays (final price, superscript)
✓ Group badges (enhanced & perfect)
✓ Star ratings
✓ Select buttons
✓ Continue button
✓ Page title & summary
✓ Swiper containers (mobile & tablet)
✓ Desktop grid layout
✓ Container & row spacing

TESTING RECOMMENDATIONS:
------------------------
1. Test browser zoom: 50% → 200%
2. Test viewport sizes: 320px → 2560px
3. Test with browser text size increased (Settings → Appearance)
4. Test on touch devices (ensure 44px+ touch targets)
5. Test with long text content (translations, custom packages)
6. Test with very short and very tall viewport ratios

MAINTENANCE NOTES:
------------------
- All sizing uses clamp() - adjust min/max values, not fixed sizes
- Maintain overflow: visible on all card-related containers
- Preserve min-height: fit-content for dynamic content
- Keep touch targets ≥ 44px for mobile accessibility
- Test after ANY layout changes to ensure visibility

Last Updated: October 5, 2025
Responsive System Version: 2.0
=============================================================================
*/

/* Prevent container overflow issues - Critical for visibility */
.container {
  overflow: visible !important;
  /* Ensure proper width constraints */
  max-width: 100%;
}

.row {
  /* Fluid negative margins */
  margin-left: clamp(-0.5rem, -1vw, -0.25rem);
  margin-right: clamp(-0.5rem, -1vw, -0.25rem);
  /* Allow natural content height */
  min-height: fit-content;
}

@media (min-width: 1200px) {
  .row {
    /* Enhanced spacing for large screens */
    margin-left: clamp(-0.75rem, -1.5vw, -1.25rem);
    margin-right: clamp(-0.75rem, -1.5vw, -1.25rem);
  }
}

/* Responsive spacing to prevent overlap at all breakpoints */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .container {
    /* Fluid padding for tablets */
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
  }
}

@media (max-width: 767.98px) {
  .container {
    /* Dynamic mobile padding */
    padding-left: clamp(0.75rem, 2vw, 1.25rem);
    padding-right: clamp(0.75rem, 2vw, 1.25rem);
  }
}

/* Package card image container - Dynamic and Responsive */
.package_container .position-relative {
  position: relative;
  overflow: hidden;
  /* Fluid border radius that scales with viewport */
  border-radius: clamp(8px, 1.5vw, 12px);
  /* Dynamic margin that adapts to content */
  margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
  background: #f8f9fa;
  /* Ensure image container is always visible */
  flex-shrink: 0;
}

.package_container .position-relative img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  width: 100%;
  height: auto;
  /* Prevent image overflow */
  max-width: 100%;
  object-fit: cover;
}

.package_container:hover .position-relative img {
  transform: scale(1.05);
}

/* Badge positioning - Always visible */
.package_container .position-absolute {
  z-index: 2;
  /* Dynamic positioning and sizing */
  margin: clamp(0.5rem, 1vw, 0.75rem);
}

/* Package title - Fully responsive with user text size support */
.package_container h4 {
  /* Enhanced fluid typography - scales with both viewport and user preferences */
  font-size: clamp(1rem, 2vw + 0.5rem, 1.65rem);
  margin-bottom: clamp(0.5rem, 1vh, 0.75rem);
  line-height: 1.3;
  transition: color 0.3s ease;
  /* Ensure text wraps properly */
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.package_container:hover h4 {
  color: #0b70b8;
}

/* Features list - Fully adaptive with proper alignment */
.package_container .small-1 {
  /* Enhanced fluid typography that respects user text size */
  font-size: clamp(0.7rem, 1.2vw + 0.3rem, 0.9rem);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  /* Dynamic gap that scales with viewport */
  gap: clamp(0.25rem, 0.5vh, 0.4rem);
}

.package_container .small-1 > span,
.package_container .small-1 > br + * {
  display: flex;
  align-items: flex-start;
  /* Fluid gap */
  gap: clamp(0.3rem, 0.5vw, 0.4rem);
  /* Ensure text wraps properly */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.package_container .small-1 i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  /* Icon size scales with text */
  font-size: clamp(0.75em, 1vw, 0.9em);
}

/* Simple anchor text styling - Bold and dark blue at base of features */
[data-package-coverage-row] {
  display: flex !important;
  align-items: flex-start;
  gap: clamp(0.3rem, 0.5vw, 0.4rem);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

[data-package-coverage-row] i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: clamp(0.75em, 1vw, 0.9em);
  color: #0b70b8 !important;
}

[data-package-coverage-text] {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  /* Bold dark blue text */
  font-weight: 700;
  color: #0b70b8;
  /* Ensure long text wraps properly */
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

[data-package-badge-wrapper] .badge {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: badgeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes badgeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.package-breathe {
  animation: package-breathe 2.6s ease-in-out infinite;
  will-change: transform;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25) !important;
  position: relative;
  z-index: 3;
}

@keyframes package-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
  }
}

/* Ensure breathe animation stays visible in swiper */
.mySwiperExtras .package-breathe {
  margin: 0.5rem 0;
}

/* Responsive package cards for tablets - Enhanced Adaptive Design */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* CRITICAL: Set explicit width on swiper slides for 'auto' mode */
  .swiper-desktop-small .swiper-slide {
    width: 500px !important; /* Fixed width for consistent card display */
    height: auto !important;
    min-height: fit-content !important;
  }
  
  .package_container {
    /* Use dynamic padding that respects user text size */
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2rem) !important;
    /* Ensure full visibility */
    min-height: fit-content;
    max-height: none;
    /* CRITICAL: Prevent cards from shrinking too much in swiper */
    min-width: 420px !important;
    width: 100%; /* Fill slide width */
  }
  
  .package_container h4 {
    /* Fluid sizing for tablets */
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    line-height: 1.3;
    margin-bottom: clamp(0.5rem, 1vh, 0.75rem);
  }
  
  .price-final {
    /* Adaptive pricing display */
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    line-height: 1.1;
  }
  
  .mini-breakdown {
    /* Scale appropriately for tablets */
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 14px);
  }
  
  .package_container .small-1 {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  }
  
  /* Ensure cards stay in view */
  [data-package-card] {
    max-height: none;
    min-height: fit-content;
  }
}

/* CRITICAL FIX: Small Desktop Range (992px-1199px) - Prevent Card Shrinking */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* CRITICAL: Set explicit width on swiper slides for 'auto' mode */
  .swiper-desktop-small .swiper-slide {
    width: 580px !important; /* Fixed width ensures full card visibility */
    height: auto !important;
    min-height: fit-content !important;
  }
  
  .package_container {
    /* Comfortable padding for small desktop */
    padding: clamp(1.5rem, 2vw, 2rem) clamp(1.75rem, 2.5vw, 2.25rem) !important;
    /* CRITICAL: Enforce minimum width to prevent card from becoming too narrow */
    min-width: 500px !important;
    width: 100%; /* Fill slide width */
    /* Ensure full visibility */
    min-height: fit-content;
    max-height: none;
    overflow: visible;
  }
  
  .package_container h4 {
    /* Optimal sizing for small desktop */
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: clamp(0.5rem, 1vh, 0.75rem);
  }
  
  .price-final {
    /* Prominent pricing display */
    font-size: clamp(1.5rem, 2.2vw, 1.8rem);
    line-height: 1.1;
  }
  
  .mini-breakdown {
    /* Clear breakdown display */
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    padding: clamp(10px, 1.5vw, 14px) clamp(14px, 2vw, 16px);
    /* Ensure always visible */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .package_container .small-1 {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    line-height: 1.6;
  }
  
  /* Ensure all pricing elements are visible */
  [data-room-price],
  [data-package-credit],
  [data-package-price-display] {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Ensure cards never shrink beyond usability */
  [data-package-card] {
    max-height: none;
    min-height: fit-content;
    min-width: 500px !important;
  }
  
  /* Ensure swiper wrapper allows proper width */
  .swiper-desktop-small .swiper-wrapper {
    min-height: fit-content;
  }
  
  /* Package card image - maintain proper aspect ratio */
  .package_container .position-relative {
    margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
  }
  
  /* Features section - ensure readable */
  .package-features-section {
    min-height: auto;
    margin: clamp(0.75rem, 1vh, 1rem) 0;
  }
  
  /* Buttons remain accessible */
  [data-package-select] {
    padding: clamp(0.65rem, 1.2vh, 0.8rem) clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    min-height: 40px;
  }
}

/* Mobile package cards - Fully Adaptive and Always Visible */
@media (max-width: 767.98px) {
  /* CRITICAL: Set explicit width on mobile swiper slides for 'auto' mode */
  .swiper-mobile .swiper-slide {
    width: 90vw !important; /* 90% of viewport width for optimal mobile display */
    max-width: 450px !important; /* Maximum width cap for larger phones */
    min-width: 320px !important; /* Minimum width ensures content visibility */
    height: auto !important;
    min-height: fit-content !important;
  }
  
  .package_container {
    /* Dynamic padding that adapts to screen size and user text settings */
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.15rem, 3.5vw, 1.75rem) !important;
    width: 100%; /* Fill slide width */
    max-width: 100%;
    margin: 0 auto;
    /* Critical: ensure card is always fully visible */
    min-height: fit-content;
    max-height: none;
    overflow: visible;
  }
  
  /* CRITICAL: Ensure mini-breakdown (room hire + party credit) always visible */
  .mini-breakdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(0.7rem, 2.5vw, 0.85rem);
    padding: clamp(6px, 2vw, 10px) clamp(8px, 2.5vw, 12px);
    margin: clamp(8px, 2vh, 10px) 0;
  }
  
  /* CRITICAL: Ensure price-final (total package value) always visible */
  .price-final {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.1;
    white-space: normal;
  }
  
  /* Ensure arrows don't cover title - add top margin */
  .mySwiperExtras .custom-arrow {
    margin-top: clamp(3rem, 8vh, 5rem) !important;
  }
  
  .package_container h4 {
    /* Enhanced fluid sizing for mobile - respects user font size */
    font-size: clamp(1rem, 0.95em + 2.5vw, 1.2rem);
    margin-bottom: clamp(0.35rem, 0.7em, 0.5rem) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }
  
  .package_container .small-1 {
    /* Adaptive text size - scales with user preferences */
    font-size: clamp(0.68rem, 0.85em + 1.2vw, 0.8rem);
    line-height: 1.45;
    gap: clamp(0.2rem, 0.4em, 0.3rem);
  }
  
  /* Price final - compact but readable */
  .price-final {
    font-size: clamp(1.3rem, 1.2em + 3vw, 1.65rem) !important;
    line-height: 1.1 !important;
    margin-top: clamp(0.3rem, 0.6em, 0.5rem) !important;
  }
  
  .price-final sup {
    font-size: clamp(0.8rem, 3vw, 1rem) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Optimize button for mobile - Always visible */
  [data-package-select] {
    padding: clamp(0.6rem, 2vh, 0.75rem) clamp(0.9rem, 3vw, 1.25rem);
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    /* Ensure button is always clickable */
    min-height: 44px;
  }
  
  /* Star rating mobile optimization - Fluid sizing */
  .star-rating i {
    font-size: clamp(11px, 3vw, 13px);
  }
  
  .rating-count {
    font-size: clamp(0.7rem, 2.2vw, 0.8rem);
  }
  
  /* Ensure card footer stays visible */
  .package-card-footer {
    padding-top: clamp(0.5rem, 1.5vh, 0.75rem);
    margin-top: auto;
    min-height: fit-content;
  }
  
  /* Ensure features section is fully visible */
  .package-features-section {
    min-height: fit-content;
    margin-bottom: clamp(0.75rem, 2vh, 1rem);
  }
  
  /* Tighter card padding for mobile - intelligently adapts to font size */
  .package_container {
    /* Fluid padding that scales with viewport and user font size */
    padding: clamp(0.75rem, 1.2em + 0.5vw, 1.1rem) clamp(0.85rem, 1.4em + 0.8vw, 1.3rem) !important;
    /* Reduce internal gaps for compact fit */
    gap: clamp(0.4rem, 0.8em, 0.75rem) !important;
  }
  
  /* Package card content with minimal gap */
  .package-card-content {
    gap: clamp(0.35rem, 0.7em, 0.65rem) !important;
  }
  
  /* Image bottom margin - reduced */
  .package_container img {
    margin-bottom: clamp(0.5rem, 1em, 0.75rem) !important;
  }
  
  /* Title to content spacing - tighter */
  .package_container h4 {
    margin-bottom: clamp(0.35rem, 0.7em, 0.5rem) !important;
    line-height: 1.25 !important;
  }
  
  /* Reduce excess white space - intelligent scaling */
  .package-features-section {
    margin-top: clamp(0.4rem, 0.8em, 0.6rem) !important;
    margin-bottom: clamp(0.4rem, 0.8em, 0.6rem) !important;
    gap: clamp(0.3rem, 0.6em, 0.5rem) !important;
  }
  
  /* Feature items - tighter spacing */
  .package-features-section .d-flex {
    margin-bottom: clamp(0.25rem, 0.5em, 0.4rem) !important;
  }
  
  .package-features-section .d-flex:last-child {
    margin-bottom: 0 !important;
  }
  
  .mini-breakdown {
    /* Font size scales with user preferences */
    font-size: clamp(0.65rem, 0.9em, 0.75rem) !important;
    /* Compact padding */
    padding: clamp(5px, 0.35em + 0.8vw, 8px) clamp(7px, 0.5em + 1vw, 10px) !important;
    /* Reduced margin */
    margin-top: clamp(0.3rem, 0.6em, 0.45rem) !important;
    margin-bottom: clamp(0.3rem, 0.6em, 0.45rem) !important;
    /* Tighter line height */
    line-height: 1.4 !important;
  }
  
  /* Breakdown rows - tighter */
  .mini-breakdown .breakdown-row {
    margin-bottom: clamp(0.15rem, 0.3em, 0.25rem) !important;
    padding: clamp(1px, 0.2em, 2px) 0 !important;
  }
  
  .mini-breakdown .breakdown-row:last-child {
    margin-bottom: 0 !important;
  }
  
  /* Price bottom row - compact */
  .price-bottom-row {
    margin-top: clamp(0.4rem, 0.8em, 0.6rem) !important;
  }
  
  /* Tighter image spacing */
  .package_container img {
    margin-bottom: clamp(0.5rem, 1em, 0.75rem) !important;
  }
  
  /* Star rating and rating count - compact */
  .star-rating {
    gap: clamp(0.15rem, 0.3em, 0.25rem) !important;
  }
  
  .package-card-footer {
    padding-top: clamp(0.4rem, 0.8em, 0.6rem) !important;
    gap: clamp(0.4rem, 0.8em, 0.6rem) !important;
  }
}

/* Enhanced swiper for mobile and tablet - Fully Adaptive with Arrow Clearance */
.mySwiperExtras {
  /* Dynamic padding that scales with viewport */
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(0.75rem, 2vw, 1.5rem) clamp(2rem, 4vh, 3.5rem);
  overflow: visible !important;
  position: relative;
  /* Fluid margins */
  margin: 0 clamp(-0.5rem, -1vw, -0.25rem);
}

/* Ensure swiper arrows don't cover page title */
.mySwiperExtras .custom-arrow {
  /* Prevent arrows from overlapping title */
  margin-top: 1rem;
}

.mySwiperExtras .swiper-wrapper {
  /* Adaptive padding to ensure card visibility */
  padding: clamp(0.75rem, 2vh, 1.5rem) 0 clamp(1.5rem, 3vh, 2.5rem);
  /* Allow natural height growth */
  min-height: fit-content;
}

.mySwiperExtras .swiper-slide {
  /* Critical: allow cards to expand to full content height */
  height: auto;
  min-height: fit-content;
  display: flex;
  transition: opacity 0.35s ease, transform 0.35s ease;
  /* Dynamic slide padding */
  padding: 0 clamp(0.4rem, 1vw, 0.6rem);
}

.mySwiperExtras .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.mySwiperExtras .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.65;
  transform: scale(0.98);
}

.mySwiperExtras .swiper-slide .package_container {
  width: 100%;
  /* Important: let content determine height */
  height: auto;
  min-height: fit-content;
  margin: 0;
  /* Ensure overflow is visible */
  overflow: visible;
}

/* Ensure animations stay visible within swiper - Responsive */
.swiper-mobile,
.swiper-desktop-small {
  /* Dynamic padding */
  padding: clamp(0.5rem, 1vh, 0.75rem) 0;
  margin: 0 auto;
  max-width: 100%;
  /* Allow natural content height */
  min-height: fit-content;
}

/* Yellow arrow buttons for swiper - consistent styling */
.custom-arrow-yellow {
  background-color: #fee008 !important;
  color: #000 !important;
  border: 2px solid #000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 700 !important;
}

.custom-arrow-yellow:hover {
  background-color: #ffcd39 !important;
  box-shadow: 0 6px 18px rgba(254, 224, 8, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.custom-arrow-yellow:active {
  background-color: #fee008 !important;
  transform: translateY(-50%) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced arrow buttons for mobile swiper */
.mySwiperExtras .custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 48px !important;
  height: 48px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.mySwiperExtras .custom-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.mySwiperExtras .custom-arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.mySwiperExtras .swiper-button-prev {
  left: clamp(10px, 2.5vw, 16px);
}

.mySwiperExtras .swiper-button-next {
  right: clamp(10px, 2.5vw, 16px);
}

.mySwiperExtras .swiper-button-disabled {
  opacity: 0.25;
  pointer-events: none;
  filter: grayscale(50%);
}

/* Desktop small swiper specific adjustments */
.swiper-desktop-small {
  max-width: 900px;
  margin: 0 auto;
}

.swiper-desktop-small .mySwiperExtras {
  padding: 2rem 3rem 3rem;
}

.swiper-desktop-small .custom-arrow {
  width: 52px !important;
  height: 52px !important;
  font-size: 24px;
}

/* 
=============================================================================
MOBILE INTELLIGENT VIEWPORT - FULL CARD + STICKY BUTTON
=============================================================================
Ensure full package card is visible AND continue button stays accessible
at bottom of screen without scrolling.
=============================================================================
*/

/* Mobile specific swiper adjustments - Full Card Display */
@media (max-width: 767.98px) {
  .mySwiperExtras {
    /* Compact padding to maximize card space - REMOVE blank space */
    padding: clamp(0.75rem, 2vh, 1.25rem) clamp(0.5rem, 1.5vw, 0.75rem) 0 !important; /* Zero bottom padding */
    margin: 0 0 clamp(1rem, 2vh, 1.5rem) 0 !important; /* Small bottom margin only */
    /* REMOVED max-height to show full cards */
    overflow: visible !important;
  }
  
  .mySwiperExtras .swiper-wrapper {
    /* Minimal padding for maximum card space - REMOVE blank space */
    padding: clamp(0.5rem, 1vh, 0.75rem) 0 clamp(0.5rem, 1vh, 0.75rem) !important; /* Minimal bottom padding */
    min-height: fit-content;
    /* REMOVED max-height to show full cards */
  }
  
  /* Package cards show full content */
  .mySwiperExtras .swiper-slide .package_container {
    /* REMOVED max-height - show all content */
    max-height: none !important;
    overflow: visible !important; /* No scroll needed - show everything */
    /* Smooth scrolling if page scrolls */
    -webkit-overflow-scrolling: touch;
  }
  
  .mySwiperExtras .custom-arrow {
    /* Consistent sizing across devices */
    width: 46px !important;
    height: 46px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    /* Vertically center on card */
    top: 50%;
    transform: translateY(-50%);
  }
  
  .mySwiperExtras .custom-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }
  
  .mySwiperExtras .custom-arrow:active {
    transform: translateY(-50%) scale(0.98);
  }
  
  .mySwiperExtras .swiper-button-prev {
    /* Better mobile positioning */
    left: 8px;
  }
  
  .mySwiperExtras .swiper-button-next {
    /* Better mobile positioning */
    right: 8px;
  }
  
  /* Critical: Ensure swiper slides show full card content */
  .mySwiperExtras .swiper-slide {
    height: auto !important;
    min-height: fit-content !important;
    max-height: none !important; /* REMOVED: Was causing square appearance */
    overflow: visible !important;
  }
  
  /* Compact page title on mobile for more card space - font size aware */
  .page-title-animate {
    font-size: clamp(1.35rem, 1em + 3vw, 1.85rem) !important;
    margin-bottom: clamp(0.35rem, 0.7em, 0.55rem) !important;
    line-height: 1.2 !important;
  }
  
  .selection-summary-animate {
    font-size: clamp(0.7rem, 0.85em + 1.5vw, 0.85rem) !important;
    margin-bottom: clamp(0.75rem, 1.5em, 1.2rem) !important;
    line-height: 1.4 !important;
  }
  
  /* Container top spacing - reduced for mobile */
  .container.mt-4 {
    padding-bottom: clamp(5rem, 16vh, 7rem) !important;
  }
  
  /* Ensure continue button is compact and always visible */
  .checkout-continue-btn {
    font-size: clamp(0.85rem, 3vw, 1rem);
    padding: clamp(0.65rem, 1.8vh, 0.8rem) clamp(1.5rem, 5vw, 2rem) !important;
    min-height: 44px;
  }
}

/* 
=============================================================================
APPLE-INSPIRED SMART STICKY BUTTON - SLIDES UP AFTER SCROLL
=============================================================================
Button appears only after scrolling down - premium UX pattern
=============================================================================
*/

/* Sticky button for mobile and tablets (< 1200px) */
@media (max-width: 1199.98px) {
  /* Container for continue button - sticky positioning */
  .d-md-none + .row,
  .d-none.d-md-block.d-xl-none + .row {
    position: fixed; /* Changed from sticky to fixed for better control */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100; /* Higher z-index for always-on-top behavior */
    /* Apple-style backdrop blur and gradient */
    background: linear-gradient(to top, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(255, 255, 255, 0.92) 60%,
      rgba(255, 255, 255, 0.88) 80%,
      rgba(255, 255, 255, 0.7) 95%,
      rgba(255, 255, 255, 0) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* REDUCED top padding for tighter mobile fit */
    padding-top: clamp(0.75rem, 2vh, 1.25rem);
    padding-bottom: clamp(1rem, 2.8vh, 1.5rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem)); /* iOS safe area support */
    /* Premium shadow - more refined */
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12), 
                0 -2px 8px rgba(0, 0, 0, 0.08);
    /* Apple-style cubic-bezier for elastic feel */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
    /* Initially hidden - slides up from bottom */
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none; /* Prevent interaction when hidden */
    /* Reduce margins */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  /* Active state - button is visible after scroll */
  .d-md-none + .row.sticky-button-visible,
  .d-none.d-md-block.d-xl-none + .row.sticky-button-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Ensure page title and swiper stay behind button when it appears */
  .page-title-animate,
  .selection-summary-animate,
  .mySwiperExtras {
    position: relative;
    z-index: 1;
  }
  
  /* Enhanced button styling for sticky position - Yellow theme */
  .d-md-none + .row .checkout-continue-btn,
  .d-none.d-md-block.d-xl-none + .row .checkout-continue-btn {
    /* Yellow theme matching arrows */
    background: #fee008 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    /* Premium shadow with depth - yellow tint */
    box-shadow: 0 8px 24px rgba(254, 224, 8, 0.35),
                0 4px 12px rgba(0, 0, 0, 0.15);
    /* Larger touch target - iOS HIG standard */
    min-height: 52px;
    /* Bold text for prominence */
    font-weight: 700;
    /* Apple-style border radius */
    border-radius: clamp(14px, 4vw, 16px) !important;
    /* Slightly scale up for prominence */
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* Hover state for sticky button - desktop/tablet with mouse */
  @media (hover: hover) and (pointer: fine) {
    .d-md-none + .row .checkout-continue-btn:hover,
    .d-none.d-md-block.d-xl-none + .row .checkout-continue-btn:hover {
      background: #ffcd39 !important;
      box-shadow: 0 12px 32px rgba(254, 224, 8, 0.45),
                  0 6px 16px rgba(0, 0, 0, 0.2);
      transform: scale(1.02) translateY(-2px);
    }
  }
  
  /* Active state - haptic-style micro-interaction */
  .d-md-none + .row .checkout-continue-btn:active,
  .d-none.d-md-block.d-xl-none + .row .checkout-continue-btn:active {
    background: #fee008 !important;
    transform: scale(0.97);
    box-shadow: 0 4px 16px rgba(254, 224, 8, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Adjust page container bottom padding for button space */
  .container.mt-4 {
    padding-bottom: clamp(6rem, 18vh, 8rem) !important;
  }
}

/* Desktop - button stays inline (not sticky) */
@media (min-width: 1200px) {
  .d-md-none + .row,
  .d-none.d-md-block.d-xl-none + .row {
    position: relative;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Checkout Continue Button - Fully Responsive Enhancement */
.checkout-continue-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  /* Fluid font size that scales with viewport and user text size */
  font-size: clamp(0.95rem, 2vw + 0.3rem, 1.2rem);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  /* Dynamic padding */
  padding: clamp(0.75rem, 2vh, 1rem) clamp(2rem, 4vw, 3rem) !important;
  /* Ensure button is always clickable */
  min-height: 48px;
  /* Allow text wrapping if needed */
  white-space: normal;
  line-height: 1.3;
}

.checkout-continue-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.checkout-continue-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 186, 92, 0.35) !important;
}

.checkout-continue-btn:hover::before {
  left: 100%;
}

.checkout-continue-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 186, 92, 0.25) !important;
}

.checkout-continue-btn i {
  transition: transform 0.3s ease;
  /* Fluid icon size */
  font-size: clamp(0.9em, 1.5vw, 1em);
}

.checkout-continue-btn:hover i {
  transform: translateX(4px);
}

/* 
=============================================================================
APPLE-GRADE MOBILE UX - SINGLE LOCK POSITION SYSTEM
=============================================================================
Premium scroll system with single-action header hide and content lock
NO multiple animations, NO shrinking, NO amateur jank
ONE smooth action per scroll event - professional grade
=============================================================================
*/

@media (max-width: 1199.98px) {
  /* ========== PACKAGE & CHECKOUT PAGES: Single Header Lock System ========== */
  
  /* Header - Single smooth slide away (Package & Checkout pages ONLY) */
  body:not(:has(.container-fluid .instructions-section)) .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    /* Single smooth professional transition */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    background: white !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    will-change: transform;
  }
  
  /* Header hidden state - ONE smooth action */
  body:not(:has(.container-fluid .instructions-section)) .navbar.header-hidden {
    transform: translateY(-100%);
    /* Same transition - no multiple states */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Header visible state - consistent transition */
  body:not(:has(.container-fluid .instructions-section)) .navbar.header-visible {
    transform: translateY(0);
    /* Same transition - consistency is key */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Main container spacing for fixed header (PACKAGE & CHECKOUT) */
  .container.mt-4 {
    margin-top: 0 !important;
    padding-top: clamp(70px, 12vh, 90px) !important;
  }
  
  /* PACKAGE PAGE: Page title - ONE LOCKED POSITION */
  .container.mt-4 > .row:first-child {
    position: sticky;
    top: 0;
    z-index: 150;
    background: linear-gradient(to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 70%,
      rgba(255, 255, 255, 0.95) 85%,
      rgba(255, 255, 255, 0.88) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin: 0 -1rem !important;
    padding: clamp(1rem, 3vh, 1.5rem) 1rem clamp(0.75rem, 2vh, 1rem) !important;
    /* Single smooth transition - NO multiple animations */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  
  /* Title locked state - ONE POSITION, NO shrinking */
  .container.mt-4 > .row:first-child.title-locked {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.06);
    /* NO size changes, NO multiple states */
  }
  
  /* Title text - NO shrinking when locked */
  .title-locked .page-title-animate,
  .title-locked h1 {
    /* Keep same size - no amateur shrinking */
    font-size: inherit !important;
    margin-bottom: inherit !important;
    line-height: inherit !important;
  }
  
  /* Summary text - NO shrinking when locked */
  .title-locked .selection-summary-animate,
  .title-locked p {
    /* Keep same size - professional consistency */
    font-size: inherit !important;
    margin-bottom: inherit !important;
    line-height: inherit !important;
    opacity: 1;
  }
  
  /* CHECKOUT PAGE: Same single-lock system */
  .checkout-container .container > .row:first-child {
    position: sticky;
    top: 0;
    z-index: 150;
    background: linear-gradient(to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 70%,
      rgba(255, 255, 255, 0.95) 85%,
      rgba(255, 255, 255, 0.88) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: clamp(1rem, 3vh, 1.5rem) 1rem clamp(0.75rem, 2vh, 1rem) !important;
    margin: 0 -1rem !important;
    /* Single smooth transition */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  
  .checkout-container .container > .row:first-child.title-locked {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  /* ========== INDEX (CALENDAR) PAGE: Header ALWAYS LOCKED ========== */
  
  /* Calendar page container - header stays fixed */
  .container-fluid {
    padding-top: clamp(70px, 12vh, 90px) !important;
  }
  
  /* INDEX page header - LOCKED, never moves */
  body:has(.container-fluid .instructions-section) .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 200 !important;
    transform: translateY(0) !important; /* ALWAYS visible */
    background: white !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    /* NO transitions - locked position */
    transition: none !important;
  }
  
  /* ROOMIE section - static, scrolls naturally */
  .instructions-section {
    position: relative;
    background: #fff;
    padding-top: clamp(1rem, 3vh, 1.5rem) !important;
  }
  
  /* CALENDAR section - SMOOTH slide up and lock BELOW header (Apple space optimization) */
  .bg_blue {
    position: sticky;
    top: clamp(52px, 8vh, 62px); /* ULTRA-TIGHT - virtually no white gap */
    z-index: 145;
    /* Apple-smooth elastic transition */
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    margin-top: 0;
    will-change: box-shadow;
    /* ZERO top padding for ultra-tight positioning */
    padding-top: 0.25rem !important;
  }
  
  /* Calendar adds shadow when locked below header - professional depth */
  .bg_blue.calendar-locked {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  /* Minimal padding on calendar title/form */
  .bg_blue .row.mt-4 {
    margin-top: 1rem !important;
  }
  
  .bg_blue .find_your_stay {
    margin-top: 1rem !important;
  }
  
  /* ========== CHECKOUT PAGE: Smooth Iframe Behavior ========== */
  
  /* Checkout main container */
  .checkout-row-container {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Left pane (booking summary) - ALWAYS VISIBLE on scroll */
  .checkout-left-pane {
    transition: none; /* NO fading away */
    transform: translateY(0);
    opacity: 1 !important; /* Force visible */
    /* Sticky position keeps it readable */
    position: sticky;
    top: clamp(90px, 14vh, 120px);
    align-self: flex-start;
    z-index: 130;
  }
  
  /* REMOVE summary-hidden class behavior - keep summary visible */
  .checkout-left-pane.summary-hidden {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  /* Right pane (iframe) - smooth scroll behavior */
  .checkout-right-pane {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }
  
  /* Iframe wrapper - smooth expansion */
  .checkout-iframe-wrapper {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 800px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }
  
  /* ========== CHOOSE YOUR ROOM: LOCKED SINGLE-SCREEN (Mobile Only) ========== */
  
  /* Apple-grade locked viewport - NO scrolling, immersive experience */
  body:has(.fixed-room-title) {
    overflow: hidden !important;
    position: fixed !important;
    width: 100%;
    height: 100vh;
    overscroll-behavior: none;
  }
  
  /* Remove footer completely on room page */
  body:has(.fixed-room-title) footer {
    display: none !important;
  }
  
  /* Room swiper fills entire viewport - perfect fit */
  body:has(.fixed-room-title) .mySwiper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important; /* Dynamic viewport height for mobile */
    margin: 0 !important;
    padding: 0 !important;
    z-index: 100;
  }
  
  /* Swiper slides fill viewport */
  body:has(.fixed-room-title) .swiper-slide {
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  
  /* Fixed room title positioned above swiper */
  .fixed-room-title {
    position: fixed !important;
    top: clamp(7rem, 12vh, 9rem) !important;
    left: 1.5rem !important;
    right: 1.5rem !important;
    z-index: 1000 !important;
    pointer-events: none;
  }
  
  /* Room description should NOT appear in fixed title */
  .fixed-room-title .room-description {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  /* Room swiper cards - only show description in card itself */
  .swiper-slide .bottom-left .room-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Booking blob positioned at bottom */
  body:has(.fixed-room-title) .booking-blob {
    position: fixed !important;
    bottom: 1.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1001 !important;
  }
  
  /* Hide Choose Your Room page title section when in immersive mode */
  body:has(.fixed-room-title) .choose-room-title-section {
    display: none !important;
  }
  
  /* Room cards container - full viewport */
  body:has(.fixed-room-title) .room-cards-container {
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ========================================================================
   MOBILE ONLY: STICKY CALENDAR & FOOTER SYSTEM - INDEX PAGE
   ======================================================================== */
@media (max-width: 991.98px) {
  /* MOBILE: Header locked at top */
  body:has(.container-fluid .instructions-section) .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 200 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  }
  
  /* Container padding to account for fixed header */
  body:has(.container-fluid .instructions-section) .container-fluid {
    padding-top: clamp(70px, 10vh, 80px) !important;
  }
  
  /* Instructions section - scrolls normally behind sticky calendar */
  .instructions-section {
    position: relative !important;
    z-index: 1 !important; /* BELOW sticky calendar */
    background: transparent !important;
    padding-bottom: 2rem !important; /* Space before calendar appears */
  }
  
  /* MOBILE: Calendar section - STICKY below header, scrolls up and locks */
  .bg_blue {
    position: sticky !important;
    top: clamp(70px, 10vh, 80px) !important; /* Locks right below header */
    z-index: 150 !important; /* ABOVE instructions, BELOW header */
    background: #0665BA !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    margin-top: clamp(-7rem, -10vh, -6rem) !important; /* Pulls up to reduce gap */
    padding-top: clamp(1rem, 2vh, 1.5rem) !important;
    padding-bottom: clamp(6rem, 12vh, 8rem) !important; /* Space for footer */
    min-height: calc(100vh - clamp(70px, 10vh, 80px)) !important; /* Fill viewport below header */
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: box-shadow;
  }
  
  /* MOBILE: Footer - LOCKED at bottom, overlays scrolling content */
  body:has(.instructions-section) footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 200 !important; /* ABOVE calendar, SAME as header */
    background: linear-gradient(to top,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 60%,
      rgba(255, 255, 255, 0.88) 100%
    ) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08), 0 -2px 10px rgba(0, 0, 0, 0.04) !important;
    padding: clamp(1rem, 2vh, 1.5rem) clamp(1rem, 3vw, 1.5rem) !important;
    margin: 0 !important;
  }
  
  /* Ensure footer content is properly styled */
  body:has(.instructions-section) footer .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  /* Add bottom padding to calendar button so it doesn't hide behind footer */
  .bg_blue .search-button-container {
    margin-bottom: clamp(1rem, 2vh, 1.5rem) !important;
  }
}

/* Desktop - no scroll effects */
@media (min-width: 1200px) {
  .navbar {
    position: relative !important;
  }
  
  .instructions-section,
  .container.mt-4 > .row:first-child,
  .checkout-container .container > .row:first-child {
    position: relative !important;
  }
  
  .checkout-iframe-wrapper {
    height: 800px !important; /* Fixed height on desktop */
  }
}

/* Subtle pulse animation when button first appears - Apple-style attention grabber */
@keyframes button-appear-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Apply pulse animation only when button becomes visible */
.sticky-button-visible .checkout-continue-btn {
  animation: button-appear-pulse 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

@media (max-width: 767.98px) {
  .checkout-continue-btn {
    /* Match arrow yellow theme for cohesive UX */
    background: #fee008 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    /* Enhanced mobile button sizing - Full width, Apple-style */
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    padding: clamp(0.95rem, 2.5vh, 1.1rem) clamp(2rem, 5vw, 2.5rem) !important;
    min-height: 54px;
    width: calc(100% - 2rem) !important; /* Full width minus margins */
    max-width: 500px; /* Prevent excessive width on large phones */
    margin: 0 auto !important;
    border-radius: 16px !important; /* Apple-style rounded corners */
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 20px rgba(254, 224, 8, 0.35) !important;
    /* Better text rendering on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Yellow button hover state on mobile */
  .checkout-continue-btn:hover {
    background: #ffcd39 !important;
    box-shadow: 0 8px 24px rgba(254, 224, 8, 0.45) !important;
    transform: translateY(-2px) scale(1.02);
  }
  
  /* Yellow button active state */
  .checkout-continue-btn:active {
    background: #fee008 !important;
    box-shadow: 0 4px 16px rgba(254, 224, 8, 0.3) !important;
    transform: scale(0.98);
  }
  
  /* Ensure button container is full width */
  .row.mt-5.mb-5.pb-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .row.mt-5.mb-5.pb-3 .col-12 {
    padding: 0 !important;
  }
}

/* Tooltip trigger styling */
.tooltip-enhanced {
  position: relative;
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #6c757d;
  transition: color 0.2s ease;
}

.tooltip-enhanced:hover {
  color: #0b70b8;
  text-decoration-color: #0b70b8;
}

/* Tooltip popup - DOM element appended to body */
.tooltip-popup {
  position: fixed;
  z-index: 10000;
  background: white;
  color: #374151;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  max-width: 320px;
  width: max-content;
}

.tooltip-popup.visible {
  opacity: 1;
  visibility: visible;
}

/* Desktop tooltip */
@media (min-width: 768px) {
  .tooltip-popup {
    max-width: 340px;
  }
}

/* Mobile tooltip - overlay style */
@media (max-width: 767.98px) {
  .tooltip-popup {
    max-width: calc(100vw - 2rem);
    padding: 16px 20px;
    font-size: 12px;
  }
  
  .tooltip-popup.visible {
    backdrop-filter: blur(2px);
  }
}


/* Price Bottom Row - Fully Responsive Layout */
.price-bottom-row {
  display: flex;
  flex-direction: column;
  /* Dynamic gap that scales with viewport */
  gap: clamp(0.5rem, 1vh, 0.85rem);
  /* Fluid margins */
  margin: clamp(10px, 1.5vh, 12px) 0 clamp(6px, 1vh, 8px) 0;
  /* Fluid padding */
  padding: clamp(10px, 1.5vh, 12px) 0 0;
  border-top: 2px solid #f1f5f9;
}

.price-badge-wrapper {
  /* Dynamic min-height that adapts to content */
  min-height: clamp(24px, 3vh, 32px);
  display: flex;
  align-items: center;
  /* Allow wrapping if needed */
  flex-wrap: wrap;
}

/* Price Final - Enhanced Fluid Typography - ALWAYS VISIBLE */
.price-final {
  /* Improved fluid sizing with better min/max range */
  font-size: clamp(1.35rem, 3vw + 0.5rem, 2rem);
  font-weight: 800;
  color: #1f2937;
  line-height: 1.1;
  /* Allow wrapping on very small screens */
  white-space: normal;
  word-wrap: break-word;
  align-self: flex-end;
  /* Ensure visibility */
  overflow: visible;
  /* CRITICAL: Always display on all devices */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Group Badge Container - Flexible Layout */
.group-badge-container {
  display: flex;
  flex-wrap: wrap;
  /* Fluid gap */
  gap: clamp(0.4rem, 0.8vw, 0.6rem);
  align-items: center;
}

/* Group Badge Enhanced - Responsive Sizing */
.group-badge-enhanced {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
  /* Dynamic padding */
  padding: clamp(5px, 1vw, 6px) clamp(10px, 2vw, 12px);
  border-radius: clamp(16px, 3vw, 20px);
  /* Fluid font size */
  font-size: clamp(0.65rem, 1.2vw + 0.1rem, 0.75rem);
  font-weight: 600;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.5vw, 4px);
  white-space: nowrap;
}

/* Package Select Button - Fully Responsive */
[data-package-select] {
  width: 100%;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  border-width: 2px;
  /* Dynamic padding and font size */
  padding: clamp(0.5rem, 1.5vh, 0.65rem) clamp(0.85rem, 2vw, 1.25rem);
  font-size: clamp(0.85rem, 1.5vw + 0.2rem, 1rem);
  /* Ensure button is always clickable */
  min-height: 40px;
  /* Ensure text wraps if needed */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.3;
}

[data-package-select]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-package-select]:active {
  transform: translateY(0);
}

/* Group Badge Perfect - Responsive Highlight Badge */
.group-badge-perfect {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  /* Dynamic padding */
  padding: clamp(5px, 1vw, 6px) clamp(10px, 2vw, 12px);
  border-radius: clamp(16px, 3vw, 20px);
  /* Fluid font size */
  font-size: clamp(0.65rem, 1.2vw + 0.1rem, 0.75rem);
  font-weight: 700;
  border: 1px solid #f59e0b;
  box-shadow: 0 2px 4px rgba(245,158,11,0.2);
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.5vw, 4px);
  white-space: nowrap;
}

/* Price Superscript - Responsive Sizing */
.price-final sup {
  /* Enhanced fluid sizing */
  font-size: clamp(0.75rem, 1.8vw + 0.2rem, 1.1rem);
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
}

/* Star Rating - Adaptive Icons */
.star-rating i {
  color: #ffc107;
  /* Fluid icon size */
  font-size: clamp(12px, 2vw, 14px);
  transition: transform 0.2s ease;
}

.package_container:hover .star-rating i {
  transform: scale(1.1);
}

/* Rating Count - Responsive Text */
.rating-count {
  /* Fluid font size */
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: #6c757d;
}

/* Private Event Modal Styles - Matching Brand Design */
.private-event-modal {
  background: #ffffff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  border: 2px solid #000 !important;
  font-family: "Noto Sans", sans-serif;
  max-height: calc(100vh - 40px);
  overflow: hidden;
}

.private-event-modal .modal-header {
  background: #ffffff;
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.people-icon-header {
  animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.05); 
    opacity: 0.9; 
  }
}

.private-event-modal .btn-close {
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-size: 1.2rem;
}

.private-event-modal .btn-close:hover {
  opacity: 1;
}

/* Brand styling for modal header - smaller version */
.logo-line-small {
  width: 2px !important;
  background-color: #000;
  height: 20px;
  margin-right: 0.7rem;
  flex-shrink: 0;
}

.brand-left-small {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #000;
  flex-shrink: 0;
}

.brand-right-small {
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.1;
  color: #000;
  margin-left: 0.7rem;
  flex-shrink: 0;
}

.brand-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-container {
  display: flex;
  align-items: center;
}

.private-event-modal .modal-body {
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Professional scroll animations */
.modal-content {
  animation: modal-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-slide-in {
  0% {
    transform: translateY(-20px) scale(0.98);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Primary button matching your design */
.private-hire-btn {
  background: #fee008 !important;
  border-color: #fee008 !important;
  color: #000 !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  border: 2px solid #000;
}

.private-hire-btn:hover {
  background: #ffcd39 !important;
  border-color: #000 !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 224, 8, 0.4);
}

.private-event-modal .btn-outline-dark {
  border-color: #000;
  color: #000;
  background: transparent;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border-width: 2px;
}

.private-event-modal .btn-outline-dark:hover {
  background-color: #000;
  border-color: #000;
  color: #fff;
  transform: translateY(-1px);
}

/* Modal animation matching your slide-in style */
#privateEventModal.fade .modal-dialog {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform: translate(0, -30px) scale(0.95);
  opacity: 0;
}

#privateEventModal.show .modal-dialog {
  transform: translate(0, 0) scale(1);
  opacity: 1;
}

/* Responsive adjustments - maintain desktop layout */
@media (max-width: 576px) {
  .private-event-modal {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
  
  .private-event-modal .modal-header {
    padding: 1rem 1rem 0.75rem 1rem;
  }
  
  .private-event-modal .modal-body {
    padding: 0.5rem 1rem 1rem 1rem;
  }
  
  .private-event-modal .modal-body p {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Scale down but maintain exact desktop layout */
  .brand-left-small {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    flex-shrink: 0;
  }
  
  .brand-right-small {
    font-size: 0.55rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    margin-left: 0.5rem;
    flex-shrink: 0;
  }
  
  .logo-line-small {
    width: 2px !important;
    background-color: #000;
    height: 16px;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  
  .brand-inner {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  
  .brand-container {
    display: flex !important;
    align-items: center !important;
  }
  
  .people-icon-header {
    font-size: 1.4rem !important;
  }
  
  /* Consistent button sizing */
  .private-hire-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .private-event-modal .btn-outline-dark {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .private-event-modal .d-grid {
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .private-event-modal {
    margin: 0.25rem;
    max-width: calc(100vw - 0.5rem);
    max-height: calc(100vh - 1rem);
  }
  
  .private-event-modal .modal-header {
    padding: 0.75rem 0.75rem 0.5rem 0.75rem;
  }
  
  .private-event-modal .modal-body {
    padding: 0.25rem 0.75rem 0.75rem 0.75rem;
  }
  
  /* Further scale down but maintain layout */
  .brand-left-small {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    flex-shrink: 0;
  }
  
  .brand-right-small {
    font-size: 0.45rem;
    font-weight: 400;
    line-height: 1.1;
    text-align: left;
    margin-left: 0.4rem;
    flex-shrink: 0;
  }
  
  .logo-line-small {
    width: 2px !important;
    background-color: #000;
    height: 12px;
    margin-right: 0.4rem;
    flex-shrink: 0;
  }
  
  .brand-inner {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  
  .brand-container {
    display: flex !important;
    align-items: center !important;
  }
  
  .people-icon-header {
    font-size: 1.2rem !important;
  }
  
  /* Consistent button sizing for smallest screens */
  .private-hire-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .private-event-modal .btn-outline-dark {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
  }
}

/* Ensure modal is always scrollable and accessible */
@media (max-height: 600px) {
  .private-event-modal {
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }
  
  .private-event-modal .modal-header {
    padding: 0.5rem;
  }
  
  .private-event-modal .modal-body {
    padding: 0.25rem 0.5rem 0.5rem 0.5rem;
  }
  
  .brand-left-small {
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  
  .brand-right-small {
    font-size: 0.35rem;
    margin-left: 0.3rem;
    flex-shrink: 0;
  }
  
  .logo-line-small {
    margin-right: 0.3rem;
    flex-shrink: 0;
  }
  
  .brand-inner {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  
  .people-icon-header {
    font-size: 1rem !important;
  }
}


/* Room page loading skeleton animations */
.loading-skeleton {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 200%;
    animation: skeleton-shimmer 2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

.skeleton-text {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-title { height: 24px; width: 60%; }
.skeleton-subtitle { height: 16px; width: 80%; }
.skeleton-room-title { height: 32px; width: 70%; margin-top: 12px; }
.skeleton-price { height: 20px; width: 40%; }
.skeleton-description { height: 14px; width: 90%; }
.skeleton-description:last-of-type { width: 60%; }
.skeleton-button { height: 40px; width: 120px; border-radius: 20px; margin-top: 16px; }
.skeleton-badge { height: 24px; width: 80px; border-radius: 12px; margin-bottom: 12px; }
.skeleton-capacity { height: 60px; width: 100px; border-radius: 8px; }

.retry-button { transition: all 0.2s ease; }
.retry-button:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }

@keyframes gentle-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }

