/*
Theme Name:     Traveler Childtheme
Description:    Traveler Child Theme
Theme URI:      https://travelerwp.com/
Author:         the ShineTheme
Author URI:     http://shinetheme.com
Version:        1.0
Template:       traveler
*/

@font-face {
    font-family: 'SF Pro Display';
    src: url('/wp-content/themes/traveler-childtheme/fonts/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/wp-content/themes/traveler-childtheme/fonts/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/wp-content/themes/traveler-childtheme/fonts/sf-pro-display/SFPRODISPLAYLIGHTITALIC.OTF') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/wp-content/themes/traveler-childtheme/fonts/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: medium;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/wp-content/themes/traveler-childtheme/fonts/sf-pro-display/SFPRODISPLAYSEMIBOLDITALIC.OTF') format('opentype');
    font-weight: medium;
    font-style: italic;
}

body {
    font-family: 'SF Pro Display', sans-serif;
}

h1,
h2,
h3,
h4,
p,
ul,
a,
button,
div,
span {
    font-family: 'SF Pro Display', sans-serif !important;
}


/* Home page Hero Section Hotel Search */
.ab-form {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 20px;
}

.ab-form .ab-search-bar {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    display: flex;
    gap: 20px;
}

.ab-hotels-wrapper form .ab-group {
    display: flex;
}

.ab-group {
    background: #0b3c490a;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}


.ab-form .ab-label {
    font-weight: bold;
    font-size: 18px;
    color: #0B3C49;
}

.ab-form .ab-input {
    background-color: transparent;
    border: none;
    outline: none;
    width: 100%;
}

.ab-form .ab-input::placeholder {
    color: #76807E;
    font-size: 12px;
}

.ab-form .ab-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 30px;
    color: #fff;
    background-color: #0B3C49;
    font-weight: bold;
}

@media(max-width: 1024px) {
    .ab-search-bar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .ab-group {
        width: 31%;
    }

}

@media(max-width: 767px) {

    .ab-group {
        width: 47%;
    }

}

@media(max-width: 410px) {

    .ab-group {
        width: 100%;
    }

}



/* Tour Categories Shortcode styling */

/* Gird Setting */
.qv-tour-categories.qv-tour-cat-home {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}



@media(max-width: 1024px) {
    .qv-tour-categories.qv-tour-cat-home {

        grid-template-columns: repeat(3, 1fr);
    }
}


@media(max-width: 767px) {
    .qv-tour-categories.qv-tour-cat-home {

        grid-template-columns: repeat(2, 1fr);
    }
}



/* For full page grid setting start */
.qv-tour-cat-separate-page {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 2 equal columns by default */
    gap: 16px;
    /* Adjust gap between grid items as needed */
}

.qv-tour-cat-separate-page>*:nth-child(1),
.qv-tour-cat-separate-page>*:nth-child(2) {
    grid-column: span 3;
    /* The first two items will be in their own column */
}

.qv-tour-cat-separate-page>*:nth-child(3) {
    grid-column: span 6;
    /* The third item spans both columns (full width) */
}

.qv-tour-cat-separate-page>*:nth-child(4),
.qv-tour-cat-separate-page>*:nth-child(5),
.qv-tour-cat-separate-page>*:nth-child(6) {
    grid-column: span 2;
    /* These 3 items will each take up 1 column */
}

.qv-tour-cat-separate-page>*:nth-child(7) {
    grid-column: span 6;
    /* The 7th item spans both columns (full width) */
}

.qv-tour-cat-separate-page>*:nth-child(n+8) {
    grid-column: span 3;
    /* All items after the 7th will be in 1 column */
}

.qv-tour-cat-separate-page>*:nth-child(n+8):nth-child(odd) {
    grid-column: span 6;
    /* Odd numbered items (8th, 10th, 12th, etc.) will go in one column */
}

.qv-tour-cat-separate-page>*:nth-child(n+8):nth-child(even) {
    grid-column: span 3;
    /* Even numbered items (9th, 11th, 13th, etc.) will go in one column and take up full width */
}

