/* Variables de color */
:root {
    --primary-color: #8B0000; /* Rojo ibérico */
    --secondary-color: #fff6cc; /* Beige */
    --dark-color: #333;
    --light-color: #f9f9f9;
    --accent-color: #D4A59A;
    --swiper-theme-color: white !important
    
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
     background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url('../media/headers/fondo.png') repeat;     
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-color); /* Línea roja delgada */
 
}

.logo {
    height: 85px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.cart-icon {
    font-size: 1.2rem;
    position: relative;
}

.cart-count {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    position: relative;
    top: -10px;
    right: 5px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/sliders/preguntas_frecuentes-cut.JPG');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 10%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-10%, -105%);
    text-align: center;
    color: var(--secondary-color);
    z-index: 3;
    width: 50%;
    max-width: 800px;
    padding: 2rem;
    border-radius: 10px;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

/* Botones */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #6d0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Productos destacados */
.featured-products {
    padding: 5rem 10%;
    text-align: center;
}

.featured-products h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.add-to-cart:hover {
    background-color: #6d0000;
}

/* Sobre nosotros */
.about-section {
    display: flex;
    align-items: center;
    padding: 5rem 10%;
    background-color: var(--secondary-color);
}

.about-content {
    flex: 1;
    padding-right: 3rem;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */

footer {
    width: 100%;
    margin: 0;
    padding: 3rem 0 1rem; /* Eliminé el 10% de los lados */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        var(--dark-color);
    color: white;
    border-top: 2px solid var(--primary-color);
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho */
}

/* Contenedor principal del footer */
.footer-content {
    width: 100%;
    max-width: 1200px; /* Ajusta este valor según tu diseño */
    margin: 0 auto;
    padding: 0 15px; /* Pequeño padding interno para el contenido */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

/* Secciones del footer (tus estilos originales se mantienen) */
.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
    box-sizing: border-box;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 15px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
} 
/* Responsive Design */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
    }
    
    .featured-products, .about-section {
        padding: 3rem 5%;
    }
}

  /* <!-- Swiper styles --> */
    
  /* Estilos generales del swiper */
.swiper {
    width: 100%;
    height: 100vh; /* Altura completa del viewport */
    max-height: 600px; /* Máximo altura */
    position: relative;
}

/* Contenedor de cada slide */
.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor del contenido del slide */
.slide-content {
    position: center;
    width: 100%;
    height: 100%;
}

/* Imagen del slide */
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra sin distorsión */
    position: absolute;
    top: 0;
    left: 0;
}

/* Texto superpuesto */
.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    max-width: 80%;
    z-index: 10;
    width: 100%; /* Asegura que el ancho sea consistente */
}

/* Ajustes para el contenido de texto */
.slide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-text .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #8B0000;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.slide-text .btn:hover {
    background-color: #6d0000;
    transform: translateY(-3px);
}

/* Estilos de paginación */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #8B0000; /* Rojo ibérico */
}

