:root {
    --primary-color: #ca0b0b;
    --secondary-color: #161616;
    --accent-color: #afb3b6;
    --background-color: #ffffff;
    --text-color: #161616;
    --gray-light: #f5f5f5;
    --gray-medium: #afb3b6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 100px; /* Más espacio para la navbar fija */
}

/* Ajuste de espacios en el dashboard */
body.dashboard-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000; /* Asegura que la navbar esté por encima del menú móvil */
    height: 80px; /* Altura fija para referencia en el menú móvil */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-logo {
    display: flex; /* Make the link a flex container */
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
    width: 70px; /* Set a fixed size for the container */
    height: 70px; /* Set a fixed size for the container */
    border: 1px solid white; /* Smaller white border */
    border-radius: 50%; /* Make the container round */
    background-color: white; /* Changed to white background */
    padding: 0; /* Remove padding from the link */
    text-decoration: none; /* Remove underline from the link */
}

.nav-logo img {
    height: 80%; /* Increased image size slightly more */
    border: none; /* Remove border from image */
    padding: 0; /* Remove padding from image */
    box-sizing: border-box; /* Reset box-sizing */
    border-radius: 0; /* Remove border-radius from image */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--background-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--background-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login-btn {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #161616;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border 0.25s;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.login-btn i {
    font-size: 1.2rem;
}

.login-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(22, 22, 22, 0.15);
    text-decoration: none;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 50%;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border 0.25s;
    gap: 0.7rem;
    color: var(--primary-color);
    background-color: #fff;
    border: 2px solid #161616;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    letter-spacing: 0.5px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
}

.cart-btn i,
.cart-btn img,
.cart-btn .material-icons {
    margin: 0;
    padding: 0;
    display: block;
    font-size: 24px;
}

.cart-header h3 .material-icons {
    font-size: 20px;
    vertical-align: middle;
}

.cart-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(22, 22, 22, 0.15);
    text-decoration: none;
}

.cart-btn span {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
        align-items: center;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .nav-links a i {
        margin-right: 8px;
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        height: 80px;
        background: var(--primary-color); /* Fondo sólido */
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color); /* Fondo sólido */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1500;
        display: flex;
        right: -100%;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-logo, .menu-toggle {
        position: relative;
        z-index: 2100;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    .menu-toggle:focus {
        outline: none;
    }
}

@media (max-width: 480px) {
    .nav-links {
        padding: 60px 15px;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px;
    }

    .nav-links a i {
        font-size: 1.2rem;
    }

    .nav-links .login-btn {
        width: 90%;
        padding: 12px;
        font-size: 1rem;
    }
}

/* Estilos para los iconos en el menú normal */
.nav-links a i {
    margin-right: 0.5rem;
    font-size: 1.1em;
    opacity: 0.9;
}

.nav-links a:hover i {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

/* Promociones */
.promos {
    padding: 5rem 5%;
    background-color: var(--gray-light);
}

.promos h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.promo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.promo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
    position: relative;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(202, 11, 11, 0.2);
}

.promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promo-card:hover img {
    transform: scale(1.05);
}

.promo-card h3, .promo-card p {
    padding: 1.5rem;
    text-align: center;
    margin: 0;
}

.promo-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.promo-card p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.5;
}

/* Menú Section */
.menu-section {
    padding: 5rem 5%;
}

.menu-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* ============================================= */
/* ===  MEJORAS VISUALES SECCIÓN DE CATEGORÍAS === */
/* ============================================= */

.menu-categories-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Espacio entre categorías principales y subcategorías */
    margin-bottom: 2rem;
}

.menu-categories, .subcategories {
    display: flex;
    flex-wrap: wrap; /* Permite que los botones pasen a la siguiente línea en móviles */
    justify-content: center;
    gap: 1rem;
}

.category-btn {
    padding: 0.7rem 1.8rem;
    border: 1px solid #ddd;
    background: #f8f8f8;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
}

.category-btn:hover {
    background: #e9e9e9;
    border-color: #ccc;
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(202, 11, 11, 0.15);
}

.subcategories-container {
    width: 100%;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 12px;
    display: none; /* Oculto por defecto */
    animation: fadeInSubcategories 0.5s ease;
}

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

.subcategories .category-btn {
    background-color: #fff;
    border-color: #e0e0e0;
}

.subcategories .category-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* ============================================= */
/* ===    ESTILOS PARA CATEGORÍAS CON IMAGEN   === */
/* ============================================= */

.image-categories-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem; /* Espacio entre cada categoría */
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.image-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    width: 150px; /* Ancho de cada item */
    transition: transform 0.3s ease;
}

.image-category-item:hover {
    transform: translateY(-5px);
}

.image-category-item img {
    width: 120px;
    height: 120px;
    object-fit: contain; /* Ajusta la imagen sin deformarla */
    margin-bottom: 1rem;
    border-radius: 50%; /* Círculo para la imagen */
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 5px;
    transition: box-shadow 0.3s ease;
}

.image-category-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
}

/* Estilo para la categoría activa */
.image-category-item.active-category img {
    box-shadow: 0 0 0 4px var(--primary-color);
}

.image-category-item.active-category h4 {
    color: var(--primary-color);
}

/* Ocultamos el contenedor de subcategorías por defecto */
#sushi-subcategories {
    display: none;
}

.category-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: var(--gray-medium);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--background-color);
}

.subcategories {
    display: flex;
    justify-content: center; /* Centra las subcategorías */
    gap: 1rem; /* Espaciado entre botones */
    margin-top: 1rem; /* Espacio superior para separar de la barra de categorías */
    
    padding: 10px; /* Espaciado interno opcional */
    border-radius: 5px; /* Bordes redondeados opcionales */
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: var(--gray-light);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
}

.contact-form button {
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .promo-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px 20px;
}

.login-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.login-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i {
    position: absolute;
    left: 15px;
    color: #666;
    font-size: 18px;
}