.qv-tour-cat-separate-page .qv-tour-category {
    height: 280px;
    /* aspect-ratio: auto; */
}

@media(max-width: 767px) {
    .qv-tour-cat-separate-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(1),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(4),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(7),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(10),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(13),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(16),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(19),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(22),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(25),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(28),
    .qv-tour-cat-separate-page a.qv-tour-category:nth-child(31) {
        grid-column: span 2;
    }

    .qv-tour-cat-separate-page a.qv-tour-category {
        grid-column: span 1;
    }


}


/* For full page grid setting end */


.qv-tour-categories a.qv-tour-category {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.qv-tour-categories.qv-tour-cat-home a.qv-tour-category {
    /* aspect-ratio: 4/5; */
    min-height: 250px;
}


.qv-tour-categories .qv-tour-category h4 {
    color: #fff;
    font-size: 28px;
    font-weight: medium;
    text-align: center;
}

.tour_cat_count {
    font-size: .7em;
}

.qv-tour-categories.qv-tour-cat-home h4{
	font-size: 18px;
}


/* FAQS Accordion */
.e-n-accordion-item {
    border-radius: 10px;
    overflow: hidden;
    background: #0B3C490A;
}


/*
* Tours display shortcode styles start
*
*/

.qv-tours-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.qv-tours-wrap.style-2 {
    grid-template-columns: repeat(2, 1fr);
}

.qv-tour-item {
    min-height: 320px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    padding: 20px;
    border-radius: 20px;

}

.qv-tour-item.item-style-2 {

    min-height: 350px;
    justify-content: space-between;

}


.qv-tour-content h3 a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.qv-tag-nd-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 15px;
}

.qv-tour-tag {
    background-color: #fff;
    color: #0B3C49;
    text-align: center;
    border-radius: 10px;
    padding: 6px 8px;
}

.qv-tour-location {
    margin-bottom: 15px;
    font-size: 14px;
}

.qv-tour-price {
    color: #57DDDF;
    font-weight: bold;
    margin: 5px 0 10px;
    font-size: 15px;
}

.qv-tour-price .qv-from {
    font-size: 12px;
}

