/* ==========================================
   INTERACCION GLOBAL: MOVIL Y TECLADO
========================================== */
* {
    -webkit-tap-highlight-color: transparent;
}

:where(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [role="button"],
    [tabindex]
):focus:not(:focus-visible) {
    outline: none;
}

:where(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [role="button"],
    [tabindex]
):focus-visible {
    outline: 3px solid #e71968;
    outline-offset: 3px;
}

/* ==========================================
   HEADER REUTILIZABLE DE RUBAN
========================================== */

/* Quita el margen automático de 8 px que agrega el navegador. */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

.header,
.header * {
    box-sizing: border-box;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #222222;
}

/* Franja superior */
.header .header-mensaje {
    width: 100%;
    padding: 7px 16px;
    background: #e71968;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

/* PARTE SUPERIOR: LOGO Y BUSCADOR */
.header-top {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: #ffffff;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}

/* BUSCADOR */
.buscador {
    position: relative;
    width: 60%;
    height: 45px;
    display: flex;
    align-items: center;
    border: 2px solid #ffd83d;
    border-radius: 30px;
    background: #ffffff;
}

.buscador input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    padding: 0 10px 0 25px;
    font-size: 16px;
}

.buscador button {
    width: 60px;
    height: 100%;
    flex-shrink: 0;
    border: none;
    border-radius: 0 30px 30px 0;
    background: #ffd83d;
    font-size: 18px;
    cursor: pointer;
    transition: background-color .3s;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #222222; 
}

.buscador button:hover {
    background: #f78fb3;
}

/* SUGERENCIAS DEL BUSCADOR */
.sugerencias-busqueda {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    display: none;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    z-index: 000;
}

.sugerencia-producto {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #222222;
    border-bottom: 1px solid #eeeeee;
    text-decoration: none;
    transition: background-color .2s;
}

.sugerencia-producto:hover {
    background: #fff4a8;
}

.sugerencia-producto img,
.sugerencia-sin-imagen {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.sugerencia-sin-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff8f0;
    font-size: 25px;
}

.sugerencia-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sugerencia-info strong {
    font-size: 14px;
}

.sugerencia-info span {
    color: #e71968;
    font-size: 13px;
    font-weight: bold;
}



/* CUENTA, FAVORITOS Y CARRITO */
.header .acciones-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    flex-shrink: 0;
}

.header .acciones-header .usuario,
.header .acciones-header .carrito-header {
    display: flex;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
}

.header .acciones-header .enlace-usuario,
.header .acciones-header .boton-perfil,
.header .acciones-header .favoritos-header,
.header .acciones-header .carrito-header > a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffd83d;
    color: #222222;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.header .acciones-header .favoritos-header {
    background: #ffd83d;
}

.header .acciones-header button:disabled {
    opacity: 1;
    cursor: default;
}

.header .acciones-header .icono-usuario {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: inherit;
}

.header .acciones-header i {
    font-size: 26px;
    line-height: 1;
}

/* Conserva los textos en el HTML, pero no los muestra */
.header .acciones-header .enlace-usuario > span,
.header .acciones-header .datos-usuario,
.header .acciones-header .favoritos-header > span {
    display: none;
}

.header .acciones-header .enlace-usuario:hover,
.header .acciones-header .boton-perfil:hover,
.header .acciones-header .favoritos-header:hover,
.header .acciones-header .carrito-header > a:hover {
    background: #f7bfd3;
}

.header .acciones-header a:focus-visible,
.header .acciones-header button:focus-visible {
    outline: 2px solid #222222;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .header .acciones-header {
        margin-left: 0;
        gap: 10px;
    }
}

@media (min-width: 769px) {
    .header .header-top {
        padding-right: 3%;
    }
}


/* MENÚ INFERIOR */
.header-menu {
    position: relative;
    width: 100%;
     max-width: none;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 8%;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 3px solid #ffd83d;
    z-index: 1;
}

