/* Bonvuyage custom overlays */

/* Homepage hero — match reference: image frame + overlay, text mid, search on bottom edge */
.banner.banner_2 {
    --hero-height: min(720px, 78vh);
    height: var(--hero-height) !important;
    min-height: 560px;
    margin-top: 80px;
    margin-bottom: 140px;
    overflow: visible;
    position: relative;
    z-index: 9;
}
.banner.banner_2 .banner_2_slider {
    position: absolute;
    inset: 0;
    height: 100% !important;
    overflow: hidden;
    z-index: 0;
}
.banner.banner_2 .banner_2_slider::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(4, 6, 24, 0.58) 0%, rgba(4, 6, 24, 0.34) 40%, rgba(4, 6, 24, 0.55) 100%);
}
.banner.banner_2 .banner_2_slider .banner_slider,
.banner.banner_2 .banner_2_slider .slick-list,
.banner.banner_2 .banner_2_slider .slick-track,
.banner.banner_2 .banner_2_slider .slick-slide,
.banner.banner_2 .banner_2_slider .slick-slide > div,
.banner.banner_2 .banner_2_slider .col-12,
.banner.banner_2 .banner_2_slider_item {
    height: 100% !important;
}
.banner.banner_2 .banner_2_slider_item {
    overflow: hidden;
}
.banner.banner_2 .banner_2_slider_item img,
.banner.banner_2 .banner_2_slide_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

/* Content: headline upper-mid; booking bar pinned to hero bottom edge */
.banner.banner_2 .banner_2_content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-top: 0 !important;
    z-index: 2;
    pointer-events: none;
}
.banner.banner_2 .banner_2_content .container,
.banner.banner_2 .banner_2_content .row,
.banner.banner_2 .banner_2_content .col-12 {
    height: 100% !important;
}
.banner.banner_2 .banner_2_content .container {
    width: 100%;
    pointer-events: auto;
}
.banner.banner_2 .banner_2_content .banner_text {
    height: 100% !important;
    width: 100%;
    padding-top: clamp(64px, 11vh, 110px) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.banner.banner_2 .banner_2_content .banner_aearch,
.banner.banner_2 .banner_2_content .tab-content,
.banner.banner_2 .banner_2_content .tab-pane,
.banner.banner_2 .banner_2_content form,
.banner.banner_2 .banner_2_content form ul,
.banner.banner_2 .banner_2_content form ul li {
    height: auto !important;
}

.banner.banner_2 .banner_text h5 {
    margin-bottom: 18px !important;
}
.banner.banner_2 .banner_text h1 {
    color: #fff !important;
    font-size: clamp(42px, 5.2vw, 72px) !important;
    line-height: 1.12 !important;
    max-width: 14ch !important;
    letter-spacing: -0.02em;
    margin: 0 auto !important;
    text-shadow: 0 2px 18px rgba(4, 6, 24, 0.35);
}

/* Booking widget: single-row bar (fields + Search on the right), like the theme reference */
.banner.banner_2 .banner_aearch {
    margin-top: auto !important;
    margin-bottom: -72px !important;
    width: 100%;
    max-width: 1200px;
    align-self: center;
    text-align: center;
    position: relative;
    z-index: 3;
}
.banner.banner_2 .banner_aearch .nav-pills {
    margin-top: 0 !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    padding: 18px 36px !important;
    border-radius: 14px 14px 0 0 !important;
    background: #e4e7eb !important;
    box-shadow: none !important;
}
.banner.banner_2 .banner_aearch .tab-content {
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 30px 60px rgba(10, 37, 64, 0.16) !important;
    overflow: hidden;
}
.banner.banner_2 .banner_aearch form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 18px 18px 18px 8px !important;
    margin-top: 0 !important;
    background: #fff !important;
    width: 100% !important;
    border-radius: 16px !important;
}
.banner.banner_2 .banner_aearch form ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.banner.banner_2 .banner_aearch form ul li {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    height: auto !important;
    position: relative;
}
.banner.banner_2 .banner_aearch form ul li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(4, 6, 24, 0.10);
}
.banner.banner_2 .banner_aearch form ul li .icon {
    width: 42px !important;
    min-width: 42px !important;
    height: auto !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #040618 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.banner.banner_2 .banner_aearch form ul li .icon img {
    width: 18px !important;
    height: auto !important;
}
.banner.banner_2 .banner_aearch form ul li .text {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
    border-left: 0 !important;
    padding-left: 10px !important;
}
.banner.banner_2 .banner_aearch form ul li .text h3 {
    text-align: left !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 2px !important;
    color: #040618 !important;
}
.banner.banner_2 .banner_aearch form ul li .text h3 span {
    color: rgba(4, 6, 24, 0.70) !important;
}
.banner.banner_2 .banner_aearch form ul li .text input {
    text-align: left !important;
    font-size: 13px !important;
    color: rgba(4, 6, 24, 0.65) !important;
    background: transparent !important;
    padding: 0 !important;
}
.banner.banner_2 .banner_aearch form > button.common_btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 118px !important;
    height: 64px !important;
    margin: 0 0 0 8px !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    align-self: center !important;
    text-transform: capitalize !important;
    font-weight: 600 !important;
}
.banner.banner_2 .banner_aearch form > button.common_btn > i {
    margin: 0 !important;
    width: auto !important;
    display: inline-block !important;
}
.banner.banner_2 .banner_aearch .adv_search_icon {
    display: none !important;
}

