/* ================================
   NEON STREET - ESTILOS PRINCIPALES
   ================================ */

/* ================================
   ÑANDE BAR - ESTILOS PRINCIPALES
   ================================ */

/* ================================
   CONFIGURACIÓN GLOBAL
   ================================ */

/* Variables de color centralizadas */
:root {
    /* Colores principales del tema */
    --color-primary: #ff6b9d;
    --color-secondary: #4a90e2;
    --color-accent: #6ab7ff;
    --color-tertiary: #7fb3d3;
    --color-neon-cyan: #00d4ff;
    --color-neon-pink: #ff0080;
    --color-neon-green: #00ff80;
    --color-cyan: #00ffff;
    
    /* Colores de fondo */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-navbar: #2a2a2a;
    --bg-navbar-secondary: #3a3a3a;
    --bg-modal: rgba(50, 50, 50, 0.95);
    --bg-modal-overlay: rgba(30, 30, 30, 0.9);
    --bg-search: rgba(40, 40, 40, 0.9);
    --bg-dropdown: rgba(40, 20, 80, 0.95);
    --bg-dropdown-secondary: rgba(80, 20, 40, 0.95);
    
    /* Colores de texto */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #c0c0c0;
    --text-muted: #a0a0a0;
    --text-category: #c49b61;
    
    /* Colores de estado */
    --color-success: #4CAF50;
    --color-success-bg: rgb(34, 197, 94);
    --color-success-hover: rgb(22, 163, 74);
    --color-success-light: rgb(220, 252, 231);
    --color-success-text: rgb(22, 101, 52);
    --color-error: #ff4757;
    --color-error-bg: rgb(239, 68, 68);
    --color-error-hover: rgb(220, 38, 38);
    --color-error-light: rgb(254, 226, 226);
    --color-error-text: rgb(153, 27, 27);
    --color-error-dark: rgb(127, 29, 29);
    
    /* Colores neutros */
    --color-gray-50: rgb(249, 250, 251);
    --color-gray-200: rgb(229, 231, 235);
    --color-gray-300: rgb(209, 213, 219);
    --color-gray-600: rgb(75, 85, 99);
    --color-gray-700: rgb(55, 65, 81);
    --color-gray-900: rgb(17, 24, 39);
    
    /* Colores de interacción */
    --color-blue-500: rgb(59, 130, 246);
    --color-blue-600: rgb(37, 99, 235);
    --color-blue-900: rgb(30, 58, 138);
    --color-orange-500: rgb(249, 115, 22);
    --color-green-200: rgb(187, 247, 208);
    --color-green-300: rgb(134, 239, 172);
    --color-green-500: rgb(34, 197, 94);
    --color-green-700: rgb(21, 128, 61);
    --color-red-200: rgb(254, 202, 202);
    --color-red-300: rgb(252, 165, 165);
    --color-red-500: rgb(239, 68, 68);
    --color-red-600: rgb(220, 38, 38);
    --color-red-700: rgb(185, 28, 28);
    
    /* Opacidades para efectos de transparencia */
    --opacity-bg-overlay: rgba(0, 0, 0, 0.25);
    --opacity-bg-overlay-dark: rgba(0, 0, 0, 0.8);
    --opacity-border: rgba(106, 183, 255, 0.3);
    --opacity-border-pink: rgba(255, 0, 128, 0.3);
    --opacity-glow: rgba(74, 144, 226, 0.4);
    --opacity-glow-pink: rgba(255, 0, 128, 0.4);
}

/* Configuración de scroll suave para toda la página */
html {
    scroll-behavior: smooth;
}

/* Configuración global de fuente */
* {
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif !important;
}

body {
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif !important;
}

/* ================================
   ANIMACIONES PERSONALIZADAS
   ================================ */

/* Animación de fade in/out para texto superpuesto en las imágenes */
@keyframes fadeInOut {
    0%, 40% { 
        opacity: 0; 
        transform: translateY(8px);
    }
    45% { 
        opacity: 0.1; 
        transform: translateY(6px);
    }
    50% { 
        opacity: 0.4; 
        transform: translateY(3px);
    }
    55%, 75% { 
        opacity: 1; 
        transform: translateY(0);
    }
    78% { 
        opacity: 0.7; 
        transform: translateY(-2px);
    }
    82% { 
        opacity: 0.3; 
        transform: translateY(-4px);
    }
    87% { 
        opacity: 0.1; 
        transform: translateY(-6px);
    }
    92%, 100% { 
        opacity: 0; 
        transform: translateY(-8px);
    }
}

/* Animación para el ícono de click (aparece después del texto) */
@keyframes fadeInOutIcon {
    0%, 78% { 
        opacity: 0; 
        transform: translateY(8px) scale(0.7);
    }
    80% { 
        opacity: 0.2; 
        transform: translateY(6px) scale(0.8);
    }
    82% { 
        opacity: 0.5; 
        transform: translateY(3px) scale(0.9);
    }
    85% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
    92% { 
        opacity: 0.5; 
        transform: translateY(-3px) scale(0.9);
    }
    95% { 
        opacity: 0.2; 
        transform: translateY(-6px) scale(0.8);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-8px) scale(0.7);
    }
}

/* Animación de fade in/out para el fondo semi-transparente de las imágenes */
@keyframes fadeInOutBackground {
    0%, 40% { 
        background-color: rgba(0, 0, 0, 0); 
    }
    45% { 
        background-color: rgba(0, 0, 0, 0.1); 
    }
    50% { 
        background-color: rgba(0, 0, 0, 0.3); 
    }
    55%, 75%{ 
        background-color: rgba(0, 0, 0, 0.8); 
    }
    78% { 
        background-color: rgba(0, 0, 0, 0.6); 
    }
    82% { 
        background-color: rgba(0, 0, 0, 0.3); 
    }
    87% { 
        background-color: rgba(0, 0, 0, 0.1); 
    }
    92%, 100% { 
        background-color: rgba(0, 0, 0, 0); 
    }
}

