﻿/* ========================================================= 
    ELECTROHOGAR / ELECTROSTORE Estilos generales Compatible con la estructura Razor y MudBlazor existente 
    ========================================================= */
/* ---------- Variables visuales ---------- */
:root {
    --eh-primary: #075BC7;
    --eh-primary-hover: #064E9D;
    --eh-secondary: #0B2D4D;
    --eh-tertiary: #149447;
    --eh-background: #F5F7FA;
    --eh-surface: #FFFFFF;
    --eh-text: #17324D;
    --eh-text-secondary: #66788A;
    --eh-border: #DCE4ED;
    --eh-success: #149447;
    --eh-warning: #F59E0B;
    --eh-error: #E52435;
    --eh-radius: 12px;
    --eh-radius-small: 7px;
    --eh-shadow: 0 4px 14px rgba(11, 45, 77, 0.06);
    --eh-shadow-hover: 0 8px 22px rgba(11, 45, 77, 0.11);
    --eh-content-width: 1440px;
    --eh-sidebar-width: 285px;
}
/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--eh-background);
    color: var(--eh-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

{
    box-sizing: border-box;
}

button, input, select, textarea {
    font: inherit;
}

a {
    color: var(--eh-primary);
}

    a:focus-visible, button:focus-visible, input:focus-visible {
        outline: 2px solid var(--eh-primary);
        outline-offset: 3px;
    }

h1, h2, h3, p {
    overflow-wrap: break-word;
}

h1, h2, h3 {
    color: var(--eh-secondary);
}

p {
    color: var(--eh-text-secondary);
}

img {
    max-width: 100%;
}

/* ========================================================= 
    ENCABEZADO: ElectroHeader.razor 
========================================================= */
.eh-header {
    width: 100%;
    background: var(--eh-surface);
    color: var(--eh-secondary);
    border-bottom: 1px solid var(--eh-border);
    font-family: "Segoe UI", Arial, sans-serif;
    position: relative;
    z-index: 10;
}

.eh-topbar {
    width: 100%;
    min-height: 68px;
    display: grid;
    grid-template-columns: 225px minmax(180px, 1fr) 220px 145px 55px;
    align-items: center;
    gap: 14px;
    padding: 7px 28px;
}

/* Logo */

.eh-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: var(--eh-secondary);
    text-decoration: none;
}

    .eh-brand:hover {
        color: var(--eh-secondary);
    }

.eh-brand-icon {
    flex-shrink: 0;
    font-size: 35px !important;
    color: var(--eh-secondary);
}

.eh-brand-text {
    min-width: 0;
}

.eh-brand-name {
    color: var(--eh-secondary);
    font-size: 27px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.7px;
    white-space: nowrap;
}

    .eh-brand-name span {
        color: var(--eh-primary);
    }

