/* 1st Booking.com — Premium minimal date-range picker */
.date-range-calendar {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 430px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 13px 14px 12px !important;
    background: #fff !important;
    color: #102d3a !important;
    border: 1px solid rgba(198,166,106,.42) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 70px rgba(9,31,42,.24), 0 3px 12px rgba(9,31,42,.08) !important;
    z-index: 2147483000 !important;
}
.date-range-calendar[hidden] { display: none !important; }
.drp-header, .drp-footer { display: none !important; }
.drp-month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}
.drp-nav {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #e7ecee;
    border-radius: 50%;
    background: #fff;
    color: #102d3a;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: .18s ease;
}
.drp-nav:hover:not(:disabled) { background: #102d3a; color: #fff; border-color: #102d3a; }
.drp-nav:disabled { opacity: .28; cursor: not-allowed; }
.drp-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.drp-month-title {
    margin: 0 0 8px;
    color: #102d3a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.15px;
    text-align: center;
}
.drp-weekdays, .drp-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; }
.drp-weekdays span { padding: 5px 0; color: #89979d; font-size: 9px; font-weight: 800; }
.drp-day {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    margin: 1px auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #263d47;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background .16s ease,color .16s ease,box-shadow .16s ease;
}
.drp-day:not(:disabled):not(.is-start):not(.is-end):hover { background: #f5eddf; color: #102d3a; }
.drp-day.is-start, .drp-day.is-end {
    background: #102d3a;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(16,45,58,.2);
}
.drp-day.in-range { background: #f3ead9; color: #102d3a; border-radius: 0; }
.drp-day.is-start { border-radius: 50% 0 0 50%; }
.drp-day.is-end { border-radius: 0 50% 50% 0; }
.drp-day.is-start.is-end { border-radius: 50%; }
.drp-day.is-disabled { color: #d3dadd; cursor: not-allowed; }
.drp-day.drp-empty { pointer-events: none; }
.new-date-input { cursor: pointer; font-weight: 700 !important; }
.new-date-input[readonly] { caret-color: transparent; }
@media(max-width:520px) {
    .date-range-calendar { width: calc(100vw - 22px) !important; padding: 11px 8px !important; }
    .drp-months { gap: 5px; }
    .drp-day { width: 25px; height: 25px; font-size: 9px; }
    .drp-weekdays span { font-size: 8px; }
    .drp-month-title { font-size: 11px; }
}
@media(max-width:350px) {
    .drp-months { gap: 2px; }
    .drp-day { width: 22px; height: 23px; font-size: 8px; }
}

/* =========================================
   1STBOOKING MOBILE CALENDAR FIX
   Desktop styles remain unchanged
========================================= */

@media (max-width: 600px) {
    .date-range-calendar {
        position: fixed !important;
        top: auto !important;
        right: 11px !important;
        bottom: 12px !important;
        left: 11px !important;
        transform: none !important;

        width: auto !important;
        max-width: none !important;
        max-height: 78vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;

        padding: 12px 10px !important;
        border-radius: 14px !important;
        z-index: 2147483000 !important;
    }

    .drp-months {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px !important;
    }
}

