:root {
--primary: #42220D; /* Color principal marrón chocolate */
--gold: #D4AF37;
--dark-gold: #B38B2D;
--cream: #F9F4E8;
--dark: #333333;
--light: #FFFFFF;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Montserrat', sans-serif;
color: var(--dark);
line-height: 1.6;
overflow-x: hidden;
background-color: var(--cream);
}

h1, h2, h3, h4 {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
}

.logo img {
height: 50px;
margin-right: 10px;
width: auto;
}

.logo-link {
display: inline-block;
text-decoration: none; 
transition: transform 0.3s ease;
}

.logo-link:hover {
transform: scale(1.5); 
}

/* === NAVBAR V2 === */
.navbar-v2 {
position: fixed;
top: 0;
width: 100%;
padding: 18px 6%;
display: flex;
justify-content: space-between;
align-items: center;
background: var(--primary);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
z-index: 1000;
transition: all 0.3s ease;
}

.logo img {
height: 60px;
transition: all 0.3s ease;
}

/* Shrink effect */
.navbar-v2.shrink {
padding: 10px 6%;
}
.navbar-v2.shrink .logo img {
height: 48px;
}

/* ======= NAV LINKS ======= */
.main-nav .nav-list {
list-style: none;
display: flex;
gap: 2rem;
align-items: center;
}
.nav-list a {
text-decoration: none;
color: var(--light);
font-weight: 500;
transition: color 0.3s ease;
}
.nav-list a:hover {
color: var(--gold);
}

/* ======= SUBMENÚ ======= */
.has-submenu {
position: relative;
}
.has-submenu > a i {
font-size: 0.7rem;
margin-left: 6px;
}
.submenu {
position: absolute;
top: 100%;
left: 0;
background: var(--light);
list-style: none;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
padding: 10px 0;
display: none;
flex-direction: column;
min-width: 220px;
}
.submenu li a {
display: block;
color: var(--primary);
padding: 10px 20px;
transition: background 0.3s ease;
}
.submenu li a:hover {
background: var(--cream);
}
.has-submenu:hover .submenu {
display: flex;
}

/* ======= BOTÓN MENÚ MÓVIL ======= */
.mobile-menu-btn {
background: none;
border: none;
display: none; /* 🚫 Oculto por defecto (modo PC) */
align-items: center;
gap: 6px;
color: var(--light); /* Blanco por defecto */
font-size: 1.8rem;
cursor: pointer;
z-index: 2000;
transition: color 0.3s ease;
}

/* Ícono y texto del botón */
.mobile-menu-btn i,
.mobile-menu-btn .menu-text {
color: var(--light);
transition: color 0.3s ease;
}

/* ======= SOLO EN PANTALLAS PEQUEÑAS ======= */
@media (max-width: 900px) {
.mobile-menu-btn {
display: flex; /* ✅ Solo visible en móvil */
}

.main-nav {
display: none;
}

.main-nav.active {
display: block;
background: var(--light);
position: absolute;
top: 100%;
left: 0;
width: 100%;
text-align: left;
padding: 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-nav.active a {
color: var(--primary);
display: block;
padding: 10px 0;
text-decoration: none;
}

/* Cambiar color del botón cuando el menú esté abierto */
#main-header.active .mobile-menu-btn i,
#main-header.active .mobile-menu-btn .menu-text {
color: var(--primary); /* Marrón */
}
}

/* ======= MODO MÓVIL ======= */
@media (max-width: 900px) {
.mobile-menu-btn {
display: block;
}

.main-nav {
position: fixed;
top: 0;
right: -100%;
width: 100%;
height: 100vh;
background: var(--light);
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
padding-top: 100px;
transition: right 0.3s ease;
}

.main-nav.active {
right: 0;
}

.nav-list {
flex-direction: column;
gap: 1.5rem;
}

.nav-list a {
color: var(--primary);
font-size: 1.2rem;
}

.submenu {
position: static;
box-shadow: none;
background: transparent;
padding: 0;
display: none;
}

.submenu li a {
font-size: 1rem;
padding: 8px 0;
color: var(--primary);
}

.has-submenu.active .submenu {
display: flex;
}

.has-submenu > a {
display: flex;
align-items: center;
justify-content: center;
}
}