/* Animación del header - Título principal (aparece primero y al final) */
@keyframes headerTitle {
    0% { 
        opacity: 1; 
        transform: translateY(0);
    }
    40% { 
        opacity: 1; 
        transform: translateY(0);
    }
    45% { 
        opacity: 0; 
        transform: translateY(-20px);
    }
    90% { 
        opacity: 0; 
        transform: translateY(-40px);
    }
    95% { 
        opacity: 1; 
        transform: translateY(0);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Animación del header - Slogan (aparece en el medio) */
@keyframes headerSlogan {
    0% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    45% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    50% { 
        opacity: 1; 
        transform: translateY(0);
    }
    85% { 
        opacity: 1; 
        transform: translateY(0);
    }
    90% { 
        opacity: 0; 
        transform: translateY(-20px);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-20px);
    }
}

/* Animaciones de pulso eliminadas */

/* Animación de brillo neón para bordes */
@keyframes neonGlow {
    0%, 100% {
        box-shadow: 0 0 5px currentColor, 0 0 10px currentColor;
    }
    50% {
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

/* ================================
   CLASES DE ANIMACIÓN
   ================================ */

/* Clase para aplicar la animación de fade al texto */
.animate-fade {
    animation: fadeInOut 4s ease-in-out infinite;
}

/* Clase para aplicar la animación de fade al fondo */
.animate-fade-background {
    animation: fadeInOutBackground 4s ease-in-out infinite;
}

/* Clase para aplicar animación de pulso neón - eliminada */

/* Clase para aplicar animación de brillo neón */
.animate-neon-glow {
    animation: neonGlow 3s ease-in-out infinite;
}

/* ================================
   LAYOUT PRINCIPAL
   ================================ */

/* Contenedor principal de la aplicación */
.main-container {
    /* Utiliza Flexbox para el layout */
    display: flex;
    /* Ocupa toda la pantalla */
    min-height: 100vh;
    width: 100%;
    /* Organiza elementos en columna */
    flex-direction: column;
    /* Fondo elegante con gradiente sutil */
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    /* Evita scroll horizontal */
    overflow-x: hidden;
    /* Fuente principal del sitio */
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif;
}

/* ================================
   HEADER Y NAVEGACIÓN
   ================================ */

/* Contenedor del título principal */
.header-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-navbar) 0%, var(--bg-navbar-secondary) 50%, var(--bg-navbar) 100%);
    border-bottom: 2px solid var(--color-primary);
    box-shadow: 0 0 20px var(--opacity-glow);
    padding: 1rem;
    padding-bottom: 0.5rem;
    justify-content: center;
    position: relative;
    min-height: 80px;
}

/* Contenedor animado del header */
.animated-header {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Texto del slogan */
.slogan-text {
    position: absolute;
    color: var(--color-neon-cyan);
    text-shadow: 0 0 10px var(--color-neon-cyan), 0 0 20px var(--color-neon-cyan), 0 0 30px var(--color-neon-cyan), 0 0 40px var(--color-neon-cyan);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    animation: headerSlogan 4s ease-in-out;
    animation-fill-mode: forwards;
    font-style: italic;
}

/* Título principal del sitio */
.main-title {
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary), 0 0 30px var(--color-primary), 0 0 40px var(--color-primary);
    font-size: 2.25rem; /* 36px */
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-align: center;
    opacity: 1;
    animation: headerTitle 4s ease-in-out;
    animation-fill-mode: forwards;
}

/* Logo principal del sitio */
.main-logo {
    text-align: center;
    opacity: 1;
    animation: headerTitle 4s ease-in-out;
    animation-fill-mode: forwards;
}

.logo-image {
    max-height: 120px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--color-primary)) 
            drop-shadow(0 0 20px var(--color-primary)) 
            drop-shadow(0 0 30px rgba(255, 107, 157, 0.5));
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--color-primary)) 
            drop-shadow(0 0 25px var(--color-primary)) 
            drop-shadow(0 0 35px rgba(255, 107, 157, 0.7));
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .logo-image {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 60px;
    }
}

/* ================================
   BARRA DE NAVEGACIÓN PEGAJOSA
   ================================ */

/* Contenedor de la barra de navegación */
.navbar {
    /* Posición relativa por defecto */
    position: relative;
    /* Z-index alto para estar sobre otros elementos */
    z-index: 50;
    /* Fondo con gradiente elegante */
    background: linear-gradient(135deg, var(--bg-navbar) 0%, var(--bg-navbar-secondary) 50%, var(--bg-navbar) 100%);
    /* Borde inferior sutil */
    border-bottom: 2px solid var(--color-accent);
    /* Sombra sutil para dar profundidad */
    box-shadow: 0 0 15px rgba(106, 183, 255, 0.2);
    /* Asegurar que ocupe todo el ancho */
    width: 100%;
    /* Transición suave para el cambio de posición */
    transition: all 0.3s ease-in-out;
}

/* Clase aplicada por JavaScript cuando se hace scroll */
.navbar.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Sombra más pronunciada cuando está fija */
    box-shadow: 0 0 25px rgba(106, 183, 255, 0.3), 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

/* Espaciador dinámico para compensar la navbar fija */
.navbar-spacer {
    height: 0;
    transition: height 0.3s ease-in-out;
}

.navbar-spacer.active {
    height: 110px;
}

/* Contenedor interno de la navbar */
.navbar-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    padding-bottom: 0.5rem;
    justify-content: center;
    gap: 1rem;
}

/* ================================
   BARRA DE BÚSQUEDA
   ================================ */

/* Contenedor de la barra de búsqueda */
.search-container {
    position: relative;
    width: 100%;
    max-width: 28rem; /* 448px */
}

/* Campo de entrada de búsqueda */
.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-search) !important;
    color: var(--text-secondary) !important;
    border: 2px solid var(--color-secondary) !important;
    border-radius: 0.5rem !important;
    outline: none;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

/* Placeholder del campo de búsqueda */
.search-input::placeholder {
    color: var(--text-muted) !important;
}

/* Estados de focus para el campo de búsqueda */
.search-input:focus {
    box-shadow: 0 0 15px var(--opacity-glow), 0 0 0 2px var(--color-accent);
    border-color: var(--color-accent);
}

/* Icono de búsqueda */
.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-tertiary);
    filter: drop-shadow(0 0 3px rgba(127, 179, 211, 0.5));
}

