/*
 Theme Name:   Rentic Child Theme
 Theme URI:    https://rentic.axiomthemes.com/
 Description:  Rentic Child Theme
 Author:       AxiomThemes
 Author URI:   https://axiomthemes.com/
 Template:     rentic
 Version:      1.0.0
 Tested up to: 6.6
 Requires at least: 5.0
 Requires PHP: 7.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
 Text Domain:  rentic
*/


/* =Theme customization starts here
------------------------------------------------------------ */

/* Estilos para o formulário de pesquisa básico */
.cars_search_form .cars_search_basic {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* Estilos padrão para os campos de formulário e botões */
.cars_search_form .cars_search_basic .sc_form_field,
.cars_search_form .cars_search_basic .cars_search_button,
.cars_search_form .cars_search_basic .cars_search_show_advanced {
    flex: 1 1 auto;
    max-width: 200px;
}

/* Redefine os estilos dos botões para evitar o grande espaçamento original */
.cars_search_form .cars_search_basic .cars_search_button,
.cars_search_form .cars_search_basic .cars_search_show_advanced {
    margin-right: 0;
}

/*Quilonetragem por extenso - 137.000 KM*/
.sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_params{
    gap: 0px;
}

.sc_cars_item_params .sc_cars_item_param_text{
    font-size: 16px;
}

/*Icon do motor*/
.sc_cars_item_param_engine .sc_cars_item_param_icon {
    display: block;
    justify-self: center;
    align-self: center;
    width: 40px;
}





/*Na página Coleção retirar ícone de cada card de carros*/
.sc_cars_default .sc_cars_item .sc_cars_item_info .sc_cars_item_compare {
    display: none;
}

/*Na página Coleção retirar footer de cada card de carros*/
.sc_cars_default .sc_cars_item .sc_cars_item_footer {
    display: none;
}

/*Retirar a secção de contactos da página individual de cada carro*/
#cars_page_tabs_contacts_content{
    display: none;
}


@media screen and (max-width: 576px) {
    /* Força os campos de filtro a quebrarem a linha e a se empilharem */
    .cars_search_form .cars_search_basic .sc_form_field {
        flex-basis: 100% !important; /* Ocupa a largura total */
        max-width: 100% !important;
        order: 1 !important; /* Todos os campos de filtro vêm primeiro */
        margin-bottom: 10px !important; /* Espaçamento entre os campos */
    }

    /*Espaço creme onde estão os filtros*/
    .elementor-column .elementor-spacer-inner {
        height: 10vh;
    }


    /*BOTÃO DE PESQUISA AVANÇADA*/
    .cars_search_form .cars_search_basic .cars_search_show_advanced {
        transform: translateY(400%) translateX(-200%);
    }
}

@media screen and (min-width: 767px) {
    .cars_search_form .cars_search_basic .sc_form_field,
    .cars_search_form .cars_search_basic .cars_search_button,
    .cars_search_form .cars_search_basic .cars_search_show_advanced {
        flex: 1 1 auto;
        max-width: 90px;
    }

    /*BOTÃO DE PESQUISA AVANÇADA*/
    .cars_search_form .cars_search_basic .cars_search_show_advanced {
        transform: translateY(0%) translateX(15%);
    }
}

@media screen and (min-width: 1023px) {
    /*BOTÃO DE PESQUISA AVANÇADA*/
    .cars_search_form .cars_search_basic .cars_search_show_advanced {
        transform: translateY(0%) translateX(-210%)
    }

    .cars_search_form .cars_search_basic .sc_form_field {
        max-width: 100px;
    }
}


@media screen and (min-width: 1439px) {
    /*BOTÃO DE PESQUISA AVANÇADA*/
    .cars_search_form .cars_search_basic .cars_search_show_advanced {
        transform: translateY(0%) translateX(-130%);
    }

    .cars_search_form .cars_search_basic .sc_form_field,
    .cars_search_form .cars_search_basic .cars_search_button {
        flex: 1 1 auto;
        max-width: 160px;
    }

    /*BOTÃO DA LUPA*/
    .cars_search_form .cars_search_basic .cars_search_button {
        border-radius: 10px;  
        margin-right: 83px;
    }
}

