@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Nunito:wght@400;600;700&display=swap');

:root {
    --primario: #b3001b;
    --rojo-navidad: #b3001b;
    --verde-navidad: #0f5132;
    --dorado: #d4af37;
    --fondo: #fff7ef;
}

body {
    background: var(--fondo);
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-landing {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(15,81,50,0.6), rgba(179,0,27,0.6)),
        url('https://images.unsplash.com/photo-1543353071-873f17a7a088?auto=format&fit=crop&w=1200&q=60') center/cover;
    color: #fff;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 26px rgba(0,0,0,0.14);
    border: 1px solid rgba(212,175,55,0.35);
}
.hero-landing .hero-body {
    position: relative;
    z-index: 1;
}
.hero-landing h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
}
.hero-landing .lead {
    color: #f8f4ec;
}
.hero-badge {
    background: #fff;
    color: var(--verde-navidad);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(212,175,55,0.45);
    box-shadow: 0 10px 18px rgba(0,0,0,0.12);
    min-width: 240px;
}
.hero-badge h3 {
    color: var(--rojo-navidad);
    margin: 0;
}
.hero-badge .precio {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--verde-navidad);
}
.hero-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.hero-list li {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}
.hero-list i {
    color: var(--dorado);
}

.hero {
    background: linear-gradient(120deg, rgba(15,81,50,0.9), rgba(179,0,27,0.9)), url('https://www.transparenttextures.com/patterns/axiom-pattern.png');
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
    border: 1px solid rgba(212,175,55,0.35);
    color: #fff;
}
.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--rojo-navidad);
    margin-bottom: 10px;
}

.menu-section {
    margin-top: 16px;
}
.section-subtitle {
    color: #5c6f73;
    margin-bottom: 10px;
}

.menu-item {
    display: grid;
    grid-template-columns: 110px 1fr 140px;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 8px 14px rgba(0,0,0,0.05);
    margin-bottom: 12px;
}

.menu-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(212,175,55,0.55);
    display: block;
}

.menu-info h3 {
    margin: 0 0 4px;
    font-family: 'Playfair Display', serif;
}

.menu-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-right: 30%;
}
.price {
    font-weight: 800;
    color: var(--verde-navidad);
}