/* Contenedor de resultados de búsqueda */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-search) 0%, rgba(50, 50, 50, 0.95) 100%);
    border: 2px solid var(--color-secondary);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

/* Item individual de resultado de búsqueda */
.search-result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--opacity-border);
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    color: var(--text-secondary);
}

.search-result-item:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(106, 183, 255, 0.2) 100%);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

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

/* Título del producto en resultado */
.search-result-title {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Categoría del producto en resultado */
.search-result-category {
    font-size: 0.75rem;
    color: var(--text-category);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Precio del producto en resultado */
.search-result-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-neon-green);
    text-shadow: 0 0 3px rgba(0, 255, 128, 0.5);
    margin-left: auto;
}

/* Contenedor flex para organizar info del resultado */
.search-result-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

/* ================================
   MENÚ DESPLEGABLE
   ================================ */

/* Contenedor del menú desplegable */
.dropdown-container {
    position: relative;
}

/* Botón del menú desplegable */
.dropdown-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(106, 183, 255, 0.8) 100%);
    color: var(--text-primary);
    border: 2px solid var(--color-secondary);
    border-radius: 0.5rem;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

/* Estado hover del botón */
.dropdown-button:hover {
    background: linear-gradient(135deg, rgba(106, 183, 255, 0.9) 0%, rgba(127, 179, 211, 0.9) 100%);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

/* Estado focus del botón */
.dropdown-button:focus {
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6), 0 0 0 2px var(--color-accent);
}

/* Flecha del menú desplegable */
.dropdown-arrow {
    width: 1rem;
    height: 1rem;
    color: var(--color-cyan);
    filter: drop-shadow(0 0 5px var(--color-cyan));
    transition: transform 0.15s ease-in-out;
}

/* Contenedor del menú desplegable */
.dropdown-menu {
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    width: 12rem; /* 192px */
    background: linear-gradient(135deg, var(--bg-dropdown) 0%, var(--bg-dropdown-secondary) 100%);
    border: 2px solid var(--color-neon-pink);
    border-radius: 0.5rem;
    box-shadow: 0 0 30px var(--opacity-glow-pink);
    /* Estados de visibilidad controlados por JavaScript */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.2s ease-in-out;
    transform-origin: top right;
}

/* Estados del menú cuando está visible - usadas por JavaScript */
.dropdown-menu.opacity-100 {
    opacity: 1;
}

.dropdown-menu.visible {
    visibility: visible;
}

.dropdown-menu.scale-100 {
    transform: scale(1);
}

.dropdown-menu.opacity-0 {
    opacity: 0;
}

.dropdown-menu.invisible {
    visibility: hidden;
}

.dropdown-menu.scale-95 {
    transform: scale(0.95);
}

/* Lista del menú desplegable */
.dropdown-list {
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

/* Enlaces del menú desplegable */
.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-cyan);
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

/* Estado hover de los enlaces */
.dropdown-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3) 0%, rgba(0, 255, 128, 0.3) 100%);
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--color-cyan);
}

/* ================================
   TÍTULOS DE SECCIONES
   ================================ */

/* Títulos principales de cada sección */
.section-title {
    color: var(--color-neon-pink);
    text-shadow: 0 0 15px var(--color-neon-pink), 0 0 25px var(--color-neon-pink);
    font-size: 1.75rem; /* 28px */
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.015em;
    padding: 1rem;
    padding-bottom: 1rem;
    padding-top: 1.5rem;
}

/* ================================
   SECCIONES Y LISTAS DE PRODUCTOS
   ================================ */

.product-section {
    padding: 20px;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(45, 45, 45, 0.8) 100%);
    border: 2px solid var(--color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.2);
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4), 0 0 15px var(--opacity-glow);
    border-color: var(--color-accent);
}

.product-item .product-image {
    min-width: 80px;
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
    display: block;
    border: 2px solid var(--color-secondary);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

.product-item:hover .product-image {
    box-shadow: 0 0 12px rgba(74, 144, 226, 0.5);
    border-color: var(--color-accent);
}

.product-item .product-details {
    flex: 1;
}

.product-item .product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.product-item .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-neon-green);
    text-shadow: 0 0 8px rgba(0, 255, 128, 0.6);
}

.product-item .product-cart-icon {
    font-size: 24px;
    color: var(--text-primary);
    margin-left: 15px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(106, 183, 255, 0.8) 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

.product-item:hover .product-cart-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, rgba(106, 183, 255, 0.9) 0%, rgba(127, 179, 211, 0.9) 100%);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
    border-color: var(--color-accent);
}

/* ================================
   GRILLA DE PRODUCTOS
   ================================ */

/* Contenedor principal de la grilla */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

/* ================================
   TARJETAS DE PRODUCTOS
   ================================ */

/* Contenedor de cada producto */
.product-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

/* Efecto hover para las tarjetas de producto */
.product-card:hover {
    transform: translateY(-4px);
}

/* Contenedor de la imagen del producto */
.product-image {
    width: 100%;
    /* Centra la imagen */
    background-position: center;
    background-repeat: no-repeat;
    /* Mantiene proporción cuadrada */
    aspect-ratio: 1;
    background-size: cover;
    border-radius: 0.75rem;
    position: relative;
}

/* Overlay con texto superpuesto en la imagen del menú */
.product-overlay.menu-overlay {
    position: absolute;
    /* Cubre toda la imagen */
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fondo semi-transparente */
    background-color: var(--opacity-bg-overlay);
    border-radius: 0.75rem;
    /* Animación solo para productos del menú */
    animation: fadeInOutBackground 4s ease-in-out infinite;
}

/* Overlay con texto superpuesto en la imagen - sin animación */
.product-overlay {
    position: absolute;
    /* Cubre toda la imagen */
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fondo semi-transparente */
    background-color: var(--opacity-bg-overlay);
    border-radius: 0.75rem;
    /* Sin animación para evitar conflictos en detalles de pedido */
}

/* Texto superpuesto en la imagen del menú */
.product-name.menu-overlay {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--color-cyan), 0 0 20px var(--color-cyan);
    font-size: 1.5rem; /* 24px */
    font-weight: bold;
    text-align: center;
    /* Animación solo para productos del menú */
    animation: fadeInOut 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* Texto superpuesto en la imagen - sin animación */
