.elementor-359 .elementor-element.elementor-element-12d8cc8{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-359 .elementor-element.elementor-element-2bb0531 .elementor-heading-title{color:var( --e-global-color-990a3ea );}.elementor-359 .elementor-element.elementor-element-ae3e8fb{--display:flex;--padding-top:30px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-359 .elementor-element.elementor-element-eb58cda{--display:flex;}@media(min-width:768px){.elementor-359 .elementor-element.elementor-element-12d8cc8{--content-width:950px;}}/* Start custom CSS for shortcode, class: .elementor-element-4f65647 *//* Media query para dispositivos móviles (pantallas menores a 767px) */
@media (max-width: 767px) {
    
    /* 1. Forzar a que todos los contenedores de columnas se apilen al 100% */
    .wpuf-form-layouts, 
    .wpuf-el, 
    .wpuf-fields, 
    [class*="wpuf-col-"], 
    .acf-field, 
    .acf-fields > .acf-field {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        clear: both !important;
        box-sizing: border-box !important;
    }

    /* 2. Asegurar que los inputs, selects y textareas rellenen su fila */
    .wpuf-fields input[type="text"],
    .wpuf-fields input[type="number"],
    .wpuf-fields select,
    .wpuf-fields textarea,
    .acf-input input,
    .acf-input select,
    .acf-input textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Ajustar los textos de las etiquetas para que no se encimen */
    .wpuf-label, 
    .acf-label label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 5px !important;
        white-space: normal !important; /* Evita que el texto se corte */
    }
    
    /* 4. Separación saludable entre filas colapsadas */
    #carrusel-vehiculos ~ form .wpuf-el, /* Si está cerca del carrusel */
    form .wpuf-el,
    .acf-field {
        margin-bottom: 15px !important;
    }
}

/* Contenedor principal del formulario de ACF */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-form,
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-fields {
    background: transparent !important;
    border: none !important;
}

/* Espaciado y orden de cada bloque de campo */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-field {
    border: none !important;
    padding: 15px 10px !important;
    margin-bottom: 10px !important;
    display: flex;
    flex-direction: column;
}

/* Estilo de las Etiquetas (Labels) */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-label label {
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4a4a4a !important;
    margin-bottom: 8px !important;
}

/* El asterisco de campo requerido en rojo */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-label label span.acf-required {
    color: #d32f2f !important;
    margin-left: 3px;
}

/* Inputs de texto, numéricos y áreas de texto estilo Materialize */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input input[type="text"],
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input input[type="number"],
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input input[type="email"],
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input textarea {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #9e9e9e !important;
    border-radius: 0 !important;
    outline: none !important;
    height: 3rem !important;
    padding: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    color: #212121 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Textarea adaptada */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input textarea {
    height: auto !important;
    padding-top: 10px !important;
    min-height: 80px;
}

/* Efecto Focus al hacer clic en un input (Línea activa color corporativo azul marino) */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input input[type="text"]:focus,
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input input[type="number"]:focus,
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input input[type="email"]:focus,
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input textarea:focus {
    border-bottom: 2px solid #002855 !important; /* Ajusta este color al azul de tu menú si varía */
}

/* Estilo para los Selects (Listas desplegables) */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input select {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #9e9e9e !important;
    border-radius: 0 !important;
    outline: none !important;
    height: 3rem !important;
    padding: 0 20px 0 0 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    color: #212121 !important;
    appearance: none !important; /* Remueve la flecha nativa fea */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23757575'><path d='M7 10l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 0px center !important;
    cursor: pointer;
    transition: border-color 0.2s ease !important;
}

.elementor-359 .elementor-element.elementor-element-4f65647 .acf-input select:focus {
    border-bottom: 2px solid #002855 !important;
}

/* Mensajes de descripción pequeños debajo o arriba del input */
.elementor-359 .elementor-element.elementor-element-4f65647 .acf-description {
    font-size: 12px !important;
    color: #757575 !important;
    margin-top: 5px !important;
    font-style: normal !important;
}/* End custom CSS */