/* Slider arrows: mid-height of image, inset from edges */
.banner.banner_2 .nextArrow,
.banner.banner_2 .prevArrow {
    top: 42% !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    z-index: 4 !important;
}
.banner.banner_2 .nextArrow {
    right: clamp(16px, 4vw, 56px) !important;
}
.banner.banner_2 .prevArrow {
    left: clamp(16px, 4vw, 56px) !important;
    right: auto !important;
}

@media (max-width: 1399px) {
    .banner.banner_2 {
        --hero-height: min(640px, 75vh);
        margin-bottom: 150px;
    }
}
@media (max-width: 1199px) {
    .banner.banner_2 .banner_aearch {
        max-width: 960px;
    }
    .banner.banner_2 .banner_aearch form ul li .icon {
        width: 40px !important;
        min-width: 40px !important;
        font-size: 18px !important;
    }
    .banner.banner_2 .banner_aearch form > button.common_btn {
        min-width: 96px !important;
        padding: 14px 18px !important;
    }
}
@media (max-width: 991px) {
    .banner.banner_2 {
        --hero-height: min(560px, 70vh);
        min-height: 480px;
        margin-bottom: 280px;
    }
    .banner.banner_2 .banner_2_content .banner_text {
        padding-top: 48px !important;
    }
    .banner.banner_2 .banner_aearch {
        margin-bottom: -48px !important;
        max-width: 100%;
    }
    .banner.banner_2 .banner_aearch .nav-pills {
        gap: 18px !important;
        padding: 14px 18px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .banner.banner_2 .banner_aearch form {
        flex-wrap: wrap !important;
    }
    .banner.banner_2 .banner_aearch form ul {
        flex-wrap: wrap !important;
        width: 100% !important;
    }
    .banner.banner_2 .banner_aearch form ul li {
        flex: 1 1 calc(50% - 10px) !important;
        padding: 12px !important;
    }
    .banner.banner_2 .banner_aearch form ul li + li::before {
        display: none;
    }
    .banner.banner_2 .banner_aearch form > button.common_btn {
        width: 100% !important;
        margin: 8px 0 0 !important;
        height: 52px !important;
    }
    .banner.banner_2 .nextArrow,
    .banner.banner_2 .prevArrow {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .banner.banner_2 {
        --hero-height: 480px;
        min-height: 420px;
        margin-bottom: 320px;
    }
    .banner.banner_2 .banner_text h1 {
        max-width: 100% !important;
    }
    .banner.banner_2 .banner_aearch {
        margin-bottom: -24px !important;
    }
}
@media (max-width: 575px) {
    .banner.banner_2 {
        --hero-height: 420px;
        margin-bottom: 380px;
    }
}

/* The wordmark is ~5:1, far wider than the 135px slot the theme logo used,
   so the brand slots size by height instead of stretching to width. */
.main_menu .navbar-brand {
    width: auto;
    max-width: 200px;
    display: flex;
    align-items: center;
}
.main_menu .navbar-brand img {
    width: auto !important;
    max-width: 100%;
    height: 34px !important;
    object-fit: contain !important;
}
.footer_logo_area .footer_logo.brand_logo {
    width: auto;
    max-width: 220px;
}
.footer_logo_area .footer_logo.brand_logo img {
    width: auto !important;
    max-width: 100%;
    height: 40px !important;
    object-fit: contain !important;
}
@media (max-width: 575px) {
    .main_menu .navbar-brand {
        max-width: 150px;
    }
    .main_menu .navbar-brand img {
        height: 28px !important;
    }
}

/* Listing sidebar (destinations, trips, blog) */
/* Deliberately not named .sticky_sidebar: the theme's stickit plugin binds to
   that class and absolutely positions it, which breaks the stacked layout. */
.listing_sidebar {
    position: sticky;
    top: 100px;
}
.sidebar_blog ul {
    margin-top: 20px;
}
.sidebar_blog ul li .img {
    flex-shrink: 0;
}
.sidebar_blog ul li .img a {
    display: block;
    width: 100%;
    height: 100%;
}
.sidebar_blog_category ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.sidebar_blog_category ul li a.is_active {
    color: var(--colorPrimary);
    font-weight: 600;
}
.sidebar_count {
    background: rgba(4, 6, 24, 0.06);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    flex-shrink: 0;
}
.sidebar_view_all {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--colorPrimary);
}
.left_sidebar_wizard .sidebar_help_text {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 22px;
}

/* style.css forces `img { width/height: 100% !important }`, so every image needs
   a wrapper with a definite box or it inherits a nonsensical height. */
.detail_hero {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin-bottom: 30px;
    background: rgba(4, 6, 24, 0.06);
}

/* Listing cards keep a consistent crop regardless of source image ratio */
.listing_card {
    border: 1px solid rgba(4, 6, 24, 0.10);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow linear .3s;
}
.listing_card:hover {
    box-shadow: 0px 12px 24px 0px rgba(4, 6, 24, 0.08);
}
.listing_card_img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: rgba(4, 6, 24, 0.06);
}
.listing_card_img img {
    transition: transform linear .4s;
}
.listing_card:hover .listing_card_img img {
    transform: scale(1.06);
}
.listing_card_body {
    padding: 22px 24px 26px;
    flex-grow: 1;
}
.listing_card_body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 26px;
}
.listing_card_body h3 a {
    color: var(--colorBlack);
}
.listing_card_body h3 a:hover {
    color: var(--colorPrimary);
}
.listing_card_meta {
    color: var(--paraColor);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}
