/* ============================================================================
   NUEVO HEADER RESPONSIVE - DISEÑO MODERNO FLUIDO
   Max-width 1440px, clamp() para spacing/typography, grid inteligente
   Breakpoints: 1024px (tablet), 768px (móvil)
   ============================================================================ */

/* ===== DESKTOP (BASE) ===== */
.header-menus-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-nuevo-container {
    width: 100%;
    background-color: #FFFFFF;
    position: relative;
    z-index: 998;
}

.header-nuevo-hamburger {
    display: none;
}

.header-nuevo-wrapper {
    max-width: none;
    width: 100%;
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 6vw, 7.2rem);
    padding-block: clamp(1.3rem, 3vw, 1.8rem);
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 4vw, 4rem);
}

/* Header compacto en scroll */
.header-menus-wrapper.scrolled .header-nuevo-wrapper {
    padding-block: clamp(0.5rem, 1vw, 0.8rem);
}

.header-menus-wrapper.scrolled .header-nuevo-contenido-derecho {
    flex-direction: row;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.header-menus-wrapper.scrolled .header-nuevo-descripcion {
    justify-content: flex-start;
    width: auto;
}

.header-menus-wrapper.scrolled .header-nuevo-descripcion>span:first-child {
    display: none;
}

.header-menus-wrapper.scrolled .header-nuevo-separador {
    display: none;
}

.header-menus-wrapper.scrolled .header-nuevo-fila-inferior {
    width: auto;
    flex: 1;
}

.header-menus-wrapper.scrolled .header-nuevo-logo {
    width: clamp(80px, 8vw, 100px);
}

.header-nuevo-contenido-derecho {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    flex: 1;
    min-width: 0;
}

.header-nuevo-logo {
    width: clamp(120px, 12vw, 153px);
    height: auto;
    flex-shrink: 0;
}

.header-nuevo-logo a {
    display: block;
    width: 100%;
}

.header-nuevo-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.header-nuevo-descripcion {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.625rem, 1.2vw, 0.875rem);
    line-height: 1.4;
    color: #3A4F39;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.4rem, 0.8vw, 0.6rem);
    width: 100%;
}

.header-nuevo-descripcion>span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.header-nuevo-separador {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
}

.header-nuevo-fila-inferior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: clamp(1rem, 2vw, 2rem);
}

.header-nuevo-menu-nav {
    display: flex;
    gap: clamp(2rem, 3vw, 3.125rem);
    align-items: center;
    flex-shrink: 0;
}

.header-nuevo-menu-nav span {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #2D2E2E;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    user-select: none;
}

.header-nuevo-menu-nav span:hover {
    color: #3CAA36;
}

.header-nuevo-busqueda-inline {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.5vw, 1.375rem);
    flex: 1;
    min-width: 0;
    max-width: clamp(300px, 40vw, 600px);
    position: relative;
}

.header-nuevo-busqueda-icono {
    width: 24.02px;
    height: 24.02px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-nuevo-busqueda-icono:hover {
    transform: scale(1.1);
}

.header-nuevo-busqueda-icono img,
.header-nuevo-busqueda-icono svg {
    width: 100%;
    height: 100%;
    display: block;
}

.header-nuevo-busqueda-linea-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 2px;
    /* Área de click ampliada verticalmente sin cambiar apariencia */
    min-height: 32px;
    cursor: text;
}

.header-nuevo-busqueda-input {
    position: absolute;
    left: 0;
    /* Expande el hit-target verticalmente usando padding+margin negativo:
       visualmente el texto sigue en el mismo sitio, pero el área clickeable
       es 10px mayor arriba y abajo. */
    top: -10px;
    bottom: -10px;
    right: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
    line-height: 1.4;
    letter-spacing: 0.015em;
    color: #2D2E2E;
    padding: 10px 0;
    padding-right: clamp(1.5rem, 3vw, 2.625rem);
    width: 100%;
    display: none;
    cursor: text;
}

.header-nuevo-busqueda-input.visible {
    display: block;
}

.header-nuevo-busqueda-input::placeholder {
    color: #9E9E9E;
}

.header-nuevo-busqueda-linea-wrapper::before {
    content: 'Buscar por producto o referencia';
    position: relative;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    color: #9E9E9E;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.header-nuevo-busqueda-linea-wrapper:has(.header-nuevo-busqueda-input.visible)::before {
    opacity: 0;
}

@media (max-width: 1150px) {
    .header-nuevo-busqueda-linea-wrapper::before {
        content: 'Buscar producto...';
    }
}

@media (max-width: 950px) {
    .header-nuevo-busqueda-linea-wrapper::before {
        content: 'Buscar...';
    }
}

