/* ===== VARIABLES & RESET ===== */
:root {
  --black: #111111;
  --dark: #1a1a1a;
  --dark2: #222222;
  --yellow: #f5c518;
  --yellow-dark: #d4a800;
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #f5f5f5;
  --font-title: 'Fredoka', 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --transition: all 0.3s ease;
  /* Delineado negro estilo logo */
  --text-stroke: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.accent { color: var(--yellow); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-dark { background: var(--dark); }
.section-title { font-family: var(--font-title); font-size: 2.4rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; text-shadow: var(--text-stroke); }
.section-sub { color: var(--gray); font-size: 1rem; margin-bottom: 50px; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-family: var(--font-title); font-size: 1.05rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,197,24,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); text-shadow: var(--text-stroke); }
.btn-outline:hover { background: var(--white); color: var(--black); text-shadow: none; }
.btn-full { width: 100%; text-align: center; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 10px 40px; background: rgba(17,17,17,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(245,197,24,0.15); transition: var(--transition); }
.navbar.scrolled { padding: 6px 40px; box-shadow: var(--shadow); }

/* ===== LOGO ===== */
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 8px rgba(245,197,24,0.35));
  will-change: transform, filter;
  animation: logoPulse 4s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}
.navbar.scrolled .nav-logo-img { height: 40px; }
.nav-logo-img:hover {
  transform: scale(1.08) rotate(-1deg);
  filter: drop-shadow(0 0 18px rgba(245,197,24,0.75)) brightness(1.1);
  animation: none;
}
@keyframes logoPulse {
  0%   { transform: scale(1)      translateY(0px);  filter: drop-shadow(0 0 6px  rgba(245,197,24,0.3)); }
  25%  { transform: scale(1.045)  translateY(-3px); filter: drop-shadow(0 0 16px rgba(245,197,24,0.65)); }
  50%  { transform: scale(1.02)   translateY(-1px); filter: drop-shadow(0 0 10px rgba(245,197,24,0.45)); }
  75%  { transform: scale(1.04)   translateY(-2px); filter: drop-shadow(0 0 14px rgba(245,197,24,0.55)); }
  100% { transform: scale(1)      translateY(0px);  filter: drop-shadow(0 0 6px  rgba(245,197,24,0.3)); }
}

.sidebar-logo-img { height: 44px; }
.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 6px rgba(245,197,24,0.25));
  opacity: 0.85;
  transition: var(--transition);
}
.footer-logo-img:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(245,197,24,0.5)); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-family: var(--font-title); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; color: var(--white); transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--yellow); transition: var(--transition); }
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url('https://images.unsplash.com/photo-1550547660-d9450f859349?w=1600&q=80') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.6) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 20px; }

/* Logo en el hero */
.hero-logo-wrap {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}
.hero-logo-img {
  width: min(720px, 92vw);
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  will-change: transform, filter;
  filter: drop-shadow(0 0 24px rgba(245,197,24,0.5));
  animation: heroLogoPulse 5s ease-in-out infinite;
}
@keyframes heroLogoPulse {
  0%   { transform: scale(1)     translateY(0px);  filter: drop-shadow(0 0 18px rgba(245,197,24,0.4)); }
  30%  { transform: scale(1.03)  translateY(-6px); filter: drop-shadow(0 0 36px rgba(245,197,24,0.75)); }
  60%  { transform: scale(1.015) translateY(-3px); filter: drop-shadow(0 0 26px rgba(245,197,24,0.55)); }
  100% { transform: scale(1)     translateY(0px);  filter: drop-shadow(0 0 18px rgba(245,197,24,0.4)); }
}