.input-icon .toggle-password {
    left: auto;
    right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-icon .toggle-password:hover {
    color: #BB002B;
}

.login-form input {
    width: 100%;
    padding: 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    border-color: #BB002B;
    box-shadow: 0 0 0 2px rgba(187, 0, 43, 0.1);
    outline: none;
}

.login-form input[type="date"] {
    padding-right: 15px;
}

.form-options {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #BB002B;
}

.forgot-password {
    color: #BB002B;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #800020;
}

.login-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-submit:hover {
    background: linear-gradient(135deg, #800020 0%, #BB002B 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

.social-login {
    margin-top: 25px;
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    max-width: 160px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.social-btn.google i {
    color: #DB4437;
}

.social-btn.facebook i {
    color: #4267B2;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

/* Estilos para el mapa y botón de ubicación */
.location-btn {
    background: #BB002B;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: #8B0021;
    transform: translateY(-1px);
}

.location-btn i {
    font-size: 1rem;
}

#map {
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#map:empty {
    display: none;
}

@media (max-width: 500px) {
    .location-btn {
        width: 100%;
        justify-content: center;
    }
}

.register-link a {
    color: #BB002B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #800020;
}

.back-button {
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s ease;
    padding: 10px;
    z-index: 10;
}

.back-button:hover {
    transform: translateX(-5px);
}

/* Media queries para responsividad */
@media (max-width: 480px) {
    .login-page {
        padding-top: 80px;
    }

    .login-wrapper {
        margin: 10px;
    }

    .login-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 100%;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .forgot-password {
        margin-top: 10px;
    }

    .login-form input {
        padding: 10px 40px;
        font-size: 14px;
    }

    .remember-me {
        font-size: 13px;
    }

    .login-submit {
        padding: 12px;
        font-size: 15px;
    }

    .back-button {
        top: -50px;
        left: 10px;
    }
}

@media (max-width: 360px) {
    .login-page {
        padding-top: 70px;
    }

    .login-container {
        padding: 20px 15px;
    }

    .login-logo {
        width: 180px;
    }

    .login-header h1 {
        font-size: 22px;
    }

    .login-form input {
        font-size: 13px;
    }

    .remember-me {
        font-size: 12px;
    }

    .login-submit {
        padding: 10px;
        font-size: 14px;
    }

    .back-button {
        top: -45px;
    }
}

/* Ajustes para pantallas más grandes */
@media (min-width: 768px) {
    .login-wrapper {
        max-width: 500px;
    }

    .login-container {
        padding: 50px 40px;
    }
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1200px) {
    .login-wrapper {
        max-width: 550px;
    }
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 45px !important;
}

.custom-textarea {
    min-height: 100px;
    resize: vertical;
    padding: 12px 15px !important;
}

/* Ajustes responsivos para los nuevos campos */
@media (max-width: 480px) {
    .login-form select,
    .login-form textarea {
        padding: 10px 40px;
        font-size: 14px;
    }
    
    .custom-textarea {
        min-height: 80px;
    }
}

@media (max-width: 360px) {
    .login-form select,
    .login-form textarea {
        font-size: 13px;
    }
}

/* Estilos para la página de perfil */
.profile-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px;
}

.profile-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    width: 100%;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.profile-avatar i {
    font-size: 40px;
    color: white;
}

.profile-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.profile-info {
    margin-bottom: 30px;
}

.info-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-group:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-group label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.info-group label i {
    margin-right: 8px;
    color: #BB002B;
}

.info-group p {
    color: #333;
    font-size: 16px;
    margin: 0;
    padding-left: 25px;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-profile-btn,
.change-password-btn,
.logout-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.edit-profile-btn {
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    color: white;
}

.change-password-btn {
    background: white;
    color: #BB002B;
    border: 2px solid #BB002B;
}

.logout-btn {
    width: 100%;
    padding: 12px;
    background: black;
    color: white;
    border: 2px solid #dc3545;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.logout-btn i {
    font-size: 1.1rem;
}

.logout-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.edit-profile-btn:hover {
    background: linear-gradient(135deg, #800020 0%, #BB002B 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

.change-password-btn:hover {
    background: rgba(187, 0, 43, 0.1);
    transform: translateY(-2px);
}

/* Estilos para los modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #BB002B;
}

.modal h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.save-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.save-btn:hover {
    background: linear-gradient(135deg, #800020 0%, #BB002B 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

/* Media queries para responsividad */
@media (max-width: 480px) {
    .profile-page {
        padding: 40px 15px;
    }

    .profile-container {
        padding: 30px 20px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-avatar i {
        font-size: 32px;
    }

    .profile-header h1 {
        font-size: 24px;
    }

    .info-group {
        padding: 12px;
    }

    .info-group label {
        font-size: 13px;
    }

    .info-group p {
        font-size: 15px;
    }

    .edit-profile-btn,
    .change-password-btn,
    .logout-btn {
        padding: 10px;
        font-size: 15px;
    }

    .modal-content {
        padding: 20px;
        margin: 30px auto;
    }
}

@media (max-width: 360px) {
    .profile-container {
        padding: 20px 15px;
    }

    .profile-header h1 {
        font-size: 22px;
    }

    .info-group label {
        font-size: 12px;
    }

    .info-group p {
        font-size: 14px;
    }

    .edit-profile-btn,
    .change-password-btn,
    .logout-btn {
        font-size: 14px;
    }
}

/* Estilos del Dashboard */
.dashboard-body {
    min-height: 100vh;
    background: #f5f6fa;
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.sidebar-logo {
    height: 40px;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-logo {
    display: none;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    color: #BB002B;
}

.sidebar-menu {
    padding: 20px 0;
    list-style: none;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-item a i {
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.sidebar.collapsed .menu-item a span {
    display: none;
}

.menu-item:hover a,
.menu-item.active a {
    background: rgba(187, 0, 43, 0.1);
    color: #BB002B;
}

.menu-item.active a {
    border-left: 4px solid #BB002B;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 20px;
    transition: all 0.3s ease;
}

.main-content.expanded {
    margin-left: 80px;
}

.dashboard-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    color: #333;
    margin: 0;
    font-size: 24px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: #333;
    font-weight: 500;
}

.notification-badge {
    position: relative;
    cursor: pointer;
}

.notification-badge i {
    font-size: 20px;
    color: #666;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #BB002B;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Content Area */
.content-area {
    margin-top: 20px;
}

.dashboard-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-section.active {
    display: block;
    opacity: 1;
}

.profile-info-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-header i {
    font-size: 24px;
    color: #BB002B;
    margin-right: 15px;
}

.info-header h2 {
    color: #333;
    margin: 0;
    font-size: 20px;
}

.info-body {
    padding: 10px 0;
}

.activity-stat {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.activity-stat:last-child {
    border-bottom: none;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #BB002B;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.info-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #BB002B;
    color: white;
}

.password-btn:hover {
    background: rgba(187, 0, 43, 0.1);
}

/* Media Queries */
@media (max-width: 1024px) {
    .profile-info-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }

    .sidebar-logo {
        display: none;
    }

    .menu-item a span {
        display: none;
    }

    .main-content {
        margin-left: 80px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 15px;
    }

    .user-menu {
        width: 100%;
        justify-content: center;
    }

    .sidebar-footer {
        position: fixed;
        bottom: 0;
        width: 80px;
        padding: 10px;
        display: flex;
        justify-content: center;
    }

    .logout-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background: black;
        color: white;
        border: 2px solid #dc3545;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logout-btn span {
        display: none;
    }

    .logout-btn i {
        margin: 0;
        font-size: 1.2rem;
    }

    .logout-btn:hover {
        background: #dc3545;
        color: black;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }

    .dashboard-header {
        padding: 15px;
    }

    .info-card {
        padding: 15px;
    }

    .info-actions {
        flex-direction: column;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .sidebar-footer {
        padding: 8px;
    }

    .logout-btn {
        width: 35px;
        height: 35px;
    }

    .logout-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .sidebar-footer {
        padding: 6px;
    }

    .logout-btn {
        width: 32px;
        height: 32px;
    }

    .logout-btn i {
        font-size: 0.9rem;
    }
}

/* Estilos del carrito expandible */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: #BB002B;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: scale(1.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #BB002B;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-item-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #BB002B;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    background: none;
    border: 1px solid #ddd;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #666;
}

.quantity-btn:hover {
    background: #BB002B;
    color: white;
    border-color: #BB002B;
}

.cart-item-quantity span {
    font-size: 1rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.cart-item-remove:hover {
    color: #bb0000;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    color: #BB002B;
    font-size: 1.3rem;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #BB002B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #800020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

@media (max-width: 480px) {
    .cart-item {
        padding: 12px;
    }

    .cart-item-img {
        width: 70px;
        height: 70px;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-price {
        font-size: 1.1rem;
    }

    .quantity-btn {
        width: 24px;
        height: 24px;
    }

    .cart-total {
        font-size: 1.1rem;
    }

    .total-amount {
        font-size: 1.2rem;
    }

    .checkout-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Estilos para elementos móviles */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: #fff; /* El color del ícono es blanco, lo cual está bien sobre el fondo rojo */
        font-size: 1.8rem; /* Ligeramente más pequeño para mejor proporción */
        cursor: pointer;
        box-shadow: none;
        margin: 0;
        padding: 0;
        z-index: 2100; /* Asegura que esté por encima de otros elementos */
    }
    .menu-toggle:focus {
        outline: none;
    }
}

.menu-items {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea */
    gap: 2rem;
    margin-top: 2rem;
    margin-left: 30px;
    padding-left: 40px;
    padding-right: 40px;
}

.menu-item-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 330px;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(202, 11, 11, 0.15);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #BB002B;
}

.menu-item-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    color: var(--background-color);
}

.add-to-cart-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .menu-item-image {
        height: 180px;
    }

    .menu-item-content {
        padding: 1.2rem;
    }

    .menu-item-name {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }

    .menu-item-description {
    font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .add-to-cart-btn {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
}

.nav-buttons .login-btn {
    display: none;
}

@media (min-width: 769px) {
    .nav-buttons .login-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-links .login-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(187, 0, 43, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 2rem;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        display: flex;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        transition-delay: calc(var(--item-index) * 0.1s);
        width: 100%;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-links a i {
        width: 24px;
        text-align: center;
    }

    .nav-links .login-btn {
        margin-top: 2rem;
        text-align: center;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff !important;
        color: var(--primary-color) !important;
        border: 2px solid #161616 !important;
        padding: 0.8rem 2rem !important;
        border-radius: 12px !important;
        font-size: 1.1rem !important;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        letter-spacing: 0.5px;
        gap: 0.7rem;
        transition: background 0.25s, color 0.25s, box-shadow 0.25s, border 0.25s;
    }

    .nav-links .login-btn:hover {
        background: var(--secondary-color) !important;
        color: #fff !important;
        border-color: #fff !important;
        box-shadow: 0 4px 16px rgba(22, 22, 22, 0.15);
        text-decoration: none;
    }

    .nav-links .login-btn i {
        margin-right: 0.5rem;
        font-size: 1.2rem;
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

.sidebar.collapsed .sidebar-footer {
    padding: 10px;
    display: flex;
    justify-content: center;
}

/*diseño del bton salir*/

.sidebar.collapsed .logout-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: black;
    color: white;
    border: 2px solid #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.collapsed .logout-btn span {
    display: none;
}

.sidebar.collapsed .logout-btn i {
    margin: 0;
    font-size: 1.2rem;
}

.sidebar.collapsed .logout-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

@media (max-width: 768px) {
    .sidebar-footer {
        position: fixed;
        bottom: 0;
        width: 80px;
        padding: 10px;
        display: flex;
        justify-content: center;
    }

    .logout-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background: #f8f9fa;
        color: #dc3545;
        border: 2px solid #dc3545;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logout-btn span {
        display: none;
    }

    .logout-btn i {
        margin: 0;
        font-size: 1.2rem;
    }

    .logout-btn:hover {
        background: #dc3545;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }
}

/* Estilos del carrito en el dashboard */
#carritoContent {
    padding: 20px;
}

#carritoContent .dashboard-header {
    margin-bottom: 20px;
}

#carritoContent .dashboard-header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

#carritoContent .dashboard-header h1 i {
    color: #BB002B;
}

.cart-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-item-description {
    font-size: 0.9rem;
    color: #666;
}

.cart-item-price {
    color: #BB002B;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    background: none;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #666;
}

.quantity-btn:hover {
    background: #BB002B;
    color: white;
    border-color: #BB002B;
}

.cart-item-quantity span {
    font-size: 1rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.cart-item-remove:hover {
    color: #bb0000;
    transform: scale(1.1);
}

.cart-summary {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    color: #BB002B;
    font-size: 1.3rem;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #BB002B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #800020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    text-align: center;
    padding: 20px;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #BB002B;
}

.empty-cart p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.empty-cart .continue-shopping {
    padding: 10px 20px;
    background: #BB002B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.empty-cart .continue-shopping:hover {
    background: #800020;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cart-container {
        height: calc(100vh - 180px);
    }

    .cart-item {
        padding: 12px;
    }

    .cart-item-img {
        width: 80px;
        height: 80px;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-price {
        font-size: 1.1rem;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .cart-container {
        height: calc(100vh - 160px);
    }

    .cart-items {
        padding: 15px;
    }

    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cart-item-img {
        width: 120px;
        height: 120px;
        margin: 0 0 15px 0;
    }

    .cart-item-quantity {
        justify-content: center;
    }

    .cart-item-remove {
        margin: 10px auto 0;
    }
}

/* Estilos del proceso de pago */
.checkout-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.order-summary {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.order-items {
    margin-bottom: 20px;
}

.order-total {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.order-total > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.order-total .total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
    border-top: 2px solid #eee;
    padding-top: 10px;
}

/* Estilos para las opciones de entrega */
.delivery-method {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.delivery-option {
    position: relative;
    cursor: pointer;
}

.delivery-option input {
    position: absolute;
    opacity: 0;
}

.delivery-option .option-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.delivery-option input:checked + .option-content {
    border-color: #BB002B;
    background: rgba(187, 0, 43, 0.05);
}

.delivery-option .option-content i {
    font-size: 1.2rem;
    color: #666;
}

.delivery-option input:checked + .option-content i {
    color: #BB002B;
}

/* Estilos para los formularios de envío y retiro */
.delivery-forms {
    margin-top: 20px;
}

.shipping-form,
.store-pickup-form {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.shipping-form.active,
.store-pickup-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.shipping-form h2,
.store-pickup-form h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i {
    position: absolute;
    left: 15px;
    color: #666;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.input-icon input,
.input-icon select,
.input-icon textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.input-icon input:focus,
.input-icon select:focus,
.input-icon textarea:focus {
    border-color: #BB002B;
    box-shadow: 0 0 0 3px rgba(187, 0, 43, 0.1);
    outline: none;
}

.input-icon input:focus + i,
.input-icon select:focus + i,
.input-icon textarea:focus + i {
    color: #BB002B;
}

.input-icon input.error,
.input-icon select.error,
.input-icon textarea.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.input-icon input.error + i,
.input-icon select.error + i,
.input-icon textarea.error + i {
    color: #dc3545;
}

/* Content Area */
.content-area {
    margin-top: 20px;
}

.dashboard-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-section.active {
    display: block;
    opacity: 1;
}

.profile-info-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-header i {
    font-size: 24px;
    color: #BB002B;
    margin-right: 15px;
}

.info-header h2 {
    color: #333;
    margin: 0;
    font-size: 20px;
}

.info-body {
    padding: 10px 0;
}

.activity-stat {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.activity-stat:last-child {
    border-bottom: none;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #BB002B;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.info-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #BB002B;
    color: white;
}

.password-btn {
    background: white;
    color: #BB002B;
    border: 1px solid #BB002B;
}

.edit-btn:hover {
    background: #800020;
}

.password-btn:hover {
    background: rgba(187, 0, 43, 0.1);
}

/* Estilos del carrito expandible */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: #BB002B;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: scale(1.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #BB002B;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-item-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #BB002B;
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    background: none;
    border: 1px solid #ddd;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #666;
}

.quantity-btn:hover {
    background: #BB002B;
    color: white;
    border-color: #BB002B;
}

.cart-item-quantity span {
    font-size: 1rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.cart-item-remove:hover {
    color: #bb0000;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.total-amount {
    color: #BB002B;
    font-size: 1.3rem;
}

.register-link a {
    color: #BB002B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #800020;
}

.back-button {
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s ease;
    padding: 10px;
    z-index: 10;
}

.back-button:hover {
    transform: translateX(-5px);
}

/* Media Queries */
@media (max-width: 1024px) {
    .profile-info-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
}

.register-link a {
    color: #BB002B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #800020;
}

.back-button {
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s ease;
    padding: 10px;
    z-index: 10;
}

.back-button:hover {
    transform: translateX(-5px);
}

/* Estilos para la información de la tienda */
.store-info {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #BB002B;
}

.store-info h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-info p {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.store-info p:hover {
    background-color: rgba(187, 0, 43, 0.05);
}

.store-info i {
    color: #BB002B;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .shipping-form,
    .store-pickup-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .input-icon input,
    .input-icon select,
    .input-icon textarea {
        padding: 10px 15px 10px 40px;
        font-size: 0.95rem;
    }

    .store-info {
        padding: 15px;
        margin-top: 20px;
    }

    .store-info h3 {
        font-size: 1.1rem;
    }

    .store-info p {
    font-size: 0.9rem;
        padding: 6px;
    }
}

/* Estilos para el botón de pago */
.payment-actions {
    text-align: right;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.proceed-payment-btn {
    background: #BB002B;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.proceed-payment-btn:hover {
    background: #8B0021;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

@media (max-width: 768px) {
    .delivery-options {
        grid-template-columns: 1fr;
    }

    .checkout-container {
        padding: 10px;
    }

    .proceed-payment-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos para notificaciones */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 9999;
}

.notification.success {
    background: #4CAF50;
    color: white;
}

.notification.error {
    background: #dc3545;
    color: white;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification i {
    font-size: 1.2rem;
}

/* Ajustes del menú en el dashboard */
#menuContent {
    padding: 20px;
    background: #f8f9fa;
}

#menuContent .menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.menu-item-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #BB002B;
}

.menu-item-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #BB002B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #800020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.2);
}

.add-to-cart-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #menuContent .menu-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px 0;
    }

    .menu-item-image {
        height: 180px;
    }

    .menu-item-content {
        padding: 15px;
    }

    .menu-item-name {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }

    .menu-item-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 0.95rem;
    }

    .notification {
        bottom: 10px;
        right: 10px;
        padding: 12px 20px;
        max-width: calc(100% - 20px);
    }
}

/* Animaciones */
.fade-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para el formulario de retiro en tienda */
.store-pickup-form,
.shipping-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.store-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #BB002B;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.store-info h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-info h3 i {
    color: #BB002B;
    font-size: 1.2rem;
}

.store-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #666;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.store-info p:hover {
    background: rgba(187, 0, 43, 0.05);
}

.store-info p i {
    color: #BB002B;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.store-info p:last-child {
    margin-bottom: 0;
}

/* Estilos para las opciones de entrega */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.delivery-option {
    position: relative;
    cursor: pointer;
}

.delivery-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.option-content i {
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
}

.delivery-option input:checked + .option-content {
    border-color: #BB002B;
    background: rgba(187, 0, 43, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.1);
}

.delivery-option input:checked + .option-content i {
    color: #BB002B;
    transform: scale(1.1);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .delivery-options {
        grid-template-columns: 1fr;
    }

    .store-info {
        padding: 15px;
        margin-top: 20px;
    }

    .store-info h3 {
        font-size: 1rem;
    }

    .store-info p {
        font-size: 0.9rem;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .store-pickup-form,
    .shipping-form {
        padding: 15px;
    }

    .delivery-option .option-content {
        padding: 12px;
    }

    .store-info {
        padding: 12px;
    }
}

/* Estilos para el modal de pago */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.payment-modal.active {
    display: flex;
}

.payment-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease-out;
    margin: auto;
}

.payment-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.payment-logo {
    height: 40px;
    width: auto;
}

.payment-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.close-payment {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-payment:hover {
    color: #dc3545;
}

.payment-form {
    padding: 20px;
}

.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.payment-form .required {
    color: #dc3545;
}

.payment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-form .input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.payment-form .input-icon i {
    position: absolute;
    left: 12px;
    color: #666;
    transition: color 0.3s ease;
}

.payment-form input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.payment-form input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.payment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.pay-now-btn {
    width: 100%;
    padding: 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.pay-now-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.payment-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.secure-payment {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
}

.accepted-cards {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accepted-cards img {
    height: 24px;
    width: auto;
}

@media (max-width: 768px) {
    .payment-modal {
        padding: 10px;
    }

    .payment-modal-content {
        margin: 0;
    }

    .payment-header {
        padding: 15px;
    }

    .payment-header h2 {
        font-size: 1.2rem;
    }

    .payment-form {
        padding: 15px;
    }

    .payment-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .payment-form input {
        font-size: 16px;
        padding: 10px 10px 10px 35px;
    }

    .payment-footer {
        flex-direction: column;
        text-align: center;
    }

    .accepted-cards {
        justify-content: center;
    }

    .pay-now-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .payment-modal {
        padding: 0;
    }

    .payment-modal-content {
        border-radius: 0;
        min-height: 100vh;
    }

    .payment-header {
        border-radius: 0;
    }

    .payment-form label {
        font-size: 0.9rem;
    }

    .payment-form input {
        font-size: 15px;
    }

    .summary-row {
        font-size: 1rem;
    }

    .secure-payment,
    .accepted-cards {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos para la sección de pedidos */
.orders-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.orders-filters {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-order {
    position: relative;
    max-width: 400px;
}

.search-order i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-order input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-order input:focus {
    border-color: #BB002B;
    box-shadow: 0 0 0 3px rgba(187, 0, 43, 0.1);
    outline: none;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: white;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #BB002B;
    color: #BB002B;
}

.filter-btn.active {
    background: #BB002B;
    border-color: #BB002B;
    color: white;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.order-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 5px 0;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #cce5ff;
    color: #004085;
}

.order-status.delivered {
    background: #d4edda;
    color: #155724;
}

.order-items {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1rem;
}

.item-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.item-price {
    font-weight: 600;
    color: #333;
}

.order-tracking {
    padding: 20px;
    border-top: 1px solid #eee;
    display: none;
}

.order-card.expanded .order-tracking {
    display: block;
}

.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 20px 0;
}

.tracking-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.tracking-step {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 1.2rem;
}

.tracking-step.completed .step-icon {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.step-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #333;
}

.step-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.order-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.details-btn {
    background: none;
    border: none;
    color: #BB002B;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background: rgba(187, 0, 43, 0.1);
}

.details-btn i {
    transition: transform 0.3s ease;
}

.order-card.expanded .details-btn i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .orders-container {
        padding: 15px;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-status {
        align-self: flex-start;
    }

    .tracking-steps {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .tracking-steps::before {
        top: 0;
        bottom: 0;
        left: 24px;
        width: 2px;
        height: auto;
    }

    .tracking-step {
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }

    .step-icon {
        margin-bottom: 0;
    }

    .step-info {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-item img {
        width: 100%;
        height: 120px;
    }

    .item-details {
        width: 100%;
    }

    .item-price {
        align-self: flex-end;
        margin-top: 10px;
    }
}

.horario-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.horario-card h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.horario-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.horario-icon {
    background: #C41E3A;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horario-icon i {
    color: white;
    font-size: 24px;
}

.horario-info {
    flex: 1;
}

.horario-row {
    background: #FFF1F3;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dias {
    color: #333;
    font-weight: 500;
}

.horas {
    color: #C41E3A;
    font-weight: 500;
}

.horas.especial {
    color: #C41E3A;
}

@media (max-width: 768px) {
    .horario-card {
        margin: 20px 15px;
    }
    
    .horario-row {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* Experiencia Section */
.experiencia {
    padding: 5rem 5%;
    background-color: #fff;
    text-align: center;
}

.experiencia h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.experiencia h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #BB002B;
}

.experiencia .subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.experiencia-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.experiencia-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.experiencia-icon {
    width: 80px;
    height: 80px;
    background: #BB002B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.experiencia-icon i {
    font-size: 2rem;
    color: white;
}

.experiencia-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.experiencia-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .experiencia h2 {
        font-size: 2rem;
    }

    .experiencia .subtitle {
        font-size: 1.1rem;
    }

    .experiencia-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .experiencia-item {
        padding: 1.5rem;
    }

    .experiencia-icon {
        width: 60px;
        height: 60px;
    }

    .experiencia-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .experiencia {
        padding: 3rem 5%;
    }

    .experiencia h2 {
        font-size: 1.8rem;
    }

    .experiencia .subtitle {
        font-size: 1rem;
    }

    .experiencia-container {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    margin-top: 2px;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}


/* Social Media Floating Button */
.social-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.social-float-button {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.social-float-button:hover {
    transform: scale(1.1);
    background-color: #800020;
}

.social-float-button i {
    color: white;
    font-size: 24px;
}

.social-float-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: flex;
    flex-direction: row;
    gap: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    padding: 18px 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1001;
}
.social-float:hover .social-float-menu {
    opacity: 1;
    visibility: visible;
}
.social-float-item {
    position: static;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin: 0;
    transition: transform 0.18s, box-shadow 0.18s;
    font-size: 2.2rem;
}
.social-float-item i {
    font-size: 2.2rem;
}
.social-float-item:nth-child(1) i { color: #25D366; }
.social-float-item:nth-child(2) i { color: #1877F2; }
.social-float-item:nth-child(3) i { color: #E4405F; }
.social-float-item:hover {
    transform: scale(1.13);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    background: #f5f5f5;
}
@media (max-width: 600px) {
    .social-float-menu {
        flex-direction: row;
        gap: 10px;
        padding: 12px 8px;
    }
    .social-float-item {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .social-float-item i {
        font-size: 1.5rem;
    }
}

/* Estilos del carrusel principal */
.main-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 1200px;
  min-width: 320px;
  min-height: 220px;
  max-height: 700px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  border-bottom: 1px solid #ddd;
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.7s;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }
.carousel-btn:hover { background: #ca0b0b; }

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.indicator.active {
  opacity: 1;
  background: #ca0b0b;
}

@media (max-width: 768px) {
  .carousel-slide {
    padding-bottom: 56.25%; /* Proporción 16:9 para móviles */
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    padding-bottom: 80%; /* Proporción 16:9 para móviles */
  }
}

/* Nueva sección de horario */
.horario-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 2rem 0 0 0;
}
.horario-section .horario-card {
    margin: 0 auto;
}

/* Footer simple de columnas */
.footer-content.simple-footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    background: #181818;
    padding: 2.5rem 1rem 1.5rem 1rem;
    color: #fff;
}
.footer-col {
    min-width: 160px;
}
.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 0.7rem;
}
.footer-col ul li a {
    color: var(--background-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.footer-bottom {
    background: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    padding: 1.2rem 0 1.5rem 0;
    font-size: 0.98rem;
}
@media (max-width: 800px) {
    .footer-content.simple-footer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }
    .footer-col {
        min-width: 0;
    }
}

/* Modal Pedido Invitado */
.guest-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.55);
    align-items: center;
    justify-content: center;
}
.guest-modal.active {
    display: flex;
}
.guest-modal-content {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 400px;
    width: 95vw;
    position: relative;
    animation: fadeIn 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.close-guest-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}
.close-guest-modal:hover {
    color: var(--background-color);
    background-color: var(--primary-color);
}
.guest-modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}
#guestOrderForm .form-group {
    margin-bottom: 1rem;
    width: 100%;
}
#guestOrderForm label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.3rem;
    display: block;
}
#guestOrderForm input,
#guestOrderForm textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 1rem;
    margin-top: 0.2rem;
    transition: border 0.2s;
}
#guestOrderForm input:focus,
#guestOrderForm textarea:focus {
    border: 1.5px solid #BB002B;
    outline: none;
}
.guest-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    color: #2ECC71;
    font-size: 1.1rem;
    text-align: center;
}
.guest-success i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
@media (max-width: 500px) {
    .guest-modal-content {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
}

/* Info de costo de envío en modal invitado */
.shipping-cost-info {
    margin: 0.5rem 0 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.08rem;
    text-align: center;
}
.shipping-msg {
    margin: 0.5rem 0 0.5rem 0;
    color: #E67E22;
    font-size: 1rem;
    text-align: center;
}

/* Cupón exclusivo para usuarios registrados */
.promo-cupon-registrado {
    border: 2px solid #161616;
    background: #161616;
    box-shadow: 0 2px 12px rgba(187,0,43,0.07);
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.promo-cupon-registrado h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
    letter-spacing: 0.5px;
}
.promo-cupon-registrado p {
    color: #f5f5f5;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}
.promo-cupon-registrado .cta-button {
    background: #fff;
    color: #161616;
    border: 2px solid #161616;
    border-radius: 12px;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    margin-top: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    letter-spacing: 0.5px;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border 0.25s;
}
.promo-cupon-registrado .cta-button:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(202, 11, 11, 0.15);
    text-decoration: none;
}

body.menu-open .nav-buttons .login-btn {
    display: none !important;
}

@media (max-width: 768px) {
  .nav-buttons .login-btn {
    display: none !important;
  }
}

.oculto {
    display: none !important;
}

@media (max-width: 768px) {
  .main-carousel {
    /* padding-bottom: 70%; */ /* Elimino para que JS controle la altura */
    min-height: 250px;
  }
  .carousel-slide {
    background-size: cover !important;
  }
}

@media (max-width: 480px) {
  .main-carousel {
    /* padding-bottom: 80%; */ /* Elimino para que JS controle la altura */
    min-height: 300px;
    padding-bottom: 0;
  }
  /* También, ajustemos el texto superpuesto para que no esté tan abajo */
  .carousel-slide > div {
    bottom: 15% !important; /* <--- AÑADIR ESTO */
    padding: 0.8rem !important; /* <--- AÑADIR ESTO */
  }
}

/* Menú de usuario y botón de cerrar sesión en navbar */
.nav-user-menu {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-left: 1em;
}
.nav-user-link {
  color: #0d47a1;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.3em 0.7em;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-user-link:hover {
  background: #f3f3f3;
  color: #bb002b;
}
.logout-btn-nav {
  background: #fff;
  color: #bb002b;
  border: 1.5px solid #bb002b;
  border-radius: 6px;
  padding: 0.3em 0.7em;
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.logout-btn-nav:hover {
  background: #bb002b;
  color: #fff;
  border-color: #bb002b;
}
@media (max-width: 768px) {
  .nav-user-menu {
    margin-left: 0.5em;
    gap: 0.5em;
  }
  .nav-user-link, .logout-btn-nav {
    font-size: 1em;
    padding: 0.25em 0.6em;
  }
}

  /* Estilos adicionales para el modal de elección */
  .choice-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.55);
    align-items: center;
    justify-content: center;
}
.choice-modal-content {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 350px;
    width: 90vw;
    position: relative;
    animation: fadeIn 0.3s; /* Reutiliza animación si existe */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.close-choice-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
 .close-choice-modal:hover {
     color: #333;
 }
.choice-modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}
.choice-modal-content p {
    margin-bottom: 2rem;
    color: #555;
}
.choice-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
.choice-modal-buttons .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.choice-modal-buttons .btn-primary {
    background-color: var(--primary-color);
    color: white;
}
 .choice-modal-buttons .btn-primary:hover {
     background-color: #a00a0a;
     transform: translateY(-1px);
 }
.choice-modal-buttons .btn-secondary {
    background-color: #eee;
    color: #333;
    border: 1px solid #ddd;
}
 .choice-modal-buttons .btn-secondary:hover {
     background-color: #ddd;
     transform: translateY(-1px);
 }

 /* Asegurar que el modal de invitado tenga estilos base */
 .guest-modal {
    /* ... (estilos existentes) ... */
    align-items: flex-start; /* Para permitir scroll si el contenido es largo */
    padding-top: 5vh;
    overflow-y: auto;
 }
 .guest-modal-content {
     /* ... (estilos existentes) ... */
     margin-bottom: 5vh; /* Espacio al final */
 }

 /* Ocultar el botón de login en el menú móvil cuando el usuario está logueado */
 .nav-links.active .auth-mobile.mobile-only .login-btn {
    display: none; /* Oculta el botón de login específico del menú móvil */
 }
 /* Mostrar el botón de login en el menú móvil cuando NO está logueado */
 body:not(.logged-in) .nav-links.active .auth-mobile.mobile-only .login-btn {
     display: flex !important; /* Asegura que se muestre */
 }
 /* Ocultar el botón de login principal en el menú móvil (siempre) */
 .nav-links.active .nav-buttons .login-btn {
     display: none !important;
 }
 #puntosContent ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  #puntosContent ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--text-color);
  }
  
select {
    width: 100%; /* Asegura que el select ocupe todo el ancho */
    padding: 0.7rem; /* Espaciado interno */
    border: 1px solid #ddd; /* Borde ligero */
    border-radius: 8px; /* Bordes redondeados */
    font-size: 1rem; /* Tamaño de fuente */
    transition: border 0.2s; /* Transición suave para el borde */
}

select:focus {
    border-color: #BB002B; /* Color del borde al enfocar */
    outline: none; /* Elimina el contorno por defecto */
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  z-index: 9999;
  padding: 1.5rem 0.5rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  display: none;
  font-family: inherit;
}
.cookie-banner-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cookie-emoji {
  font-size: 2rem;
  margin-top: 0.2rem;
}
.cookie-banner p {
  margin: 0.5rem 0 0.7rem 0;
  font-size: 1rem;
}
.cookie-link {
  color: #ffd700;
  text-decoration: underline;
}
.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
}
.cta-button.cta-secondary {
  background: #444;
  color: #fff;
  border: 1px solid #888;
}
@media (max-width: 600px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
  }
}

.cookie-banner.glass {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(34, 34, 34, 0.75);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  color: #f5f6fa;
  z-index: 9999;
  padding: 2rem 0.5rem 2.5rem 0.5rem;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
  border-top: 1.5px solid rgba(255,255,255,0.08);
  font-family: inherit;
  display: none;
  animation: fadeInCookie 0.7s;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
.cookie-banner-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.cookie-emoji {
  font-size: 2.2rem;
  margin-top: 0.2rem;
  color: #f7c948;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
.cookie-banner strong {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
}
.cookie-banner p {
  margin: 0.5rem 0 0.7rem 0;
  font-size: 1.05rem;
  color: #e0e0e0;
}
.cookie-link {
  color: #4ea8de;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.cookie-link:hover {
  color: #1e90ff;
}
.cookie-banner-buttons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.cta-button.modern-accept {
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 2px 8px rgba(202, 11, 11, 0.08);
  transition: background 0.2s, transform 0.1s;
}
.cta-button.modern-accept:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px) scale(1.03);
}

.cta-button.modern-reject {
  background: var(--gray-medium);
  color: var(--secondary-color);
  border: 1.5px solid var(--gray-medium);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.cta-button.modern-reject:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
    gap: 0.7rem;
  }
  .cookie-banner.glass {
    padding: 1.2rem 0.2rem 1.5rem 0.2rem;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 0.7rem;
  }
}
.cta-button.modern-reject:hover {
    background: var(--secondary-color);
    color: var(--background-color);
    transform: translateY(-2px) scale(1.03);
  }
  @media (max-width: 600px) {
    .cookie-banner-content {
      flex-direction: column;
      align-items: stretch;
      padding: 0 0.5rem;
      gap: 0.7rem;
    }
    .cookie-banner.glass {
      padding: 1.2rem 0.2rem 1.5rem 0.2rem;
    }
    .cookie-banner-buttons {
      flex-direction: column;
      gap: 0.7rem;
    }
  }
  
  /* --- Filtros de pedidos modernos --- */
  .orders-filters {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1.2rem;
      margin-bottom: 1.2rem;
  }
  .search-order {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: #fff;
      border-radius: 8px;
      padding: 0.3em 1em;
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
      border: 1px solid #ececec;
  }
  .search-order input {
      border: none;
      outline: none;
      background: transparent;
      font-size: 1rem;
      color: #222;
      padding: 0.3em 0;
  }
  .filter-btn {
      background: var(--primary-color);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 0.6em 1.2em;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
  }
  .filter-btn:hover {
      background: var(--secondary-color);
      transform: translateY(-2px);
  }
  .filter-btn.active {
      background: var(--secondary-color);
  }
  .filter-btn.active:hover {
      background: #111;
  }
  .filter-btn.clear {
      background: var(--gray-medium);
      color: var(--secondary-color);
      border: 1px solid var(--gray-medium);
  }
  .filter-btn.clear:hover {
      background: var(--secondary-color);
      color: #fff;
      border-color: var(--secondary-color);
  }
  .orders-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 1.5rem;
  }
  .order-card.modern {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 1.2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      position: relative;
      overflow: hidden;
  }
  .order-card.modern .order-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
  }
  .order-card.modern .order-id {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--primary-color);
  }
  .order-card.modern .order-date {
      font-size: 0.9rem;
      color: #666;
  }
  .order-card.modern .order-status {
      font-size: 0.9rem;
      font-weight: 600;
      padding: 0.2em 0.8em;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }
  .order-card.modern .order-status.pending {
      background: #ffe0b2;
      color: #e65100;
  }
  .order-card.modern .order-status.delivered {
      background: #c8e6c9;
      color: #2e7d32;
  }
  .order-card.modern .order-status.cancelled {
      background: #ffcdd2;
      color: #c62828;
  }
  .order-card.modern .order-details {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.5rem;
  }
  .order-card.modern .order-total {
      font-size: 1.1rem;
      font-weight: 600;
      color: #333;
  }
  .order-card.modern .details-btn {
      background: var(--primary-color);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 0.6em 1.2em;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
  }
  .order-card.modern .details-btn:hover {
      background: #a00808;
      transform: translateY(-2px);
  }
  @media (max-width: 768px) {
      .orders-list {
          grid-template-columns: 1fr;
      }
  }

  /* ============================================= */
/* ===  MENÚ MÓVIL MEJORADO === */
/* ============================================= */

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        height: 80px;
        background: var(--primary-color);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Overlay del menú móvil */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Contenedor del menú móvil */
    .nav-links {
        display: flex; /* Cambiamos display:none por flex */
        position: fixed;
        top: 0;
        right: 0; /* Lo posicionamos a la derecha */
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        padding-top: 80px; /* Espacio para el header del menú */
        gap: 0;
        z-index: 1500;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    
        /* Lógica para ocultar con transform y visibility */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    }
    
    .nav-links.active {
        /* Lógica para mostrar */
        transform: translateX(0);
        visibility: visible;
    }

    /* Header del menú móvil */
    .mobile-menu-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-header .nav-logo {
        width: 50px;
        height: 50px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.9);
    }

    .mobile-menu-header .nav-logo img {
        width: 40px;
        height: 40px;
    }

    /* Botón de cerrar menú */
    .mobile-close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

    /* Contenedor de enlaces del menú */
    .mobile-menu-links {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 5px;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(var(--item-index) * 0.05s + 0.2s);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links li:nth-child(6) { transition-delay: 0.35s; }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 18px 25px;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .nav-links a:hover::before {
        left: 100%;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: rgba(255, 255, 255, 0.8);
        transform: translateX(10px);
    }

    .nav-links a i {
        margin-right: 15px;
        font-size: 1.3rem;
        width: 20px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-links a:hover i {
        transform: scale(1.2);
        color: rgba(255, 255, 255, 0.9);
    }

    /* Botón de login en móvil */
    .nav-links .login-btn {
        margin: 20px 25px;
        padding: 15px 25px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        color: white;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-links .login-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .nav-links .login-btn i {
        margin-right: 10px;
        font-size: 1.2rem;
    }

    /* Botón hamburguesa mejorado */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: white;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        z-index: 2100;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }

    .menu-toggle.active {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        transform: rotate(90deg);
    }

    .menu-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    }

    /* Footer del menú móvil */
    .mobile-menu-footer {
        padding: 20px 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-footer p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
        text-align: center;
        margin: 0;
    }

    /* Estados del body cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Ocultar elementos del navbar cuando el menú está abierto */
    body.menu-open .nav-buttons .login-btn {
        display: none !important;
    }

    /* Animación de entrada para el logo */
    .nav-logo {
        position: relative;
        z-index: 2100;
        transition: all 0.3s ease;
    }

    body.menu-open .nav-logo {
        transform: scale(0.9);
    }
}

/* ============================================= */
/* ===  RESPONSIVE PARA TABLETS === */
/* ============================================= */

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================= */
/* ===  RESPONSIVE PARA MÓVILES PEQUEÑOS === */
/* ============================================= */

@media (max-width: 480px) {
    .nav-links {
        width: 90%;
        max-width: none;
    }

    .mobile-menu-header {
        padding: 0 15px;
    }

    .nav-links a {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .nav-links a i {
        font-size: 1.2rem;
        margin-right: 12px;
    }

    .nav-links .login-btn {
        margin: 15px 20px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .mobile-menu-footer {
        padding: 15px 20px;
    }
}

/* ============================================= */
/* ===  RESPONSIVE PARA MÓVILES MUY PEQUEÑOS === */
/* ============================================= */

@media (max-width: 360px) {
    .nav-links {
        width: 95%;
    }

    .nav-links a {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .nav-links a i {
        font-size: 1.1rem;
        margin-right: 10px;
    }

    .nav-links .login-btn {
        margin: 12px 18px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* ============================================= */
/* ===  ANIMACIONES ADICIONALES === */
/* ============================================= */

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Aplicar animaciones */
.nav-links.active {
    animation: slideInFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    animation: fadeInUp 0.3s ease;
}

.menu-toggle:hover {
    animation: pulse 0.6s ease;
}

/* ===================== SIDEBAR DASHBOARD RESPONSIVO ===================== */
@media (max-width: 900px) {
  .sidebar {
    width: 240px;
    left: -240px;
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
    box-shadow: none;
    z-index: 2001;
  }
  .sidebar.open {
    left: 0;
    box-shadow: 2px 0 20px rgba(0,0,0,0.18);
  }
  .main-content {
    margin-left: 0 !important;
    transition: filter 0.3s;
  }
  .sidebar-toggle {
    display: flex !important;
    z-index: 2100;
  }
  .sidebar-header {
    justify-content: space-between;
  }
  .sidebar-footer {
    position: static;
    width: 100%;
  }
  /* Overlay */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }
  body.sidebar-open {
    overflow: hidden;
  }
  body.sidebar-open .main-content {
    filter: blur(2px) grayscale(0.1);
  }
}
@media (max-width: 600px) {
  .sidebar {
    width: 85vw;
    min-width: 0;
    max-width: 350px;
    left: -85vw;
  }
  .sidebar.open {
    left: 0;
  }
}

@media (max-width: 600px) {
  .menu-section .menu-items {
    flex-direction: column;
    align-items: center;
  }
  .menu-card {
    width: 95%;
    margin: 1rem 0;
    font-size: 1em;
  }
  .promo-container {
    flex-direction: column;
    align-items: center;
  }
  .promo-card {
    width: 95%;
    margin-bottom: 1rem;
  }
  /* Ajusta paddings, márgenes y tamaños de fuente para móviles */
}

@media (max-width: 600px) {
  .image-categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .image-category-item {
    width: 45vw;
    max-width: 140px;
    min-width: 100px;
    margin: 0 5px 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .image-category-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }
  .subcategories-container {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
  }
  .subcategories .category-btn {
    width: 100%;
    margin-bottom: 8px;
    font-size: 1em;
  }
}

/* --- Botón Confirmar Pedido Moderno --- */
.confirmar-pedido-btn {
    width: 100%;
    padding: 1rem 0;
    background: linear-gradient(135deg, #BB002B 0%, #800020 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(187, 0, 43, 0.08);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    margin: 1.5rem 0 0 0;
}

.confirmar-pedido-btn i {
    font-size: 1.2em;
}

.confirmar-pedido-btn:hover {
    background: linear-gradient(135deg, #800020 0%, #BB002B 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(187, 0, 43, 0.13);
}

@media (max-width: 600px) {
    .confirmar-pedido-btn {
        font-size: 1rem;
        padding: 0.9rem 0;
    }
}
  
/* --- MEJORAS RESPONSIVAS PARA MÓVIL --- */
@media (max-width: 600px) {
  .navbar {
    padding: 0.5rem 2vw;
    height: 60px;
  }
  .nav-logo {
    width: 48px;
    height: 48px;
  }
  .nav-logo img {
    height: 80%;
  }
  .nav-buttons {
    gap: 0.5rem;
  }
  .cart-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 1rem;
  }
  .cart-btn i, .cart-btn .material-icons {
    font-size: 20px;
  }
  .promos {
    padding: 2.5rem 2vw;
  }
  .promo-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }
  .promo-card {
    margin: 0 auto;
    width: 98vw;
    max-width: 400px;
  }
  .promo-card img {
    height: 140px;
  }
  .menu-section {
    padding: 2.5rem 2vw;
  }
  .image-categories-container {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 0;
  }
  .image-category-item {
    width: 40vw;
    max-width: 120px;
  }
  .image-category-item img {
    width: 80px;
    height: 80px;
  }
  .image-category-item h4 {
    font-size: 1rem;
  }
  .subcategories-container {
    padding: 0.5rem;
  }
  .category-btn {
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
  }
  .about, .contact {
    padding: 2.5rem 2vw;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1vw;
  }
  .footer-col {
    margin-bottom: 1rem;
  }
  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.95rem;
  }
  .cta-button, .cta-button.modern-accept, .cta-button.modern-reject {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
  .cookie-banner-content {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }
  .guest-modal-content, .choice-modal-content {
    padding: 1rem 0.5rem;
  }
  #guestOrderForm .form-group {
    margin-bottom: 0.7rem;
  }
  #guestOrderForm input, #guestOrderForm textarea, #guestOrderForm select {
    font-size: 1rem;
    padding: 0.7rem;
  }
  #map {
    height: 120px !important;
  }
}
@media (max-width: 400px) {
  .navbar {
    height: 48px;
  }
  .nav-logo {
    width: 36px;
    height: 36px;
  }
  .promo-card {
    max-width: 98vw;
    padding: 0.5rem;
  }
  .image-category-item {
    width: 80vw;
    max-width: 90px;
  }
  .image-category-item img {
    width: 60px;
    height: 60px;
  }
  .footer-bottom {
    font-size: 0.85rem;
  }
  .cta-button, .cta-button.modern-accept, .cta-button.modern-reject {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
  }
}
  
/* --- ESTILOS PARA EL BOTÓN DE CERRAR SESIÓN MÓVIL --- */
.logout-mobile {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.logout-mobile .logout-btn-nav {
    width: 100%;
    text-align: left;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background: none;
    border: none;
    color: #bb002b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
}

.logout-mobile .logout-btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(187, 0, 43, 0.1), transparent);
    transition: left 0.5s ease;
}

.logout-mobile .logout-btn-nav:hover::before {
    left: 100%;
}

.logout-mobile .logout-btn-nav:hover {
    background-color: rgba(187, 0, 43, 0.1);
    color: #bb002b;
    transform: translateX(5px);
}

.logout-mobile .logout-btn-nav i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.logout-mobile .logout-btn-nav:hover i {
    transform: translateX(3px);
}

/* Asegurar que el botón móvil solo aparezca en móvil */
@media (min-width: 769px) {
    .logout-mobile {
        display: none !important;
    }
}

/* Ajustes específicos para pantallas muy pequeñas */
@media (max-width: 480px) {
    .logout-mobile .logout-btn-nav {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .logout-mobile .logout-btn-nav i {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .logout-mobile .logout-btn-nav {
        padding: 0.6rem 0.7rem;
        font-size: 0.9rem;
    }
}
  
/* --- MEJORA VISIBILIDAD BOTÓN CERRAR SESIÓN MÓVIL --- */
.logout-mobile .logout-btn-nav {
    background: rgba(255,255,255,0.92) !important;
    color: #bb002b !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1.5px solid #bb002b;
    letter-spacing: 0.5px;
    filter: none;
    opacity: 1 !important;
}
.logout-mobile .logout-btn-nav i {
    color: #bb002b !important;
    font-weight: bold;
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.logout-mobile .logout-btn-nav:hover {
    background: #fff !important;
    color: #fff !important;
    border-color: #bb002b;
    box-shadow: 0 4px 16px rgba(187,0,43,0.10);
    filter: brightness(1.05);
}
.logout-mobile .logout-btn-nav:hover i {
    color: #fff !important;
    text-shadow: 0 2px 6px #bb002b44;
}
  