header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Estilos personalizados para navbar responsive */
@media (max-width: 1130px) {
    .phone-number-container {
        display: none;
    }
}

@media (max-width: 769px) {
    .reserve-button {
        display: none;
    }
}

/* Estilos para el menú móvil */
.mobile-menu {
    position: fixed;
    top: 4rem; /* Justo debajo del navbar */
    right: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Prevenir scroll del body cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
}

/* Botón del menú hamburguesa con animación de íconos */
#mobile-menu-button {
    transition: transform 0.3s ease;
}

#mobile-menu-button.open #menu-icon-hamburger {
    opacity: 0;
}

#mobile-menu-button.open #menu-icon-close {
    opacity: 1;
}

/* Estilos para mejorar la visualización del menú móvil */
.mobile-menu-item {
    border-bottom: 1px solid #f3f4f6;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item.active {
    background-color: #fdf2f8;
    border-radius: 0.5rem;
    border-bottom: none;
}

/* Prevenir overflow horizontal en la sección del chef */
.chef-image-container {
    overflow: hidden;
}

/* Ajuste específico para móviles - posicionamiento de la tarjeta */
@media (max-width: 767px) {
    /* Selector específico para la tarjeta de puntuación en móviles */
    #about .relative .absolute.-bottom-6.-right-6 {
        bottom: -2.5rem; /* -bottom-10 equivale a -2.5rem */
        right: -0.5rem; /* -right-2 equivale a -0.5rem */
        z-index: 10; /* Asegurar que esté por encima */
    }
}

/* Prevenir scroll horizontal en toda la página */
body {
    overflow-x: hidden;
}

/* Asegurar que las secciones no desborden */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 480px) {

    .historia-button {
        width: 100%;
        justify-content: center;
    }

    .menu-content>div>div {
        padding: 1rem;
    }
    .menu-content>div>div>div {
        padding: 0.5rem;
        gap: 0.5rem;
        margin: auto;
    }

    .menu-content .container {
        align-items: center;
        height: auto;
    }

    .menu-content .title {
        font-size: 1em;
    }

    .menu-content .stars {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .menu-content .stars span {
        font-size: .8em;
    }

    .menu-content .price {
        font-size: .9em;
    }

    .menu-content .img {
        flex: 1;
        height: -webkit-fill-available;
        max-height: 150px;
    }
}