.product-name {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--color-cyan), 0 0 20px var(--color-cyan);
    font-size: 1.5rem; /* 24px */
    font-weight: bold;
    text-align: center;
    /* Sin animación para evitar conflictos en detalles de pedido */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* Nombre del producto debajo de la imagen */
.product-name-below {
    color: var(--text-primary);
    text-shadow: 0 0 5px var(--color-cyan);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 10px 5px 5px 5px;
}

/* Contenedor de información del producto */
.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

/* Badges de características del producto */
.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.product-badge {
    background: rgba(255, 107, 157, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ícono de click dinámico */
.click-icon {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Animación sincronizada pero desfasada con duración reducida */
    animation: fadeInOutIcon 4s ease-in-out infinite;
    cursor: pointer;
}

.click-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
}

/* Animación del ícono de click al hacer hover en la card */
.product-card:hover .click-icon svg {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* ================================
   PRECIOS DE PRODUCTOS
   ================================ */

/* Contenedor del precio */
.price-container {
    text-align: center;
}

/* Texto del precio */
.price-text {
    color: var(--color-neon-green);
    text-shadow: 0 0 8px rgba(0, 255, 128, 0.6);
    font-size: 1.5rem; /* Reducido de 36px para que quepa mejor */
    font-weight: 600;
    line-height: 1.33;
    margin: 5px 0 10px 0;
    text-align: center;
}

/* ================================
   BOTÓN DE ACCIÓN PRINCIPAL
   ================================ */

/* Contenedor del botón de pedido */
.cta-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

/* Botón principal de llamada a la acción */
.cta-button {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 50%, var(--color-tertiary) 100%);
    color: var(--text-primary);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem; /* 18px */
    border: 2px solid var(--color-secondary);
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 0 15px var(--opacity-glow), 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Estado hover del botón */
.cta-button:hover {
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6), 0 0 15px rgba(127, 179, 211, 0.4);
    transform: translateY(-2px);
}

/* ================================
   MODAL DE PRODUCTO
   ================================ */

/* Overlay del modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--bg-modal-overlay) 0%, rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Modal activo */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
.modal-content {
    background: linear-gradient(135deg, var(--bg-modal) 0%, rgba(40, 40, 40, 0.95) 100%);
    border: 2px solid var(--color-secondary);
    box-shadow: 0 0 20px var(--opacity-glow), 0 0 40px rgba(106, 183, 255, 0.2);
    border-radius: 1rem;
    max-width: 400px;
    width: 94%;
    max-height: 110vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

/* Modal activo - animación de entrada */
.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Botón de cerrar modal */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(106, 183, 255, 0.8) 100%);
    border: 2px solid var(--color-secondary);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 8px var(--opacity-glow);
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(106, 183, 255, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
    transform: scale(1.1);
}

/* Imagen del producto en el modal */
.modal-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem 1rem 0 0;
}

/* Contenido del modal */
.modal-body {
    padding: 1.5rem;
}

/* Título del producto en el modal */
.modal-title {
    color: var(--text-secondary);
    text-shadow: 0 0 8px rgba(224, 224, 224, 0.3);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Precio del producto en el modal */
.modal-price {
    color: var(--color-neon-green);
    text-shadow: 0 0 6px rgba(0, 255, 128, 0.5);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Descripción del producto */
.modal-description {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Sección de ingredientes */
.modal-ingredients {
    margin-bottom: 1.5rem;
}

.modal-ingredients h4 {
    color: var(--text-category);
    text-shadow: 0 0 6px rgba(196, 155, 97, 0.4);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Contenedor con scroll para los ingredientes */
.ingredients-container {
    height: 80px; /* Fixed height instead of max-height */
    overflow-y: scroll; /* Always show scrollbar */
    padding: 4px;
    border-radius: 10px;
    border: 2px solid var(--opacity-glow); /* Borde sutil */
    background: rgba(40, 40, 40, 0.3);
    /* Estilo personalizado de la barra de desplazamiento */
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 144, 226, 0.5) rgba(60, 60, 60, 0.4);
}

.ingredients-container::-webkit-scrollbar {
    width: 8px; /* Slightly wider for better visibility */
}

.ingredients-container::-webkit-scrollbar-track {
    background: rgba(60, 60, 60, 0.4);
    border-radius: 3px;
}

.ingredients-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2 0%, #6ab7ff 100%);
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(74, 144, 226, 0.4);
}

.ingredients-list {
    color: var(--text-tertiary);
    padding-left: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ingredient-item {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    padding: 4px 8px 4px 0;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    word-break: break-word;
}

.ingredient-item::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--color-secondary);
    text-shadow: 0 0 3px rgba(74, 144, 226, 0.5);
}

/* Botón de pedir en el modal */
.modal-order-button {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 50%, var(--color-tertiary) 100%);
    color: var(--text-primary);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    border: 2px solid var(--color-secondary);
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 0 15px var(--opacity-glow);
}

.modal-order-button:hover {
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6), 0 0 15px rgba(127, 179, 211, 0.4);
    transform: translateY(-2px);
}

/* ================================
   ESTILOS DEL CARRITO DE COMPRAS
   ================================ */

/* Botón flotante unificado (carrito + pedidos) - Oculto porque ahora usamos el botón en navbar */
.floating-unified-button {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 20px var(--opacity-glow), 
                0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none !important; /* Oculto - ahora usamos el botón en navbar */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-unified-button:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.6),
                0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.floating-unified-button:active {
    transform: translateY(-1px) scale(0.98);
}

.unified-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: white; /* Asegurarnos que el ícono sea blanco */
}

.unified-icon i.bi {
    font-size: 1.8rem; /* Un poco más grande para Bootstrap Icons */
    color: white; /* Forzar color blanco para el ícono */
}