/* Hero Section */
.hero-banner {
height: 50vh;
min-height: 550px;
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/banner.webp') no-repeat center center/cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: var(--light);
padding: 0 20px;
margin-top: 80px;
}

.hero-content {
max-width: 800px;
animation: fadeInUp 1s ease-out;
font-size: 1.5rem;
}

.hero-section h1 {
font-size: 3.5rem;
margin-bottom: 20px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-section p {
font-size: 1.2rem;
margin-bottom: 30px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}


/* Estilo para enlaces de teléfono */
.phone-link {
color: inherit !important;
text-decoration: none; /* Elimina el subrayado */
cursor: pointer; /* Mantiene el cursor de enlace */
-webkit-tap-highlight-color: transparent; /* Elimina el resaltado naranja al tocar en iOS */
}

.phone-link-card {
color: #5a3921 !important;
text-decoration: none; /* Elimina el subrayado */
cursor: pointer; /* Mantiene el cursor de enlace */
-webkit-tap-highlight-color: transparent; /* Elimina el resaltado naranja al tocar en iOS */
}


/* Opcional: Efecto al presionar */
.phone-link:active {
opacity: 0.7;
}

.phone-link-card:active {
opacity: 0.7;
}

/* Botones */
.btn {
display: inline-block;
padding: 12px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
margin: 10px;
}

.btn-primary {
background-color: var(--primary);
color: var(--light);
border: 2px solid var(--gold);
}

.btn-primary:hover {
background-color: var(--dark-gold);
border-color: var(--dark-gold);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
background-color: transparent;
color: var(--light);
border: 2px solid var(--light);
}

.btn-outline:hover {
background-color: rgba(255, 255, 255, 0.1);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Secciones */
.section {
padding: 100px 5%;
position: relative;
}

.section-title {
text-align: center;
margin-bottom: 60px;
position: relative;
}

.section-title h2 {
font-size: 2.5rem;
color: var(--primary);
margin-bottom: 15px;
}

.section-title::after {
content: '';
display: block;
width: 80px;
height: 3px;
background-color: var(--gold);
margin: 0 auto;
}

/* Sobre Nosotros */
.about-section {
background-color: var(--light);
}

.about-content {
display: flex;
align-items: center;
max-width: 1200px;
margin: 0 auto;
gap: 50px;
}

.about-text {
flex: 1;
}

.about-text h3 {
font-size: 1.8rem;
margin-bottom: 20px;
color: var(--primary);
}

.about-text p {
margin-bottom: 20px;
}

.about-image {
flex: 1;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s;
}

.about-image:hover img {
transform: scale(1.05);
}


/* GALERÍA ZIGZAG */

.zigzag-gallery {
width: 100%;
padding: 40px 0;
display: flex;
justify-content: center;
background-color: #ffffff;
}

.zigzag-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
max-width: 1200px;
}

.zigzag-item {
flex: 1 1 150px;
max-width: 220px;
border-radius: 18px;
overflow: hidden;
transition: transform 0.4s ease, opacity 0.6s ease;
opacity: 0;
transform: translateY(20px);
}

.zigzag-item.visible {
opacity: 1;
transform: translateY(0);
}

.zigzag-item:nth-child(even) {
margin-top: 40px;
}

.zigzag-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.zigzag-item:hover {
transform: translateY(-5px);
}

/* Adaptable a móvil */
@media (max-width: 900px) {
.zigzag-item {
flex: 1 1 calc(50% - 10px);
max-width: calc(50% - 10px);
margin-top: 0;
}
.zigzag-item:nth-child(even) {
margin-top: 20px;
}
}

@media (max-width: 480px) {
.zigzag-item {
flex: 1 1 100%;
max-width: 100%;
}
}

@media (max-width: 480px) {
.zigzag-item {
flex: 1 1 100%;
max-width: 100%;
}
}

/* === Zigzag solo visible en escritorio === */
@media (max-width: 1024px) {
  .zigzag-gallery {
    display: none !important;
  }
}


/* Galería de Productos */
.products-section {
background-color: var(--cream);
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}

.product-card {
background-color: var(--light);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
height: 250px;
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: 20px;
text-align: center;
}

.product-info h3 {
margin-bottom: 10px;
color: var(--primary);
}

.title-link {
color: var(--primary-color);
text-decoration: none;
font-weight: bold;
display: inline-block;
position: relative;
transition: all 0.3s ease;
}

.title-link:hover {
color: #000000;
}


/* =========================================================
MODAL DE CHECKOUT ELEGANTE - VERSIÓN FINAL + FIX ANDROID
========================================================= */
.checkout-modal {
position: fixed !important;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) !important;
width: 95%;
max-width: 550px;
max-height: 90vh;
overflow-y: auto;
background: var(--light);
border: none;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
z-index: 2000;
padding: 0;
animation: slideUpModal 0.4s ease;
-webkit-overflow-scrolling: touch;
will-change: transform;
overscroll-behavior: contain;
}