/* Terminos y condiciones */
/* Estilos para la sección de información */
.info-section {
    background-color: var(--dark-color);
    padding: 4rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.info-box {
    background: #555;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    color: white; /* Rojo ibérico */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--secondary-color);
    p {font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;}
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .info-box {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .terms-header {
        padding: 60px 0;
    }
    
    .terms-logo {
        max-width: 150px;
    }
    
    .terms-title {
        font-size: 4rem;
    }
    
    .terms-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Hero Section horario*/
.hero-horario {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/sliders/arroz_circular.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 10%;
}

.hero-horario-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-horario-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-horario-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-65%, -100%);
    text-align: center;
    color: var(--secondary-color);
    z-index: 3;
    width: 50%;
    max-width: 800px;
    padding: 2rem;
    border-radius: 10px;
}

.hero-horario-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

h2 {font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;}


/* Hero Section paelleras*/
.hero-paelleras {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/sliders/paellera_devolución.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 10%;
}

.hero-paelleras-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-paelleras-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos para el contenedor de productos */
.productos-container {
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    background-color: var(--dark-color);
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-description {
    color: #555;
    margin-bottom: 1rem;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background-color: #6d0000;
}

/* Notificaciones */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.fade-out {
    animation: fadeOut 0.3s ease-in;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Mensajes de error/empty */
.no-products, .error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: white;
    font-size: 1.2rem;
}

.error-message {
    color: #ff6b6b;
}

/* Responsive */
@media (max-width: 768px) {
    .productos-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .productos-container {
        grid-template-columns: 1fr;
    }
}


/* Mas estilo movil */

@media (max-width: 768px) {
    /* Ajustes para el header en móviles */
    header {
        padding: 1rem;
    }
    
    .logo {
        height: 60px; /* Logo más pequeño en móviles */
    }
    
    /* Mejora el contraste del menú móvil */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(51, 51, 51, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    /* Estilo para el botón de cerrar */
    .mobile-menu-btn {
        position: relative;
        z-index: 101;
    }
    
    /* Ajustes para el carrusel en móviles */
    .swiper {
        height: 60vh;
    }
    
    .slide-text h2 {
        font-size: 1.8rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    /* Ajustes para el footer en móviles */
    .footer-section {
        min-width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

.mobile-menu-btn i {
    color: var(--secondary-color); /* Color beige para el icono */
    font-size: 1.8rem; /* Tamaño adecuado */
    transition: color 0.3s;
}

.mobile-menu-btn i:hover {
    color: var(--primary-color); /* Color rojo al hacer hover */
}

/* Hero Section preguntas*/
.hero-preguntas {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/sliders/preguntas_frecuentes.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 10%;
}

.hero-preguntas-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 3rem;
    display: flex;
}

.hero-preguntas-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-preguntas-logo {
    max-width: 200px;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

/* Nuevos estilos para la página de platos */
.products-page {
    padding: 2rem 0;
    background-color: var(--dark-color);
}

.products-page h1 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 2rem auto;
    max-width: 900px;
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background-color: rgba(139, 0, 0, 0.2);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.productos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 5%;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-image {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-description {
    color: #555;
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .category-tabs {
        gap: 8px;
        padding: 0 1rem;
    }
    
    .tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .productos-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .productos-container {
        grid-template-columns: 1fr;
    }
}

/* Efectos de hover y animaciones mejoradas */
.product-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.category-tabs {
    perspective: 1000px;
}

.tab-btn {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    position: relative;
    overflow: hidden;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    transform: translateY(-3px);
}

.tab-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animación de entrada para los productos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Retraso escalonado para las animaciones */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
/* ... añade más según necesites */

/* Mejoras para el badge de categoría */
.category-badge {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-card:hover .category-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Efecto de onda al hacer clic en los botones */
.btn-effect {
    position: relative;
    overflow: hidden;
}

.btn-effect:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10,10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.btn-effect:active:after {
    transform: scale(0,0);
    opacity: .3;
    transition: 0s;
}

/* Notificación mejorada */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    transform: translateX(150%);
    animation: slideIn 0.5s forwards, fadeOut 0.5s forwards 2.5s;
}

.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Estilos para el selector de personas */
.people-selector {
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.people-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.people-selector select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    background-color: white;
    font-size: 0.95rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s;
}

.people-selector select:hover {
    border-color: #6d0000;
}

.people-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
}

/* Animaciones de precio */
.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.price-update {
    animation: pricePulse 0.6s;
    color: #d40000;
}

@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Items del carrito */
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.3s ease-out;
}

.cart-item-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.cart-item-category {
    font-size: 0.8rem;
    color: #777;
}

.cart-item-price {
    font-weight: bold;
    text-align: right;
}

.cart-item-qty {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Botón de añadir al carrito */
.add-to-cart.added {
    background-color: #4CAF50 !important;
    animation: none;
}

/* Notificaciones */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    max-width: 300px;
}

.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Carrito de compras */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--dark-color);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.3s ease-out;
}

.cart-item-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.cart-item-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #666;
}

.item-price {
    font-weight: bold;
    color: var(--primary-color);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
}

.remove-item:hover {
    color: #ff0000;
}

.cart-total {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    border-top: 1px solid #eee;
}

.checkout-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin: 0 1.5rem 1.5rem;
    border-radius: 5px;
}

.checkout-btn:hover {
    background: #6d0000;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Bloquear scroll cuando el carrito está abierto */
.no-scroll {
    overflow: hidden;
}

/* Notificaciones */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    display: flex;
    align-items: center;
    max-width: 300px;
    animation: slideIn 0.3s forwards;
}

.notification.success {
    background: var(--primary-color);
    color: white;
}

.notification.error {
    background: #ff6b6b;
    color: white;
}

.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Responsive */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 999;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-sidebar.visible {
    transform: translateX(0);
}

.cart-sidebar .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-top: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-item input {
    width: 40px;
    text-align: center;
}

.cart-footer {
    margin-top: 1rem;
    text-align: center;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

#cartToggle {
    cursor: pointer;
}

/* Estilos mejorados para la selección de productos */
.product-selection {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    margin: 1rem auto;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.product-selection h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.product-selection p {
    color: #555;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.product-price-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
}

.people-selector {
    margin: 1.5rem 0;
    text-align: center;
}

.people-selector label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

.people-selector select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s;
    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='%238B0000' 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 1rem center;
    background-size: 1rem;
}

.people-selector select:hover {
    border-color: #6d0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.people-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.add-to-cart-btn:hover {
    background-color: #6d0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 0, 0, 0.25);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(139, 0, 0, 0.2);
}

/* Animación para el cambio de precio */
@keyframes priceChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.price-update {
    animation: priceChange 0.4s ease;
}

/* Estilos mejorados para las tarjetas de producto */
.product-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(139, 0, 0, 0.1);
    position: relative;
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.product-description {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Selector de porciones mejorado */
.portion-selector {
    margin: 1rem 0;
    text-align: left;
}

.portion-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.portion-selector select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: white;
    font-size: 0.95rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s;
    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='%238B0000' 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 1rem center;
    background-size: 1rem;
}

.portion-selector select:hover {
    border-color: #6d0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.portion-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
}

/* Botón de añadir al carrito mejorado */
.add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.add-to-cart:hover {
    background-color: #6d0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 0, 0, 0.25);
}

.add-to-cart:active {
    transform: translateY(0);
}

.add-to-cart.added {
    background-color: #4CAF50 !important;
    animation: none;
}

/* Badge de categoría */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Animación para cambio de precio */
@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.price-update {
    animation: pricePulse 0.4s ease;
}

/* Modificar el product-footer para centrar el botón */
.product-footer {
    display: flex;
    flex-direction: column; /* Cambiar a columna para centrado vertical */
    align-items: center; /* Centrar horizontalmente */
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 0, 0, 0.1); /* Línea sutil de separación */
}

