﻿/* =========================================================
   HOLIDAY SEARCH / TRAVELLER
   ========================================================= */

.holiday-traveller-popup {
    width: 420px;
    right: 0;
    left: auto;
    top: 65px;
    z-index: 1005;
}

    .holiday-traveller-popup .rmsGst__body {
        padding: 18px 24px 8px;
    }

    .holiday-traveller-popup .rmsGst__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
    }

    .holiday-traveller-popup .counter {
        display: inline-flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }

    .holiday-traveller-popup .counter__button {
        width: 38px;
        height: 38px;
        border: 0;
        background: #fff;
        cursor: pointer;
        font-size: 20px;
        color: #555;
    }

    .holiday-traveller-popup .counter__value {
        min-width: 38px;
        text-align: center;
        font-size: 16px;
        font-weight: 700;
    }

    .holiday-traveller-popup .rmsGst__footer {
        padding: 14px 24px;
        border-top: 1px solid #eee;
    }

    .holiday-traveller-popup .btnApplyNew {
        min-width: 126px;
        height: 42px;
        border-radius: 22px;
    }


/* =========================================================
   HOLIDAY ROOMS & GUESTS
   ========================================================= */

#holidayTravellerTrigger {
    position: relative;
}

#holidayTravellerPopup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: 360px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    z-index: 9999;
    overflow: hidden;
}

    #holidayTravellerPopup .rmsGst__body {
        padding: 20px;
        background: #fff;
    }

    #holidayTravellerPopup .rmsGst__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        padding: 8px 0;
    }

        #holidayTravellerPopup .rmsGst__row p {
            margin: 0;
        }

        #holidayTravellerPopup .rmsGst__row .font14 {
            font-size: 14px;
            line-height: 20px;
        }

        #holidayTravellerPopup .rmsGst__row .font12 {
            margin-top: 3px;
            font-size: 12px;
            line-height: 16px;
        }

    #holidayTravellerPopup .counter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    #holidayTravellerPopup .counter__button {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #008cff;
        border-radius: 50%;
        background: #fff;
        color: #008cff;
        cursor: pointer;
        font-size: 20px;
        line-height: 1;
    }

    #holidayTravellerPopup .counter__icon {
        width: 16px;
        height: 16px;
    }

    #holidayTravellerPopup .counter__value {
        min-width: 20px;
        text-align: center;
        font-size: 16px;
        font-weight: 700;
        line-height: 32px;
        color: #222;
    }

    #holidayTravellerPopup .rmsGst__footer {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 14px 20px;
        border-top: 1px solid #eee;
        background: #fff;
    }

    #holidayTravellerPopup .btnApplyNew {
        min-width: 90px;
        height: 36px;
        padding: 0 18px;
        border: 0;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
        font-weight: 700;
    }

    #holidayTravellerPopup .rmsGst__row > div:first-child {
        flex: 1;
    }

    #holidayTravellerPopup .rmsGst__row > .counter {
        flex-shrink: 0;
    }


/* =========================================================
   HOLIDAY FIELD TEXT
   ========================================================= */

#holidayTravellerTrigger .holiday-hidden-input {
    display: none;
}

#holidayTravellerTrigger .holiday-main-value,
#holidayTravellerTrigger .holiday-sub-text {
    margin: 0;
}


/* =========================================================
   HOLIDAY SEARCH BAR
   ========================================================= */

.holiday-search-row .lbl_input {
    display: block;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: #666;
    margin-bottom: 2px;
}

.holiday-search-row .holiday-field {
    padding-top: 10px;
    padding-bottom: 10px;
}

.holiday-search-row .holiday-from-field,
.holiday-search-row .holiday-to-field,
.holiday-search-row .holiday-date-field,
.holiday-search-row .holiday-guests-field {
    padding-left: 18px;
}

.holiday-search-row #holidayFromCity,
.holiday-search-row #holidayDestination {
    display: block;
    width: 100%;
    height: 32px;
    padding: 0;
    margin: 3px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: #111;
    letter-spacing: -.3px;
}

    .holiday-search-row #holidayDestination::placeholder {
        font-size: 13px;
        line-height: 18px;
        font-weight: 600;
        color: #666;
        opacity: 1;
    }

