/* =============================================================
   MENU PUBLICO — DICOSUMI S.A.
   v11.0.0 — Layout corregido: desktop horizontal, mobile 2 filas
   ============================================================= */

/* ── Reset base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Variables locales ───────────────────────────────────────── */
.public-header {
    --mp-yellow:      #fecf0c;
    --mp-black:       #000000;
    --mp-white:       #ffffff;
    --mp-border:      rgba(0, 0, 0, 0.08);
    --mp-shadow-drop: 0 16px 40px rgba(0, 0, 0, 0.12);
    --mp-trans:       150ms ease;
    --mp-trans-med:   250ms cubic-bezier(0.4, 0, 0.2, 1);
    --mp-header-h:    72px;
    --mp-topbar-h:    38px;
}

/* ── Header wrapper ──────────────────────────────────────────── */
.public-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 3000;
}

/* ============================================================= */
/* TOPBAR (franja negra superior)                                 */
/* ============================================================= */
.public-topbar {
    width: 100%;
    background: #000000;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.public-topbar-inner {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: var(--mp-topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.public-contact-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.public-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Links de contacto topbar */
.public-contact-link,
.public-social-link {
    text-decoration: none;
    transition: color var(--mp-trans), opacity var(--mp-trans),
                background var(--mp-trans), transform var(--mp-trans);
}

.public-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.88;
    white-space: nowrap;
}

.public-contact-link img {
    width: 14px;
    height: 14px;
    display: block;
    filter: invert(1);
    flex-shrink: 0;
}

.public-contact-link:hover { opacity: 1; color: #fecf0c; }
.public-contact-whatsapp:hover { color: #22c55e; }

/* Sociales topbar */
.public-social-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.public-social-link img,
.public-social-link svg {
    width: 14px;
    height: 14px;
    display: block;
    flex-shrink: 0;
}

.public-social-link img {
    filter: invert(1);
}

.public-social-link:hover {
    background: #fecf0c;
    color: #000000;
    transform: translateY(-1px);
}

.public-social-link:hover img { filter: none; }

/* ============================================================= */
/* HEADER PRINCIPAL (blanco)                                      */
/* ============================================================= */
.public-header-inner {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--mp-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

/* ── Logo ─────────────────────────────────────────────────────── */
.public-logo {
    flex-shrink: 0;
}

.public-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    font-weight: 900;
}

.public-logo img {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ── Navegación principal (DESKTOP: horizontal) ──────────────── */
.public-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    /* En mobile se sobreescribe como panel fixed */
}

/* Contenedor de items del nav (desktop: fila horizontal) */
.public-nav-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* Wrapper de cada ítem del nav */
.nav-item-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Link del nav — Premium */
.public-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 6px;
    transition: background var(--mp-trans), color var(--mp-trans);
}

.public-nav-item:hover {
    background: rgba(254, 207, 12, 0.10);
    color: #000000;
}

/* Línea activa */
.public-nav-item.active {
    color: #000000;
}

.public-nav-item.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #fecf0c;
    border-radius: 50px;
}

/* Flecha dropdown */
.dropdown-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform var(--mp-trans-med);
}

.nav-item-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ── Dropdown desktop ─────────────────────────────────────────── */
.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding: 8px;
    box-shadow: var(--mp-shadow-drop);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease,
                transform 200ms ease,
                visibility 200ms ease;
    z-index: 4000;
}

/* Bridge pseudo-element: fills the gap between nav item and dropdown */
.nav-item-wrapper.has-dropdown::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 8px;
    z-index: 1;
}

/* Hover con delay para evitar cierre accidental */
.nav-item-wrapper.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0ms;
}

/* Al salir del wrapper, delay antes de cerrar */
.nav-item-wrapper.has-dropdown .dropdown {
    transition-delay: 150ms;
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background var(--mp-trans), color var(--mp-trans), padding-left var(--mp-trans);
}

.dropdown-item:hover {
    background: #fecf0c;
    color: #000000;
    padding-left: 18px;
}

.dropdown-categorias {
    min-width: 320px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 10px;
}

