.elementor-4135 .elementor-element.elementor-element-c88572b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:5px;--margin-bottom:5px;--margin-left:5px;--margin-right:5px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4135 .elementor-element.elementor-element-c88572b.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-4135 .elementor-element.elementor-element-24ca1a0{width:auto;max-width:auto;margin:25px 25px calc(var(--kit-widget-spacing, 0px) + 25px) 25px;}.elementor-4135 .elementor-element.elementor-element-24ca1a0.elementor-element{--align-self:center;--flex-grow:0;--flex-shrink:0;}#elementor-popup-modal-4135{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-4135 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-4135 .dialog-close-button{display:flex;}#elementor-popup-modal-4135 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(min-width:768px){.elementor-4135 .elementor-element.elementor-element-c88572b{--width:99.773%;}}/* Start custom CSS for container, class: .elementor-element-c88572b *//* ============================================================
   🔥 FIX DEFINITIVO PARA INPUT FILE EN CONTACT FORM 7 + ELEMENTOR
   Evita que el input quede bloqueado, permite clic y drag&drop
   ============================================================ */

.file-box {
    position: relative !important;
    overflow: hidden !important;
    border: 2px dashed #c4c4c4;
    padding: 20px;
    border-radius: 8px;
    background: #fafafa;
    text-align: center;
    cursor: pointer !important;
    transition: 0.2s ease;
}

/* Hover */
.file-box:hover {
    border-color: #999;
    background: #f1f1f1;
}

/* Desactivar eventos del contenido para NO bloquear el input */
.file-box *,
.file-box label,
.file-box small,
.file-box p,
.file-box span {
    pointer-events: none !important;
}

/* VERY IMPORTANT: evitar que CF7 wrap tape el input */
.file-box .wpcf7-form-control-wrap {
    position: static !important;
    pointer-events: none !important;
}

/* INPUT REAL DEL FILE */
.file-box input[type="file"],
.wpcf7 input[type="file"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: block !important;
}

/* ============================================================
   🎨 ESTILOS GENERALES DEL FORMULARIO (CF7 EN ELEMENTOR)
   ============================================================ */

.elementor-widget-shortcode .wpcf7 {
    max-width: 900px;
    margin: 0 auto;
}

/* GRID EN 2 COLUMNAS */
.elementor-widget-shortcode .cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CAMPOS DE ANCHO COMPLETO */
.elementor-widget-shortcode .cf7-full {
    grid-column: 1 / -1;
}

/* LABELS */
.elementor-widget-shortcode .wpcf7 form label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    display: block;
}

/* INPUTS & SELECTS */
.elementor-widget-shortcode .wpcf7-form-control {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* SELECT ALTURA */
.elementor-widget-shortcode .wpcf7-select {
    height: 45px !important;
}

/* TEXTAREA */
.elementor-widget-shortcode textarea.wpcf7-form-control {
    min-height: 150px;
}

/* CHECKBOX */
.elementor-widget-shortcode input[type="checkbox"] {
    transform: scale(1.3);
    margin-right: 10px;
}

/* BOTÓN ENVIAR */
.elementor-widget-shortcode input[type="submit"] {
    background: #000 !important;
    color: #fff !important;
    padding: 14px 30px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer;
    transition: .2s;
}

.elementor-widget-shortcode input[type="submit"]:hover {
    background: #444 !important;
}

/* ============================================================
   📱 RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .elementor-widget-shortcode .cf7-grid {
        grid-template-columns: 1fr;
    }
}
.file-name-display {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}/* End custom CSS */