.menu-categorias {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.menu-tres {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: #ffd83d;
    color: #222222;
    font-size: 24px;
    cursor: pointer;
    transition: background-color .3s;
}

.menu-tres:hover {
    background: #f78fb3;
}

.todos-productos {
    color: #222222;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}


/* CATEGORÍAS DESPLEGABLES */
.categorias-dropdown {
    position: absolute;
    top: 45px;
    left: 0;
    width: 240px;
    display: none;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    z-index: 1000;
}

.menu-categorias:hover .categorias-dropdown {
    display: block;
}


.menu-categorias.abierto .categorias-dropdown {
    display: block;
}

.categorias-dropdown a {
    display: block;
    padding: 12px 18px;
    color: #222222;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.categorias-dropdown a:hover {
    background: #fff4a8;
    color: #e71968;
}

/* Organización del menú inferior */


.header #menuPrincipal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-left: 10px;
}

.header #menuPrincipal a,
.header #menuPrincipal button,
.header .mis-pedidos-header {
    padding: 0;
    border: none;
    background: transparent;
    color: #222222;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.header #menuPrincipal button:disabled,
.header .mis-pedidos-header:disabled {
    opacity: 1;
    cursor: default;
}

/* Mis pedidos al extremo derecho */
.header .mis-pedidos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-left: auto;
    flex-shrink: 0;
}

.header .mis-pedidos-header i {
    font-size: 23px;
}

/* Permite acomodar el menú en pantallas pequeñas */
@media (max-width: 900px) {
    .header .header-menu {
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header #menuPrincipal {
        order: 3;
        width: 100%;
        margin-left: 0;
        gap: 18px;
    }
}

/* Distribución del menú en computadora */
@media (min-width: 901px) {
    .header .header-menu {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding-left: 3%;
        padding-right: 3%;
        gap: 24px;
    }

    .header .menu-categorias {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .header #menuPrincipal {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        flex-wrap: nowrap;
        margin-left: 0;
        gap: clamp(24px, 3.5vw, 52px);
    }

    .header .mis-pedidos-header {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0;
    }
}

/* Texto y hover del menú central */
.header #menuPrincipal a,
.header #menuPrincipal button {
    font-size: 16px;
    padding: 7px 9px;
    border-radius: 7px;
   transition: color 0.2s ease, box-shadow 0.2s ease;
}

.header #menuPrincipal a:hover,
.header #menuPrincipal a:focus-visible,
.header #menuPrincipal button:hover,
.header #menuPrincipal a[aria-current="page"] {
    background: transparent;
    color: #e71968;
    border-radius: 0;
    box-shadow: inset 0 -3px 0 #e71968;
    text-decoration: none;
}





/* ==========================================
   PANEL LATERAL DEL PERFIL
========================================== */

body.panel-cuenta-abierto {
    overflow: hidden;
}

.fondo-panel-perfil {
    position: fixed;
    inset: 0;
    z-index: 1990;
    visibility: hidden;
    background: rgba(20, 16, 18, 0.58);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fondo-panel-perfil.activo {
    visibility: visible;
    opacity: 1;
}

.panel-perfil,
.panel-perfil * {
    box-sizing: border-box;
}

.panel-perfil {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;

    width: min(390px, 100%);
    height: 100vh;

    display: flex;
    flex-direction: column;

    visibility: hidden;
    overflow-y: auto;

    background: #ffffff;
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;

    box-shadow: -14px 0 38px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);

    transition:
        transform 0.32s ease,
        visibility 0.32s ease;
}

.panel-perfil.activo {
    visibility: visible;
    transform: translateX(0);
}

.panel-perfil-encabezado {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 24px;
    border-bottom: 1px solid #eeeeee;
}

.panel-perfil-encabezado h2 {
    margin: 0;
    font-size: 23px;
}

.cerrar-panel-perfil {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #f7f7f7;
    color: #222222;
    font-size: 22px;
    cursor: pointer;
}

.cerrar-panel-perfil:hover {
    background: #fff0f5;
    color: #e71968;
}

.panel-perfil-contenido {
    flex: 1;
    padding: 28px 24px;
    text-align: center;
}

