/* Trip Fixes v2 - June 24, 2026 */

/* Hide elements on homepage trips */
.home_upcoming_trips .category-trip-aval-time,
.home_upcoming_trips .wpte-trip-meta,
.home_upcoming_trips .category-trip-seats,
.home_upcoming_trips .category-trip-description {
    display: none !important;
}

/* Hide seats available on homepage trip cards */
.category-trip-dates .category-trip-start-date em {
    display: none !important;
}

/* Mobile: price same line as location */
@media (max-width: 768px) {
    .category-trip-desti {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .wpte-trip-duration {
        display: none !important;
    }
}

/* Fix checkout page mobile */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-breadcrumb {
        margin-top: -50px !important;
        position: relative !important;
        z-index: 10 !important;
    }
    .woocommerce-checkout .main-content-wrapper {
        margin-top: 0px !important;
    }
}

/* Fix payment section background */
@media (max-width: 768px) {
    #payment,
    #payment ul.payment_methods,
    #payment div.payment_box,
    .woocommerce-checkout #payment {
        background: #efefef !important;
    }
}

/* Fix checkout desktop - white space and payment background */
.woocommerce-checkout .main-content-wrapper {
    margin-top: 0px !important;
}

.woocommerce-checkout .woocommerce-breadcrumb {
    margin-top: -50px !important;
    position: relative !important;
    z-index: 10 !important;
}

#payment,
#payment ul.payment_methods,
#payment div.payment_box,
.woocommerce-checkout #payment {
    background: #efefef !important;
}

/* Remove space below payment section on checkout mobile */
@media (max-width: 768px) {
    .woocommerce-checkout .main-content-wrapper {
        margin-bottom: 0px !important;
    }
}

/* Remove space below payment section on checkout desktop */
.woocommerce-checkout .main-content-wrapper {
    margin-bottom: 0px !important;
}

/* Hide empty white box on checkout */
.woocommerce-checkout .wte-trip-guest-wrapper.vertical:empty,
.woocommerce-checkout .wte-additional-guests:empty,
.woocommerce-checkout form.checkout > div:empty {
    display: none !important;
}

/* Hide empty white box on checkout */
.woocommerce-checkout .wte-trip-guest-wrapper {
    display: none !important;
}

/* Hide additional travelers empty section */
.woocommerce-checkout .wte-additional-guests-section,
.woocommerce-checkout #additional-guests,
.woocommerce-checkout .wpte-additional-travelers {
    display: none !important;
}

/* Hide empty travellers details box on checkout */
.woocommerce-checkout .wpte-checkout__box.collapsible {
    display: none !important;
}

/* Hide travellers details box - all variants */
.woocommerce-checkout .wpte-checkout__box {
    display: none !important;
}

/* Hide travellers box without parent selector */
.wpte-checkout__box {
    display: none !important;
}

/* Force hide travellers box */
div.wpte-checkout__box,
div.wpte-checkout__box.collapsible,
div.wpte-checkout__box.open {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Month filter buttons - white with dark border like Book Now */
.wte-fsd__button {
    background-color: #ffffff !important;
    color: #1B1C17 !important;
    border: 1px solid #1B1C17 !important;
}

.wte-fsd__button.is-active,
.wte-fsd__button:hover {
    background-color: #1B1C17 !important;
    color: #ffffff !important;
}

/* Month filter buttons v2 - higher specificity */
.wte-fsd__container .wte-fsd__filter-buttons .wte-fsd__button {
    background-color: #ffffff !important;
    color: #1B1C17 !important;
    border: 1px solid #1B1C17 !important;
    border-radius: 100px !important;
}
.wte-fsd__container .wte-fsd__filter-buttons .wte-fsd__button.is-active,
.wte-fsd__container .wte-fsd__filter-buttons .wte-fsd__button:hover {
    background-color: #1B1C17 !important;
    color: #ffffff !important;
}
