/*
Theme Name: Tevily Child
Theme URI: https://gaviaspreview.com/wp/tevily/
Author URI: https://themeforest.net/user/gavias
Author: Gaviasthemes Team
Description: Child theme for the Tevily theme.
Template: tevily
*/



function load_child_theme_styles() {
    wp_enqueue_style(
        'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array(),
        wp_get_theme()->get('Version')
    );
}
add_action('wp_enqueue_scripts', 'load_child_theme_styles', 99);




.modal-backdrop {
    display: none !important;
}






/* Hide zero base price ONLY inside Tevily booking form */
.tevily-single-booking-form span.currency_amount[data-amount="0"] {
    display: none !important;
}







.ba-meta .item-user span:last-child {
    display: none !important;
}




/* Hide extra service prices visually WITHOUT breaking BABE */
.booking-services-block .list_service .service_price_line {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Show ONLY first price line */
.booking-services-block .list_service .service_price_line:first-of-type {
    visibility: visible;
    height: auto;
    overflow: visible;
}



/* FIX service list text overflow (ALL devices) */
.booking-services-block .service_price_line {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: 6px;
}

/* Allow label text to wrap */
.booking-services-block .service_price_line > label {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    flex: 1 1 100%;
    line-height: 1.4;
}

/* Force price to next line */
.booking-services-block .currency_amount {
    display: block !important;
    white-space: nowrap;
    margin-left: 0;
}