.avatar-panel-perfil {
    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 17px;
    border-radius: 50%;

    background: #ffd83d;
    color: #222222;
    font-size: 39px;
}

.panel-perfil-contenido h3 {
    margin: 0 0 7px;
    font-size: 22px;
}

.correo-panel-perfil {
    margin: 0;
    overflow-wrap: anywhere;
    color: #777777;
    font-size: 14px;
}

.datos-panel-perfil {
    margin-top: 27px;
    padding: 23px 0;
    border-top: 1px solid #eeeeee;
    text-align: left;
}

.datos-panel-perfil h4 {
    margin: 0 0 18px;
    font-size: 17px;
}

.dato-panel {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;

    margin-bottom: 15px;
}

.dato-panel span {
    color: #777777;
    font-size: 13px;
    font-weight: 600;
}

.dato-panel strong {
    overflow-wrap: anywhere;
    color: #222222;
    font-size: 14px;
}

.ver-perfil-panel {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 18px;
    border: 2px solid #ffd83d;
    border-radius: 30px;

    color: #222222;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.ver-perfil-panel:hover {
    background: #fff8d7;
}

.panel-perfil-pie {
    padding: 20px 24px 24px;
    border-top: 1px solid #eeeeee;
}

.cerrar-sesion-panel {
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 30px;
    color: #e71968;

    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.cerrar-sesion-panel:hover {
    background: #fff0f5;
    color: #c91458;
}




/* GLOBITO DEL CONTADOR DEL CARRITO */

.carrito-header > a {
    position: relative;
    overflow: visible;
}

.carrito-header .contador-carrito {
    position: absolute;
    top: -6px;
    right: -10px;
    z-index: 10;

    min-width: 19px;
    height: 19px;
    padding: 0 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #e71968;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    box-sizing: border-box;
    pointer-events: none;
}

/* Palito corto */

.carrito-header .contador-carrito::after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: 2px;

    width: 5px;
    height: 3px;

    border-radius: 4px;
    background-color: #e71968;

    transform: rotate(-45deg);
    transform-origin: right center;
}

/* ==========================================
   AVISO GLOBAL: FAVORITO AGREGADO
========================================== */

.aviso-favorito-global {
    position: fixed;
    top: 145px;
    left: 50%;
    z-index: 10050;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: max-content;
    max-width: calc(100% - 32px);
    padding: 14px 18px;

    border-radius: 12px;
    background: #ffffff;
    color: #222;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);

    font-size: 14px;
    font-weight: 700;

    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.aviso-favorito-global.mostrar {
    opacity: 1;
    transform: translate(-50%, 0);
}

.aviso-favorito-global i {
    color: #e71968;
}

.aviso-favorito-global a {
    color: #e71968;
    font-weight: 800;
    text-decoration: underline;
}




/* BUSCADOR CENTRADO EN COMPUTADORA */
@media (min-width: 769px) {
    .header-top .buscador {
        position: absolute;
        left: 50%;
        width: 50%;
        transform: translateX(-50%);
    }
}




/* DISEÑO PARA CELULAR Y TABLET */
@media (max-width: 768px) {
    .header-top {
        min-height: auto;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }

    .logo img {
        width: 130px;
    }

    .buscador {
        width: 100%;
        height: 45px;
    }

    .header-menu {
        min-height: 65px;
        gap: 8px;
        padding: 10px 15px;
    }

    .menu-categorias {
        gap: 0;
    }

    .todos-productos {
        display: none;
    }

    

    .categorias-dropdown {
        top: 55px;
        width: 220px;
    }


}


/* VENTANA DE INICIO DE SESIÓN Y REGISTRO */
body.ruban-acceso-abierto {
    overflow: hidden;
}

#modalAcceso,
#modalAcceso * {
    box-sizing: border-box;
}

#modalAcceso {
    position: fixed;
    inset: 0;
    width: min(800px, calc(100vw - 24px));
    height: min(500px, calc(100dvh - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

#modalAcceso::backdrop {
    background: rgba(20, 16, 18, 0.6);
}

#modalAcceso #marcoAcceso {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: #ffffff;
}