/* Ajustar el precio para que no ocupe espacio lateral */
.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem; /* Espacio entre precio y botón */
    width: 100%;
    text-align: center;
}

/* Ajustar el botón para que ocupe más ancho */
.add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
    width: 80%; /* Ancho más amplio */
    max-width: 200px; /* Máximo ancho */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* Espacio entre icono y texto */
}

/* Ajustar el selector de porciones */
.portion-selector {
    margin: 1rem 0;
    width: 100%;
}

.portion-selector select {
    width: 100%;
    max-width: 100%;
}

/* adicionales */

.product-card {
    min-height: 450px; /* Asegura altura consistente */
    display: flex;
    flex-direction: column;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Espacio uniforme entre elementos */
}

.add-to-cart.added {
    background-color: #4CAF50 !important;
    width: 80%; /* Mantener mismo ancho que el botón normal */
    max-width: 200px;
}

/* Estilos mejorados para el carrito */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    color: #333;
}

.cart-sidebar.visible {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease-out;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-name {
    font-weight: 600;
    color: var(--dark-color);
    word-break: break-word;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity input {
    width: 50px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    color: #ff0000;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(139, 0, 0, 0.1);
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.cart-total-label {
    font-weight: 600;
}

.cart-total-amount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
    text-align: center;
}

.checkout-btn:hover {
    background-color: #6d0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 0, 0, 0.25);
}

.checkout-btn:active {
    transform: translateY(0);
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #777;
    font-style: italic;
}

/* Notificación de carrito */
.cart-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s forwards, fadeOut 0.5s forwards 2.5s;
}

.cart-notification i {
    font-size: 1.2rem;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Responsive */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-item {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
    }
    
    .cart-item-name {
        grid-column: 1 / 3;
    }
    
    .remove-item {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2.5rem auto 2rem;
    padding: 0.5rem 1rem;
    max-width: 1000px;
}

.tab-btn {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.producto.no-disponible {
    opacity: 0.6;
    pointer-events: none;
}

.producto.no-disponible button {
    background-color: #ccc;
    cursor: not-allowed;
}

button.disabled,
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 1.5rem;
  max-width: 600px;
  margin: auto;
}

.modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.modal-header h5 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
}

.modal-body p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #444;
}

.modal-body strong {
  display: inline-block;
  width: 160px;
  font-weight: 600;
  color: #2d3748;
}

.modal-body span {
  color: #1a202c;
}

.modal-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: right;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #999;
  cursor: pointer;
}

.btn-close:hover {
  color: #333;
}

@media (max-width: 576px) {
  .modal-content {
    padding: 1rem;
  }

  .modal-body strong {
    width: 120px;
  }
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.new-price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #d9534f;
    color: #fff;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.close-banner {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    margin-right: 1rem;
}

body.with-banner {
    padding-top: 50px; /* espacio al body para no tapar el header */
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #d9534f;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-image {
    position: relative;
    overflow: hidden;
}