/* Fondo difuminado */
.modal-backdrop {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
background: rgba(48, 48, 48, 0.6);
backdrop-filter: blur(6px);
z-index: 1500;
display: none;
opacity: 0;
transition: opacity 0.3s ease;
overflow: hidden;
touch-action: none;
}

.modal-backdrop.active {
display: block;
opacity: 1;
}

/* === HEADER DEL MODAL === */
.checkout-modal__header {
background: var(--primary);
color: var(--light);
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 25px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
position: sticky;
top: 0;
z-index: 10;
}
.checkout-modal__header h2 {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
margin: 0;
}
.checkout-close {
background: none;
border: none;
color: var(--light);
font-size: 1.2rem;
cursor: pointer;
transition: color 0.3s ease;
}
.checkout-close:hover {
color: var(--gold);
}

.checkout-title {
color: white;
}

/* === CUERPO DEL MODAL === */
.checkout-modal__body {
padding: 25px;
}
.checkout-hint {
background: var(--cream);
border-left: 4px solid var(--gold);
padding: 10px 15px;
border-radius: 8px;
font-size: 0.9rem;
margin-bottom: 20px;
color: #555;
}

.checkout-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px 20px;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group--full {
grid-column: span 2;
}
.form-group label {
font-weight: 600;
font-size: 0.9rem;
color: var(--primary);
margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
padding: 10px 12px;
border: 1px solid #ccc;
border-radius: 8px;
font-family: inherit;
font-size: 16px !important; /* ✅ evita zoom Android */
transition: border 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--gold);
box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
outline: none;
}

/* === ALERTA DE ERROR === */
.form-alert {
background: #ffe0e0;
color: #a94442;
border-radius: 8px;
padding: 10px;
margin-top: 10px;
font-size: 0.9rem;
text-align: center;
}

/* === FOOTER DEL MODAL === */
.checkout-modal__footer {
background: #f7f7f7;
display: flex;
justify-content: space-between;
gap: 10px;
padding: 15px 20px;
border-top: 1px solid #ddd;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
position: sticky;
bottom: 0;
}
.btn-primary,
.btn-secondary {
flex: 1;
border-radius: 30px;
border: none;
padding: 12px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
}
.btn-primary {
background: #25D366;
color: #fff;
}
.btn-primary:hover {
background: #128C7E;
}
.btn-secondary {
background: #666;
color: #fff;
}
.btn-secondary:hover {
background: #444;
}