.unified-badges {
    position: absolute;
    top: -10px;
    right: -10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-count-badge {
    background: var(--color-error);
    color: var(--text-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid var(--text-primary);
    transition: transform 0.2s ease;
    min-width: 24px;
}

.orders-count-badge {
    background: var(--color-neon-green);
    color: var(--bg-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none; /* Se muestra cuando hay pedidos */
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid var(--text-primary);
    transition: transform 0.2s ease;
    min-width: 24px;
    margin-top: 2px;
}

/* Animaciones para cuando se agrega un item o pedido */
.floating-unified-button.item-added {
    animation: unifiedBounce 0.6s ease-in-out;
}

/* .floating-unified-button.order-added eliminada - ya no se usa */

@keyframes unifiedBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Animación unifiedPulse eliminada */

/* Responsivo para móviles */
@media (max-width: 768px) {
    .floating-unified-button {
        width: 60px;
        height: 60px;
        bottom: 180px;
        right: 15px;
        font-size: 1.4rem;
    }
    
    .unified-icon {
        font-size: 1.3rem;
    }
    
    .unified-icon i.bi {
        font-size: 1.5rem; /* Ajustado para móviles */
    }
    .cart-count-badge,
    .orders-count-badge {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        top: -8px;
        right: -8px;
    }
    
    .unified-badges {
        top: -8px;
        right: -8px;
    }
}

/* Botón del carrito en la navbar (mantener para compatibilidad) */
.cart-button {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-secondary);
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 0 15px var(--opacity-glow);
    margin-right: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-button:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
    transform: translateY(-2px);
}

#cartCount {
    background: var(--color-error);
    color: var(--text-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    transition: transform 0.2s ease;
    border: 2px solid var(--text-primary);
    min-width: 24px;
    position: absolute;
    top: -8px;
    right: -8px;
}

#cartCount:empty {
    display: none;
}

/* Estilos específicos del modal del carrito */
.cart-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header sticky del modal del carrito */
.cart-modal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bg-modal), var(--bg-secondary));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--opacity-border-pink);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    animation: slideDownFade 0.3s ease-out;
}

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

.cart-modal-header .cart-title {
    color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
    flex: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
    }
    to {
        text-shadow: 0 0 12px rgba(74, 144, 226, 0.8), 0 0 20px rgba(74, 144, 226, 0.4);
    }
}

.cart-modal-header .modal-close {
    position: static;
    margin: 0;
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.cart-modal-header .modal-close:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.5);
}

/* Contenido scrolleable del modal del carrito */
.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    padding-top: 0;
    /* Scrollbar personalizada para webkit browsers */
    scrollbar-width: thin;
    scrollbar-color: var(--color-neon-pink) var(--bg-secondary);
}

.cart-modal-body::-webkit-scrollbar {
    width: 8px;
}

.cart-modal-body::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.cart-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-neon-pink), #ff4081);
    border-radius: 4px;
}

.cart-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff4081, var(--color-neon-pink));
}

/* Efecto de fade para indicar que hay contenido scroll */
.cart-modal-body::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, var(--bg-modal), transparent);
    z-index: 10;
    margin-bottom: -10px;
}

.cart-title {
    color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Contenedor de items del carrito */
.cart-items {
    margin-bottom: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-cart span {
    display: block;
    font-size: 3rem;
    margin-top: 1rem;
}

/* Estilos de items individuales del carrito */
.cart-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid var(--opacity-border-pink);
    position: relative;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-neon-pink);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

.cart-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    margin-right: 1rem;
    margin-left: 1rem;
}

.cart-item-details h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.cart-item-price {
    color: var(--color-neon-green);
    font-weight: bold;
    margin: 0;
    font-size: 0.9rem;
}

/* Controles de cantidad */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--opacity-border-pink);
}

