    @import url('https://solargentinotv.com.ar/assets/fonts/Gilroy/Gilroy.css');
    @import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700&display=swap');

    :root {
        --primary-color: #ff7600;
    }

    /* Reset general */
    * {
        font-family: 'Gilroy', sans-serif;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .dropcart span {
        font-family: 'GilroyMonoNums' !important;
        border: ll;
    }

    .cart-action[data-act="inc"],
    .cart-action[data-act="dec"] {
        width: 1.43em;
        padding-left: 0.3em;
        padding-right: 0.3em;
        height: 1.43em;
        text-align: center;
    }

    span.cart-action {
        border: 2px solid #ff7600;
        padding-left: 0.2em;
        padding-right: 0.2em;
        display: inline-block;
        cursor: pointer;
        border-radius: 0.3em;
    }

    .cart-action[data-act="rm"] {
        padding-left: 0.3em;
        padding-right: 0.3em;
    }

    .cart-action:hover {
        border: 2px solid #ff7600;
        background: #ff7600;
        color: #fff;
    }

    span {}

    /* --- HEADER GENERAL --- */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        flex-wrap: wrap;
        background-color: #fff;
        border-bottom: 3px solid var(--primary-color);
        color: var(--primary-color);
    }

    /* --- LOGO Y NOMBRE --- */
    #pp-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: -2.6em;
    }

    #pp-logo img {
        border: 2px solid transparent;
        border-radius: 50%;
        width: 65px;
        height: 65px;
        transition: border-color 0.3s ease;
        position: relative;
        top: 2.9em;
        left: -3.8em;
    }

    #pp-logo:hover img {
        border-color: #000;
    }

    #pp-logo span {
        font-size: 1.5rem;
        font-weight: bold;
        margin-top: -0.9em;
        color: var(--primary-color);
    }

    #pp-logo span:hover {
        color: #000;
    }

    header a:hover {
        color: #000;
    }

    .pp-logo:hover a,
    .pp-logo:hover span {
        color: #000;
    }

    /* --- BUSCADOR --- */
    .search-bar {
        display: flex;
        align-items: center;
        flex-grow: 1;
        max-width: 53em;
        margin: 0 2rem;
        border: 2px solid var(--primary-color);
        border-radius: 0.4em;
        padding: 0.2em 0.5em;
        background: #fff;
    }

    .search-bar input {
        flex-grow: 1;
        border: none;
        font-size: 1rem;
        padding: 1em 0.8rem;
        outline: none;
        background: #fff;
        color: var(--primary-color);
        font-weight: 700;
    }

    .search-bar img {
        width: 30px;
        height: 30px;
        cursor: pointer;
        user-select: none;
        filter: brightness(0) saturate(100%) invert(46%) sepia(79%) saturate(875%) hue-rotate(355deg) brightness(98%) contrast(110%);
    }

    /* Placeholder */
    ::placeholder {
        color: var(--primary-color);
        opacity: 1;
    }

    /* --- NAV LINKS (Mail, IG, WP, Carrito, Cuenta) --- */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 1.9rem;
        flex-wrap: nowrap;
        margin-right: 5em;
    }

    .icon-text {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-weight: 700;
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .icon-text:hover {
        color: #000;
    }

    .icon-right,
    .mail-icon,
    .cart-icon {
        width: 36px;
        height: auto;
        filter: brightness(0) saturate(100%) invert(46%) sepia(79%) saturate(875%) hue-rotate(355deg) brightness(98%) contrast(110%) !important;
        transition: none !important;
        cursor: pointer
    }

    #mi-cuenta-container img {
        position: relative;
        left: 39em;
    }

    img.icon-right {}

    .mi-cuenta img {
        position: relative;
        left: 9em;
        top: -0.7em;
    }

    .mail-icon {
        filter: brightness(0) saturate(100%) invert(17%) sepia(61%) saturate(845%) hue-rotate(15deg) brightness(96%) contrast(104%);
    }

    /* Hover global en íconos */
    .wp:hover img,
    .mail:hover img,
    .ig:hover img,
    .mi-cuenta:hover img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(30%) saturate(7%) hue-rotate(151deg) brightness(105%) contrast(101%);
    }

    /* --- BOTONES (Acceder / Dropdown Perfil) --- */
    button.btn-login {
        color: var(--primary-color);
        font-weight: 700;
        border: 2px solid var(--primary-color);
        border-radius: 0.3em;
        padding: 0.2em 0.6em;
        background: #fff;
        cursor: pointer;
        font-size: 16px;
        width: 13em;
        transition: background 0.3s ease, color 0.3s ease;
        text-align: center;
        top: 1.4em;
        position: relative;
    }

    button.btn-login:hover {
        background: var(--primary-color);
        color: #fff;
    }

    /* Dropdown */
    .dropnav {
        position: relative;
        display: inline-block;
        width: 13em;
    }

    .dropnav-content {
        display: none;
        position: absolute;
        right: -12px;
        background-color: #fff;
        border: 2px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 100%;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        margin-top: 0.2em;
        overflow: hidden;
        z-index: 10;
    }

    .dropnav.show .dropnav-content {
        display: block;
    }

    .dropnav-content button {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-start;
        width: 100%;
        padding: 8px 12px;
        border: none;
        background: none;
        color: var(--primary-color);
        cursor: pointer;
        font-weight: 700;
    }

    .dropnav-content button:hover {
        background: var(--primary-color);
        color: #fff;
    }

    /* Iconos dentro del dropdown */
    .dropnav-content button img.icon-dropdown {
        width: 18px;
        height: 18px;
        filter: brightness(0) saturate(100%) invert(56%) sepia(75%) saturate(4013%) hue-rotate(1deg) brightness(104%) contrast(105%);
        transition: none !important;
    }

    .dropnav-content button:hover img.icon-dropdown {
        filter: brightness(0) invert(1);
    }

    .icon-logout {
        transform: scaleX(-1);
    }

    /* Estado abierto */
    .mi-cuenta.open img.icon-right {
        filter: brightness(0) saturate(100%) invert(0%) sepia(32%) brightness(95%) contrast(101%) !important;
    }

    .mi-cuenta.open .btn-login {
        color: #000 !important;
        background: #fff !important;
        border: 2px solid #000 !important;
    }

    /* --- NAVBAR PRINCIPAL --- */
    .main-navbar {
        position: relative;
        width: 100%;
        color: var(--primary-color);
        text-transform: capitalize;
        font-size: 1.3em;
        border-bottom: 3px solid var(--primary-color);
        box-shadow: 0 4px 10px var(--primary-color);
        background-color: #fff;
        padding: 0.4em 4em;
        height: 3.86em;
    }

    .nav-items {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-item {
        position: relative;
        padding: 1rem;
        cursor: pointer;
    }

    .nav-item>a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s;
    }

    .nav-item:hover>a {
        color: #000;
    }

    /* --- MENÚS DESPLEGABLES --- */
    .dropnav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border: 3px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 250px;
        z-index: 9999;
        /* Asegura visibilidad */
        overflow: visible !important;
        /* Muy importante */
        display: none;
    }

    .dropnav:hover .dropnav-menu {
        display: block;
    }

    .dropnav-submenu {
        position: relative;
    }

    .dropnav-submenu {}

    .dropnav-submenu>a {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--primary-color);
        transition: background-color 0.2s, color 0.2s;
    }

    .dropnav-submenu>a:hover {
        background-color: var(--primary-color) !important;
        color: #fff !important;
    }

    .menuheight {
        max-height: unset;
    }

    .dropnav-submenu .submenu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        /* Hace que salga al costado derecho */
        background: #fff;
        border: 3px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 220px;
        z-index: 10000;
        /* Más alto que el menú padre */
        overflow: visible;
    }

    .submenu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        background-color: #fff;
        border: 3px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 220px;
        text-transform: capitalize;
        z-index: 4000000;
        z-index: 600000000000000;
    }

    /* Mostrar submenu al pasar el mouse */
    .dropnav-submenu:hover .submenu {
        display: block;
    }

    .submenu a {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--primary-color);
        transition: background-color 0.2s, color 0.2s;
        text-decoration: none;
        width: 16em;
    }

    .submenu a:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* Flecha */
    .arrow {
        margin-left: 0.3rem;
        color: var(--primary-color);
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .nav-item.dropnav:hover .arrow {
        transform: rotate(180deg);
        color: #000;
    }

    /* --- RESPONSIVO --- */
    @media (max-width: 600px) {
        .mi-cuenta img.icon-right {
            position: relative !important;
            top: -0.2em;
            margin-left: 0.3em;
            cursor: pointer;
        }

        .nav-links {
            width: 7em;
            justify-content: center;
            margin: 0 auto;
        }

        header {
            display: block;
            text-align: center;
        }

        .btn-login {
            display: none !important;
        }
    }

    /* ===== Estilos Generales - Desktop ===== */
    .pp-main-navbar,
    .pp-search-bar,
    .pp-nav-links {
        display: flex;
        /* visibles en desktop */
    }

    .menu-toggle {
        display: none;
    }

    /* Estilos base para desktop */
    .pp-name {
        display: block;
        text-align: center;
        margin-left: 4em;
        /* válido en desktop */
        margin-top: 0;
        /* opcional */
        margin-bottom: 0;
        /* opcional */
    }

    /* Sidebar - oculto por defecto en desktop */
    #pp-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background-color: #ccc;
        color: #3b2d00;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1500;
        padding: 15px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
        font-family: Arial, sans-serif;
        display: none;
        /* oculto en desktop */
    }

    /* Mostrar sidebar cuando tenga la clase 'open' */
    #pp-sidebar.open {
        left: 0;
        display: block;
        /* visible en móvil */
    }

    #pp-sidebar.open~#page-scroll {
        overflow: hidden !important;
    }

    /* Botón cerrar */
    #pp-close-btn {
        font-size: 28px;
        cursor: pointer;
        color: #3b2d00;
        margin-bottom: 20px;
        user-select: none;
        text-align: right;
    }

    /* Links del menú */
    .pp-nav-items a {
        color: #3b2d00;
        text-decoration: none;
        display: block;
        padding: 8px 10px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        font-weight: 500;
    }

    /* Hover en enlaces */
    .pp-nav-items a:hover {
        background-color: #e0d9b8;
    }

    /* Dropdown y submenús en móvil */
    .pp-dropdown-menu,
    .pp-submenu {
        display: none;
        padding-left: 15px;
        border-left: 2px solid #c9c18a;
        margin-top: 5px;
    }

    /* Mostrar en mobile cuando tengan la clase 'open' */
    .pp-dropdown-menu.open,
    .pp-submenu.open {
        display: block;
    }

    /* Estilo para triggers de dropdown en móvil */
    .pp-nav-items .pp-dropdown-trigger {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        padding: 8px 10px;
        user-select: none;
    }

    /* Opcionales: iconos o flechas en triggers */
    .pp-dropdown-trigger span {
        font-size: 1em;
    }

    /* Estilos para enlaces en submenús en móvil */
    .pp-submenu a {
        display: block;
        padding: 0.3rem 0.7rem;
        color: #3b2d00;
        text-decoration: none;
        font-weight: 500;
        border-radius: 4px;
    }

    /* Hover en submenús en móvil */
    .pp-submenu a:hover {
        background-color: #e0d9b8;
    }

    /* Responsivo - para pantallas <= 992px */
    @media (max-width: 992px) {

        /* Ocultar navbar, barra de búsqueda, etc. */
        .pp-main-navbar,
        .pp-search-bar,
        .pp-nav-links,
        .main-navbar,
        .search-bar,
        #red {
            display: none !important;
        }

        .pp-logo-svg {
            opacity: 0;
        }

        /* Mostrar botón menú hamburguesa */
        .menu-toggle {
            display: block;
            position: relative;
            top: 1rem;
            left: 2rem;
            font-size: 2rem;
            background: none;
            width: 2%;
            border: none;
            cursor: pointer;
            color: #3b2d00;
            z-index: 2001;
            user-select: none;
        }

        /* Estado sticky cuando el sidebar está abierto */
        .menu-toggle.sticky-mode {
            position: sticky;
            top: 1rem;
        }

        #pp-logo span {
            margin-top: -2.5em;
            margin-bottom: 0.7em;
            margin-left: 4.8em;
        }

        /* Sidebar en móvil */
        #pp-sidebar {
            display: block;
            /* ya lo controlamos con JavaScript */
            position: fixed;
            top: 0;
            left: -320px;
            /* oculto por defecto */
            width: 300px;
            height: 100vh;
            background-color: #ccc;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
            overflow-y: auto;
            transition: left 0.3s ease;
            z-index: 1500;
            padding: 1rem;
            font-family: Arial, sans-serif;
            color: #3b2d00;
        }

        /* Botón cerrar en móvil */
        #pp-close-btn {
            font-size: 2.5rem;
            cursor: pointer;
            color: #3b2d00;
            text-align: right;
            margin-bottom: 1rem;
            user-select: none;
        }

        /* Estilos para los submenús en móvil */
        .dropnav-submenu {
            margin-bottom: 1rem;
        }

        /* Trigger para submenús en móvil */
        .dropnav-submenu>a.submenu-toggle {
            display: block;
            font-weight: bold;
            cursor: pointer;
            padding: 0.5rem 0.7rem;
            border-radius: 4px;
            user-select: none;
        }

        /* Hover en trigger de submenús */
        .dropnav-submenu>a.submenu-toggle:hover {
            background-color: #e0d9b8;
        }

        /* Submenús en móvil */
        .submenu {
            display: none;
            padding-left: 15px;
            margin-top: 0.5rem;
            border-left: 2px solid #c9c18a;
        }

        /* Mostrar submenús cuando tengan la clase 'open' */
        .submenu.open {
            display: block;
        }


        /* Buscador */
        .search-bar {
            display: flex;
            align-items: center;
            flex-grow: 1;
            max-width: 300px;
            margin: 0 0 1.5rem 0;
            padding: 0.2em 0.5em;
            border: 2px solid #3b2d00;
            border-radius: 0.4em;
            background-color: #ccc;
        }

        .search-bar input[type="text"] {
            flex-grow: 1;
            padding: 1em 0.8rem;
            font-size: 1rem;
            font-weight: 700;
            color: #3b2d00;
            border: none;
            outline: none;
            background: transparent;
        }

        .search-bar img {
            width: 30px;
            height: 30px;
            margin-left: -0.7em;
            cursor: pointer;
            user-select: none;
            filter: brightness(0) saturate(100%) invert(17%) sepia(36%) saturate(1888%) hue-rotate(22deg) brightness(94%) contrast(101%);
            opacity: 0.5;
            position: relative;
            left: 0;
            background: transparent;
        }
    }

    /* Sidebar abierto */
    #pp-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        /* oculto por defecto */
        width: 300px;
        height: 100vh;
        transition: left 0.3s ease;
        display: none;
        /* oculto por defecto */
        overflow-y: auto;
        z-index: 1000;
    }

    #pp-sidebar.open {
        left: 0;
        display: block;
    }

    /* Bloqueo scroll body y html */
    .scroll-locked {
        overflow: hidden !important;
        height: 100vh !important;
    }

    /* Responsive para max-width 992px */
    @media (max-width: 992px) {
        #pp-sidebar {
            left: -100%;
            width: 80vw;
            display: none;
        }

        #pp-sidebar.open {
            left: 0;
            display: block;
        }
    }

    .producto-img-container .contenedor {
        position: relative;
        overflow: hidden;
    }

    .producto-img-container .contenedor img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* asegura que todas las imágenes encajen */
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

    .producto-img-container .contenedor img.visible {
        opacity: 1;
        z-index: 1;
    }

    /* Textos al pasar el mouse */
    #red:hover,
    #mi-cuenta-text:hover {
        color: #000;
    }

    /* Imágenes/íconos al pasar el mouse */
    .icon-right:hover img,
    .casa:hover img,
    .mail-icon:hover img,
    .cart-icon:hover img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(95%) saturate(21%) hue-rotate(2deg) brightness(101%) contrast(107%);
    }

    /* En caso de que la propia imagen tenga la clase directamente */
    span#red:hover img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(95%) saturate(21%) hue-rotate(2deg) brightness(101%) contrast(107%);
    }

    .category-menu {
        display: flex;
        flex-wrap: nowrap;
        /* scroll horizontal */
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        gap: 0;
        margin-left: 2em;
        /* menos margen fijo */
        margin-bottom: 1.8em;
        font-size: 1.1em;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
        position: relative;
        border-radius: 0.3em;
    }

    .category-menu::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .menu-container {
        /* mejor evitar zoom, usar font-size o scale si quieres */
        scale: 0.7;
        width: 100%;
        margin-left: 4.4em;
        margin-bottom: -1.8em;
        margin-top: -1.4em;
    }

    .category-menu>span,
    .more-dropdown>.more-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 2.8em;
        min-width: 4.5em;
        cursor: pointer;
        padding: 0 0.8em;
        border: 3px solid var(--primary-color);
        background: #fff;
        color: var(--primary-color);
        font-weight: 700;
        white-space: nowrap;
        transition: all 0.3s ease;
        user-select: none;
        box-sizing: border-box;
        text-align: center;
        margin-right: -2px;
        font-size: 1.1em;
        flex-shrink: 0;
        /* evitar que se reduzca demasiado */
    }

    span.more-btn {
        border-radius: 0 0.3em 0.3em 0;
    }

    .more-dropdown>.more-btn {
        position: sticky;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 2.99em;
        border-left: none;
        cursor: pointer;
        padding: 0 0.8em;
        font-size: 1.34em;
        font-weight: 700;
        background: #fff;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        user-select: none;
        white-space: nowrap;
        transition: all 0.3s ease;
        width: 100%;
        flex-shrink: 0;
        margin-top: 0;
        border-bottom-right-radius: 0.3em !important;
        border-top-right-radius: 0.3em !important;
    }

    @media (max-width: 599px) {
        .more-dropdown>.more-btn {
            display: none;
        }
    }

    /* Hover y activo */
    .category-menu>span:hover,
    .more-dropdown>.more-btn:hover,
    .category-menu>span.active,
    .more-dropdown>.more-btn.active {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* Dropdown contenido */
    .dropnav-content-more {
        display: none;
        position: absolute;
        top: 2.9em;
        right: 7.83em;
        background: #fff;
        border: 2px solid var(--primary-color);
        padding: 0.5em 0;
        min-width: 150px;
        z-index: 999;
        flex-direction: column;
        zoom: 1.5;
        border-radius: 0.3em;
    }

    .dropnav-content-more span {
        display: block;
        padding: 0.5em 1em;
        cursor: pointer;
        color: var(--primary-color);
        font-weight: 700;
        background: #fff;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .dropnav-content-more span:last-child {
        border-bottom: none;
    }

    .dropnav-content-more span:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    .dropnav-content-more.show {
        display: flex;
    }

    /* BotÃ³n para mÃ³viles */
    .btn-categorias {
        display: none;
        background-color: var(--primary-color);
        color: white;
        padding: 0.7em 1.2em;
        border-radius: 6px;
        font-weight: 700;
        cursor: pointer;
        user-select: none;
        border: none;
        margin-left: 1em;
        margin-bottom: 3em;
        margin-top: 0.4em;
        font-size: 1.1em;
        position: relative;
    }

    /* Dropdown categorÃ­as para mÃ³vil */
    .dropnav-categorias {
        display: none;
        position: absolute;
        top: 55%;
        left: 0;
        background: white;
        border: 2px solid var(--primary-color);
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        padding: 0.5em 0;
        z-index: 1000;
        flex-direction: column;
        width: 10em;
        max-height: 15em;
        overflow-y: auto;
    }

    .dropnav-categorias span {
        display: block;
        padding: 0.5em 1em;
        border: 0 !important;
        cursor: pointer;
        color: var(--primary-color);
        font-weight: 700;
        background: #fff;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .dropnav-categorias span:last-child {
        border-bottom: none;
    }

    .dropnav-categorias span:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* RESPONSIVE */

    /* Extra grandes pantallas */
    @media (min-width: 1801px) {
        .category-menu {
            margin-left: 3em;
            font-size: 1.3em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 4em;
            padding: 0 1.2em;
        }
    }

    .menuheight {
        font-weight: 700;
    }

    /* Grandes pantallas 1400px - 1800px */
    @media (max-width: 1800px) and (min-width: 1401px) {
        .category-menu {
            margin-left: 3em;
            font-size: 1.15em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 5em;
            padding: 0 1em;
        }
    }

    /* Medianos 1024px - 1400px */
    @media (max-width: 1400px) and (min-width: 1024px) {
        .category-menu {
            margin-left: 2em;
            font-size: 1em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 4.5em;
            padding: 0 0.8em;
        }
    }

    /* Tablets 768px - 1023px */
    @media (max-width: 1023px) and (min-width: 768px) {
        .category-menu {
            margin-left: 1em;
            font-size: 0.9em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 4em;
            padding: 0 0.6em;
        }
    }

    /* MÃ³viles grandes 600px - 767px */
    @media (max-width: 767px) and (min-width: 600px) {
        .category-menu {
            margin-left: 0.5em;
            font-size: 0.85em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 3.5em;
            padding: 0 0.5em;
        }
    }

    /* MÃ³viles pequeÃ±os <600px: mostrar botÃ³n, ocultar menÃº */
    @media (max-width: 599px) {
        .category-menu {
            display: none;
        }

        .btn-categorias {
            display: inline-block;
            margin-left: 1em;
        }
    }

    /* Mostrar dropdown en mÃ³vil cuando tenga clase show */
    .dropnav-categorias.show {
        display: flex;
        flex-direction: column;
        z-index: 2000;
    }

    /* Quita cualquier subrayado o color azul de los enlaces dentro del header */
    header a {
        text-decoration: none !important;
        text-decoration-line: none !important;
        text-decoration-color: transparent !important;
        color: inherit !important;
    }

    /* Asegura que en hover no vuelva el subrayado azul */
    header a:hover {
        text-decoration: none;
        color: #000;
    }

    /* --- FIX COMPLETO PARA HOVER EN SUBMENÚ --- */

    /* Asegura que el enlace padre esté por encima del submenú */
    .main-navbar .dropnav-submenu>a {
        position: relative;
        z-index: 20000;
        /* Más alto que la capa del submenu */
        display: block;
        padding: 0.6rem 1rem;
        color: var(--primary-color);
        background-color: #fff;
        transition: background-color 0.2s, color 0.2s;
    }

    /* Color en hover (aunque se superponga el submenu) */
    .main-navbar .dropnav-submenu:hover>a,
    .main-navbar .dropnav-submenu>a:hover {
        background-color: var(--primary-color) !important;
        color: #fff !important;
    }

    /* Opcional: mejorar contraste de submenú */
    .main-navbar .submenu a:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* Corrige interferencia del header global */
    header a:hover {
        text-decoration: none;
    }

    .dropcart-container {
        position: relative;
    }

    .cart-trigger {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        position: relative;
    }

    .cart-badge {
        position: absolute;
        top: -6px;
        right: -8px;
        background: #e53935;
        color: #fff;
        font-size: 12px;
        line-height: 1;
        padding: 3px 6px;
        border-radius: 50%;
    }

    .dropcart {
        position: absolute;
        top: 130%;
        right: 0;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        width: 340px;
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: fadeDown 0.2s ease-out;
        z-index: 9999;
    }

    @keyframes fadeDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropcart.show {
        display: flex;
    }

    .dropcart-header,
    .dropcart-footer {
        padding: 10px 14px;
        background: #fafafa;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }

    .dropcart-items {
        max-height: 260px;
        overflow-y: auto;
        padding: 10px 14px;
    }

    .dropcart-item {
        display: grid;
        grid-template-columns: 48px 1fr auto;
        gap: 10px;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid #eee;
    }

    .dropcart-item:last-child {
        border-bottom: none;
    }

    .dropcart-item img {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        object-fit: cover;
    }

    .dropcart-title {
        font-weight: 600;
        font-size: 14px;
    }

    .dropcart-sub {
        font-size: 12px;
        color: #666;
    }

    .dropcart-price {
        font-weight: 600;
        font-size: 14px;
    }

    .btn-ghost,
    .btn-primary {
        font-size: 13px;
        border-radius: 8px;
        padding: 6px 10px;
        cursor: pointer;
    }

    .btn-ghost {
        border: 1px solid #ccc;
        background: #fff;
    }

    .btn-primary {
        background: #e53935;
        color: #fff;
        border: none;
    }

    @import url('https://solargentinotv.com.ar/assets/fonts/Gilroy/Gilroy.css');
    @import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700&display=swap');

    :root {
        --primary-color: #ff7600;
    }

    /* Reset general */
    * {
        font-family: 'Gilroy', sans-serif;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    .dropcart-remove,
    .dropcart-add,
    .dropcart-rest {
        color: #ff7600;
        border: 2px solid #ff7600;
        padding-top: 0.1em;
        padding-left: 0.3em;
        padding-right: 0.3em;
        padding-bottom: 0.1em;
        font-weight: 700;
        border-radius: 0.3em;
        background: #fff;
        cursor: pointer;
    }

    .dropcart-remove:hover,
    .dropcart-add:hover,
    .dropcart-rest:hover {
        background: #ff7600;
        color: #fff;
        border: 2px solid #ff7600;
    }

    button#dropcart-close {
        color: #ff7600;
        font-family: 'Gilroy';
        font-weight: 700;
        border: none;
        outline: none;
        font-size: 16px;
        cursor: pointer;
    }

    /* --- HEADER GENERAL --- */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        flex-wrap: wrap;
        background-color: #fff;
        border-bottom: 3px solid var(--primary-color);
        color: var(--primary-color);
    }

    /* --- LOGO Y NOMBRE --- */
    #pp-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: -2.6em;
    }

    #pp-logo img {
        border: 2px solid transparent;
        border-radius: 50%;
        width: 65px;
        height: 65px;
        transition: border-color 0.3s ease;
        position: relative;
        top: 2.7em;
        left: -3.8em;
    }

    #pp-logo:hover img {
        border-color: #000;
    }

    #pp-logo span {
        font-size: 1.5rem;
        font-weight: bold;
        margin-top: -0.9em;
        color: var(--primary-color);
    }

    #pp-logo span:hover {
        color: #000;
    }

    header a:hover {
        color: #000;
    }

    .pp-logo:hover a,
    .pp-logo:hover span {
        color: #000;
    }

    /* --- BUSCADOR --- */
    .search-bar {
        display: flex;
        align-items: center;
        flex-grow: 1;
        max-width: 53em;
        margin: 0 2rem;
        border: 2px solid var(--primary-color);
        border-radius: 0.4em;
        padding: 0.2em 0.5em;
        background: #fff;
    }

    .search-bar input {
        flex-grow: 1;
        border: none;
        font-size: 1rem;
        padding: 1em 0.8rem;
        outline: none;
        background: #fff;
        color: var(--primary-color);
        font-weight: 700;
    }

    .search-bar img {
        width: 30px;
        height: 30px;
        cursor: pointer;
        user-select: none;
        filter: brightness(0) saturate(100%) invert(46%) sepia(79%) saturate(875%) hue-rotate(355deg) brightness(98%) contrast(110%);
    }

    /* Placeholder */
    ::placeholder {
        color: var(--primary-color);
        opacity: 1;
    }

    /* --- NAV LINKS (Mail, IG, WP, Carrito, Cuenta) --- */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 1.9rem;
        flex-wrap: nowrap;
        margin-right: 5em;
    }

    .icon-text {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-weight: 700;
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .icon-text:hover {
        color: #000;
    }

    .icon-right,
    .mail-icon,
    .cart-icon {
        width: 36px;
        height: auto;
        filter: brightness(0) saturate(100%) invert(46%) sepia(79%) saturate(875%) hue-rotate(355deg) brightness(98%) contrast(110%) !important;
        transition: none !important;
        cursor: pointer
    }

    #mi-cuenta-container img {
        position: relative;
        left: 39em;
    }

    img.icon-right {}

    .mi-cuenta img {
        position: relative;
        left: 9em;
        top: -0.7em;
    }

    .mail-icon {
        filter: brightness(0) saturate(100%) invert(17%) sepia(61%) saturate(845%) hue-rotate(15deg) brightness(96%) contrast(104%);
    }

    /* Hover global en íconos */
    .wp:hover img,
    .mail:hover img,
    .ig:hover img,
    .mi-cuenta:hover img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(30%) saturate(7%) hue-rotate(151deg) brightness(105%) contrast(101%);
    }

    /* --- BOTONES (Acceder / Dropdown Perfil) --- */
    button.btn-login {
        color: var(--primary-color);
        font-weight: 700;
        border: 2px solid var(--primary-color);
        border-radius: 0.3em;
        padding: 0.2em 0.6em;
        background: #fff;
        cursor: pointer;
        font-size: 16px;
        width: 13em;
        transition: background 0.3s ease, color 0.3s ease;
        text-align: center;
        top: 1.4em;
        position: relative;
    }

    button.btn-login:hover {
        background: var(--primary-color);
        color: #fff;
    }

    /* Dropdown */
    .dropnav {
        position: relative;
        display: inline-block;
        width: 13em;
    }

    .dropnav-content {
        display: none;
        position: absolute;
        right: -12px;
        background-color: #fff;
        border: 2px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 100%;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        margin-top: 0.2em;
        overflow: hidden;
        z-index: 10;
    }

    .dropnav.show .dropnav-content {
        display: block;
    }

    .dropnav-content button {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-start;
        width: 100%;
        padding: 8px 12px;
        border: none;
        background: none;
        color: var(--primary-color);
        cursor: pointer;
        font-weight: 700;
    }

    .dropnav-content button:hover {
        background: var(--primary-color);
        color: #fff;
    }

    /* Iconos dentro del dropdown */
    .dropnav-content button img.icon-dropdown {
        width: 18px;
        height: 18px;
        filter: brightness(0) saturate(100%) invert(56%) sepia(75%) saturate(4013%) hue-rotate(1deg) brightness(104%) contrast(105%);
        transition: none !important;
    }

    .dropnav-content button:hover img.icon-dropdown {
        filter: brightness(0) invert(1);
    }

    .icon-logout {
        transform: scaleX(-1);
    }

    /* Estado abierto */
    .mi-cuenta.open img.icon-right {
        filter: brightness(0) saturate(100%) invert(0%) sepia(32%) brightness(95%) contrast(101%) !important;
    }

    .mi-cuenta.open .btn-login {
        color: #000 !important;
        background: #fff !important;
        border: 2px solid #000 !important;
    }

    /* --- NAVBAR PRINCIPAL --- */
    .main-navbar {
        position: relative;
        width: 100%;
        color: var(--primary-color);
        text-transform: capitalize;
        font-size: 1.3em;
        border-bottom: 3px solid var(--primary-color);
        box-shadow: 0 4px 10px var(--primary-color);
        background-color: #fff;
        padding: 0.4em 4em;
        height: 3.86em;
    }

    .nav-items {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-item {
        position: relative;
        padding: 1rem;
        cursor: pointer;
    }

    .nav-item>a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s;
    }

    .nav-item:hover>a {
        color: #000;
    }

    /* --- MENÚS DESPLEGABLES --- */
    .dropnav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border: 3px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 250px;
        z-index: 9999;
        /* Asegura visibilidad */
        overflow: visible !important;
        /* Muy importante */
        display: none;
    }

    .dropnav:hover .dropnav-menu {
        display: block;
    }

    .dropnav-submenu {
        position: relative;
    }

    .dropnav-submenu {}

    .dropnav-submenu>a {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--primary-color);
        transition: background-color 0.2s, color 0.2s;
    }

    .dropnav-submenu>a:hover {
        background-color: var(--primary-color) !important;
        color: #fff !important;
    }

    .menuheight {
        max-height: unset;
    }

    .dropnav-submenu .submenu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        /* Hace que salga al costado derecho */
        background: #fff;
        border: 3px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 220px;
        z-index: 10000;
        /* Más alto que el menú padre */
        overflow: visible;
    }

    .submenu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        background-color: #fff;
        border: 3px solid var(--primary-color);
        border-radius: 0.3em;
        min-width: 220px;
        text-transform: capitalize;
        z-index: 4000000;
        z-index: 600000000000000;
    }

    /* Mostrar submenu al pasar el mouse */
    .dropnav-submenu:hover .submenu {
        display: block;
    }

    .submenu a {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--primary-color);
        transition: background-color 0.2s, color 0.2s;
        text-decoration: none;
        width: 16em;
    }

    .submenu a:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* Flecha */
    .arrow {
        margin-left: 0.3rem;
        color: var(--primary-color);
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .nav-item.dropnav:hover .arrow {
        transform: rotate(180deg);
        color: #000;
    }

    /* --- RESPONSIVO --- */
    @media (max-width: 600px) {
        .mi-cuenta img.icon-right {
            position: relative !important;
            top: -0.2em;
            margin-left: 0.3em;
            cursor: pointer;
        }

        .nav-links {
            width: 7em;
            justify-content: center;
            margin: 0 auto;
        }

        header {
            display: block;
            text-align: center;
        }

        .btn-login {
            display: none !important;
        }
    }

    /* ===== Estilos Generales - Desktop ===== */
    .pp-main-navbar,
    .pp-search-bar,
    .pp-nav-links {
        display: flex;
        /* visibles en desktop */
    }

    .menu-toggle {
        display: none;
    }

    /* Estilos base para desktop */
    .pp-name {
        display: block;
        text-align: center;
        margin-left: 4em;
        /* válido en desktop */
        margin-top: 0;
        /* opcional */
        margin-bottom: 0;
        /* opcional */
    }

    /* Sidebar - oculto por defecto en desktop */
    #pp-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background-color: #ccc;
        color: #3b2d00;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1500;
        padding: 15px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
        font-family: Arial, sans-serif;
        display: none;
        /* oculto en desktop */
    }

    /* Mostrar sidebar cuando tenga la clase 'open' */
    #pp-sidebar.open {
        left: 0;
        display: block;
        /* visible en móvil */
    }

    #pp-sidebar.open~#page-scroll {
        overflow: hidden !important;
    }

    /* Botón cerrar */
    #pp-close-btn {
        font-size: 28px;
        cursor: pointer;
        color: #3b2d00;
        margin-bottom: 20px;
        user-select: none;
        text-align: right;
    }

    /* Links del menú */
    .pp-nav-items a {
        color: #3b2d00;
        text-decoration: none;
        display: block;
        padding: 8px 10px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        font-weight: 500;
    }

    /* Hover en enlaces */
    .pp-nav-items a:hover {
        background-color: #e0d9b8;
    }

    /* Dropdown y submenús en móvil */
    .pp-dropdown-menu,
    .pp-submenu {
        display: none;
        padding-left: 15px;
        border-left: 2px solid #c9c18a;
        margin-top: 5px;
    }

    /* Mostrar en mobile cuando tengan la clase 'open' */
    .pp-dropdown-menu.open,
    .pp-submenu.open {
        display: block;
    }

    /* Estilo para triggers de dropdown en móvil */
    .pp-nav-items .pp-dropdown-trigger {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        padding: 8px 10px;
        user-select: none;
    }

    /* Opcionales: iconos o flechas en triggers */
    .pp-dropdown-trigger span {
        font-size: 1em;
    }

    /* Estilos para enlaces en submenús en móvil */
    .pp-submenu a {
        display: block;
        padding: 0.3rem 0.7rem;
        color: #3b2d00;
        text-decoration: none;
        font-weight: 500;
        border-radius: 4px;
    }

    /* Hover en submenús en móvil */
    .pp-submenu a:hover {
        background-color: #e0d9b8;
    }

    /* Responsivo - para pantallas <= 992px */
    @media (max-width: 992px) {

        /* Ocultar navbar, barra de búsqueda, etc. */
        .pp-main-navbar,
        .pp-search-bar,
        .pp-nav-links,
        .main-navbar,
        .search-bar,
        #red {
            display: none !important;
        }

        .pp-logo-svg {
            opacity: 0;
        }

        /* Mostrar botón menú hamburguesa */
        .menu-toggle {
            display: block;
            position: relative;
            top: 1rem;
            left: 2rem;
            font-size: 2rem;
            background: none;
            width: 2%;
            border: none;
            cursor: pointer;
            color: #3b2d00;
            z-index: 2001;
            user-select: none;
        }

        /* Estado sticky cuando el sidebar está abierto */
        .menu-toggle.sticky-mode {
            position: sticky;
            top: 1rem;
        }

        #pp-logo span {
            margin-top: -2.5em;
            margin-bottom: 0.7em;
            margin-left: 4.8em;
        }

        /* Sidebar en móvil */
        #pp-sidebar {
            display: block;
            /* ya lo controlamos con JavaScript */
            position: fixed;
            top: 0;
            left: -320px;
            /* oculto por defecto */
            width: 300px;
            height: 100vh;
            background-color: #ccc;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
            overflow-y: auto;
            transition: left 0.3s ease;
            z-index: 1500;
            padding: 1rem;
            font-family: Arial, sans-serif;
            color: #3b2d00;
        }

        /* Botón cerrar en móvil */
        #pp-close-btn {
            font-size: 2.5rem;
            cursor: pointer;
            color: #3b2d00;
            text-align: right;
            margin-bottom: 1rem;
            user-select: none;
        }

        /* Estilos para los submenús en móvil */
        .dropnav-submenu {
            margin-bottom: 1rem;
        }

        /* Trigger para submenús en móvil */
        .dropnav-submenu>a.submenu-toggle {
            display: block;
            font-weight: bold;
            cursor: pointer;
            padding: 0.5rem 0.7rem;
            border-radius: 4px;
            user-select: none;
        }

        /* Hover en trigger de submenús */
        .dropnav-submenu>a.submenu-toggle:hover {
            background-color: #e0d9b8;
        }

        /* Submenús en móvil */
        .submenu {
            display: none;
            padding-left: 15px;
            margin-top: 0.5rem;
            border-left: 2px solid #c9c18a;
        }

        /* Mostrar submenús cuando tengan la clase 'open' */
        .submenu.open {
            display: block;
        }


        /* Buscador */
        .search-bar {
            display: flex;
            align-items: center;
            flex-grow: 1;
            max-width: 300px;
            margin: 0 0 1.5rem 0;
            padding: 0.2em 0.5em;
            border: 2px solid #3b2d00;
            border-radius: 0.4em;
            background-color: #ccc;
        }

        .search-bar input[type="text"] {
            flex-grow: 1;
            padding: 1em 0.8rem;
            font-size: 1rem;
            font-weight: 700;
            color: #3b2d00;
            border: none;
            outline: none;
            background: transparent;
        }

        .search-bar img {
            width: 30px;
            height: 30px;
            margin-left: -0.7em;
            cursor: pointer;
            user-select: none;
            filter: brightness(0) saturate(100%) invert(17%) sepia(36%) saturate(1888%) hue-rotate(22deg) brightness(94%) contrast(101%);
            opacity: 0.5;
            position: relative;
            left: 0;
            background: transparent;
        }
    }

    /* Sidebar abierto */
    #pp-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        /* oculto por defecto */
        width: 300px;
        height: 100vh;
        transition: left 0.3s ease;
        display: none;
        /* oculto por defecto */
        overflow-y: auto;
        z-index: 1000;
    }

    #pp-sidebar.open {
        left: 0;
        display: block;
    }

    /* Bloqueo scroll body y html */
    .scroll-locked {
        overflow: hidden !important;
        height: 100vh !important;
    }

    /* Responsive para max-width 992px */
    @media (max-width: 992px) {
        #pp-sidebar {
            left: -100%;
            width: 80vw;
            display: none;
        }

        #pp-sidebar.open {
            left: 0;
            display: block;
        }
    }

    .producto-img-container .contenedor {
        position: relative;
        overflow: hidden;
    }

    .producto-img-container .contenedor img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* asegura que todas las imágenes encajen */
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

    .producto-img-container .contenedor img.visible {
        opacity: 1;
        z-index: 1;
    }

    /* Textos al pasar el mouse */
    #red:hover,
    #mi-cuenta-text:hover {
        color: #000;
    }

    /* Imágenes/íconos al pasar el mouse */
    .icon-right:hover img,
    .casa:hover img,
    .mail-icon:hover img,
    .cart-icon:hover img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(95%) saturate(21%) hue-rotate(2deg) brightness(101%) contrast(107%);
    }

    /* En caso de que la propia imagen tenga la clase directamente */
    span#red:hover img {
        filter: brightness(0) saturate(100%) invert(0%) sepia(95%) saturate(21%) hue-rotate(2deg) brightness(101%) contrast(107%);
    }

    .category-menu {
        display: flex;
        flex-wrap: nowrap;
        /* scroll horizontal */
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        gap: 0;
        margin-left: 2em;
        /* menos margen fijo */
        margin-bottom: 1.8em;
        font-size: 1.1em;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
        position: relative;
        border-radius: 0.3em;
    }

    .category-menu::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .menu-container {
        /* mejor evitar zoom, usar font-size o scale si quieres */
        scale: 0.7;
        width: 100%;
        margin-left: 4.4em;
        margin-bottom: -1.8em;
        margin-top: -1.4em;
    }

    .category-menu>span,
    .more-dropdown>.more-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 2.8em;
        min-width: 4.5em;
        cursor: pointer;
        padding: 0 0.8em;
        border: 3px solid var(--primary-color);
        background: #fff;
        color: var(--primary-color);
        font-weight: 700;
        white-space: nowrap;
        transition: all 0.3s ease;
        user-select: none;
        box-sizing: border-box;
        text-align: center;
        margin-right: -2px;
        font-size: 1.1em;
        flex-shrink: 0;
        /* evitar que se reduzca demasiado */
    }

    span.more-btn {
        border-radius: 0 0.3em 0.3em 0;
    }

    .more-dropdown>.more-btn {
        position: sticky;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 2.99em;
        border-left: none;
        cursor: pointer;
        padding: 0 0.8em;
        font-size: 1.34em;
        font-weight: 700;
        background: #fff;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        user-select: none;
        white-space: nowrap;
        transition: all 0.3s ease;
        width: 100%;
        flex-shrink: 0;
        margin-top: 0;
        border-bottom-right-radius: 0.3em !important;
        border-top-right-radius: 0.3em !important;
    }

    @media (max-width: 599px) {
        .more-dropdown>.more-btn {
            display: none;
        }
    }

    /* Hover y activo */
    .category-menu>span:hover,
    .more-dropdown>.more-btn:hover,
    .category-menu>span.active,
    .more-dropdown>.more-btn.active {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* Dropdown contenido */
    .dropnav-content-more {
        display: none;
        position: absolute;
        top: 2.9em;
        right: 7.83em;
        background: #fff;
        border: 2px solid var(--primary-color);
        padding: 0.5em 0;
        min-width: 150px;
        z-index: 999;
        flex-direction: column;
        zoom: 1.5;
        border-radius: 0.3em;
    }

    .dropnav-content-more span {
        display: block;
        padding: 0.5em 1em;
        cursor: pointer;
        color: var(--primary-color);
        font-weight: 700;
        background: #fff;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .dropnav-content-more span:last-child {
        border-bottom: none;
    }

    .dropnav-content-more span:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    .dropnav-content-more.show {
        display: flex;
    }

    /* BotÃ³n para mÃ³viles */
    .btn-categorias {
        display: none;
        background-color: var(--primary-color);
        color: white;
        padding: 0.7em 1.2em;
        border-radius: 6px;
        font-weight: 700;
        cursor: pointer;
        user-select: none;
        border: none;
        margin-left: 1em;
        margin-bottom: 3em;
        margin-top: 0.4em;
        font-size: 1.1em;
        position: relative;
    }

    /* Dropdown categorÃ­as para mÃ³vil */
    .dropnav-categorias {
        display: none;
        position: absolute;
        top: 55%;
        left: 0;
        background: white;
        border: 2px solid var(--primary-color);
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        padding: 0.5em 0;
        z-index: 1000;
        flex-direction: column;
        width: 10em;
        max-height: 15em;
        overflow-y: auto;
    }

    .dropnav-categorias span {
        display: block;
        padding: 0.5em 1em;
        border: 0 !important;
        cursor: pointer;
        color: var(--primary-color);
        font-weight: 700;
        background: #fff;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .dropnav-categorias span:last-child {
        border-bottom: none;
    }

    .dropnav-categorias span:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* RESPONSIVE */

    /* Extra grandes pantallas */
    @media (min-width: 1801px) {
        .category-menu {
            margin-left: 3em;
            font-size: 1.3em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 4em;
            padding: 0 1.2em;
        }
    }

    .menuheight {
        font-weight: 700;
    }

    /* Grandes pantallas 1400px - 1800px */
    @media (max-width: 1800px) and (min-width: 1401px) {
        .category-menu {
            margin-left: 3em;
            font-size: 1.15em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 5em;
            padding: 0 1em;
        }
    }

    /* Medianos 1024px - 1400px */
    @media (max-width: 1400px) and (min-width: 1024px) {
        .category-menu {
            margin-left: 2em;
            font-size: 1em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 4.5em;
            padding: 0 0.8em;
        }
    }

    /* Tablets 768px - 1023px */
    @media (max-width: 1023px) and (min-width: 768px) {
        .category-menu {
            margin-left: 1em;
            font-size: 0.9em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 4em;
            padding: 0 0.6em;
        }
    }

    /* MÃ³viles grandes 600px - 767px */
    @media (max-width: 767px) and (min-width: 600px) {
        .category-menu {
            margin-left: 0.5em;
            font-size: 0.85em;
        }

        .category-menu>span,
        .more-dropdown>.more-btn {
            min-width: 3.5em;
            padding: 0 0.5em;
        }
    }

    /* MÃ³viles pequeÃ±os <600px: mostrar botÃ³n, ocultar menÃº */
    @media (max-width: 599px) {
        .category-menu {
            display: none;
        }

        .btn-categorias {
            display: inline-block;
            margin-left: 1em;
        }
    }

    /* Mostrar dropdown en mÃ³vil cuando tenga clase show */
    .dropnav-categorias.show {
        display: flex;
        flex-direction: column;
        z-index: 2000;
    }

    /* Quita cualquier subrayado o color azul de los enlaces dentro del header */
    header a {
        text-decoration: none !important;
        text-decoration-line: none !important;
        text-decoration-color: transparent !important;
        color: inherit !important;
    }

    /* Asegura que en hover no vuelva el subrayado azul */
    header a:hover {
        text-decoration: none;
        color: #000;
    }

    /* --- FIX COMPLETO PARA HOVER EN SUBMENÚ --- */

    /* Asegura que el enlace padre esté por encima del submenú */
    .main-navbar .dropnav-submenu>a {
        position: relative;
        z-index: 20000;
        /* Más alto que la capa del submenu */
        display: block;
        padding: 0.6rem 1rem;
        color: var(--primary-color);
        background-color: #fff;
        transition: background-color 0.2s, color 0.2s;
    }

    /* Color en hover (aunque se superponga el submenu) */
    .main-navbar .dropnav-submenu:hover>a,
    .main-navbar .dropnav-submenu>a:hover {
        background-color: var(--primary-color) !important;
        color: #fff !important;
    }

    /* Opcional: mejorar contraste de submenú */
    .main-navbar .submenu a:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

    /* Corrige interferencia del header global */
    header a:hover {
        text-decoration: none;
    }

    .dropcart-container {
        position: relative;
    }

    .cart-trigger {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        position: relative;
    }

    .cart-badge {
        position: absolute;
        top: -6px;
        right: -8px;
        background: #ffff;
        color: #ff7600;
        font-size: 12px;
        line-height: 1;
        padding: 3px 6px;
        border-radius: 50%;
        border: 2px solid;
    }

    .dropcart {
        position: absolute;
        top: 130%;
        right: -7em;
        background: #fff;
        border-radius: 0.3em;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        width: 340px;
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: fadeDown 0.2s ease-out;
        z-index: 9999;
        border: 2px solid #ff7600;
    }

    @keyframes fadeDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropcart.show {
        display: flex;
    }

    .dropcart-header,
    .dropcart-footer {
        padding: 10px 14px;
        background: #fafafa;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }

    .dropcart-items {
        max-height: 260px;
        overflow-y: auto;
        padding: 10px 14px;
    }

    .dropcart-item {
        display: grid;
        grid-template-columns: 48px 1fr auto;
        gap: 10px;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid #eee;
    }

    .dropcart-item:last-child {
        border-bottom: none;
    }

    .dropcart-item img {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        object-fit: cover;
    }

    .dropcart-title {
        font-weight: 600;
        font-size: 14px;
    }

    .dropcart-sub {
        font-size: 12px;
        color: #666;
    }

    .dropcart-price {
        font-weight: 600;
        font-size: 14px;
    }

    .btn-ghost,
    .btn-primary {
        font-size: 13px;
        border-radius: 8px;
        padding: 6px 10px;
        cursor: pointer;
    }

    .btn-ghost {
        border: none;
        background: #ff7600;
        color: #fff;
    }

    .btn-primary {
        background: #ff7600;
        color: #fff !important;
        border: none;
    }

    .dropcart.show img:hover {
        pointer-events: none;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .dropcart:hover img:hover {
        pointer-events: none;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* 🔥 FIX FINAL: anula el efecto hover oscuro del icono del carrito 
   cuando el dropcart está abierto o hovered */
    .carrito-pro:hover img,
    .dropcart:hover .cart-icon,
    .dropcart.show .cart-icon,
    .dropcart:hover img,
    .dropcart.show img {
        filter: none !important;
        pointer-events: none !important;
    }

    .wp:hover img,
    .ig:hover img,
    .mail:hover img,
    .cart-trigger:hover .cart-icon {
        filter: brightness(0) saturate(100%) invert(0%) sepia(0%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
        transition: none !important;
        /* elimina el destello rosado */
    }

    .dropcart:hover .cart-icon,
    .dropcart.show .cart-icon {
        filter: none !important;
        transition: none !important;
    }