.btn-pedir {
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-nequi {
    background: var(--verde-navidad);
    border-color: var(--verde-navidad);
    color: #fff;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 14px rgba(15,81,50,0.25);
}
.btn-nequi:hover {
    background: #0c4128;
    border-color: #0c4128;
    color: #fff;
    box-shadow: 0 10px 16px rgba(12,65,40,0.25);
}

.btn-primary {
    background-color: var(--rojo-navidad);
    border-color: var(--rojo-navidad);
}
.btn-primary:hover {
    background-color: #930016;
    border-color: #930016;
}
.btn-success {
    background-color: var(--verde-navidad);
    border-color: var(--verde-navidad);
}
.btn-success:hover {
    background-color: #0c4128;
    border-color: #0c4128;
}
.btn-outline-primary {
    color: var(--rojo-navidad);
    border-color: var(--rojo-navidad);
}
.btn-outline-primary:hover {
    background-color: var(--rojo-navidad);
    color: #fff;
}
.btn-outline-secondary {
    color: var(--verde-navidad);
    border-color: var(--verde-navidad);
}
.btn-outline-secondary:hover {
    background-color: var(--verde-navidad);
    color: #fff;
}
.carrito-container {
    position: relative;
}
.carrito-container .btn-outline-primary {
    background: var(--rojo-navidad);
    color: #fff;
    border-color: var(--rojo-navidad);
    box-shadow: 0 6px 12px rgba(179,0,27,0.18);
    padding: 10px 14px;
    font-size: 1.2rem;
}
.carrito-container .btn-outline-primary:hover {
    background: #930016;
    border-color: #930016;
    box-shadow: 0 8px 16px rgba(147,0,22,0.2);
}
.carrito-container .btn-outline-secondary {
    background: var(--verde-navidad);
    color: #fff;
    border-color: var(--verde-navidad);
    box-shadow: 0 6px 12px rgba(15,81,50,0.18);
    padding: 8px 10px;
    font-size: 1rem;
}
.carrito-container .btn-outline-secondary:hover {
    background: #0c4128;
    border-color: #0c4128;
    box-shadow: 0 8px 16px rgba(12,65,40,0.22);
}
.carrito-btn {
    border-radius: 999px;
}
.carrito-tooltip {
    position: absolute;
    right: 0;
    top: 110%;
    background: rgba(15,81,50,0.9);
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1200;
}
.carrito-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.navidad-animada {
    width: 70px;
    height: 80px;
    position: relative;
}
.navidad-animada .estrella {
    animation: brillo-estrella 2s infinite ease-in-out;
    transform-origin: center;
}
.navidad-animada .bola1,
.navidad-animada .bola2,
.navidad-animada .bola3,
.navidad-animada .bola4,
.navidad-animada .bola5 {
    filter: drop-shadow(0 0 4px rgba(241,196,15,0.6));
    animation: destello 1.6s infinite alternate;
}
.navidad-animada .bola2 { animation-delay: 0.2s; }
.navidad-animada .bola3 { animation-delay: 0.4s; }
.navidad-animada .bola4 { animation-delay: 0.6s; }
.navidad-animada .bola5 { animation-delay: 0.8s; }

@keyframes brillo-estrella {
    0%, 100% { filter: drop-shadow(0 0 2px #ffd700); transform: scale(1); }
    50% { filter: drop-shadow(0 0 8px #ffd700); transform: scale(1.08); }
}
@keyframes destello {
    0% { opacity: 0.8; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1.04); }
}

footer {
    margin-top: 20px;
    padding: 18px;
    background: #fffaf4;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 14px;
    box-shadow: 0 8px 14px rgba(0,0,0,0.05);
}
.footer-columns h5 {
    color: var(--rojo-navidad);
    font-family: 'Playfair Display', serif;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--verde-navidad);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.footer-social a:hover {
    transform: translateY(-2px);
    background: var(--rojo-navidad);
}

/* Nav menu */
nav { margin-top: 10px; position: relative; }
.nav-menu {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    margin: 0 auto 10px;
    background: #fffaf4;
    border: 1px solid rgba(212,175,55,0.45);
    border-radius: 14px;
    box-shadow: 0 8px 14px rgba(0,0,0,0.05);
    justify-content: center;
    align-items: center;
}
.nav-menu a {
    color: var(--verde-navidad);
    text-decoration: none;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
}
.nav-menu a:hover { background: rgba(212,175,55,0.15); color: var(--rojo-navidad); }
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #0d1b2a; }
.menu-overlay { display: none; }

/* Modales propios */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    color: #333;
    padding: 16px;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}
.modal-imagen {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 2px solid rgba(212,175,55,0.45);
}
.modal-content.carrito-modal { max-width: 520px; }
.modal-close {
    position: static;
    width: 32px;
    height: 32px;
    border: 1px solid #adb5bd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 1;
    line-height: 1;
}
.modal-header-bar {
    background: linear-gradient(90deg, rgba(179,0,27,0.12), rgba(15,81,50,0.12));
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.carrito-items .carrito-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.carrito-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}
.btn-cantidad {
    border: 1px solid #ced4da;
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}
.cantidad-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 4px;
}
.btn-eliminar {
    border: 1px solid var(--rojo-navidad);
    background: rgba(193,39,45,0.08);
    color: var(--rojo-navidad);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.btn-eliminar:hover {
    background: var(--rojo-navidad);
    color: #fff;
}

/* Toast notificaciones */
.toast-notificacion {
    background: linear-gradient(135deg, rgba(27,94,32,0.9), rgba(193,39,45,0.9));
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}
.toast-notificacion.show {
    opacity: 1;
    transform: translateY(0);
}

/* Selector especial */
.selector-box {
    background: #fff;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 22px rgba(0,0,0,0.06);
    margin-top: 18px;
}
.selector-box h3 {
    color: var(--rojo-navidad);
    font-weight: 800;
    text-align: center;
}
.selector-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.selector-card {
    background: #fffaf4;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 14px;
    padding: 12px;
}
.selector-card h5 {
    color: var(--verde-navidad);
    margin-bottom: 6px;
}
.selector-card ul {
    padding-left: 16px;
    margin: 0;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.benefit-card {
    background: #b3001b;
    color: #fff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 8px 16px rgba(179,0,27,0.18);
}
.benefit-card i {
    color: #f9e5a3;
    font-size: 1.1rem;
}

/* Contacto */
#contacto {
    margin-top: 32px;
    background: #fff;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}
.contacto-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contacto-mapa iframe {
    width: 100%;
    min-height: 260px;
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 12px;
}
.contacto-form .form-control,
.contacto-form .form-select {
    border-radius: 12px;
    border-color: #e2e8f0;
}
.contacto-form button {
    background: var(--verde-navidad);
    border-color: var(--verde-navidad);
}

/* WhatsApp flotante */
#whatsapp-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
    z-index: 1600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.22);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-item { grid-template-columns: 1fr; }
    .menu-price { align-items: flex-start; }
    .nav-menu { display: none; flex-direction: column; }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: inline-flex; }
    .contacto-row { grid-template-columns: 1fr; }
    #grinch-container {
        bottom: 130px;
        right: 10px;
        width: clamp(65px, 18vw, 90px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #grinch-container {
        bottom: 120px;
        right: 12px;
        width: clamp(80px, 16vw, 120px);
    }
}

/* Grinch divertido */
#grinch-container {
    position: fixed;
    right: 12px;
    bottom: 110px;
    width: clamp(100px, 16vw, 160px);
    z-index: 1500;
    transition: transform 0.4s ease, filter 0.4s ease;
    transform: scaleX(-1);
}
#grinch-container .grinch {
    width: 100%;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.28));
    transform-origin: bottom center;
    animation: grinch-ojos 5s infinite ease-in-out;
    background: transparent;
    border-radius: 0;
}
#grinch-fallback {
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 260'%3E%3Cpath fill='%2319a44a' d='M64 6c-4 16-5 27-9 38-4 11-11 20-17 29-4 6-6 15-6 22 0 9 4 18 7 27 2 6 0 13-1 19-2 8-3 17-2 25 0 7 3 14 8 19 6 6 13 10 21 10s15-4 21-9c6-6 9-14 10-22 0-8-2-16-3-23-1-7-2-14-1-21 0-7 3-14 6-21 2-5 4-11 3-17 0-7-3-14-7-20-5-8-11-17-15-26-4-9-4-20-7-30-2-7-4-14-7-21Z'/%3E%3Cpath fill='%230f6633' d='M58 70c-5 5-9 12-11 19-1 6 1 13 4 18 3 6 8 12 14 15 5 2 11 2 16 0 6-3 9-10 10-16 2-7 1-14-3-20-4-7-11-13-18-17-5-3-11-4-12 1Z'/%3E%3Ccircle cx='63' cy='94' r='6' fill='%230c4128'/%3E%3Ccircle cx='82' cy='94' r='6' fill='%230c4128'/%3E%3Cpath fill='none' stroke='%230c4128' stroke-width='4' d='M56 86c4-2 7-3 10 0M80 86c4-2 7-3 10 0M58 110c7 8 17 8 26 0'/%3E%3Cpath fill='%2319a44a' d='M43 160c-5 12-10 25-9 38 0 7 3 15 8 20 6 5 14 8 22 8 7 0 15-2 21-7s10-12 11-19c1-7 0-14-1-20-1-8-1-15 1-23 1-3 2-7 2-10 0-3 0-7-2-9-3-3-8-1-11 1-4 2-7 6-11 8-4 2-9 2-13 0-4-2-7-6-11-8-4-2-9-3-12 0-3 3-3 9-2 13Z' opacity='.9'/%3E%3C/svg%3E") center/contain no-repeat;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.22));
    border-radius: 14px;
}
#grinch-container:hover {
    transform: scaleX(-1) translateY(-6px) scale(1.03);
    filter: drop-shadow(0 12px 18px rgba(0,0,0,0.32));
}
.grinch-celebra {
    animation: grinch-celebracion 1s ease-in-out 2;
}