.eh-brand-subtitle {
    margin-top: 3px;
    color: #52677D;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

/* Buscador de productos */

.eh-product-search {
    width: 100%;
    min-width: 0;
    height: 36px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #CBD3DD;
    border-radius: 6px;
    background: var(--eh-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .eh-product-search:focus-within {
        border-color: var(--eh-primary);
        box-shadow: 0 0 0 3px rgba(7, 91, 199, 0.10);
    }

    .eh-product-search input {
        flex: 1;
        width: 0;
        min-width: 0;
        padding: 0 10px;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--eh-text);
        font-size: 13px;
    }

        .eh-product-search input::placeholder {
            color: #64758A;
            opacity: 1;
        }

    .eh-product-search button {
        width: 32px;
        min-width: 32px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 0;
        background: var(--eh-primary);
        color: white;
        cursor: pointer;
        transition: background 0.2s;
    }

        .eh-product-search button:hover {
            background: var(--eh-primary-hover);
        }

        .eh-product-search button .mud-icon-root {
            font-size: 19px;
        }

/* Búsqueda por precio */

.eh-price-search {
    min-width: 0;
}

    .eh-price-search label {
        display: block;
        margin-bottom: 4px;
        color: var(--eh-secondary);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
    }

.eh-price-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.eh-price-input {
    height: 28px;
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 7px;
    border: 1px solid #CBD3DD;
    border-radius: 5px;
    background: white;
}

    .eh-price-input:focus-within {
        border-color: var(--eh-primary);
    }

    .eh-price-input span {
        flex-shrink: 0;
        color: #52677D;
        font-size: 12px;
    }

    .eh-price-input input {
        width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--eh-text);
        font-size: 12px;
    }

.eh-price-button {
    min-height: 28px;
    flex-shrink: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: var(--eh-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
}

    .eh-price-button:hover {
        background: var(--eh-primary-hover);
    }

/* Cuenta administrativa */

.eh-account {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--eh-secondary);
    text-decoration: none;
    white-space: nowrap;
}

    .eh-account:hover {
        color: var(--eh-primary);
    }

    .eh-account > span {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .eh-account strong {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
    }

    .eh-account small {
        color: var(--eh-text-secondary);
        font-size: 11px;
        line-height: 1.35;
    }

.eh-action-icon {
    flex-shrink: 0;
    color: var(--eh-secondary);
    font-size: 26px !important;
}

.eh-account:hover .eh-action-icon {
    color: var(--eh-primary);
}

/* Carrito */

.eh-cart {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--eh-secondary);
    text-decoration: none;
}

    .eh-cart:hover {
        color: var(--eh-primary);
    }

.eh-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eh-cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border-radius: 20px;
    background: var(--eh-primary);
    color: white;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.eh-cart-label {
    margin-top: -1px;
    font-size: 11px;
    line-height: 1.3;
}

/* Navegación principal */

.eh-navigation {
    min-height: 35px;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0 28px;
    overflow-x: auto;
    background: var(--eh-secondary);
    scrollbar-width: thin;
    scrollbar-color: #64809C var(--eh-secondary);
}

    .eh-navigation a {
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        flex-shrink: 0;
        padding: 0 14px;
        color: white;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.2s;
    }

        .eh-navigation a:hover {
            background: var(--eh-primary);
            color: white;
        }

    .eh-navigation .eh-nav-home {
        background: var(--eh-primary);
    }

        .eh-navigation .eh-nav-home:hover {
            background: var(--eh-primary-hover);
        }

.eh-nav-home .mud-icon-root {
    font-size: 13px;
}

.eh-chevron {
    font-size: 12px;
}

/* ========================================================= 
    CONTENEDOR GENERAL Y DISTRIBUCIÓN 
========================================================= */
.electro-container {
    width: calc(100% - 56px);
    max-width: var(--eh-content-width);
    margin-right: auto;
    margin-left: auto;
}

.electro-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--eh-sidebar-width);
    align-items: start;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 32px;
}

.electro-home, .electro-main-content {
    min-width: 0;
    width: 100%;
}

.electro-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ========================================================= 
    BANNER PRINCIPAL 
========================================================= */
.electro-hero {
    min-height: 335px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.8fr);
    align-items: center;
    gap: 28px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid #D7E5FA;
    border-radius: 19px;
    background: linear-gradient(115deg, #FFFFFF 0%, #F1F6FE 65%, #E8F1FF 100%);
}

