/**
 * Elementor CSS
 * Estilos para widgets personalizados de Elementor
 * 
 * @package RepararPC_Lite
 * @version 1.2.0
 */

/* =============================================================================
   CONFIGURACIÓN GENERAL
   ============================================================================= */

/* Canvas de Elementor */
.elementor-canvas {
    overflow-x: hidden;
}

/* Secciones de Elementor */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Widgets personalizados */
.repararpc-widget {
    font-family: inherit;
}

/* =============================================================================
   WIDGETS PERSONALIZADOS
   ============================================================================= */

/* Los estilos de los widgets (pack-precio, faq, etc.) ya están en shortcodes.css
   Este archivo solo ajusta la integración con Elementor */

/* Espaciado de widgets */
.elementor-widget-repararpc_pack_precio {
    margin-bottom: 0;
}

.elementor-widget-repararpc_faq_accordion {
    margin-bottom: 0;
}

.elementor-widget-repararpc_cta_contacto {
    margin-bottom: 0;
}

/* Editor de Elementor */
.elementor-editor-active .pack-precio,
.elementor-editor-active .faq-item,
.elementor-editor-active .feature-item {
    opacity: 1 !important;
    transform: none !important;
}

/* =============================================================================
   GRID DE ELEMENTOR
   ============================================================================= */

.elementor-grid {
    display: grid;
    gap: 30px;
}

.elementor-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.elementor-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.elementor-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .elementor-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   BOTONES DE ELEMENTOR
   ============================================================================= */

.elementor-button-wrapper .elementor-button {
    font-family: inherit;
    transition: all 0.3s ease;
}

.elementor-button-wrapper .elementor-button:hover {
    transform: scale(1.05);
}

/* =============================================================================
   TÍTULOS DE ELEMENTOR
   ============================================================================= */

.elementor-heading-title {
    font-family: inherit;
}

/* =============================================================================
   ANIMACIONES
   ============================================================================= */

.elementor-invisible {
    opacity: 0;
}

.elementor-animation-grow:hover {
    transform: scale(1.05);
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .elementor-column {
        width: 100% !important;
    }
}

/* =============================================================================
   MODO PREVIEW
   ============================================================================= */

.elementor-preview-mode .pack-precio:hover {
    transform: none;
    box-shadow: none;
}

.elementor-preview-mode .post-card:hover {
    transform: none;
}