/* === ANIMACIÓN MODAL (entrada desde abajo con fade) === */
@keyframes slideUpModal {
from {
opacity: 0;
transform: translate(-50%, 40%) scale(0.95);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
.checkout-modal {
width: 90%;
max-height: calc(100dvh - 40px); /* ✅ evita corte con teclado Android */
}
.checkout-grid {
grid-template-columns: 1fr;
}
}

/* === FIX ANDROID MODAL MOVIMIENTO LATERAL === */
html,
body {
overflow-x: hidden !important;
overscroll-behavior: contain;
}

body.modal-open {
position: fixed;
width: 100%;
overflow: hidden;
height: 100%;
touch-action: none;
}

.checkout-modal {
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
contain: layout paint;
}


/* === FIX: una sola columna en móviles (Android + iOS) === */
@media (max-width: 768px) {
.checkout-grid {
display: flex;
flex-direction: column;
gap: 15px;
}

.form-group,
.form-group--full {
width: 100%;
grid-column: auto;
}

/* Evitar márgenes laterales ocultos en Android */
#checkout-modal {
width: 90%;
max-width: 500px;
margin: 0 auto;
}

/* Mejora el scroll vertical dentro del modal */
.checkout-modal__body {
max-height: calc(100dvh - 200px);
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}


/* === FIX DEFINITIVO: Modal centrado y estable en Android === */
@supports (-webkit-touch-callout: none) {
/* ✅ Solo se aplica en navegadores basados en WebKit (Android/iOS) */
#checkout-modal.checkout-modal {
position: absolute !important;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) !important;
max-height: calc(100dvh - 40px);
overflow-y: auto;
width: 92%;
margin: 0 auto;
}

/* ✅ Forzar una sola columna en móviles (Android) */
@media (max-width: 820px) {
.checkout-grid {
display: flex !important;
flex-direction: column !important;
gap: 16px !important;
}

.form-group,
.form-group--full {
width: 100% !important;
grid-column: auto !important;
}

/* Scroll interno fluido */
.checkout-modal__body {
max-height: calc(100dvh - 220px);
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}

/* ✅ Evitar desplazamiento lateral del fondo */
html, body {
overflow-x: hidden !important;
width: 100%;
position: relative;
}
}



/* Chef Contenedor principal mejorado */
.combined-section {
background: #fff9f5;
padding: 60px 20px;
}

.combined-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
align-items: stretch; /* Iguala alturas */
}

/* Tarjeta Chef - Versión mejorada */
.chef-card-compact {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 25px rgba(0,0,0,0.08);
display: flex;
flex-direction: column;
height: 100%;
}

.chef-image-wrapper {
position: relative;
height: 280px; /* Más grande para mejor impacto */
flex-shrink: 0; /* Evita que se reduzca */
}

.chef-photo {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: none;
}

.chef-card-compact:hover .chef-photo {
transform: none;
}

.chef-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
padding: 25px;
color: white;
}

.chef-overlay h3 {
margin: 0;
font-size: 1.6rem;
font-weight: 600;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.chef-title {
margin: 8px 0 0;
font-style: italic;
font-size: 1rem;
opacity: 0.9;
}

.chef-info-compact {
padding: 25px;
background: white;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
}

.chef-quote {
text-align: center;
color: #5a3921;
font-size: 1.2rem;
margin-bottom: 25px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
line-height: 1.4;
}

.chef-quote p {
margin: 0;
font-style: italic;
font-weight: 500;
}

.chef-quote i {
color: #c7a17a;
font-size: 1.5rem;
}

.chef-experience {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}

.experience-badge {
background: #f0e6d9;
color: #5a3921;
padding: 10px 18px;
border-radius: 25px;
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 600;
font-size: 0.95rem;
}

.experience-badge i {
color: #c7a17a;
font-size: 1.1rem;
}

/* Tarjeta Ubicación - Versión mejorada */
.location-card {
background: white;
border-radius: 12px;
padding: 30px;
box-shadow: 0 5px 25px rgba(0,0,0,0.08);
height: 100%;
display: flex;
flex-direction: column;
}

.section-chef-title {
color: #5a3921;
font-size: 1.8rem;
margin-bottom: 25px;
position: relative;
padding-bottom: 10px;
}

.section-chef-title:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 3px;
background: #c7a17a;
}

.location-info {
margin-bottom: 20px;
flex-grow: 1;
}

.contact-method {
display: flex;
gap: 15px;
margin-bottom: 22px;
align-items: flex-start;
}