.quantity-btn {
    background: linear-gradient(135deg, var(--color-neon-pink), #ff4081);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
}

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

.quantity-btn:hover {
    background: linear-gradient(135deg, #8000ff, #ff0080);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.5);
}

.quantity-btn:hover::before {
    left: 100%;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn.minus {
    background: linear-gradient(135deg, #ff4444, #ff1744);
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.quantity-btn.minus:hover {
    background: linear-gradient(135deg, #d32f2f, #c62828);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.5);
}

.quantity-btn.plus {
    background: linear-gradient(135deg, var(--color-neon-green), #00e676);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.quantity-btn.plus:hover {
    background: linear-gradient(135deg, #00c853, #00b248);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.5);
}

.quantity {
    color: var(--text-primary);
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--opacity-border);
}

/* Total del item y botón de remover */
.cart-item-total {
    color: var(--color-neon-green);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.remove-item-btn {
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.remove-item-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.remove-item-btn:hover {
    background: linear-gradient(135deg, #c62828, #b71c1c);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.5);
}

.remove-item-btn:hover::before {
    left: 100%;
}

.remove-item-btn:active {
    transform: scale(0.9);
}

/* Total del carrito */
.cart-total {
    border-top: 2px solid var(--opacity-border-pink);
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-neon-green);
    text-shadow: 0 0 10px var(--color-neon-green);
}

/* Formulario de datos del cliente */
.customer-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--opacity-border-pink);
}

.customer-form h4 {
    color: var(--color-neon-pink);
    text-shadow: 0 0 10px var(--color-neon-pink);
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 2px solid var(--opacity-border-pink);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-neon-pink);
    box-shadow: 0 0 10px var(--opacity-glow-pink);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Botones de acción del carrito */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border: 2px solid;
    text-align: center;
}

.cart-action-btn.primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--text-primary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px var(--opacity-glow);
}

.cart-action-btn.primary:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
    transform: translateY(-2px);
}

.cart-action-btn.secondary {
    background: transparent;
    color: #e74c3c;
    border-color: #e74c3c;
}

.cart-action-btn.secondary:hover {
    background: #e74c3c;
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-success);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

/* ================================
   ESTILOS DEL MODAL DE PEDIDOS REALIZADOS
   ================================ */

/* Estilos específicos del modal de pedidos */
.orders-modal-content {
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
}

.orders-title {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.orders-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
    padding: 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 0.5rem;
    border-left: 4px solid #ff6b6b;
}

/* Contenedor de pedidos realizados */
.orders-items {
    margin-bottom: 1rem;
    max-height: 500px;
    overflow-y: auto;
}

.empty-orders {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-orders span, 
.empty-orders i.bi {
    display: block;
    font-size: 3rem;
    margin-top: 1rem;
}

/* Estilos de pedidos individuales */
.order-completed-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
    overflow: hidden;
}

.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 107, 107, 0.1);
}

.order-info h4 {
    color: #ff6b6b;
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    font-weight: bold;
}

.order-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
}

.order-customer {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
}

.order-phone {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin: 0;
}

.order-total-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-total {
    color: var(--color-neon-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.toggle-details-btn {
    background: #ff6b6b;
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-details-btn:hover {
    background: #ff8e53;
    transform: scale(1.1);
}

.toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Detalles del pedido (colapsables) */
.order-details {
    padding: 1rem;
    border-top: 1px solid rgba(255, 107, 107, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.order-products {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.375rem;
    border-left: 3px solid #ff6b6b;
}

/* Nombre del producto en detalles de pedidos */
.order-product-name {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.product-quantity {
    color: var(--text-secondary);
    margin: 0 1rem;
    font-size: 0.9rem;
}

.product-price {
    color: var(--color-neon-green);
    font-weight: bold;
}

/* Botones de acción del modal de pedidos */
.orders-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.orders-action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border: 2px solid;
    text-align: center;
}

.orders-action-btn.secondary {
    background: #ff6b6b;
    color: var(--text-primary);
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

.orders-action-btn.secondary:hover {
    background: #ff8e53;
    border-color: #ff8e53;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
}

/* ================================
   ESTILOS DEL MODAL UNIFICADO (CARRITO + PEDIDOS)
   ================================ */

/* Estilos específicos del modal unificado */
.unified-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header sticky del modal unificado con pestañas */
.unified-modal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bg-modal), var(--bg-secondary));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--opacity-border-pink);
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    animation: slideDownFade 0.3s ease-out;
}

/* Pestañas de navegación */
.unified-tabs {
    display: flex;
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    align-items: center;
    padding: 0 4px;
}

.unified-tab {
    flex: 1;
    padding: 1rem;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 45%;
}

.unified-tab:first-child {
    border-top-left-radius: 20px;
}

.unified-tab.active {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(106, 183, 255, 0.1));
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

.unified-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Botón de cierre en el header */
.unified-modal-header .modal-close {
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    flex-shrink: 0;
    margin-left: auto;
    line-height: 1;
    position: relative;
    top: 0;
    align-self: center;
}

.unified-modal-header .modal-close:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.5);
}

/* Contenido scrolleable del modal unificado */
.unified-modal-body {
    flex: 1;
    overflow-y: auto;
    /* Scrollbar personalizada para webkit browsers */
    scrollbar-width: thin;
    scrollbar-color: var(--color-neon-pink) var(--bg-secondary);
}

.unified-modal-body::-webkit-scrollbar {
    width: 8px;
}

.unified-modal-body::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.unified-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-neon-pink), var(--color-secondary));
    border-radius: 4px;
}

.unified-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-secondary), var(--color-neon-pink));
}

/* Secciones del modal */
.modal-section {
    display: none;
    padding: 1.5rem;
}

.modal-section.active {
    display: block;
    animation: fadeInSection 0.3s ease-in-out;
}

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

/* Estilos específicos para la sección de pedidos en el modal unificado */
.orders-intro {
    margin-bottom: 1rem;
}

.orders-intro .orders-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
    padding: 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 0.5rem;
    border-left: 4px solid #ff6b6b;
}