.listing_card_body p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
}
.listing_card_price {
    color: var(--colorPrimary);
    font-size: 18px;
    font-weight: 700;
    margin-top: 14px;
}

/* Ensure carousels have min height before JS init */
.owl-carousel:not(.owl-loaded) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.owl-carousel:not(.owl-loaded) > .common_card,
.owl-carousel:not(.owl-loaded) > .common_card_2 {
    flex: 1 1 300px;
    max-width: 100%;
}

/* Footer always visible */
footer.footer_2 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.newsletter-message { font-size: 14px; color: var(--colorPrimary, #0E77F3); }
.toast-container-portal {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}
.skeleton {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.2s ease-in-out infinite;
    border-radius: 8px;
    min-height: 16px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
img[loading="lazy"] { content-visibility: auto; }

/* Homepage advertisement slots (admin-managed images) */
.home_ads .container {
    max-width: 1320px;
}
.home_ad_slot {
    display: block;
    overflow: hidden;
    background: transparent;
    border-radius: 14px;
    box-shadow: none;
}
.home_ad_slot img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: inherit;
}
.home_ad_slot--square {
    aspect-ratio: 1 / 1;
    max-height: none;
    background: transparent;
}
.home_ad_slot--square img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
}
.home_ad_slot--leaderboard {
    aspect-ratio: 728 / 90;
}
.home_ad_slot--dual {
    aspect-ratio: 16 / 7;
}
.home_ads--leaderboard .home_ad_slot + .home_ad_slot {
    margin-top: 16px;
}
.home_ads_square {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.home_ads_dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.ads_section_heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
}
.ads_section_heading h2 {
    font-family: 'Great Vibes', cursive;
    color: var(--colorPrimary);
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}
.ads_heading_rule {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 88px;
    flex-shrink: 0;
}
.ads_heading_rule span {
    display: block;
    border-top: 2px dashed var(--colorPrimary);
}
@media (max-width: 991px) {
    .home_ads_square {
        grid-template-columns: repeat(2, 1fr);
    }
    .home_ad_slot--leaderboard {
        aspect-ratio: 6 / 1;
    }
    .ads_section_heading h2 {
        font-size: 36px;
    }
}
@media (max-width: 575px) {
    .home_ads_square,
    .home_ads_dual {
        grid-template-columns: repeat(2, 1fr);
    }
    .home_ads_dual {
        grid-template-columns: 1fr;
    }
    .home_ad_slot--leaderboard {
        aspect-ratio: 3 / 1;
    }
    .home_ad_slot--dual {
        aspect-ratio: 16 / 9;
    }
    .ads_heading_rule {
        width: 48px;
    }
    .ads_section_heading h2 {
        font-size: 30px;
    }
}
.admin-search-suggestions {
    position: absolute;
    z-index: 50;
    background: #fff;
    border: 1px solid #e5e5e5;
    width: 100%;
    max-height: 320px;
    overflow: auto;
}
.admin-search-suggestions a {
    display: block;
    padding: 10px 14px;
    color: #222;
    text-decoration: none;
}
.admin-search-suggestions a:hover { background: #f5f8ff; }

/* Navbar Search stays pill-shaped on every page (not only .home_2) */
.main_menu .right_menu .common_btn {
    border-radius: 50px !important;
}

/* Navbar: hide theme language-select globe on first right_menu item */
.main_menu .right_menu > li:first-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    padding-left: 0;
}
.main_menu .right_menu > li:first-child::after,
.main_menu_2 .right_menu > li:first-child::after {
    display: none !important;
    content: none !important;
}
.main_menu .right_menu > li + li {
    margin-left: 12px;
}
.main_menu_2 .right_menu li .common_btn_login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}
.main_menu_2 .right_menu li .common_btn_login:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.main_menu.menu_fix .right_menu li .common_btn_login,
.main_menu:not(.main_menu_2) .right_menu li .common_btn_login {
    border-color: rgba(4, 6, 24, 0.25);
    color: inherit;
}

/* Slick arrows: SVG buttons instead of Font Awesome glyphs */
button.nextArrow,
button.prevArrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}
button.nextArrow svg,
button.prevArrow svg {
    display: block;
    pointer-events: none;
}
.filter_2 .filter_tabs_row {
    margin-top: 28px;
}
.filter_2 .filter_button {
    justify-content: flex-start;
    width: 100%;
}
.filter_2 .filter_button .nav-tabs {
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
}
.filter_2 .filter_button .nav-tabs .nav-link {
    white-space: nowrap;
    flex-shrink: 0;
}