.dropdown-category-group {
    padding: 6px;
    border-radius: 10px;
}

.dropdown-category-group + .dropdown-category-group {
    border-top: 1px solid #eef2f7;
}

.dropdown-category-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    transition: background var(--mp-trans), color var(--mp-trans);
}

.dropdown-category-parent:hover {
    background: rgba(254, 207, 12, 0.16);
}

.dropdown-category-parent small {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.dropdown-category-children {
    display: grid;
    gap: 2px;
    margin: 2px 0 4px 12px;
    padding-left: 12px;
    border-left: 2px solid rgba(254, 207, 12, 0.8);
}

.dropdown-child-item {
    position: relative;
    padding-left: 14px;
    color: #334155;
    font-size: 12px;
}

.dropdown-child-item::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #fecf0c;
    transform: translateY(-50%);
}

/* ── Acciones de la derecha ───────────────────────────────────── */
.public-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Botón icono genérico (carrito) — Premium ────────────────── */
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background var(--mp-trans), transform var(--mp-trans), border-color var(--mp-trans), box-shadow var(--mp-trans);
    text-decoration: none;
}

.icon-btn:hover {
    background: #fecf0c;
    border-color: #fecf0c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 207, 12, 0.30);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* Badge del carrito */
.cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    border: 2px solid #ffffff;
    pointer-events: none;
}

/* ── Menú de cuenta (botón + dropdown) ───────────────────────── */
.public-account-menu {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

/* Botón principal de cuenta — Premium */
.public-account-main-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    font-family: inherit;
    transition: background var(--mp-trans), transform var(--mp-trans), border-color var(--mp-trans), box-shadow var(--mp-trans);
}

.public-account-main-btn:hover,
.public-account-menu.open .public-account-main-btn {
    background: #fecf0c;
    border-color: #fecf0c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 207, 12, 0.30);
}

.public-account-main-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* Texto del botón (solo visible en desktop, oculto en mobile) */
.public-account-btn-text {
    display: none; /* Oculto por defecto; se muestra en desktop wide */
}

/* Badge INT o inicial */
.public-account-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #000000;
    color: #fecf0c;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    pointer-events: none;
}

/* Dropdown de cuenta */
.public-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    padding: 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--mp-trans-med),
                transform var(--mp-trans-med),
                visibility var(--mp-trans-med);
    z-index: 4100;
    pointer-events: none;
}

.public-account-menu.open .public-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Cabecera del dropdown */
.public-account-head {
    padding: 12px 14px;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    margin-bottom: 8px;
}

.public-account-head strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3px;
    word-break: break-word;
}

.public-account-head span {
    display: block;
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    line-height: 1.4;
}

/* Links del dropdown */
.public-account-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background var(--mp-trans);
}

.public-account-dropdown a:hover { background: #fecf0c; }

.public-account-dropdown a:not(.is-logout)::after {
    content: "›";
    font-size: 18px;
    opacity: 0.45;
    line-height: 1;
}

/* Botón logout */
.public-account-dropdown a.is-logout {
    margin-top: 6px;
    background: #000000;
    color: #ffffff;
    justify-content: center;
    border-radius: 6px;
}

.public-account-dropdown a.is-logout:hover {
    background: #fecf0c;
    color: #000000;
}

.public-account-dropdown a.is-logout::after { display: none; }

/* ── Hamburguesa (SOLO MOBILE) — Premium ─────────────────────── */
.public-toggle {
    display: none; /* OCULTO EN DESKTOP */
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--mp-trans), transform var(--mp-trans), border-color var(--mp-trans);
}

.public-toggle:hover {
    background: #fecf0c;
    border-color: #fecf0c;
    transform: translateY(-1px);
}

.public-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 50px;
    background: #000000;
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms ease, width 280ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* Linea central mas corta para efecto premium */
.public-toggle span:nth-child(2) {
    width: 14px;
}

.public-toggle:hover span {
    background: #000000;
}

.public-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.public-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.public-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Overlay del nav mobile (dentro del header, mismo stacking context) ── */
.public-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 5500;
    opacity: 0;
    transition: opacity var(--mp-trans-med);
    pointer-events: none;
}

