/* ==========================================================================
   RESTAURANTE CAFÉ - SISTEMA DE DISEÑO Y ESTILOS
   Sede: Calle 123 # 44 Bogotá 113111
   Cumplimiento Total Google Ads & Portal Sucursal Virtual Negocios
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Paleta de Colores - Modo Oscuro Cálido (Por defecto) */
  --bg-primary: #120e0c;
  --bg-secondary: #1a1411;
  --bg-card: #231b17;
  --bg-card-hover: #2c221d;
  --bg-input: #1a1411;
  
  --text-main: #f8f5f1;
  --text-secondary: #c9bfb5;
  --text-muted: #8d8076;
  
  /* Acentos de Marca (Café de Origen, Cobre y Dorado) */
  --accent-gold: #d4a373;
  --accent-gold-hover: #e0b080;
  --accent-copper: #c87d55;
  --accent-dark-gold: #a67c52;
  --accent-corporate: #1a3636;
  --accent-corporate-light: #40534c;
  --accent-corporate-gold: #e6aa68;
  
  --border-color: rgba(212, 163, 115, 0.15);
  --border-color-hover: rgba(212, 163, 115, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(212, 163, 115, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #fcfaf8;
  --bg-secondary: #f4efe9;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f2ec;
  --bg-input: #f4efe9;
  
  --text-main: #1c1613;
  --text-secondary: #4a3e37;
  --text-muted: #796b61;
  
  --border-color: rgba(166, 124, 82, 0.18);
  --border-color-hover: rgba(166, 124, 82, 0.4);
  
  --shadow-sm: 0 4px 12px rgba(28, 22, 19, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 22, 19, 0.1);
  --shadow-lg: 0 16px 40px rgba(28, 22, 19, 0.15);
}

/* Reset y Bases */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   HEADER & NAVEGACIÓN
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 14, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

[data-theme="light"] .header {
  background: rgba(252, 250, 248, 0.88);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-logo i {
  color: var(--accent-gold);
  font-size: 1.8rem;
}

.brand-badge {
  font-size: 0.7rem;
  background: rgba(212, 163, 115, 0.15);
  color: var(--accent-gold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.btn-b2b-nav {
  background: linear-gradient(135deg, #1a3636, #2d5a5a);
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-full);
  border: 1px solid rgba(230, 170, 104, 0.4);
  box-shadow: 0 0 12px rgba(45, 90, 90, 0.4);
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-b2b-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230, 170, 104, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-copper);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   BOTONES Y ELEMENTOS DE UI
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #120e0c;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-b2b {
  background: linear-gradient(135deg, #1a3636, #2a4f4f);
  color: #ffffff;
  border: 1px solid var(--accent-corporate-gold);
}

.btn-b2b:hover {
  background: linear-gradient(135deg, #2a4f4f, #3b6b6b);
  box-shadow: 0 0 20px rgba(230, 170, 104, 0.3);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-gold {
  background: rgba(212, 163, 115, 0.15);
  color: var(--accent-gold);
  border: 1px solid var(--border-color);
}

.badge-green {
  background: rgba(46, 125, 50, 0.15);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(212, 163, 115, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1rem 0;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-item i {
  color: var(--accent-gold);
  font-size: 1.5rem;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-size: 0.9rem;
  color: var(--text-main);
}

.feature-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.hero-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-img-card:hover img {
  transform: scale(1.03);
}

.hero-glass-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(18, 14, 12, 0.8);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="light"] .hero-glass-badge {
  background: rgba(255, 255, 255, 0.85);
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.location-pill i {
  color: var(--accent-copper);
}

/* --------------------------------------------------------------------------
   SECCIÓN MENÚ DIGITAL INTERACTIVO
   -------------------------------------------------------------------------- */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Filtros y Búsqueda del Menú */
.menu-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.menu-search-bar {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-input-wrapper i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-wrapper input {
  padding-left: 3rem;
  border-radius: var(--radius-full);
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tab-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--accent-gold);
  color: #120e0c;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.diet-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.diet-chip {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
}

.diet-chip.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(212, 163, 115, 0.1);
}

/* Grid del Menú */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
}

.menu-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 14, 12, 0.8);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  border: 1px solid var(--border-color);
}

.menu-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.menu-card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
}

.menu-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.diet-tags {
  display: flex;
  gap: 0.4rem;
}

.diet-tag-icon {
  font-size: 0.75rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 163, 115, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   PORTAL SUCURSAL VIRTUAL NEGOCIOS (B2B)
   -------------------------------------------------------------------------- */
.b2b-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(26, 54, 54, 0.25) 50%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(230, 170, 104, 0.2);
  border-bottom: 1px solid rgba(230, 170, 104, 0.2);
}

.b2b-hero-banner {
  background: linear-gradient(135deg, rgba(26, 54, 54, 0.9), rgba(18, 14, 12, 0.95)), url('assets/b2b.jpg') center/cover;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--accent-corporate-gold);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.b2b-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 170, 104, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.b2b-badge {
  background: var(--accent-corporate-gold);
  color: #120e0c;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
}

.b2b-title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.b2b-title span {
  color: var(--accent-corporate-gold);
}

.b2b-subtitle {
  color: #d1d5db;
  font-size: 1.1rem;
  max-width: 750px;
  margin-bottom: 2rem;
}

.b2b-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.b2b-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.b2b-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-corporate-gold);
  box-shadow: var(--shadow-md);
}

.b2b-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(230, 170, 104, 0.15);
  color: var(--accent-corporate-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.b2b-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.b2b-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* Cotizador Automático B2B */
.b2b-calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--accent-corporate-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-form-group {
  margin-bottom: 1.25rem;
}

.calc-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.calc-result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-big {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-corporate-gold);
  line-height: 1;
  margin: 1rem 0;
}

.calc-breakdown {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.calc-breakdown li {
  padding: 0.4rem 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-color);
}

/* --------------------------------------------------------------------------
   SISTEMA DE RESERVAS
   -------------------------------------------------------------------------- */
.reservation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   UBICACIÓN & MAPA INTERACTIVO
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.map-wrapper {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  background: rgba(212, 163, 115, 0.1);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   MODALES (Carrito, Personalización, Facturación DIAN, Políticas)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-close:hover {
  background: var(--accent-copper);
  color: #fff;
}

/* Carrito Side Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 2100;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.8rem 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   BANNER DE COOKIES & FOOTER LEGAL (Cumplimiento Google Ads)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 20, 17, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  white-space: nowrap;
}

/* FOOTER COMPLETO */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.payment-badges {
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.7rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
}
