
/* =========================================
   CHARATEC - CSS PERSONALIZADO
   ========================================= */

:root {
    --charatec-ancho: 1400px;
}

/* =========================================
   1. CARRUSEL Y BANNERS INFERIORES
   ========================================= */

@media (min-width: 1200px) {

    body#index main > #carousel,
    body#index main > #dthtmlcontent-container-HomeBefore {
        width: 90% !important;
        max-width: var(--charatec-ancho) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Contenedor interno de los banners */
    body#index #dthtmlcontent-container-HomeBefore > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Imágenes del carrusel */
body#index #carousel img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* =========================================
   2. BARRA SUPERIOR
   Atención al cliente y correo
   ========================================= */

@media (min-width: 1200px) {

    #header .header-nav {
        height: auto !important;
        min-height: 44px;
    }

    #header .header-nav-inner {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        min-height: 44px;
    }

    #header .header-nav .left-nav {
        flex: 1 1 auto;
        min-width: 0;
    }

    #header .header-nav .settings-toggle_content .links {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 24px;
    }

    #header .header-nav .settings-toggle_content .links > div {
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        flex: 0 1 auto;
    }

    #header .header-nav .settings-toggle_content .links h3 {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.5 !important;
    }

    #header .header-nav .settings-toggle_content .links ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    #header .header-nav .right-nav {
        margin-left: auto;
    }
}

/* =========================================
   3. PANTALLAS PEQUEÑAS
   ========================================= */

@media (max-width: 1199px) {

    body#index main > #carousel,
    body#index main > #dthtmlcontent-container-HomeBefore {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    body#index #carousel img {
        max-width: 100%;
        height: auto;
    }
}