.public-nav-overlay.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* ── Elementos SOLO mobile (ocultos en desktop) ───────────────── */
.public-mobile-top,
.public-mobile-quick,
.public-mobile-drawer-head {
    display: none;
}

/* En desktop, el nav-content solo muestra los items del menu */
@media (min-width: 901px) {
    .public-nav-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }

    .public-nav-content .public-mobile-top,
    .public-nav-content .public-mobile-quick,
    .public-nav-content .public-mobile-drawer-head {
        display: none !important;
    }
}

/* ============================================================= */
/* DESKTOP INTERMEDIO 901-1180px                                  */
/* ============================================================= */
@media (min-width: 901px) and (max-width: 1180px) {
    .public-header-inner,
    .public-topbar-inner { padding: 0 16px; }

    .public-nav { gap: 2px; }
    .public-nav-item { font-size: 13px; padding: 8px 9px; }
    .public-contact-email { display: none; }
}

/* ============================================================= */
/* MOBILE <= 900px                                                */
/* ============================================================= */
@media (max-width: 900px) {

    /* ── Topbar mobile — centrar iconos sociales ── */
    .public-topbar-inner {
        min-height: 40px;
        padding: 6px 16px;
        justify-content: center;
    }

    .public-topbar-left {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .public-contact-strip { gap: 8px; justify-content: center; }
    .public-contact-link span { display: none; }
    .public-contact-email { display: none; }
    .public-topbar-actions { display: none; }
    .public-socials { justify-content: center; }
    .public-social-link { width: 30px; height: 30px; }
    .public-social-link svg { width: 16px; height: 16px; }

    /* ── Header mobile — DOS FILAS ──
       Fila 1: Logo (izq)
       Fila 2: Cuenta + Hamburguesa + Carrito (der)
       Implementado con flex-wrap ── */
    .public-header-inner {
        height: auto;
        min-height: 0;
        padding: 0;
        flex-wrap: wrap;
        gap: 0;
    }

    /* Fila 1: Logo centrado ocupa todo el ancho */
    .public-logo {
        width: 100%;
        padding: 10px 16px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
    }

    .public-logo img { max-height: 38px; }

    /* Fila 2: Acciones distribuidas (cuenta izq | hamburguesa centro | carrito der) */
    .public-actions {
        width: 100%;
        padding: 6px 16px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        order: 2;
    }

    /* Hamburguesa visible y centrada */
    .public-toggle {
        display: flex;
        order: 2;
    }

    /* Cuenta — izquierda */
    .public-account-menu {
        order: 1;
    }

    /* Carrito — derecha */
    .icon-btn.cart-trigger {
        order: 3;
    }

    /* Ocultar texto del botón de cuenta en mobile */
    .public-account-btn-text { display: none !important; }

    /* Todos los botones de acción — mismo tamaño */
    .public-account-main-btn,
    .public-toggle,
    .icon-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    /* Dropdown de cuenta: alineado a la izquierda, dentro del viewport */
    .public-account-dropdown {
        right: auto;
        left: 0;
        top: calc(100% + 8px);
        min-width: 270px;
        max-width: calc(100vw - 32px);
    }

    /* ── Nav mobile — Drawer lateral (cubre pantalla como carrito) ── */
    .public-nav {
        /* Sobreescribir flex desktop */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;

        /* Panel fijo desde la derecha — cubre pantalla */
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 380px;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        padding-bottom: 24px;

        /* Oculto por defecto (desliza a la derecha) */
        transform: translateX(100%);
        transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 6000;
    }

    .public-nav.open { transform: translateX(0); }

    /* Scrollbar sutil en el drawer */
    .public-nav::-webkit-scrollbar { width: 4px; }
    .public-nav::-webkit-scrollbar-track { background: transparent; }
    .public-nav::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 4px; }
    .public-nav::-webkit-scrollbar-thumb:hover { background: #fecf0c; }

    /* Cabecera del drawer con botón X — Premium */
    .public-mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 2px solid #fecf0c;
        background: #000000;
        color: #ffffff;
        position: sticky;
        top: 0;
        z-index: 1;
        flex-shrink: 0;
        width: 100%;
    }

    .public-mobile-drawer-head span {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #fecf0c;
    }

    /* Botón X del drawer */
    .public-mobile-drawer-close {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.20);
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: background var(--mp-trans);
    }

    .public-mobile-drawer-close:hover {
        background: #fecf0c;
        color: #000000;
        border-color: #fecf0c;
    }

    /* Logo dentro del drawer */
    .public-mobile-top {
        display: flex;
        align-items: center;
        padding: 16px 20px 10px;
        width: 100%;
        flex-shrink: 0;
    }

    .public-mobile-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #000000;
        font-weight: 900;
    }

    .public-mobile-logo img {
        max-height: 36px;
        width: auto;
        object-fit: contain;
    }

    /* Contenedor de los items del nav (mobile: columna vertical) */
    .public-nav-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow-y: visible;
    }

    /* Quick links mobile (redes + contacto) */
    .public-mobile-quick {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 10px 20px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        width: 100%;
        flex-shrink: 0;
    }

    .public-socials-mobile { display: flex; gap: 8px; }
    .public-socials-mobile .public-social-link { width: 36px; height: 36px; background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.10); color: #000000; }
    .public-socials-mobile .public-social-link svg { width: 18px; height: 18px; }
    .public-socials-mobile .public-social-link:hover { background: #fecf0c; color: #000000; }

    .public-mobile-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .public-mobile-contact a {
        padding: 7px 12px;
        border-radius: 999px;
        background: #fecf0c;
        color: #000000;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
    }

    /* Items del nav en drawer — Premium */
    .nav-item-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .public-nav-item {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 800;
        border-radius: 0;
        color: #000000;
        transition: background var(--mp-trans), padding-left var(--mp-trans);
    }

    .public-nav-item:hover { background: rgba(254, 207, 12, 0.08); padding-left: 24px; }

    /* Indicador activo en mobile — barra amarilla izquierda */
    .public-nav-item.active::after { display: none; }
    .public-nav-item.active {
        color: #000000;
        background: rgba(254, 207, 12, 0.10);
        border-left: 3px solid #fecf0c;
        padding-left: 17px;
    }

    .dropdown-arrow { width: 18px; height: 18px; }
    .nav-item-wrapper.open .dropdown-arrow { transform: rotate(180deg); }

    /* Dropdown mobile — bloque expandible */
    .dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: none;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
        background: #f5f5f5;
        border: none;
        border-radius: 0;
        padding: 6px 0 10px;
        box-shadow: none;
        transition: none;
    }

    .nav-item-wrapper.open .dropdown { display: block; }

    .dropdown-categorias {
        max-width: none;
        min-width: 0;
        padding: 6px 0 10px;
    }

    .dropdown-category-group {
        padding: 0;
        border-radius: 0;
    }

    .dropdown-category-group + .dropdown-category-group {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-category-parent {
        padding: 13px 28px;
        border-radius: 0;
        font-size: 14px;
    }

    .dropdown-category-parent small {
        font-size: 10px;
    }

    .dropdown-category-children {
        margin-left: 30px;
        padding-left: 10px;
    }

    .dropdown-item {
        padding: 12px 32px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 0;
        color: #333333;
        transition: background var(--mp-trans), color var(--mp-trans);
    }

    .dropdown-item:hover { background: #fecf0c; color: #000000; }
    .dropdown-item:active { background: #e6bb00; }
}

/* ============================================================= */
/* MOBILE pequeño <= 480px                                        */
/* ============================================================= */
@media (max-width: 480px) {
    .public-topbar-inner { padding: 4px 12px; }
    .public-logo { padding: 8px 12px 4px; }
    .public-logo img { max-height: 32px; }
    .public-actions { padding: 4px 12px 8px; gap: 8px; }
    .public-account-main-btn,
    .public-toggle,
    .icon-btn {
        width: 40px;
        height: 40px;
    }
    .public-nav { max-width: 100%; }
}