.electro-hero-content {
    min-width: 0;
}

    .electro-hero-content .mud-chip {
        margin-bottom: 10px;
        font-weight: 600;
    }

    .electro-hero-content h1 {
        max-width: 560px;
        margin: 8px 0 14px;
        color: var(--eh-secondary);
        font-size: clamp(28px, 2.8vw, 40px);
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .electro-hero-content p {
        max-width: 570px;
        margin: 0 0 24px;
        color: #526B85;
        font-size: 16px;
        line-height: 1.65;
    }

.electro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

    .electro-hero-actions .mud-button-root {
        min-height: 42px;
        padding: 0 19px;
        border-radius: 10px;
        font-weight: 600;
    }

.electro-hero-visual {
    width: 100%;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, #E0ECFF, #D9E9FF);
    color: var(--eh-secondary);
    text-align: center;
}

.electro-hero-icon {
    color: var(--eh-primary);
    font-size: 86px !important;
}

.electro-hero-visual span {
    font-size: 14px;
    font-weight: 700;
}

/* ========================================================= 
    BENEFICIOS 
========================================================= */
.electro-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.electro-benefit {
    min-width: 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--eh-border);
    border-radius: 12px;
    background: var(--eh-surface);
    transition: border-color 0.2s, transform 0.2s;
}

    .electro-benefit:hover {
        border-color: #B8D2F5;
        transform: translateY(-2px);
    }

    .electro-benefit > .mud-icon-root {
        flex-shrink: 0;
        font-size: 35px !important;
    }

    .electro-benefit > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .electro-benefit strong {
        color: var(--eh-secondary);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    .electro-benefit span {
        color: var(--eh-text-secondary);
        font-size: 12px;
        line-height: 1.5;
    }

/* ========================================================= 
    SECCIONES GENERALES 
========================================================= */
.electro-section {
    margin-top: 30px;
    min-width: 0;
}

.electro-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.electro-section-title {
    margin: 0;
    color: var(--eh-secondary);
    font-size: 24px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.electro-section-subtitle {
    margin: 5px 0 0;
    color: var(--eh-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.electro-heading-row .mud-link {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

    .electro-heading-row .mud-link:hover {
        text-decoration: underline;
    }

/* ========================================================= 
    CATEGORÍAS 
========================================================= */
.electro-category {
    min-height: 125px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 10px;
    border: 1px solid var(--eh-border);
    border-radius: 12px;
    background: var(--eh-surface);
    color: var(--eh-primary);
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

    .electro-category:hover {
        transform: translateY(-3px);
        border-color: #A9CCFA;
        box-shadow: var(--eh-shadow);
        color: var(--eh-primary);
    }

    .electro-category .mud-icon-root {
        color: var(--eh-primary);
        font-size: 38px !important;
    }

    .electro-category strong {
        color: var(--eh-secondary);
        font-size: 14px;
        font-weight: 700;
    }

/* ========================================================= 
    BANNER DE OFERTAS 
========================================================= */
.electro-offer-section {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding: 28px 36px;
    border-radius: 17px;
    background: linear-gradient(110deg, #0B2D4D 0%, #075BC7 100%);
    color: white;
}

    .electro-offer-section > div {
        min-width: 0;
    }

.electro-offer-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #B9D6FF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.electro-offer-section h2 {
    max-width: 600px;
    margin: 0 0 8px;
    color: white;
    font-size: clamp(23px, 2.2vw, 32px);
    font-weight: 800;
    line-height: 1.25;
}

.electro-offer-section p {
    margin: 0;
    color: #F0F6FF;
    font-size: 14px;
    line-height: 1.6;
}

.electro-offer-section .mud-button-root {
    min-width: 175px;
    min-height: 52px;
    flex-shrink: 0;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 700;
}

/* ========================================================= 
    PRODUCTOS DESTACADOS 
========================================================= */
.electro-product-card {
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--eh-border);
    border-radius: 12px !important;
    background: var(--eh-surface);
    box-shadow: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

    .electro-product-card:hover {
        transform: translateY(-3px);
        border-color: #C2D7F3;
        box-shadow: var(--eh-shadow-hover);
    }

.electro-product-visual {
    min-height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(145deg, #F4F8FE, #E8F1FD);
}

    .electro-product-visual .mud-icon-root {
        color: var(--eh-primary);
        font-size: 76px !important;
    }

.electro-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 17px 18px 18px;
}

    .electro-product-info .mud-chip {
        min-height: 24px;
        font-size: 11px;
        font-weight: 600;
    }

    .electro-product-info h3 {
        margin: 0;
        color: var(--eh-secondary);
        font-size: 16px;
        font-weight: 750;
        line-height: 1.4;
    }

    .electro-product-info p {
        min-height: 42px;
        margin: 0;
        color: var(--eh-text-secondary);
        font-size: 13px;
        line-height: 1.55;
    }

    .electro-product-info .mud-button-root {
        width: 100%;
        min-height: 42px;
        margin-top: 5px;
        border-radius: 9px;
        font-weight: 600;
    }

/* ========================================================= 
    TARJETAS DE SERVICIOS COMPLEMENTARIOS 
========================================================= */
.electro-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.electro-service-card {
    min-width: 0;
    min-height: 195px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px !important;
    border: 1px solid var(--eh-border);
    border-radius: 12px !important;
    background: var(--eh-surface);
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .electro-service-card:hover {
        border-color: #BDD5F5;
        box-shadow: var(--eh-shadow);
    }

    .electro-service-card > .mud-icon-root {
        margin-bottom: 12px;
        font-size: 34px !important;
    }

    .electro-service-card h3 {
        margin: 0 0 7px;
        color: var(--eh-secondary);
        font-size: 17px;
        font-weight: 750;
        line-height: 1.4;
    }

    .electro-service-card p {
        margin: 0 0 12px;
        font-size: 13px;
        line-height: 1.6;
    }

    .electro-service-card .mud-button-root {
        margin-top: auto;
        padding-left: 6px;
        font-weight: 600;
    }

/* ========================================================= 
    BARRA LATERAL: ElectroSidebar.razor 
========================================================= */
.electro-sidebar, .electro-sidebar-cards {
    width: 100%;
    min-width: 0;
}

.electro-sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.electro-side-card {
    position: relative;
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 13px !important;
    overflow: hidden;
    border: 1px solid var(--eh-border);
    border-radius: 12px !important;
    background: white;
    box-shadow: none;
    isolation: isolate;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .electro-side-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--eh-shadow);
    }

.electro-side-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1px;
    color: var(--eh-primary);
}

    .electro-side-icon .mud-icon-root {
        font-size: 22px !important;
    }

.electro-side-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

    .electro-side-content h3 {
        margin: 0 0 4px;
        color: var(--eh-secondary);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.35;
    }

    .electro-side-content p {
        margin: 0 0 8px;
        color: #52677D;
        font-size: 12px;
        line-height: 1.4;
    }

    .electro-side-content .mud-button-root {
        max-width: 100%;
        min-height: 27px;
        padding: 3px 10px;
        border-radius: 8px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.3;
        white-space: normal;
    }

    .electro-side-content .mud-button-label {
        text-align: left;
    }

.electro-side-art {
    position: absolute;
    right: 5px;
    bottom: 2px;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.10;
    pointer-events: none;
}

    .electro-side-art .mud-icon-root {
        font-size: 48px !important;
    }

/* Variantes de color de las tarjetas */

.credit-card {
    border-color: #B7DCFF;
    background: linear-gradient(120deg, #FFFFFF, #EAF5FF);
}

    .credit-card .electro-side-icon {
        color: var(--eh-primary);
    }

.credit-art {
    color: var(--eh-primary);
}

.budget-card {
    border-color: #BDECCB;
    background: linear-gradient(120deg, #FFFFFF, #E9FAEF);
}

    .budget-card .electro-side-icon {
        color: var(--eh-success);
    }

    .budget-card .electro-side-content .mud-button-root {
        background-color: var(--eh-success);
        color: white;
    }

.budget-art {
    color: var(--eh-success);
}

.technical-card {
    border-color: #C4D9FF;
    background: linear-gradient(120deg, #FFFFFF, #EAF1FF);
}

    .technical-card .electro-side-icon {
        color: var(--eh-primary);
    }

.technical-art {
    color: var(--eh-secondary);
}

.portal-card {
    border-color: #E0CCFF;
    background: linear-gradient(120deg, #FFFFFF, #F4ECFF);
}

    .portal-card .electro-side-icon {
        color: #7540C8;
    }

    .portal-card .electro-side-content .mud-button-root {
        background-color: var(--eh-secondary);
        color: white;
    }

.portal-art {
    color: #7540C8;
}

.business-card {
    border-color: #D2DFEA;
    background: linear-gradient(120deg, #FFFFFF, #EFF4F8);
}

    .business-card .electro-side-icon {
        color: var(--eh-secondary);
    }

    .business-card .electro-side-content .mud-button-root {
        background-color: #414141;
        color: white;
    }

.business-art {
    color: #6A8298;
}

/* ========================================================= 
    PIE DE PÁGINA 
========================================================= */
.electro-footer {
    width: 100%;
    background: var(--eh-secondary);
    color: white;
}

.electro-footer-content {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .electro-footer-content > div {
        min-width: 0;
    }

    .electro-footer-content strong {
        color: white;
        font-size: 17px;
        font-weight: 800;
    }

    .electro-footer-content p {
        margin: 5px 0 0;
        color: #E0EAF5;
        font-size: 13px;
    }

    .electro-footer-content > span {
        color: #E0EAF5;
        font-size: 12px;
        text-align: right;
    }

/* ========================================================= 
    COMPONENTES MUD BLAZOR: AJUSTES GENERALES 
========================================================= */
.mud-button-root {
    text-transform: none;
}

.mud-paper {
    color: var(--eh-text);
}

.mud-chip {
    font-weight: 600;
}

/* Evitar que las cuadrículas excedan el ancho de sus padres */

.electro-home .mud-grid {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.electro-home .mud-grid-item {
    min-width: 0;
}

/* ========================================================= 
    RESPONSIVE: PORTÁTILES Y TABLETAS GRANDES 
========================================================= */
@media (max-width: 1200px) {
    .eh-topbar {
        grid-template-columns: 190px minmax(150px, 1fr) 190px 125px 45px;
        gap: 9px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .eh-brand-name {
        font-size: 24px;
    }

    .eh-price-button {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 10px;
    }

    .eh-navigation {
        padding-right: 16px;
        padding-left: 16px;
    }

    .electro-container {
        width: calc(100% - 40px);
    }

    .electro-home-layout {
        grid-template-columns: minmax(0, 1fr) 265px;
        gap: 18px;
    }

    .electro-hero {
        gap: 18px;
        padding: 26px;
    }

    .electro-benefit {
        gap: 9px;
        padding: 12px;
    }

        .electro-benefit strong {
            font-size: 13px;
        }

        .electro-benefit span {
            font-size: 11px;
        }

    .electro-side-card {
        padding: 11px !important;
    }
}

/* ========================================================= 
    RESPONSIVE: TABLETAS 
========================================================= */
@media (max-width: 960px) {
    .eh-topbar {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 12px;
        padding: 12px 18px;
    }

    .eh-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .eh-account {
        grid-column: 2;
        grid-row: 1;
    }

    .eh-cart {
        grid-column: 3;
        grid-row: 1;
    }

    .eh-product-search {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .eh-price-search {
        grid-column: 3;
        grid-row: 2;
        min-width: 185px;
    }

    .eh-navigation {
        padding: 0 10px;
    }

        .eh-navigation a {
            padding-right: 12px;
            padding-left: 12px;
        }

    .electro-home-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .electro-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .electro-sidebar-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .electro-side-card {
        min-height: 130px;
    }

    .electro-hero {
        grid-template-columns: minmax(0, 1.3fr) minmax(190px, 0.7fr);
        min-height: 300px;
    }

    .electro-hero-content h1 {
        font-size: clamp(27px, 4vw, 36px);
    }

    .electro-hero-visual {
        min-height: 180px;
    }

    .electro-hero-icon {
        font-size: 70px !important;
    }
}

/* ========================================================= 
    RESPONSIVE: MÓVILES 
========================================================= */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .eh-topbar {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
        padding: 12px;
    }

    .eh-brand {
        gap: 5px;
    }

    .eh-brand-icon {
        font-size: 29px !important;
    }

    .eh-brand-name {
        font-size: clamp(19px, 5.5vw, 24px);
        letter-spacing: -0.5px;
    }

    .eh-brand-subtitle {
        font-size: 10px;
    }

    .eh-account {
        gap: 0;
    }

        .eh-account .eh-action-icon {
            font-size: 23px !important;
        }

        .eh-account > span {
            display: none;
        }

    .eh-cart .eh-action-icon {
        font-size: 23px !important;
    }

    .eh-cart-label {
        font-size: 10px;
    }

    .eh-product-search {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 38px;
    }

        .eh-product-search input {
            font-size: 12px;
        }

    .eh-price-search {
        grid-column: 1 / -1;
        grid-row: 3;
        min-width: 0;
    }

        .eh-price-search label {
            font-size: 11px;
        }

    .eh-price-controls {
        gap: 7px;
    }

    .eh-price-input {
        height: 34px;
    }

        .eh-price-input input {
            font-size: 13px;
        }

    .eh-price-button {
        min-height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }

    .eh-navigation {
        min-height: 39px;
        padding: 0 5px;
    }

        .eh-navigation a {
            min-height: 39px;
            padding: 0 12px;
            font-size: 12px;
        }

    .electro-container {
        width: calc(100% - 24px);
    }

    .electro-home-layout {
        gap: 22px;
        padding-top: 14px;
        padding-bottom: 24px;
    }

    .electro-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        min-height: auto;
        padding: 22px 18px;
        border-radius: 14px;
    }

    .electro-hero-content h1 {
        margin-top: 8px;
        margin-bottom: 12px;
        font-size: clamp(27px, 7vw, 35px);
        line-height: 1.15;
        letter-spacing: -0.5px;
    }

    .electro-hero-content p {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.6;
    }

    .electro-hero-actions {
        gap: 9px;
    }

        .electro-hero-actions .mud-button-root {
            min-height: 40px;
            padding: 0 12px;
            font-size: 12px;
        }

    .electro-hero-visual {
        min-height: 150px;
        gap: 8px;
        padding: 18px;
        border-radius: 13px;
    }

    .electro-hero-icon {
        font-size: 65px !important;
    }

    .electro-benefits {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        margin-top: 12px;
    }

    .electro-benefit {
        min-height: 76px;
        padding: 12px 14px;
    }

        .electro-benefit > .mud-icon-root {
            font-size: 31px !important;
        }

        .electro-benefit strong {
            font-size: 13px;
        }

        .electro-benefit span {
            font-size: 12px;
        }

    .electro-section {
        margin-top: 25px;
    }

    .electro-heading-row {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
    }

    .electro-section-title {
        font-size: 21px;
    }

    .electro-section-subtitle {
        font-size: 12px;
    }

    .electro-heading-row .mud-link {
        margin-top: 4px;
        font-size: 11px;
        white-space: nowrap;
    }

    .electro-category {
        min-height: 108px;
        gap: 8px;
        padding: 12px 5px;
        border-radius: 10px;
    }

        .electro-category .mud-icon-root {
            font-size: 32px !important;
        }

        .electro-category strong {
            font-size: 12px;
        }

    .electro-offer-section {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 26px;
        padding: 24px 20px;
        border-radius: 13px;
    }

    .electro-offer-label {
        font-size: 11px;
    }

    .electro-offer-section h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .electro-offer-section p {
        font-size: 13px;
    }

    .electro-offer-section .mud-button-root {
        width: 100%;
        min-height: 44px;
    }

    .electro-product-visual {
        min-height: 135px;
        padding: 18px;
    }

        .electro-product-visual .mud-icon-root {
            font-size: 61px !important;
        }

    .electro-product-info {
        gap: 8px;
        padding: 13px;
    }

        .electro-product-info h3 {
            font-size: 14px;
        }

        .electro-product-info p {
            min-height: 55px;
            font-size: 12px;
        }

        .electro-product-info .mud-button-root {
            min-height: 40px;
            padding: 0 8px;
            font-size: 11px;
        }

    .electro-service-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    .electro-service-card {
        min-height: 175px;
        padding: 19px !important;
    }

        .electro-service-card h3 {
            font-size: 16px;
        }

    .electro-sidebar {
        display: block;
    }

    .electro-sidebar-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .electro-side-card {
        min-height: 112px;
        padding: 13px !important;
    }

    .electro-side-content h3 {
        font-size: 14px;
    }

    .electro-side-content p {
        font-size: 12px;
    }

    .electro-footer-content {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

        .electro-footer-content > span {
            text-align: left;
            font-size: 11px;
        }
}

/* ========================================================= 
    RESPONSIVE: MÓVILES MUY PEQUEÑOS 
========================================================= */
@media (max-width: 360px) {
    .eh-topbar {
        gap: 7px;
        padding: 10px 8px;
    }

    .eh-brand-icon {
        font-size: 25px !important;
    }

    .eh-brand-name {
        font-size: 18px;
    }

    .eh-brand-subtitle {
        font-size: 9px;
    }

    .eh-navigation a {
        padding: 0 10px;
        font-size: 11px;
    }

    .electro-container {
        width: calc(100% - 18px);
    }

    .electro-hero {
        padding: 18px 14px;
    }

    .electro-hero-actions .mud-button-root {
        padding: 0 9px;
        font-size: 11px;
    }

    .electro-heading-row {
        flex-wrap: wrap;
    }

    .electro-section-title {
        font-size: 19px;
    }

    .electro-category {
        min-height: 98px;
    }

        .electro-category strong {
            font-size: 11px;
        }

    .electro-product-info {
        padding: 10px;
    }

        .electro-product-info h3 {
            font-size: 13px;
        }
}

/* ========================================================= 
    ACCESIBILIDAD: MOVIMIENTO REDUCIDO 
========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    , ::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
