
/* ==========================================================
   VIP MOTORS
   HIVEPRESS - BUSCADOR DE VEHICULOS
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');


/* 1. FORMULARIO PRINCIPAL */

.elementor-widget-hivepress-listing-search-form
.hp-form--listing-search {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px;

    background: #111111;
    border: 1px solid var(--vip-gold);
    border-radius: 8px;
    box-sizing: border-box;

    font-family: 'Open Sans', Arial, sans-serif;
}


/* 2. CAMPOS */

.elementor-widget-hivepress-listing-search-form
.hp-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    flex: 1;
    gap: 12px;
    min-width: 0;
    margin: 0;
}

.elementor-widget-hivepress-listing-search-form
.hp-form__messages:empty {
    display: none;
}

.elementor-widget-hivepress-listing-search-form
.hp-form__field {
    min-width: 0;
    margin: 0;
}


/* 3. CAMPO DE PALABRAS CLAVE */

.elementor-widget-hivepress-listing-search-form
.hp-field--search {
    width: 100%;
    height: 50px;
    padding: 0 15px;

    background: #080808;
    border: 1px solid #444444;
    border-radius: 5px;

    color: #FFFFFF;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    box-shadow: none;
    box-sizing: border-box;
}

.elementor-widget-hivepress-listing-search-form
.hp-field--search::placeholder {
    color: #AAAAAA;
    opacity: 1;
}

.elementor-widget-hivepress-listing-search-form
.hp-field--search:focus {
    border-color: var(--vip-gold);
    outline: none;
}


/* 4. SELECTOR DE CATEGORIAS - SELECT2 */

.elementor-widget-hivepress-listing-search-form
.select2-container {
    width: 100% !important;
    min-width: 0;
    font-family: 'Open Sans', Arial, sans-serif;
}

.elementor-widget-hivepress-listing-search-form
.select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 50px;

    background: #080808;
    border: 1px solid #444444;
    border-radius: 5px;
}

.elementor-widget-hivepress-listing-search-form
.select2-selection__rendered {
    color: #FFFFFF !important;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 48px !important;
}

.elementor-widget-hivepress-listing-search-form
.select2-selection__arrow {
    height: 48px !important;
}

.elementor-widget-hivepress-listing-search-form
.select2-selection__arrow b {
    border-color: var(--vip-gold) transparent transparent !important;
}

.elementor-widget-hivepress-listing-search-form
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: var(--vip-gold);
}


/* 5. MENU DESPLEGABLE DE CATEGORIAS */

.select2-dropdown {
    background: #111111 !important;
    border: 1px solid var(--vip-gold) !important;
    font-family: 'Open Sans', Arial, sans-serif;
}

.select2-container--default .select2-results__option {
    padding: 10px 14px;
    background: #111111;
    color: #FFFFFF;
    font-size: 13px;
}

.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background: var(--vip-gold) !important;
    color: #080808 !important;
}

.select2-container--default
.select2-results__option[aria-selected="true"] {
    background: #292929;
    color: var(--vip-gold-light);
}


/* 6. BOTON BUSCAR */

.elementor-widget-hivepress-listing-search-form
.hp-form__footer {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.elementor-widget-hivepress-listing-search-form
.hp-form__button {
    min-width: 155px;
    height: 50px;
    padding: 0 22px;

    background: var(--vip-gold) !important;
    border: 1px solid var(--vip-gold) !important;
    border-radius: 5px;

    color: #080808 !important;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    transition: all .25s ease;
}

.elementor-widget-hivepress-listing-search-form
.hp-form__button:hover,
.elementor-widget-hivepress-listing-search-form
.hp-form__button:focus {
    background: var(--vip-gold-light) !important;
    border-color: var(--vip-gold-light) !important;
    color: #080808 !important;
}

/* VIP MOTORS - TIPOGRAFIA DEL BUSCADOR */

.elementor-widget-hivepress-listing-search-form,
.elementor-widget-hivepress-listing-search-form input,
.elementor-widget-hivepress-listing-search-form select,
.elementor-widget-hivepress-listing-search-form button,
.elementor-widget-hivepress-listing-search-form .select2-container,
.elementor-widget-hivepress-listing-search-form .select2-selection__rendered,
.select2-dropdown,
.select2-results__option {
    font-family: 'Open Sans', Arial, sans-serif !important;
}