/* Responsivo para el modal unificado */
@media (max-width: 768px) {
    .unified-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .unified-tab {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
    
    .unified-modal-header .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
        margin-left: auto;
    }
    
    .modal-section {
        padding: 1rem;
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Ajustes para pantallas medianas y grandes */
@media (min-width: 768px) {
    /* En pantallas más grandes, usar 3 columnas para productos */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Título más grande en pantallas grandes */
    .main-title {
        font-size: 3rem; /* 48px */
        text-shadow: 0 0 10px var(--opacity-glow), 0 0 20px rgba(74, 144, 226, 0.4);
    }
    
    /* Secciones con más espacio */
    .section-title {
        font-size: 2rem; /* 32px */
        padding-top: 2rem;
        text-shadow: 0 0 20px var(--color-neon-pink), 0 0 30px var(--color-neon-pink);
    }
    
    /* Botones del carrito en línea en pantallas grandes */
    .cart-actions {
        flex-direction: row;
    }
    
    /* Mantenemos el mismo estilo que en móviles para los items del carrito */
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .cart-item-header {
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .cart-item-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1024px) {
    /* En pantallas muy grandes, usar 4 columnas */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Contenedor principal con más padding */
    .navbar-content {
        padding: 1.5rem;
    }
}

/* Ajustes para pantallas móviles pequeñas */
@media (max-width: 480px) {
    .cart-button {
        margin-right: 0.5rem;
    }
    
    /* Ajustes para controles de cantidad en móviles */
    .cart-item-controls {
        gap: 0.5rem;
        padding: 0.4rem;
        flex-shrink: 0;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .quantity {
        min-width: 35px;
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .remove-item-btn {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }
    
    /* Configuración base para los elementos del carrito */
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .cart-item-header {
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    .cart-item-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Ajustes para el header sticky del modal en móviles */
    .cart-modal-header {
        padding: 0.75rem 1rem;
    }
    
    .cart-modal-header .cart-title {
        font-size: 1.25rem;
    }
    
    .cart-modal-header .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }
    
    .cart-modal-body {
        padding: 0.75rem 1rem;
    }
    
    .cart-modal-content {
        margin: 10px;
        max-height: 95vh;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .orders-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
}

/* Ajustes adicionales para pedidos en móviles */
@media (max-width: 480px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .order-total-section {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .order-product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .product-quantity, .product-price {
        margin: 0;
        align-self: flex-end;
    }
    
    .cart-item-image {
        margin-right: 0;
        align-self: center;
    }
    
    .cart-item-controls {
        margin-right: 0;
        align-self: center;
    }
    
    .cart-item-total {
        margin-right: 0;
        align-self: center;
    }
    
    .remove-item-btn {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}

/* ================================
   NEON STREET - ESTILOS PARA PRODUCTOS
   ================================ */

/* ================================
   ÑANDE BAR - ESTILOS PARA PRODUCTOS
   ================================ */

/* Botones de acción */
.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.new-product-btn {
    background-color: var(--color-success-bg); /* bg-green-500 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.new-product-btn:hover {
    background-color: var(--color-success-hover); /* bg-green-600 */
}

/* Botones de filtrado */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.filter-all {
    background-color: var(--color-gray-200); /* bg-gray-200 */
    color: var(--color-gray-700); /* text-gray-700 */
}

.filter-all:hover {
    background-color: var(--color-gray-300); /* bg-gray-300 */
}

.filter-active {
    background-color: var(--color-green-200); /* bg-green-200 */
    color: var(--color-green-700); /* text-green-700 */
}

.filter-active:hover {
    background-color: var(--color-green-300); /* bg-green-300 */
}

.filter-inactive {
    background-color: var(--color-red-200); /* bg-red-200 */
    color: var(--color-red-700); /* text-red-700 */
}

.filter-inactive:hover {
    background-color: var(--color-red-300); /* bg-red-300 */
}

.filter-active.active {
    background-color: var(--color-green-500); /* bg-green-500 */
    color: white;
}

.filter-inactive.active {
    background-color: var(--color-red-500); /* bg-red-500 */
    color: white;
}

.filter-all.active {
    background-color: var(--color-blue-500); /* bg-blue-500 */
    color: white;
}

/* Tabla de productos */
.products-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.products-header {
    padding: 1rem 1.5rem;
    background-color: var(--color-gray-50); /* bg-gray-50 */
    border-bottom: 1px solid var(--color-gray-200); /* border-gray-200 */
}

.products-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-gray-900); /* text-gray-900 */
}

.products-icon {
    margin-right: 0.5rem;
    color: var(--color-orange-500); /* text-orange-500 */
}

/* Estilos para el modal de confirmación */
.delete-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.delete-modal-content {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 28rem;
}

.modal-icon {
    font-size: 2.25rem;
    color: var(--color-error-bg); /* text-red-500 */
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900); /* text-gray-900 */
    margin-bottom: 0.5rem;
}

.modal-text {
    color: var(--color-gray-600); /* text-gray-600 */
    margin-bottom: 1.5rem;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.cancel-btn {
    padding: 0.5rem 1rem;
    color: var(--color-gray-700); /* text-gray-700 */
    background-color: var(--color-gray-200); /* bg-gray-200 */
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.cancel-btn:hover {
    background-color: var(--color-gray-300); /* bg-gray-300 */
}

.delete-btn {
    padding: 0.5rem 1rem;
    background-color: var(--color-error-bg); /* bg-red-500 */
    color: white;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.delete-btn:hover {
    background-color: var(--color-error-hover); /* bg-red-600 */
}

/* Estilos para el estado del producto */
.status-btn {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.status-active {
    background-color: var(--color-success-light); /* bg-green-100 */
    color: var(--color-success-text); /* text-green-800 */
}

.status-inactive {
    background-color: var(--color-error-light); /* bg-red-100 */
    color: var(--color-error-text); /* text-red-800 */
}

/* Botones de acción de la tabla */
.edit-btn {
    color: var(--color-blue-600); /* text-blue-600 */
    margin-right: 0.75rem;
}

.edit-btn:hover {
    color: var(--color-blue-900); /* text-blue-900 */
}

.delete-row-btn {
    color: var(--color-error-hover); /* text-red-600 */
}

.delete-row-btn:hover {
    color: var(--color-error-dark); /* text-red-900 */
}

/* ================================
   MODAL DE CONFIRMACIÓN DE PEDIDO
   ================================ */

#orderConfirmationModal {
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#orderConfirmationModal.show {
    opacity: 1;
}

#orderConfirmationModal .modal-content {
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s ease;
}

#orderConfirmationModal.show .modal-content {
    transform: scale(1) translateY(0);
}

.order-confirmation-content {
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 2px solid var(--color-neon-cyan);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

.confirmation-header {
    text-align: center;
    padding: 30px 20px 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 128, 0.1) 100%);
}

.success-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* Animación successPulse eliminada */

.confirmation-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.order-details {
    padding: 25px;
}

.detail-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.detail-section h4 {
    color: var(--color-neon-cyan);
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4 i.bi {
    font-size: 18px;
}

.details-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.item-name {
    color: var(--text-primary);
    font-weight: 500;
}

.item-quantity {
    color: var(--color-neon-pink);
    font-weight: bold;
    margin: 0 10px;
}

.item-price {
    color: var(--color-neon-green);
    font-weight: bold;
}

.customer-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.customer-info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-tertiary);
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-weight: bold;
}

.total-section {
    background: linear-gradient(135deg, rgba(0, 255, 128, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: var(--color-neon-green);
}

.total-amount {
    font-size: 28px;
    font-weight: bold;
    color: var(--color-neon-green);
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 255, 128, 0.6);
    padding: 10px;
}

.confirmation-footer {
    text-align: center;
    padding: 20px 25px 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.status-message {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.5;
}

.close-confirmation-btn {
    background: linear-gradient(135deg, var(--color-neon-pink) 0%, var(--color-neon-cyan) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(255, 0, 128, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2);
}

.close-confirmation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 0, 128, 0.4),
        0 0 30px rgba(0, 212, 255, 0.3);
}

.close-confirmation-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
    .order-confirmation-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }
    
    .confirmation-header {
        padding: 20px 15px 15px;
    }
    
    .success-icon {
        font-size: 36px;
    }
    
    .confirmation-title {
        font-size: 20px;
    }
    
    .order-details {
        padding: 15px;
    }
    
    .detail-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .total-amount {
        font-size: 24px;
    }
    
    .close-confirmation-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* ================================
   PANTALLA DE INTRODUCCIÓN
   ================================ */

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.intro-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    text-align: center;
    max-width: 90%;
    padding: 2rem;
}

.intro-logo {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: introLogoAnim 2s ease-out forwards;
}

.intro-logo-image {
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--color-primary)) 
            drop-shadow(0 0 20px var(--color-primary)) 
            drop-shadow(0 0 30px rgba(255, 107, 157, 0.5));
}

.intro-title {
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary), 0 0 30px var(--color-primary);
    font-size: 3rem;
    font-weight: 900;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: introTitleAnim 2s ease-out forwards;
    animation-delay: 0.8s;
}