.contact-icon {
color: #c7a17a;
font-size: 1.3rem;
margin-top: 3px;
flex-shrink: 0;
}

.contact-details h4 {
color: #5a3921;
margin-bottom: 5px;
font-size: 1.15rem;
font-weight: 600;
}

.contact-details p {
color: #666;
line-height: 1.5;
font-size: 1rem;
}

.map-btn {
display: inline-flex;
align-items: center;
gap: 10px;
background: #c7a17a;
color: white;
padding: 12px 25px;
border-radius: 6px;
text-decoration: none;
margin-top: 15px;
transition: all 0.3s;
font-weight: 500;
align-self: flex-start;
}

.map-btn:hover {
background: #b38a62;
transform: translateY(-2px);
}

/* Responsive - Versión mejorada */
@media (max-width: 768px) {
.combined-container {
grid-template-columns: 1fr;
gap: 40px;
}

.chef-image-wrapper {
height: 240px;
}

.section-title {
font-size: 1.6rem;
margin-bottom: 20px;
}
}

/* =========================================================
FOOTER Y COPYRIGHT
========================================================= */

footer {
background-color: var(--primary);
color: var(--light);
padding: 60px 5% 30px;
text-align: center;
}

.footer-link {
color: white; /* Hereda el color del texto normal */
text-decoration: none; /* Elimina el subrayado */
font-weight: bold; /* Mantiene el negrita como el strong original */
transition: opacity 0.3s ease; /* Efecto suave al hacer hover */
}

.phone-link {
color: white;
}

.footer-link:hover {
opacity: 0.8; /* Efecto sutil al pasar el mouse */
text-decoration: underline; /* Opcional: añadir subrayado al hover */
}

/* Para dispositivos móviles (efecto al tocar) */
.footer-link:active {
opacity: 0.6;
}

#contacto {
background:#42220D;
padding: 15px 20px;
border-top: 1px solid #e0d5c8;
}

.footer-content {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
max-width: 1200px;
margin: 0 auto 10px;
}

footer-info span {
white-space: nowrap;
}

.copyright {
text-align: center;
font-size: 12px;
color: #fcfcfc;
padding-top: 10px;
border-top: 1px solid #e0d5c8;
margin-top: 10px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
text-align: center;
}

.footer-info {
flex-direction: column;
gap: 8px;
}

.footer-info span {
white-space: normal;
}
}

.footer-column h3 {
font-size: 1.3rem;
margin-bottom: 20px;
color: var(--gold);
}

.footer-column ul {
list-style: none;
}

.footer-column ul li {
margin-bottom: 10px;
}

.footer-column ul li a {
color: #ccc;
text-decoration: none;
transition: color 0.3s;
}

.footer-column ul li a:hover {
color: var(--gold);
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
color: var(--primary-color);
font-size: 2.2rem;
transition: all 0.3s;
text-decoration: none;
}

.social-links a:hover {
background-color: var(--gold);
transform: translateY(-3px);
}

/* Para dispositivos móviles (efecto al tocar) */
.footer-link:active {
opacity: 0.6;
}




/* Animaciones */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Menú Mobile - Estilos */
@media (max-width: 992px) {
.mobile-menu-btn {
display: flex;
}

.nav-links {
position: fixed;
top: 0;
right: -100%;
width: 80%;
max-width: 300px;
height: 40vh;
background-color: var(--primary);
flex-direction: column;
align-items: center;
justify-content: center;
transition: right 0.4s ease;
z-index: 1000;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
right: 0;
}

.nav-links li {
margin: 20px 0;
}

.about-content, .location-content {
flex-direction: column;
}

.about-image, .map-container {
order: -1;
}

.hero-section h1 {
font-size: 2.8rem;
}
}

@media (max-width: 768px) {
.hero-section h1 {
font-size: 2.2rem;
}

.section {
padding: 70px 5%;
}
}

@media (max-width: 576px) {
.logo {
font-size: 1.5rem;
}

.hero-section h1 {
font-size: 1.8rem;
}

.btn {
padding: 10px 20px;
font-size: 0.9rem;
}
}