.header-nuevo-iconos-accion {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.header-nuevo-icono {
    width: clamp(20px, 2vw, 24px);
    height: clamp(20px, 2vw, 24px);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
}

.header-nuevo-icono:hover {
    transform: scale(1.1);
}

.header-nuevo-icono img {
    width: 100%;
    height: 100%;
    display: block;
}

.header-nuevo-icono.favoritos-icon {
    display: flex;
}

.header-nuevo-icono.favoritos-icon.hidden {
    display: none;
}

.header-nuevo-icono.carrito-icon img {
    filter: brightness(0);
}

.header-nuevo-icono.items::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #3CAA36;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.header-nuevo-boton-login {
    background: transparent;
    border: 1px solid #3CAA36;
    border-radius: 5px;
    height: clamp(2.5rem, 3vw, 2.875rem);
    padding: clamp(0.5rem, 1vw, 0.625rem) clamp(1rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.header-nuevo-boton-login span {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #3CAA36;
}

.header-nuevo-boton-login:hover {
    background-color: #3CAA36;
}

.header-nuevo-boton-login:hover span {
    color: #FFFFFF;
}

.header-nuevo-usuario-menu {
    position: relative;
}

.header-nuevo-usuario-nombre {
    display: flex;
    align-items: center;
    gap: clamp(0.3rem, 0.6vw, 0.5rem);
    cursor: pointer;
    padding: clamp(0.4rem, 0.7vw, 0.5rem) clamp(0.6rem, 1vw, 0.75rem);
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.header-nuevo-usuario-nombre:hover {
    background-color: #F5F5F5;
}

.header-nuevo-usuario-nombre .welcome-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
    color: #9E9E9E;
}

.header-nuevo-usuario-nombre .user-display-name {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(0.8125rem, 0.95vw, 0.875rem);
    color: #2D2E2E;
}

.header-nuevo-usuario-nombre i {
    font-size: clamp(0.7rem, 0.85vw, 0.75rem);
    color: #9E9E9E;
    transition: transform 0.3s ease;
}

.header-nuevo-usuario-nombre:hover i {
    transform: rotate(180deg);
}

.header-nuevo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 996;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.header-nuevo-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-nuevo-logo,
.header-nuevo-menu-nav span,
.header-nuevo-icono,
.header-nuevo-boton-login {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nuevo-menu-nav span,
.header-nuevo-boton-login span {
    white-space: nowrap;
}

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .header-nuevo-wrapper {
        padding: 15px 30px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        grid-template-areas: unset;
        grid-template-columns: unset;
        grid-template-rows: unset;
        row-gap: unset;
    }

    .header-nuevo-hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 24px;
        height: 18px;
        cursor: pointer;
        order: 0;
    }

    .header-nuevo-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #2D2E2E;
    }

    .header-nuevo-logo {
        width: 62px;
        order: 1;
    }

    .header-nuevo-descripcion,
    .header-nuevo-separador {
        display: none;
    }

    .header-nuevo-nav-busqueda {
        order: 2;
        flex: 1;
        gap: 0;
    }

    .header-nuevo-menu-nav {
        display: none;
    }

    .header-nuevo-busqueda-inline {
        flex: 1;
        max-width: none;
        border: 1px solid #B1DDAF;
        border-radius: 5px;
        padding: 8px 15px;
        gap: 8px;
    }

    .header-nuevo-busqueda-icono {
        width: 21px;
        height: 21px;
    }

    .header-nuevo-busqueda-linea-wrapper {
        border-bottom: none;
        padding-bottom: 0;
        min-height: unset;
    }

    /* En tablet el inline-wrapper ya tiene padding propio: resetear la expansión
       del hit-target para que el input no se salga del borde redondeado */
    .header-nuevo-busqueda-input {
        top: 0;
        bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-nuevo-busqueda-linea-wrapper::before {
        content: 'Buscar';
    }

    .header-nuevo-iconos-accion {
        order: 3;
        gap: 15px;
    }

    .header-nuevo-icono {
        width: 21px;
        height: 21px;
    }

    .header-nuevo-usuario-nombre .welcome-text,
    .header-nuevo-usuario-nombre .user-display-name {
        font-size: 12px;
    }

    .header-nuevo-boton-login {
        padding: 6px 12px;
        font-size: 13px;
        height: auto;
    }
}

/* ===== MÓVIL (max-width: 768px) ===== */
@media (max-width: 768px) {
    .header-nuevo-wrapper {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-nuevo-hamburger {
        width: 21px;
        height: 21px;
        order: 0;
        gap: 3px;
        justify-content: space-between;
    }

    .header-nuevo-hamburger span {
        height: 2px;
    }

    .header-nuevo-logo {
        width: 62px;
        order: 1;
    }

    /* Descripción: solo selector idioma derecha del logo */
    .header-nuevo-descripcion {
        display: flex;
        order: 1;
        margin-left: 8px;
        font-size: 11px;
    }

    .header-nuevo-descripcion>span {
        display: none;
    }

    .header-nuevo-separador {
        display: none;
    }

    .header-nuevo-menu-nav {
        display: none;
    }

    /* Búsqueda: siempre icono visible */
    .header-nuevo-nav-busqueda {
        order: 2;
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
    }

    .header-nuevo-busqueda-inline {
        border: none;
        padding: 0;
        gap: 0;
        width: auto;
    }

    .header-nuevo-busqueda-icono {
        width: 21px;
        height: 21px;
    }

    .header-nuevo-busqueda-linea-wrapper {
        display: none;
        border-bottom: none;
    }

    /* Iconos: favoritos + carrito + login */
    .header-nuevo-iconos-accion {
        order: 3;
        gap: 15px;
    }

    .header-nuevo-icono {
        width: 21px;
        height: 21px;
    }

    .header-nuevo-icono.carrito-icon {
        width: 20px;
        height: 20px;
    }

    /* Usuario autenticado: solo icono */
    .header-nuevo-usuario-nombre {
        width: 16px;
        height: 21px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .header-nuevo-usuario-nombre .welcome-text,
    .header-nuevo-usuario-nombre .user-display-name,
    .header-nuevo-usuario-nombre i {
        display: none;
    }

    /* Icono usuario autenticado: verde */
    .header-nuevo-usuario-nombre::before {
        content: '';
        display: block;
        width: 16px;
        height: 21px;
        background-image: url('/images/iconos/login.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: brightness(0) saturate(100%) invert(56%) sepia(63%) saturate(410%) hue-rotate(76deg) brightness(95%) contrast(87%);
    }

    /* Login no autenticado: icono negro */
    .header-nuevo-boton-login {
        width: 16px;
        height: 21px;
        padding: 0;
        border: none;
        background: transparent;
        min-width: unset;
        position: relative;
    }

    .header-nuevo-boton-login span {
        display: none;
    }

    .header-nuevo-boton-login::before {
        content: '';
        display: block;
        width: 16px;
        height: 21px;
        background-image: url('/images/iconos/login.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: brightness(0) saturate(100%);
    }

    /* Búsqueda expandida */
    .header-nuevo-wrapper.search-expanded .header-nuevo-descripcion {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-descripcion::before {
        content: '📞 (9h a 17h)';
        font-size: 11px;
        display: block;
        margin-right: 8px;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-descripcion>span {
        display: none;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-nav-busqueda {
        order: 4;
        width: 100%;
        flex: 0 0 100%;
        margin-left: 0;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-busqueda-inline {
        width: 100%;
        height: 37px;
        border: 1px solid #B1DDAF;
        border-radius: 5px;
        padding: 8px 15px;
        gap: 8px;
        display: flex;
        align-items: center;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-busqueda-linea-wrapper {
        display: flex;
        flex: 1;
        border-bottom: none;
        padding-bottom: 0;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-busqueda-linea-wrapper::before {
        content: 'Buscar';
        font-size: 14px;
        line-height: 20px;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-busqueda-icono {
        display: block;
    }

    .header-nuevo-wrapper.search-expanded .header-nuevo-iconos-accion {
        order: 3;
    }
}

/* ============================================================================
   MOBILE DRAWER - NAVEGACIÓN PRODUCTOS/SERVICIOS
   Drawer lateral 320px desde izquierda, basado en diseño Figma
   ============================================================================ */

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 33, 33, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    background: #FFFFFF;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 11px 9px;
    background: #FFFFFF;
    height: 40px;
    flex-shrink: 0;
    border-top-right-radius: 10px;
}

.mobile-drawer-close {
    width: 18px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #757575;
    padding: 0;
}

/* Botones principales Productos/Servicios */
.mobile-drawer-main-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #FFFFFF;
}

.mobile-drawer-main-btn {
    height: 56px;
    background: #FFFFFF;
    border: none;
    border-bottom: 1px solid #F5F5F5;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #2D2E2E;
    cursor: pointer;
    text-align: left;
    padding: 0 29px;
    transition: background 0.2s ease;
}

.mobile-drawer-main-btn:active {
    background: #F5F5F5;
}

.mobile-drawer-tab-servicios {
    height: 42px;
    background: #EBF6EB;
    padding: 0 29px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #2D2E2E;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-drawer-promo {
    height: 40px;
    background: #3CAA36;
    padding: 0 29px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.mobile-drawer-section-header {
    height: 42px;
    background: #FFFFFF;
    padding: 0 29px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #2D2E2E;
    display: flex;
    align-items: center;
}

.mobile-drawer-breadcrumb {
    display: flex;
    align-items: center;
    padding: 11px 29px;
    background: #FFFFFF;
    height: 42px;
    gap: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2D2E2E;
}

.mobile-drawer-back {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    color: #2D2E2E;
    font-size: 20px;
}

.mobile-drawer-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #FFFFFF;
}

.mobile-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 29px;
    height: 40px;
    border-bottom: 1px solid #F5F5F5;
    cursor: pointer;
    background: #FFFFFF;
}

.mobile-category-item:active {
    background: #F5F5F5;
}

.mobile-category-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-category-icon img {
    max-width: 100%;
    max-height: 100%;
}

.mobile-category-text {
    flex: 1;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #2D2E2E;
    cursor: pointer;
    padding: 10px 0;
    text-decoration: none;
}

.mobile-category-text:active {
    opacity: 0.7;
}

.mobile-category-arrow {
    width: 24px;
    height: 24px;
    color: #757575;
    flex-shrink: 0;
    transform: rotate(270deg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.mobile-category-arrow:active {
    background: #F5F5F5;
}

.mobile-subcategory-item {
    padding: 0 29px;
    height: 40px;
    border-bottom: 1px solid #F5F5F5;
    display: flex;
    align-items: center;
    background: #FFFFFF;
}

.mobile-subcategory-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #2D2E2E;
    flex: 1;
    cursor: pointer;
    padding: 10px 0;
    text-decoration: none;
}

.mobile-subcategory-text:active {
    opacity: 0.7;
}

.mobile-subcategory-arrow {
    width: 24px;
    height: 24px;
    color: #757575;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.mobile-subcategory-arrow:active {
    background: #F5F5F5;
}

.mobile-product-item {
    padding: 0 29px;
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #FFFFFF;
    text-decoration: none;
    color: inherit;
}

.mobile-product-item:active {
    background: #F5F5F5;
}

.mobile-product-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #2D2E2E;
}

.mobile-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 29px;
    height: 48px;
    cursor: pointer;
    background: #FFFFFF;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #2D2E2E;
}

.mobile-service-item:active {
    background: #F5F5F5;
}

.mobile-service-icon {
    width: 28px;
    height: 28px;
}

.mobile-service-icon img {
    width: 100%;
    height: 100%;
}

.mobile-drawer-view {
    display: none;
}

.mobile-drawer-view.active {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 1025px) {

    .mobile-drawer,
    .mobile-drawer-overlay {
        display: none !important;
    }
}

/* ===== TABLET (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-menus-wrapper {
        position: sticky;
    }

    .header-nuevo-wrapper {
        padding-inline: clamp(1.5rem, 3vw, 3rem);
    }

    .header-nuevo-logo {
        width: clamp(100px, 10vw, 120px);
    }

    .header-nuevo-descripcion>span:first-child {
        font-size: clamp(10px, 1.2vw, 12px);
    }

    .header-nuevo-menu-nav {
        display: none;
    }

    .header-nuevo-hamburger {
        display: flex;
    }

    .header-nuevo-busqueda-inline {
        max-width: 250px;
    }

    /* Dropdown desktop oculto en tablet */
    .productos-menu-container,
    .servicios-menu-container {
        display: none !important;
    }
}

/* ===== MÓVIL (<768px) ===== */
@media (max-width: 767px) {
    .header-nuevo-hamburger {
        display: flex;
    }

    .header-nuevo-menu-nav {
        display: none;
    }

    /* Dropdown desktop oculto en móvil */
    .productos-menu-container,
    .servicios-menu-container {
        display: none !important;
    }
}

/* ============================================
   DESKTOP RIGHT ICONS - Wrapper with equal gap
   ============================================ */
.header-right-icons {
    display: flex;
    align-items: flex-end;
    align-self: flex-end;
    gap: 20px;
    flex-shrink: 0;
    margin-left: 24px;
}

/* In sticky/scrolled mode, center-align the icons */
#cabecera.scrolled .header-right-icons {
    align-items: center;
    align-self: center;
}

.header-right-icons .header-cart-icon {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.header-right-icons .header-fav-icon {
    margin-right: 0 !important;
}

.header-cart-count {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #212121 !important;
    color: #FFFFFF !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    letter-spacing: 0.5px !important;
    text-indent: 0.5px !important;
    text-align: center !important;
    white-space: nowrap !important;
    border-radius: 12px !important;
    padding: 4px 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    height: auto !important;
}