.intro-slogan {
    color: var(--color-neon-cyan);
    text-shadow: 0 0 10px var(--color-neon-cyan), 0 0 20px var(--color-neon-cyan), 0 0 30px var(--color-neon-cyan);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: introSloganAnim 2s ease-out forwards;
    animation-delay: 2.8s;
    font-style: italic;
}

@keyframes introLogoAnim {
    0% { opacity: 0; transform: translateY(30px) scale(0.8); }
    20% { opacity: 1; transform: translateY(0) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introTitleAnim {
    0% { opacity: 0; transform: translateY(30px) scale(0.8); }
    20% { opacity: 1; transform: translateY(0) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introSloganAnim {
    0% { opacity: 0; transform: translateY(30px) scale(0.8); }
    20% { opacity: 1; transform: translateY(0) scale(1.05); }
    60% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================================
   NAV BUTTONS Y CART BUTTON
   ================================ */

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

.nav-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(106, 183, 255, 0.8) 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

.nav-cart-button:hover {
    background: linear-gradient(135deg, rgba(106, 183, 255, 0.9) 0%, rgba(127, 179, 211, 0.9) 100%);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
    transform: translateY(-2px);
}

.nav-cart-button i {
    font-size: 20px;
    transition: transform 0.3s;
}

.nav-cart-button:hover i {
    transform: scale(1.1);
}

.nav-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-error);
    color: var(--text-primary);
    border-radius: 50%;
    padding: 0.25rem;
    min-width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid var(--text-primary);
}

/* ================================
   CART HEADER Y NAV
   ================================ */

.cart-header {
    background: linear-gradient(135deg, var(--bg-navbar) 0%, var(--bg-navbar-secondary) 50%, var(--bg-navbar) 100%);
    color: var(--text-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 2px solid var(--color-neon-pink);
    box-shadow: 0 0 20px var(--opacity-glow-pink);
}

.cart-header .cart-title {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-neon-cyan);
    text-shadow: 0 0 10px var(--color-neon-cyan), 0 0 20px var(--color-neon-cyan);
}

.cart-header .modal-close {
    position: static;
    margin: 0;
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.cart-header .modal-close:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.5);
}

.cart-nav {
    display: flex;
    border-bottom: 2px solid var(--color-neon-pink);
    background: linear-gradient(135deg, var(--bg-navbar) 0%, var(--bg-navbar-secondary) 50%, var(--bg-navbar) 100%);
}

.nav-btn {
    flex: 1;
    padding: 18px 15px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.nav-btn.active {
    color: var(--color-neon-cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 128, 0.1));
    font-weight: 600;
    text-shadow: 0 0 8px var(--color-neon-cyan);
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-neon-cyan);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px var(--color-neon-cyan);
}

.nav-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

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

/* ================================
   MODAL INGREDIENTS TITLE
   ================================ */

.modal-ingredients-title {
    color: var(--text-category);
    text-shadow: 0 0 6px rgba(196, 155, 97, 0.4);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* ================================
   MODAL QUANTITY CONTROLS
   ================================ */

.modal-quantity-section {
    margin-bottom: 0;
}

.modal-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
}

.modal-quantity-btn {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(106, 183, 255, 0.8) 100%);
    border: 2px solid var(--color-secondary);
    color: var(--text-primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px var(--opacity-glow);
}

.modal-quantity-btn:hover {
    background: linear-gradient(135deg, rgba(106, 183, 255, 0.9) 0%, rgba(127, 179, 211, 0.9) 100%);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
    transform: scale(1.1);
}

.modal-quantity-input {
    color: var(--text-primary);
    font-weight: bold;
    width: 70px;
    text-align: center;
    font-size: 1.3rem;
    background: rgba(40, 40, 40, 0.5);
    padding: 0.75rem 0.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--color-secondary);
    outline: none;
    margin: 0 0.25rem;
}

.modal-quantity-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--opacity-glow);
}

/* ================================
   EDIT NOTES MODAL
   ================================ */

.edit-notes-content {
    max-width: 450px;
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 2px solid var(--color-secondary);
    background: linear-gradient(135deg, var(--bg-modal) 0%, rgba(40, 40, 40, 0.95) 100%);
    border-radius: 1rem 1rem 0 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--color-neon-cyan);
    text-shadow: 0 0 10px var(--color-neon-cyan);
    margin: 0;
    font-size: 1.3rem;
    text-align: center;
    flex: 1;
}

.notes-section {
    margin-bottom: 1rem;
}

.notes-section h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.edit-notes-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 2px solid var(--color-secondary);
    border-radius: 0.5rem;
    background: rgba(40, 40, 40, 0.5);
    color: var(--text-primary);
    font-size: 1rem;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

.edit-notes-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--opacity-glow);
}

.notes-helper {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: block;
}

.notes-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.notes-action-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    box-shadow: var(--opacity-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notes-action-btn.primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--text-primary);
    border-color: var(--color-secondary);
}

.notes-action-btn.primary:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
    transform: scale(1.05);
}

.notes-action-btn.secondary {
    background: transparent;
    color: var(--color-error);
    border-color: var(--color-error);
}

.notes-action-btn.secondary:hover {
    background: var(--color-error);
    color: var(--text-primary);
    transform: scale(1.05);
}

/* ================================
   FORM CONTROL
   ================================ */

.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 2px solid var(--color-secondary);
    background: rgba(40, 40, 40, 0.5);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a90e2' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--opacity-glow);
}

.form-control option {
    background: var(--bg-modal);
    color: var(--text-primary);
    padding: 0.5rem;
}

.form-text {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.text-muted {
    color: var(--text-muted);
}

/* Cantidad de toppings centrada */
.modal-topping-quantity {
    appearance: textfield;
    -moz-appearance: textfield;
    width: 34px;
    height: 28px;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 28px;
    font-weight: 700;
    border: none;
    background: transparent;
    color: inherit;
}

.modal-topping-quantity::-webkit-outer-spin-button,
.modal-topping-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