/* Estilos específicos las categorías */
.menu-section {
padding: 100px 20px;
max-width: 1200px;
margin: 0 auto;
}

.menu-title {
text-align: center;
font-family: 'Playfair Display', serif;
color: #8B4513;
font-size: 2.5rem;
margin-bottom: 20px;
font-weight: 600;
}

.menu-subtitle {
text-align: center;
color: #666;
font-size: 1.1rem;
margin-bottom: 40px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.menu-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
}

.menu-item {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 2px solid #f0f0f0;
}

.menu-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
border-color: #8B4513;
}

.item-image {
width: 100%;
height: 200px;
overflow: hidden;
position: relative;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
}

.item-image img {
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.5s ease;
}

.menu-item:hover .item-image img {
transform: scale(1.05);
}

.item-content {
padding: 20px;
}

.item-title {
font-family: 'Playfair Display', serif;
color: #8B4513;
font-size: 1.3rem;
margin-bottom: 8px;
font-weight: 600;
line-height: 1.3;
}

.item-description {
color: #666;
line-height: 1.4;
margin-bottom: 12px;
font-size: 0.9rem;
min-height: 40px;
}

.item-details {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
padding-top: 15px;
border-top: 1px dashed #e0e0e0;
}

.item-price {
color: #D2691E;
font-size: 1.3rem;
font-weight: bold;
}

.item-quantity {
color: #8B4513;
font-size: 0.85rem;
font-weight: 500;
}

.quantity-controls {
display: flex;
align-items: center;
gap: 10px;
margin-top: 10px;
}

.quantity-selector {
display: flex;
align-items: center;
gap: 10px;
}

.quantity-btn {
background: #8B4513;
color: white;
border: none;
width: 30px;
height: 30px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
transition: background 0.3s ease;
}

.quantity-btn:hover {
background: #A0522D;
}

.quantity-display {
font-weight: bold;
min-width: 30px;
text-align: center;
}

.add-to-cart-btn {
background: #8B4513;
color: white;
border: none;
padding: 8px 15px;
border-radius: 20px;
font-size: 0.9rem;
cursor: pointer;
transition: background 0.3s ease;
font-weight: 500;
}

.add-to-cart-btn:hover:not(:disabled) {
background: #A0522D;
}

.add-to-cart-btn:disabled {
background: #cccccc;
cursor: not-allowed;
opacity: 0.6;
}

.quantity-info {
font-size: 0.8rem;
color: #888;
margin-top: 5px;
}

/* Estilos del carrito - MEJORADOS */
.cart-container {
position: fixed;
top: 100px;
right: 20px;
background: white;
border-radius: 15px;
box-shadow: 0 5px 25px rgba(0,0,0,0.2);
width: 400px;
max-height: 500px;
z-index: 1000;
display: none;
flex-direction: column;
}

.cart-header {
background: #8B4513;
color: white;
padding: 15px 20px;
border-radius: 15px 15px 0 0;
display: flex;
justify-content: space-between;
align-items: center;
}

.cart-title {
font-family: 'Playfair Display', serif;
font-size: 1.2rem;
font-weight: 600;
}

.close-cart {
background: none;
border: none;
color: white;
font-size: 1.2rem;
cursor: pointer;
padding: 5px;
border-radius: 50%;
transition: background 0.3s ease;
}

.close-cart:hover {
background: rgba(255,255,255,0.2);
}

.cart-items {
padding: 15px;
flex: 1;
overflow-y: auto;
max-height: 300px;
}

/* ESTILOS DEL CART-ITEM MEJORADOS */
.cart-item {
display: flex;
flex-direction: column;
padding: 12px 0;
border-bottom: 1px solid #f0f0f0;
gap: 10px;
}

.cart-item:last-child {
border-bottom: none;
}

.cart-item-info {
width: 100%;
}

.cart-item-name {
font-weight: 600;
margin-bottom: 6px;
color: #8B4513;
font-size: 1rem;
line-height: 1.3;
}