.holiday-search-row .holiday-from-field .holiday-sub-text,
.holiday-search-row .holiday-guests-field .holiday-sub-text {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 18px;
    color: #555;
}

.holiday-search-row .holiday-date-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 3px 0 0;
    padding: 0;
    color: #111;
    line-height: 30px;
}

.holiday-search-row #holidayDay {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

.holiday-search-row #holidayMonth,
.holiday-search-row #holidayYear {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

.holiday-search-row #holidayWeekday {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 18px;
    color: #666;
}

.holiday-search-row .holiday-guests-field .holiday-main-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 3px 0 0;
    padding: 0;
    font-size: 17px;
    line-height: 30px;
    font-weight: 500;
    color: #111;
}

.holiday-search-row .holiday-guests-field .holiday-big-number {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

.holiday-search-row .fsw_inputField,
.holiday-search-row .holiday-field input:focus {
    box-shadow: none;
    border: none;
    outline: none;
    background: transparent;
}

.holiday-suggestions .holiday-suggestion-item {
    font-size: 14px;
    font-weight: 500;
}

.holiday-suggestion-item {
    padding: 11px 14px;
    background: #fff;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

    .holiday-suggestion-item:hover {
        background: #f5f5f5;
    }


/* =========================================================
   HOLIDAY PACKAGE SECTION
   ========================================================= */

main.holiday-promo-content {
    width: 100%;
    max-width: none;
    margin: 18px 0 35px;
    padding: 0;
    box-sizing: border-box;
}

.holiday-api-packages {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 30px 30px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0;
    border: 0;
    box-shadow: 0 3px 16px rgba(0,0,0,.08);
    overflow: hidden;
}


    /* =========================================================
   SECTION HEADER
   ========================================================= */

    .holiday-api-packages .holiday-promo-heading {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 18px;
    }

        .holiday-api-packages .holiday-promo-heading h2 {
            margin: 0;
            font-size: 29px;
            line-height: 35px;
            font-weight: 800;
            color: #111;
        }

        .holiday-api-packages .holiday-promo-heading p {
            margin: 3px 0 0;
            font-size: 15px;
            line-height: 20px;
            color: #777;
        }


    /* =========================================================
   ARROWS
   ========================================================= */

    .holiday-api-packages .holiday-slider-arrows {
        display: flex;
        gap: 10px;
    }

        .holiday-api-packages .holiday-slider-arrows button {
            width: 44px;
            height: 44px;
            min-width: 44px;
            padding: 0;
            border: 1px solid #e6e6e6;
            border-radius: 50%;
            background: #fff;
            color: #008cff;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0,0,0,.08);
            transition: all .2s ease;
        }

            .holiday-api-packages .holiday-slider-arrows button:hover {
                background: #008cff;
                color: #fff;
                border-color: #008cff;
                transform: translateY(-2px);
            }


    /* =========================================================
   PACKAGE GRID
   ========================================================= */

    .holiday-api-packages .holiday-api-slider-wrapper {
        width: 100%;
        overflow: visible;
        position: relative;
        box-sizing: border-box;
    }

    .holiday-api-packages .holiday-api-slider-track {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px;
        align-items: stretch;
        box-sizing: border-box;
    }


    /* =========================================================
   PACKAGE CARD
   ========================================================= */

    .holiday-api-packages .holiday-api-card {
        width: 100%;
        min-width: 0;
        height: 286px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        overflow: hidden;
        background: #fff;
        border: 1px solid #e2e5e9;
        border-radius: 12px;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 2px 7px rgba(0,0,0,.07);
        transition: transform .25s ease, box-shadow .25s ease;
    }

        .holiday-api-packages .holiday-api-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0,0,0,.13);
        }


/* =========================================================
   CARD IMAGE
   ========================================================= */

.holiday-api-card-image {
    position: relative;
    width: 100%;
    height: 158px;
    min-height: 158px;
    flex: 0 0 158px;
    overflow: hidden;
    background: #edf1f5;
}

    .holiday-api-card-image img {
        width: 100%;
        height: 158px;
        display: block;
        object-fit: cover;
        margin: 0;
        padding: 0;
        transition: transform .45s ease;
    }

