/**
 * Elementor custom styles for MaxiVloeren theme
 */

/* Fix for Elementor container width to match theme */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--max-width, 1200px);
}

/* Theme colors for Elementor */
:root {
    --e-global-color-primary: var(--primary-color, #333333);
    --e-global-color-secondary: var(--secondary-color, #ff4d4d);
    --e-global-color-text: var(--text-color, #666666);
    --e-global-color-accent: var(--accent-color, #ff4d4d);
    --e-global-color-light: var(--light-gray, #f5f5f5);
    --e-global-color-dark: var(--dark-gray, #444444);
}

/* Typography adjustments */
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title,
.elementor-widget-heading h6.elementor-heading-title {
    font-family: var(--heading-font, 'Poppins', sans-serif);
    font-weight: 600;
    line-height: 1.2;
}

.elementor-widget-text-editor {
    font-family: var(--body-font, 'Poppins', sans-serif);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color, #666666);
}

/* Button styling */
.elementor-button {
    background-color: var(--secondary-color, #ff4d4d);
    color: var(--white, #ffffff);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius, 5px);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elementor-button:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,77,77,0.3);
}

/* WooCommerce Elementor widgets styling */
.elementor-widget-woocommerce-products .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md, 20px);
}

.elementor-widget-woocommerce-products .products::before,
.elementor-widget-woocommerce-products .products::after {
    display: none;
}

.elementor-widget-woocommerce-products .products li.product {
    background: var(--white, #ffffff);
    border-radius: var(--border-radius, 5px);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    float: none;
}

.elementor-widget-woocommerce-products .products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .elementor-widget-woocommerce-products .products {
        grid-template-columns: 1fr !important;
    }
}