.cart-item-details {
font-size: 0.8rem;
color: #666;
width: 100%;
}

.cart-item-unit-price,
.cart-item-quantity-info,
.cart-item-subtotal {
margin: 2px 0;
line-height: 1.4;
}

.cart-item-subtotal {
font-weight: bold;
color: #D2691E;
margin-top: 6px;
font-size: 0.9rem;
}

.cart-item-controls {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-top: 5px;
}

.cart-quantity-controls {
display: flex;
align-items: center;
gap: 8px;
}

.cart-quantity-btn {
background: #8B4513;
color: white;
border: none;
width: 28px;
height: 28px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
transition: all 0.3s ease;
}

.cart-quantity-btn:hover {
background: #A0522D;
transform: scale(1.1);
}

.remove-item {
background: #dc3545;
margin-left: 10px;
width: 28px;
height: 28px;
}

.remove-item:hover {
background: #c82333;
transform: scale(1.1);
}

.cart-quantity-display {
font-weight: bold;
min-width: 30px;
text-align: center;
font-size: 0.9rem;
color: #8B4513;
}

.cart-total {
padding: 15px 20px;
background: #f8f8f8;
border-top: 2px solid #e0e0e0;
border-radius: 0 0 15px 15px;
}

.total-price {
font-size: 1.3rem;
font-weight: bold;
color: #8B4513;
text-align: center;
margin-bottom: 15px;
}

.cart-actions {
display: flex;
gap: 10px;
}

.cart-action-btn {
flex: 1;
padding: 12px;
border: none;
border-radius: 25px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
}

.clear-cart {
background: #6c757d;
color: white;
}

.clear-cart:hover {
background: #5a6268;
transform: translateY(-2px);
}

.send-whatsapp {
background: #25D366;
color: white;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
}

.send-whatsapp:hover {
background: #128C7E;
transform: translateY(-2px);
}

.cart-action-btn:hover {
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cart-icon {
position: fixed;
bottom: 25px;                /* 📍 Ubicado en la parte inferior */
right: 25px;                 /* 📍 Esquina derecha */
background: #8B4513;
color: white;
width: 65px;
height: 65px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 9999;
}

.cart-icon:hover {
background: #A0522D;
transform: scale(1.1);
}

.cart-count {
position: absolute;
top: -5px;
right: -5px;
background: #dc3545;
color: white;
border-radius: 50%;
width: 25px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: bold;
border: 2px solid white;
}

.empty-cart-message {
text-align: center;
color: #666;
padding: 30px 20px;
font-style: italic;
font-size: 0.9rem;
}

/* Scrollbar personalizado para el carrito */
.cart-items::-webkit-scrollbar {
width: 6px;
}

.cart-items::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb {
background: #8B4513;
border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
background: #A0522D;
}

/* Estados de carga y feedback */
.add-to-cart-btn.adding {
background: #A0522D;
position: relative;
overflow: hidden;
}

.add-to-cart-btn.adding::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
border: 2px solid transparent;
border-top: 2px solid white;
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Mejoras de responsive */
@media (max-width: 768px) {
.cart-container {
  width: 95%;
  right: 2.5%;
  left: 2.5%;
  top: 90px;
  max-height: 70vh;
}

.cart-icon {
  bottom: 15px;      /* 📍 Mantiene la posición inferior */
  right: 15px;       /* 📍 Se ajusta al borde */
  width: 55px;
  height: 55px;
}


.menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cart-item-controls {
  flex-direction: row;
  justify-content: space-between;
}

.cart-actions {
  flex-direction: column;
}
}

@media (max-width: 480px) {
.cart-container {
  width: 98%;
  right: 1%;
  left: 1%;
}

.menu-grid {
  grid-template-columns: 1fr;
}

.cart-item {
  padding: 10px 0;
}

.cart-item-controls {
  flex-wrap: wrap;
  gap: 10px;
}

.cart-quantity-controls {
  order: 1;
}

.remove-item {
  order: 2;
  margin-left: 0;
}
}