.holiday-api-card:hover .holiday-api-card-image img {
    transform: scale(1.06);
}

.holiday-api-card-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55px;
    background: linear-gradient(to top, rgba(0,0,0,.32), transparent);
    pointer-events: none;
}


/* =========================================================
   BADGES
   ALL BADGES RED
   ========================================================= */

.holiday-api-card-image::before {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    padding: 5px 11px;
    border-radius: 16px;
    color: #fff;
    background: #E4262C;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    box-shadow: 0 2px 7px rgba(0,0,0,.18);
}


/* Badge names */

.holiday-api-card:nth-child(1) .holiday-api-card-image::before {
    content: "Best Seller";
}

.holiday-api-card:nth-child(2) .holiday-api-card-image::before {
    content: "Family Favourite";
}

.holiday-api-card:nth-child(3) .holiday-api-card-image::before {
    content: "Trending";
}

.holiday-api-card:nth-child(4) .holiday-api-card-image::before {
    content: "Nature";
}

.holiday-api-card:nth-child(5) .holiday-api-card-image::before {
    content: "Luxury";
}

.holiday-api-card:nth-child(6) .holiday-api-card-image::before {
    content: "Offbeat";
}

.holiday-api-card:nth-child(7) .holiday-api-card-image::before {
    content: "Spiritual";
}

.holiday-api-card:nth-child(8) .holiday-api-card-image::before {
    content: "Popular";
}

.holiday-api-card:nth-child(9) .holiday-api-card-image::before {
    content: "Couples";
}

.holiday-api-card:nth-child(10) .holiday-api-card-image::before {
    content: "International";
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.holiday-api-card-content {
    width: 100%;
    height: 128px;
    min-height: 128px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 10px 12px 11px;
}

    .holiday-api-card-content h3 {
        width: 100%;
        height: 20px;
        min-height: 20px;
        max-height: 40px;
        margin: 0 0 6px;
        padding: 0;
        font-size: 15px;
        line-height: 20px;
        font-weight: 700;
        color: #151515;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

.holiday-api-price {
    margin: auto 0 5px;
    padding: 0;
}

.holiday-api-price-label {
    display: block;
    margin: 0 0 1px;
    font-size: 9px;
    line-height: 12px;
    color: #777;
}

.holiday-api-price strong {
    display: block;
    margin: 0;
    font-size: 18px;
    line-height: 21px;
    font-weight: 800;
    color: #111;
}

.holiday-api-view-details {
    width: 100%;
    margin: 0;
    padding: 6px 0 0;
    border-top: 1px solid #ededed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    box-sizing: border-box;
    color: #E4262C !important;
    font-size: 11px;
    line-height: 15px;
    font-weight: 700;
}

    .holiday-api-view-details span {
        font-size: 14px;
        transition: transform .2s ease;
    }

.holiday-api-card:hover .holiday-api-view-details span {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.holiday-api-empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .holiday-api-packages {
        padding: 22px 20px 25px;
    }

        .holiday-api-packages .holiday-api-slider-track {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
        }
}

@media (max-width: 800px) {

    .holiday-api-packages .holiday-api-slider-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .holiday-traveller-popup {
        width: min(420px, calc(100vw - 32px));
        right: 0;
    }

    main.holiday-promo-content {
        margin: 12px 0 25px;
    }

    .holiday-api-packages {
        padding: 18px 12px 20px;
    }

        .holiday-api-packages .holiday-promo-heading h2 {
            font-size: 21px;
            line-height: 27px;
        }

        .holiday-api-packages .holiday-api-slider-track {
            grid-template-columns: repeat(2, minmax(0,1fr));
            gap: 10px;
        }

        .holiday-api-packages .holiday-api-card {
            height: 255px;
        }

    .holiday-api-card-image {
        height: 135px;
        min-height: 135px;
        flex-basis: 135px;
    }

        .holiday-api-card-image img {
            height: 135px;
        }

    .holiday-api-card-content {
        height: 120px;
        min-height: 120px;
        padding: 8px;
    }

        .holiday-api-card-content h3 {
            font-size: 13px;
            line-height: 17px;
        }

    .holiday-api-price strong {
        font-size: 15px;
    }
}
