/* Reset y Variables */
:root {
    --primary-color: #d4af37;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-logo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: #c4a137;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-content {
    text-align: left;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.menu-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.menu-image {
    height: 300px;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-image img {
    transform: scale(1.1);
}

.menu-content {
    padding: 30px;
}

.menu-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.menu-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.menu-content h4 {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.menu-prices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.price-label {
    font-weight: 500;
    color: var(--text-dark);
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Combos Section */
.combos {
    background: var(--bg-light);
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.combo-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.combo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.combo-card.featured {
    border: 3px solid var(--primary-color);
}

.combo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.combo-image {
    height: 250px;
    overflow: hidden;
}

.combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.combo-card:hover .combo-image img {
    transform: scale(1.1);
}

.combo-content {
    padding: 30px;
    text-align: center;
}

.combo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.combo-includes {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.combo-includes li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.combo-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.combo-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    padding-top: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-btn:hover {
    background: #c4a137;
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info span {
    color: #999;
    font-size: 0.9rem;
}

/* How to Order Section */
.how-to-order {
    text-align: center;
    padding: 80px 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-card p {
    color: #666;
    line-height: 1.8;
}

.order-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 40px 20px;
    border-radius: 12px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.promo-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.promo-banner h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.promo-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Section */
.process {
    background: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-card p {
    color: #666;
    line-height: 1.8;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info {
    max-width: 500px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-image {
    text-align: center;
    margin-bottom: 30px;
}

.contact-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.schedule {
    margin-bottom: 30px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.schedule-item strong {
    color: var(--text-dark);
}

.schedule-item span {
    color: #666;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-link {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 1.2rem;
    color: white;
}

.footer-col p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    display: inline-block;
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #999;
    margin-bottom: 5px;
}

.educational-note {
    font-size: 0.85rem;
    font-style: italic;
}

/* Estilos del Sistema de Carrito y Productos */

/* Menú de productos */
.menu-note {
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.promo-highlight {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e67e22, #d4af37);
    padding: 15px 30px;
    margin: 10px auto 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    max-width: 600px;
    animation: promo-pulse 2s ease-in-out infinite;
    border: 3px solid #fff;
}

@keyframes promo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(230, 126, 34, 0.6);
    }
}

@media (max-width: 768px) {
    .promo-highlight {
        font-size: 1.2rem;
        padding: 12px 20px;
        max-width: 90%;
    }
}

.menu-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.product-image:hover {
    opacity: 0.8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galería de productos */
.product-gallery {
    position: relative;
}

.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-carousel .carousel-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.product-carousel .carousel-img.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.gallery-nav:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-desc {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.product-ingredients {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-variants {
    margin-bottom: 15px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
}

.product-variants label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.product-variants input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.product-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.product-quantity input {
    width: 60px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    padding: 5px;
}

/* Contenedor para cantidad y botón añadir */
.product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.product-actions .btn {
    flex: 1;
    margin: 0;
}

/* Carrito flotante */
.cart-float {
    position: fixed;
    right: -400px;
    top: 100px;
    width: 380px;
    max-height: 80vh;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.cart-float.active {
    right: 20px;
}

/* Animación del contador */
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

#navCartCount {
    transition: all 0.3s ease;
}

#navCartCount.animate {
    animation: countPulse 0.4s ease-out;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--bg-light);
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.cart-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    max-height: 400px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-light);
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info strong {
    display: block;
    margin-bottom: 5px;
}

.cart-item-info small {
    color: #666;
    font-size: 0.85rem;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--bg-light);
}

.discount-section {
    background-color: rgba(230, 126, 34, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    text-align: center;
}

.cart-original-total {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 5px;
    text-decoration: line-through;
}

.cart-original-total span {
    color: var(--text-light);
}

.cart-discount-msg {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.cart-discount-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.cart-total span {
    color: var(--primary-color);
}

.cart-min-msg {
    text-align: center;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cart-link {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

/* FAB - Botón flotante del carrito */
.cart-fab {
    display: none; /* Oculto por defecto en desktop */
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 998;
    transition: all 0.3s ease;
}

.cart-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: #2c2c2c;
}

.cart-fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

/* Barra inferior sticky */
.cart-bottom-bar {
    display: none; /* Oculto por defecto en desktop y cuando el carrito está vacío */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--primary-color);
    padding: 12px 20px;
    z-index: 997;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-bottom-bar:active {
    background: var(--bg-light);
}

.cart-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-bottom-items {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.cart-bottom-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-bottom-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

/* Checkout */
.checkout {
    background: var(--bg-light);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85rem;
}

.payment-info,
.delivery-info {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-info p,
.delivery-info p {
    margin-bottom: 5px;
}

.delivery-info ul {
    margin-left: 20px;
    margin-top: 10px;
}

.delivery-info li {
    margin-bottom: 5px;
}

.checkout-summary {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.checkout-summary h3 {
    margin-bottom: 20px;
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}

.summary-item small {
    display: block;
    color: #666;
    font-size: 0.85rem;
}

.summary-total {
    border-top: 2px solid var(--bg-light);
    padding-top: 15px;
    margin-top: 15px;
}

.summary-total p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-price {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.promo-msg {
    background: var(--accent-color);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.promo-applied {
    color: var(--accent-color);
    font-weight: 600;
    text-align: right;
    padding: 5px 0;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 100px;
    right: -300px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transition: right 0.3s ease;
}

.notification.show {
    right: 20px;
}

/* Responsive Design para el carrito */
@media (max-width: 768px) {
    .menu-products {
        grid-template-columns: 1fr;
    }
    
    .cart-float {
        position: fixed;
        bottom: -100%;
        right: auto;
        left: 0;
        top: auto;
        width: 100%;
        max-height: 80vh;
        transition: bottom 0.3s ease;
        border-radius: 20px 20px 0 0;
        z-index: 999;
    }
    
    .cart-float.active {
        bottom: 0;
        right: auto;
    }
    
    .cart-header {
        border-radius: 20px 20px 0 0;
    }

    /* Mostrar FAB y barra inferior solo en móvil */
    .cart-fab {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-bottom-bar {
        display: none; /* Se mostrará con JavaScript cuando haya productos */
    }

    /* Ocultar el link del carrito en el menú móvil */
    .cart-link {
        display: none !important;
    }
    
    /* Ajustar padding inferior para el menú cuando la barra esté visible */
    body.cart-visible .menu-products {
        padding-bottom: 100px;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
        max-height: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0; /* remove padding when collapsed to avoid white block */
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 20px; /* restore padding when menu is open */
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2 {
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .combos-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        align-items: center;
    }

    section h2 {
        font-size: 2rem;
    }

    .promo-banner h2 {
        font-size: 2rem;
    }

    .carousel-controls {
        padding: 0 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-logo img {
        width: 110px;
        height: 110px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .combo-price {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .promo-banner h2 {
        font-size: 1.8rem;
    }

    .order-buttons {
        margin-top: 30px;
        padding: 30px 15px;
        gap: 15px;
        text-align: center;
    }

    .btn-whatsapp,
    .btn-instagram {
        padding: 18px 40px;
        font-size: 1.1rem;
        flex: 1;
        min-width: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* Modal de Imágenes */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-in;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.close:hover {
    transform: scale(1.2);
}

.modal-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.modal-btn {
    background-color: rgba(212, 175, 55, 0.8);
    color: white;
    border: none;
    padding: 12px 18px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.modal-btn:hover {
    background-color: rgba(212, 175, 55, 1);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
    }

    .modal-content img {
        max-height: 80vh;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }

    .modal-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .modal-nav {
        bottom: 10px;
    }

    .ingredients-modal-content {
        padding: 20px;
        font-size: 1rem;
    }

    #ingredientsList {
        columns: 1;
    }

    .product-ingredients-link {
        font-size: 0.9rem;
    }
}

/* Ingredientes Modal */
.ingredients-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-in-out;
}

.ingredients-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ingredients-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ingredients-modal-content h2 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.ingredients-modal-content .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #d4af37;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ingredients-modal-content .close:hover {
    color: #e67e22;
    transform: scale(1.2);
}

#ingredientsList {
    list-style-type: none;
    padding-left: 0;
    columns: 2;
    column-gap: 40px;
}

#ingredientsList li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    break-inside: avoid;
    color: #2c3e50;
}

#ingredientsList li:before {
    content: "✓ ";
    color: #d4af37;
    font-weight: bold;
    margin-right: 10px;
}

.product-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.product-title-row h3 {
    margin: 0;
}

.product-ingredients-link {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 0;
    border: none;
    background: transparent;
    font-weight: 600;
    transition: color 0.2s ease;
}

.product-ingredients-link:hover {
    color: #d4af37;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ingredients-modal-content {
        padding: 30px 20px;
        max-width: 95vw;
    }

    .ingredients-modal-content h2 {
        font-size: 1.4rem;
    }

    #ingredientsList {
        columns: 1;
        column-gap: 0;
    }

    .product-ingredients-link {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}