#modalAcceso .ruban-cerrar-acceso {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #333333;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#modalAcceso .ruban-cerrar-acceso:hover {
    background: #eeeeee;
    color: #111111;
}

#modalAcceso .ruban-cerrar-acceso:focus-visible {
    outline: 2px solid #e71968;
    outline-offset: 3px;
}

@media (max-width: 624px) {
    #modalAcceso {
        height: min(700px, calc(100dvh - 24px));
    }
}

/* Flecha de regreso compartida por las páginas de la tienda. */
.volver-carrito-header {
    position: absolute;
    top: 50%;
    left: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e71968;
    color: white;

    font-size: 19px;
    text-decoration: none;

    box-shadow: 0 4px 10px rgba(231, 25, 104, 0.25);

    transform: translateY(-50%);

    transition:
        background-color 0.3s,
        color 0.3s,
        transform 0.3s;
}

.volver-carrito-header:hover {
    background: #ffd83d;
    color: #111;
    transform: translateY(-50%) scale(1.08);
}


@media (max-width: 768px) {
    .header-top:has(.volver-carrito-header) {
        padding-left: 12px;
    }

    .volver-carrito-header {
        left: 10px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* ==========================================
   NAVEGACIÓN MÓVIL DE RUBAN
========================================== */
.menu-movil-boton,
.acciones-movil,
.fondo-menu-movil,
.menu-lateral-movil,
.navegacion-inferior-movil {
    display: none;
}

.controles-movil-izquierda {
    display: contents;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 74px;
    }

    body.menu-movil-abierto {
        overflow: hidden;
    }

    .header .header-mensaje {
        padding: 5px 12px;
        font-size: 12px;
    }

    .header .header-top {
        min-height: 126px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 64px 46px;
        gap: 8px;
        padding: 4px 12px 8px;
    }

    .header .controles-movil-izquierda {
        position: relative;
        z-index: 4;
        grid-row: 1;
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-self: start;
        gap: 6px;
    }

    .header .menu-movil-boton,
    .header .controles-movil-izquierda .volver-carrito-header {
        position: static;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        flex: 0 0 40px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        color: #222222;
        font-size: 22px;
        box-shadow: none;
        transform: none;
    }

    .header .menu-movil-boton {
        background: #ffd83d;
        cursor: pointer;
    }

    .header .controles-movil-izquierda .volver-carrito-header {
        background: #e71968;
        color: #ffffff;
        font-size: 16px;
    }

    .header .controles-movil-izquierda .volver-carrito-header:hover {
        transform: none;
    }

    .header .logo {
        position: absolute;
        top: 10px;
        left: 50%;
        z-index: 3;
        transform: translateX(-50%);
    }

    .header .logo img {
        width: 108px;
        max-height: 54px;
        object-fit: contain;
    }

    .header .acciones-movil {
        position: relative;
        z-index: 4;
        grid-row: 1;
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-self: end;
        gap: 12px;
    }

    .header .accion-movil {
        min-width: 38px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: #222222;
        font-size: 22px;
        font-weight: 700;
        text-decoration: none;
    }

    .header .accion-movil--favoritos {
        width: 38px;
        padding: 0;
        color: #222222;
    }

    .header .accion-movil--pedidos {
        width: 38px;
        background: transparent;
        color: #222222;
        font-size: 21px;
    }

    .header .accion-movil--pedidos span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .header .buscador {
        grid-row: 2;
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        height: 44px;
        margin: 0;
    }

    .header .buscador input {
        padding-left: 16px;
        font-size: 14px;
    }

    .header .buscador button {
        width: 52px;
    }

    .header .acciones-header,
    .header .header-menu {
        display: none;
    }

    .fondo-menu-movil {
        position: fixed;
        inset: 0;
        z-index: 2190;
        display: block;
        visibility: hidden;
        background: rgba(20, 16, 18, 0.62);
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .fondo-menu-movil.activo {
        visibility: visible;
        opacity: 1;
    }

    .menu-lateral-movil {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 2200;
        width: min(86vw, 380px);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        visibility: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 18px 18px 28px;
        background: #ffffff;
        color: #222222;
        font-family: Arial, Helvetica, sans-serif;
        box-shadow: 14px 0 38px rgba(0, 0, 0, 0.2);
        transform: translateX(-100%);
        transition: transform 0.32s ease, visibility 0.32s ease;
    }

    .menu-lateral-movil.activo {
        visibility: visible;
        transform: translateX(0);
    }

    .menu-movil-encabezado {
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 14px;
    }

    .menu-movil-logo img {
        display: block;
        width: 155px;
        max-height: 64px;
        object-fit: contain;
    }

    .cerrar-menu-movil {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        flex: 0 0 42px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #fff4f8;
        color: #222222;
        font-size: 23px;
        cursor: pointer;
    }

    .menu-movil-cuenta {
        width: 100%;
        min-height: 92px;
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) auto;
        align-items: center;
        gap: 13px;
        padding: 14px;
        border: 0;
        border-radius: 18px;
        background: linear-gradient(135deg, #ffe4ee, #fff4f8);
        color: #222222;
        font-family: inherit;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }

    .menu-movil-avatar {
        width: 56px;
        height: 56px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #e71968;
        color: #ffffff;
        font-size: 25px;
    }

    .menu-movil-cuenta-texto {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .menu-movil-cuenta-texto strong {
        overflow: hidden;
        font-size: 17px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-movil-cuenta-texto small {
        color: #e71968;
        font-size: 13px;
        font-weight: 700;
    }

    .menu-movil-contenido {
        display: flex;
        flex-direction: column;
        margin-top: 18px;
    }

    .menu-movil-contenido > a {
        min-height: 52px;
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 10px 8px;
        border-bottom: 1px solid #eeeeee;
        color: #222222;
        font-size: 15px;
        text-decoration: none;
    }

    .menu-movil-contenido > a > i {
        color: #e71968;
        font-size: 19px;
        text-align: center;
    }

    .menu-movil-contenido > a[aria-current="page"] {
        color: #e71968;
        font-weight: 800;
    }

    .menu-movil-titulo {
        margin: 23px 8px 7px;
        color: #6f7482;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .menu-movil-contenido > .menu-movil-admin {
        margin-top: 12px;
        border: 1px solid #e71968;
        border-radius: 12px;
    }

    .menu-movil-contenido > .menu-movil-salir i {
        color: #222222;
    }

    .menu-movil-ubicacion {
        margin: 22px 8px 0;
        color: #6f7482;
        font-size: 13px;
    }

    .menu-movil-ubicacion i {
        margin-right: 7px;
    }

    .navegacion-inferior-movil {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1800;
        min-height: 70px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid #e8e8e8;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.08);
        font-family: Arial, Helvetica, sans-serif;
    }

    .navegacion-inferior-movil > a,
    .navegacion-inferior-movil > button {
        position: relative;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #606779;
        font-family: inherit;
        font-size: 11px;
        text-decoration: none;
        cursor: pointer;
    }

    .navegacion-inferior-movil i {
        font-size: 22px;
    }

    .navegacion-inferior-movil > [aria-current="page"] {
        color: #e71968;
        font-weight: 800;
    }

    .navegacion-movil-carrito b {
        position: absolute;
        top: -2px;
        left: calc(50% + 7px);
        min-width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        padding: 0 4px;
        border-radius: 10px;
        background: #e71968;
        color: #ffffff;
        font-size: 9px;
        line-height: 1;
    }

    .panel-perfil {
        width: min(100%, 390px);
        padding-bottom: 74px;
    }
}

@media (max-width: 370px) {
    .header .accion-movil--pedidos span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .header .accion-movil--pedidos {
        width: 40px;
        min-width: 40px;
        padding: 0;
    }

    .header .logo img {
        width: 96px;
    }
}