.hero-title { font-family: var(--font-title); font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; line-height: 1; margin-bottom: 10px; }
.hero-sub { font-family: var(--font-title); font-size: clamp(1rem, 3vw, 1.5rem); color: var(--yellow); letter-spacing: 6px; text-transform: uppercase; margin-bottom: 20px; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 35px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--yellow); font-size: 1.4rem; animation: bounce 2s infinite; cursor: pointer; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* ===== MENU TABS ===== */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.tab-btn { padding: 10px 20px; border-radius: 50px; border: 2px solid rgba(245,197,24,0.3); background: transparent; color: var(--white); font-family: var(--font-body); font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
/* Tab activo: texto negro sobre amarillo → sin delineado */
.tab-btn:hover, .tab-btn.active { background: var(--yellow); color: var(--black); border-color: var(--yellow); font-weight: 700; text-shadow: none; }

/* ===== MENU GRID ===== */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.menu-card { background: var(--dark2); border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05); }
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); border-color: rgba(245,197,24,0.2); }
.menu-card-img { width: 100%; height: 200px; object-fit: cover; cursor: zoom-in; transition: transform 0.3s ease; }
.menu-card-img:hover { transform: scale(1.03); }
.menu-card-body { padding: 18px; }
/* Nombre del plato: blanco → delineado negro */
.menu-card-name { font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; color: var(--white); text-shadow: var(--text-stroke); }
.menu-card-desc { font-size: 0.82rem; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.menu-card-footer { display: flex; align-items: center; justify-content: space-between; }
/* Precio: amarillo → delineado negro */
.menu-card-price { font-family: var(--font-title); font-size: 1.25rem; color: var(--yellow); font-weight: 700; text-shadow: var(--text-stroke); }
/* Botón agregar: negro sobre amarillo → sin delineado */
.add-btn { background: var(--yellow); color: var(--black); border: none; border-radius: 50px; padding: 8px 18px; font-size: 0.85rem; font-weight: 700; font-family: var(--font-title); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; text-shadow: none; }
.add-btn:hover { background: var(--yellow-dark); transform: scale(1.05); }

/* ===== NOSOTROS ===== */
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nosotros-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 450px; object-fit: cover; }
.nosotros-text p { color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.nosotros-stats { display: flex; gap: 30px; margin-top: 30px; }
.stat { display: flex; flex-direction: column; align-items: center; background: var(--dark2); padding: 16px 24px; border-radius: var(--radius); border: 1px solid rgba(245,197,24,0.2); }
.stat-num { font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; }
.stat span:last-child { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

/* ===== GALERÍA ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(17,17,17,0.6); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-family: var(--font-title); font-size: 1rem; color: var(--yellow); text-transform: uppercase; letter-spacing: 1px; }

/* ===== RESEÑAS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--dark2); border-radius: var(--radius); padding: 16px 18px; border: 1px solid rgba(245,197,24,0.1); transition: var(--transition); }
.review-card:hover { border-color: rgba(245,197,24,0.3); transform: translateY(-3px); }
.review-stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 1rem; color: var(--black); font-weight: 700; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.82rem; }
.review-date { font-size: 0.7rem; color: var(--gray); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--dark2); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; color: var(--white); font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; padding: 20px 24px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--yellow); }
.faq-question i { transition: transform 0.3s ease; color: var(--yellow); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer p { padding: 0 24px 20px; color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ===== CONTACTO ===== */
.contacto-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.contacto-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { display: flex; align-items: flex-start; gap: 16px; background: var(--dark2); padding: 20px; border-radius: var(--radius); border: 1px solid rgba(245,197,24,0.1); }
.info-card i { font-size: 1.4rem; margin-top: 2px; }
.info-card h4 { font-family: var(--font-title); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.info-card a, .info-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.info-card a:hover { color: var(--yellow); }
.redes-sociales h4 { font-family: var(--font-title); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.redes-btns { display: flex; flex-direction: column; gap: 10px; }
.red-btn { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.red-btn.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: white; }
.red-btn.facebook { background: #1877f2; color: white; }
.red-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.contacto-mapa iframe { border-radius: var(--radius); width: 100%; }

/* ===== FOOTER ===== */
.footer { background: #0a0a0a; padding: 30px 0 0; border-top: 1px solid rgba(245,197,24,0.15); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; }
.footer-logo { display: flex; align-items: center; }
.footer-copy { font-size: 0.8rem; color: var(--gray); }
.footer-redes { display: flex; gap: 16px; }
.footer-redes a { color: var(--gray); font-size: 1.2rem; transition: var(--transition); }
.footer-redes a:hover { color: var(--yellow); }
.footer-dev { text-align: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.78rem; color: var(--gray); letter-spacing: 1px; }
.footer-dev .accent { font-weight: 700; }

/* ===== CARRITO FLOTANTE ===== */
.cart-btn { position: fixed; bottom: 30px; right: 30px; z-index: 900; width: 60px; height: 60px; background: var(--yellow); color: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; box-shadow: 0 6px 24px rgba(245,197,24,0.5); transition: var(--transition); }
.cart-btn:hover { transform: scale(1.1); background: var(--yellow-dark); }
.cart-count { position: absolute; top: -6px; right: -6px; background: #e53935; color: white; border-radius: 50%; width: 22px; height: 22px; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--black); }
.cart-count.hidden { display: none; }

/* ===== PANEL CARRITO ===== */
.cart-panel { position: fixed; right: -420px; top: 0; bottom: 0; width: 400px; background: var(--dark); z-index: 1100; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.4,0,0.2,1); box-shadow: -8px 0 40px rgba(0,0,0,0.5); }
.cart-panel.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
/* Cart header: blanco → delineado negro */
.cart-header h3 { font-family: var(--font-title); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; color: var(--white); text-shadow: var(--text-stroke); }
.cart-close { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.cart-close:hover { color: var(--yellow); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; color: var(--gray); gap: 12px; }
.cart-empty i { font-size: 2.5rem; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 0.82rem; color: var(--yellow); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(245,197,24,0.4); background: transparent; color: var(--white); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.qty-num { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-footer { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
/* Cart total: blanco → delineado negro. Precio total: amarillo → delineado negro */
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-title); font-size: 1.15rem; text-transform: uppercase; color: var(--white); text-shadow: var(--text-stroke); }
.total-price { color: var(--yellow); font-size: 1.5rem; font-weight: 700; text-shadow: var(--text-stroke); }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.cart-overlay.active { opacity: 1; pointer-events: all; }

/* ===== MODAL PEDIDO ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--dark); border-radius: var(--radius); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; border: 1px solid rgba(245,197,24,0.2); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.modal-header h3 { font-family: var(--font-title); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.modal-close { background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--yellow); }
.order-form { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; }
.form-group label i { color: var(--yellow); }
.form-group input, .form-group textarea { background: var(--dark2); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 12px 16px; color: var(--white); font-family: var(--font-body); font-size: 0.9rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,197,24,0.15); }
.form-group textarea { resize: vertical; min-height: 80px; }
.payment-options { display: flex; gap: 16px; }
.payment-opt { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; padding: 10px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); }
.payment-opt:has(input:checked) { border-color: var(--yellow); background: rgba(245,197,24,0.1); color: var(--yellow); }
.payment-opt input { accent-color: var(--yellow); }

/* ===== ANIMACIÓN VUELO AL CARRITO ===== */
.fly-item { position: fixed; z-index: 9999; pointer-events: none; opacity: 0; width: 60px; height: 60px; border-radius: 8px; object-fit: cover; overflow: hidden; }
.fly-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.1); border: none; color: var(--white); font-size: 1.4rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover { background: var(--yellow); color: var(--black); }
.lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.6); object-fit: contain; }
/* Lightbox caption: amarillo → delineado negro */
.lightbox-caption { margin-top: 16px; font-family: var(--font-title); font-size: 1rem; color: var(--yellow); text-transform: uppercase; letter-spacing: 2px; text-shadow: var(--text-stroke); }

/* ===== CARRITO ITEM CON IMAGEN ===== */
.cart-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cart-item-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.82rem; font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Precio en carrito: amarillo → delineado negro */
.cart-item-price { font-size: 0.8rem; color: var(--yellow); text-shadow: var(--text-stroke); }
.cart-item-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(245,197,24,0.4); background: transparent; color: var(--white); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.qty-num { font-weight: 700; font-size: 0.85rem; min-width: 18px; text-align: center; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(245,197,24,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--yellow); }

/* ===== SIDEBAR MÓVIL ===== */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 1400; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.sidebar-overlay.active { opacity: 1; pointer-events: all; }
.sidebar { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--dark); z-index: 1500; display: flex; flex-direction: column; transition: left 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: 4px 0 30px rgba(0,0,0,0.5); }
.sidebar.open { left: 0; }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid rgba(245,197,24,0.15); }
.sidebar-close { background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; transition: var(--transition); }
.sidebar-close:hover { color: var(--yellow); }
.sidebar-links { flex: 1; padding: 16px 0; overflow-y: auto; }
/* Sidebar activo: amarillo → delineado negro. Inactivo: blanco semitransparente → sin delineado */
.sidebar-links li a { display: flex; align-items: center; gap: 14px; padding: 14px 24px; font-family: var(--font-title); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.85); transition: var(--transition); border-left: 3px solid transparent; text-shadow: none; }
.sidebar-links li a:hover, .sidebar-links li a.active-nav { color: var(--yellow); background: rgba(245,197,24,0.06); border-left-color: var(--yellow); text-shadow: var(--text-stroke); }
.sidebar-links li a i { width: 20px; text-align: center; color: var(--yellow); font-size: 0.95rem; }
.sidebar-footer { padding: 20px; border-top: 1px solid rgba(245,197,24,0.15); }
.sidebar-wa { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: white; padding: 13px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; transition: var(--transition); }
.sidebar-wa:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ===== CAMPO TIPO DE PEDIDO ===== */
#deliveryFields { display: flex; flex-direction: column; gap: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-img img { height: 300px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; z-index: 1000; }
  .section-title { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .menu-tabs { gap: 8px; }
  .tab-btn { padding: 8px 14px; font-size: 0.78rem; }
  .nosotros-stats { flex-wrap: wrap; justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-panel { width: 100%; right: -100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