.qv-btn {
    display: block;
    width: 100%;
    background-color: transparent;
    border: 1px solid #57DDDF;
    color: #fff;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}

.qv-btn:hover {
    background: #57DDDF;
    color: #fff;

}

.qv-tour-item .offer-label {
    background-color: #DE1C39;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;

}

@media(max-width: 1024px) {

    .qv-tours-wrap {
        grid-template-columns: repeat(2, 1fr);
    }


}


@media(max-width: 767px) {

    .qv-tours-wrap.style-2,
    .qv-tours-wrap {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .qv-tour-item {
        min-height: 380px;

    }


}


/*
* Tours display shortcode styles end
*
*/

/* Footer Updates form */
.footerUpdatesForm .elementor-form-fields-wrapper {
    flex-wrap: nowrap;
}

/* Header */
.qv-header-wraper {
    padding: 0;
}

@media(min-width: 1025px) {

    .qv-header-wraper .menu-item:hover:after,
    .qv-header-wraper .current-menu-item:after {
        content: "" !important;
        width: 100% !important;
        height: 6px !important;
        position: absolute !important;
        background: #0B3C49 !important;
        border-radius: 6px 6px 0 0 !important;
        bottom: -10px;

    }
}

/* Header Translator */
.gtranslate-header select.gt_selector {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #0B3C49;
    width: 94px;
}


@media(max-width: 767px) {

    /* Header */
    .qv-header-wraper {
        padding: 18px;
    }


}

.translator-mobile,
.contact-mobile {
    display: none !important;
}

@media(max-width: 1024px) {

    .translator-mobile,
    .contact-mobile {
        display: list-item !important;
    }

    li.translator-mobile {
        border-top: 2px solid #0B3C49 !important;
        padding-bottom: 10px !important;
    }

    .translator-mobile select.gt_selector {
        background: transparent;
        border: none;
        font-size: 14px;
        color: #75807e;
        /* width: 94px; */
        font-weight: 700;
        padding-left: 19px;
        margin-bottom: 5px;
        margin-top: 5px;
    }
}


/* Locations style */
.qv-locations-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "first second"
        "first third";
    margin-bottom: 10px;
}

.qv-locations-row:nth-child(even) .qv-location-card:nth-child(1) {

    height: 250px;
}

.qv-location-card:nth-child(1) {
    grid-area: first;
    height: 517px;
}

.qv-location-card:nth-child(2) {
    grid-area: second;
}

.qv-location-card:nth-child(3) {
    grid-area: third;
}


.qv-locations-row:nth-child(even) {

    grid-template-areas:
        "second first"
        "third first";
    margin-bottom: 10px;
}

.qv-locations-row:nth-child(even) .qv-location-card:nth-child(3) {
    grid-area: first;
    height: 517px;
}

.qv-locations-row:nth-child(even) .qv-location-card:nth-child(2) {
    grid-area: second;
}

.qv-locations-row:nth-child(even) .qv-location-card:nth-child(1) {
    grid-area: third !important;
}


.qv-location-card {
    position: relative;
    height: 250px;
    margin: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qv-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.qv-location-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: end;
    padding-bottom: 30px;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.qv-location-card:hover .qv-location-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.qv-location-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
}

@media(max-width: 767px) {

    .qv-locations-row,
    .qv-locations-row:nth-child(even) {

        grid-template-areas:
            "first first"
            "second third";
        margin-bottom: 10px;
    }


    .qv-locations-row:nth-child(even) .qv-location-card:nth-child(1),
    .qv-location-card:nth-child(1) {
        grid-area: first !important;
        height: 250px !important;
    }

    .qv-locations-row:nth-child(even) .qv-location-card:nth-child(2),
    .qv-location-card:nth-child(2) {
        grid-area: second !important;
        height: 250px !important
    }

    .qv-locations-row:nth-child(even) .qv-location-card:nth-child(3),
    .qv-location-card:nth-child(3) {
        grid-area: third !important;
        height: 250px !important;
    }


}



/* Single Tour/hotel Start */

.qv-single-hotel-form .elementor-form-fields-wrapper {
    gap: 10px;
}

.qv-single-hotel-form .elementor-field-group-guests,
.qv-single-hotel-form .elementor-field-group-checkin,
.qv-single-hotel-form .elementor-field-group-stay,
.qv-single-hotel-form .elementor-field-group-checkout {
    /* width: calc(50% - 50px); */
    padding-left: 50px !important;
    background: #fff;
    border-radius: 10px;
    width: 48%
}

.qv-single-hotel-form input[type="text"],
.qv-single-hotel-form input[type="number"] {
    border: none;
}

.qv-single-hotel-form label {
    position: relative;
    left: -27px;
    top: 8px;
    font-size: 18px;
    color: #0B3C49 !important;
    font-weight: 600px !important;
}


.qv-single-hotel-form .elementor-field-group-guests::before,
.qv-single-hotel-form .elementor-field-group-checkin::before,
.qv-single-hotel-form .elementor-field-group-stay::before,
.qv-single-hotel-form .elementor-field-group-checkout::before {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.qv-single-hotel-form .elementor-field-group-checkout::before,
.qv-single-hotel-form .elementor-field-group-checkin::before {
    content: url('/wp-content/themes/traveler-childtheme/assets/calander-icon.svg');
}

.qv-single-hotel-form .elementor-field-group-guests::before {
    content: url('/wp-content/themes/traveler-childtheme/assets/users-icon.svg');
}

.qv-single-hotel-form .elementor-field-group-stay::before {
    content: url('/wp-content/themes/traveler-childtheme/assets/icon-room.svg');
}


@media(max-width: 510px) {

    .qv-single-hotel-form .elementor-field-group-guests,
    .qv-single-hotel-form .elementor-field-group-checkin,
    .qv-single-hotel-form .elementor-field-group-stay,
    .qv-single-hotel-form .elementor-field-group-checkout {
        width: 100%;
    }
}


/* Images Slider */
.qv-single-tour-img-slider .elementor-image-carousel-wrapper {
    height: auto;
}

.qv-thumbnails {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.qv-thumbnails .qv-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.qv-thumbnails .qv-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.qv-thumbnails .qv-thumbnail.active {
    border-color: #0073aa;
    /* Elementor primary color */
    opacity: 1;
}


/* Tabs */

.qv-single-tour-tabs .e-n-tabs-heading {
    background-color: #0B3C490A;
    padding: 10px;
    border-radius: 100px;
}



/* Tabs - rooms */
.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.room-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.room-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.room-content {
    padding: 20px;
    color: #fff;
    width: 100%;
}

.room-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
}

.room-details {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px 0;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item svg {
    width: 14px;
    height: 14px;
    fill: #4ecdc4;
}

.room-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #0B3C49;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4ecdc4;
}

.qty-input {
    width: 40px;
    text-align: center;
    background: transparent;
    border: none;
    color: #0B3C49;
    font-size: 14px;
    font-weight: 600;
}

.book-btn {
    flex: 1;
    padding: 12px 24px;
    background: #4ecdc4;
    color: #2c3e50;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #45b8b0;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .room-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}


/* Facilities Section */
.qv-facilitites {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.qv-facility {
    background-color: #0B3C490A;
    padding: 10px 18px;
    color: #0B3C49;
    font-size: 14px;
    border-radius: 100px;
}



/* Single tour gallery */
.qv-tour-gallery-row:nth-child(odd) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "first second"
        "first third";
}

.qv-tour-gallery-item {
    height: 250px;
    padding: 10px;
}

.qv-tour-gallery:nth-child(odd) .qv-tour-gallery-item:nth-child(1) {
    grid-area: first;
    height: 517px;
}


.qv-tour-gallery:nth-child(odd) .qv-tour-gallery-item:nth-child(2) {
    grid-area: second;
}


.qv-tour-gallery:nth-child(odd) .qv-tour-gallery-item:nth-child(3) {
    grid-area: third;

}


.qv-tour-gallery .qv-tour-gallery-row:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "second first"
        "third first";
}


.qv-tour-gallery:nth-child(even) .qv-tour-gallery-item:nth-child(3) {
    grid-area: first;
    height: 517px;
}

.qv-tour-gallery:nth-child(even) .qv-tour-gallery-item:nth-child(1) {
    grid-area: second;
}

.qv-tour-gallery:nth-child(even) .qv-tour-gallery-item:nth-child(2) {
    grid-area: third;
}



@media(max-width: 767px) {

    .qv-tour-gallery-row {
        grid-template-rows: auto !important;
        grid-template-areas:
            "first first"
            "second third" !important;
    }

    .qv-tour-gallery-row .qv-tour-gallery-item:nth-child(1) {
        grid-area: first !important;
    }

    .qv-tour-gallery-row .qv-tour-gallery-item:nth-child(2) {
        grid-area: second !important;
    }


    .qv-tour-gallery-row .qv-tour-gallery-item:nth-child(3) {
        grid-area: third !important;
    }

    .qv-tour-gallery-row .qv-tour-gallery-item {
        height: 250px !important;
    }

}

/* Single tour reviews */
.qv-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.qv-reviews .qv-review-card {
    width: calc(50% - 10px);
    background-color: #0B3C490A;
    border-radius: 10px;
    padding: 20px
}

.qv-reviews .card-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.qv-review-card .user-info {
    display: flex;
    align-items: center;
    gap: 5px;
}


@media(max-width: 767px) {

    .qv-reviews .qv-review-card {
        width: calc(100%);
    }

}


.reviews-tab-pill {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.pill-review {
    background-color: #0B3C49;
    border-radius: 100px;
    padding: 10px 20px;
    color: #fff;
}

.pill-review.secondary {
    color: #0B3C49;
    background-color: #4ecdc4;
}

/* Single Tour/hotel End */