/* ===================================================================
   MOKI COFFEE & MORE - Global Haute Couture Design System
   Awwwards / FWA Creative Direction & Senior Frontend Architecture
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,400;1,600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.2.0/fonts/remixicon.css');

:root {
  /* Color Palette */
  --color-bg: #FAF7F2;
  --color-bg-card: #FFFFFF;
  --color-bg-subtle: #F3ECE4;
  --color-bg-dark: #161210;
  --color-bg-dark-card: #201A16;

  --color-primary: #241712;
  --color-primary-light: #3D2920;
  --color-secondary: #966141;
  --color-accent: #E35D33;
  --color-accent-hover: #CC4A22;
  --color-accent-glow: rgba(227, 93, 51, 0.25);

  --color-matcha: #4F704A;
  --color-matcha-light: #EBF2EA;
  --color-cream: #FFFDF9;
  --color-gold: #D4A359;

  --color-text-main: #1D1815;
  --color-text-muted: #6E655F;
  --color-text-light: #9C938D;
  --color-text-inverse: #FFFFFF;

  --border-light: rgba(36, 23, 18, 0.08);
  --border-card: rgba(36, 23, 18, 0.06);
  --border-focus: var(--color-accent);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(36, 23, 18, 0.04);
  --shadow-md: 0 8px 24px rgba(36, 23, 18, 0.06);
  --shadow-lg: 0 16px 40px rgba(36, 23, 18, 0.09);
  --shadow-elevated: 0 24px 60px rgba(36, 23, 18, 0.12);
  --shadow-glow: 0 10px 30px var(--color-accent-glow);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w-content: 1280px;
  --nav-height: 84px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 76px; /* Space for mobile nav bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Links & Images */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  user-select: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ===================================================================
   NAVIGATION & HEADER
   =================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
}

.site-header.scrolled {
  height: 72px;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.site-header.dark-header {
  background: rgba(22, 18, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.dark-header .brand-logo,
.hero-overlay .brand-logo {
  color: #FFFFFF;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--color-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: var(--color-secondary);
  border: 1px solid var(--border-light);
}

/* Nav Menu Desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.dark-header .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Selector Pill */
.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(36, 23, 18, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.dark-header .lang-selector-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.lang-selector-btn:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

/* Nav Cart Button */
.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.nav-cart-btn:hover {
  background: var(--color-accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(36, 23, 18, 0.05);
  color: var(--color-primary);
  font-size: 1.4rem;
}

.dark-header .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--color-bg-card);
  z-index: 1000;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: right var(--transition-normal);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-main);
  background: var(--color-bg);
  transition: var(--transition-fast);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: var(--color-accent);
  color: #FFFFFF;
}

/* ===================================================================
   MOBILE BOTTOM BAR (App-like navigation)
   =================================================================== */

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 890;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  position: relative;
  flex: 1;
  height: 100%;
  transition: var(--transition-fast);
}

.bottom-bar-item i {
  font-size: 1.35rem;
}

.bottom-bar-item.active,
.bottom-bar-item:hover {
  color: var(--color-accent);
}

.bottom-bar-badge {
  position: absolute;
  top: 8px;
  right: calc(50% - 18px);
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================================
   BUTTONS & BADGES (High conversion UI)
   =================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--color-accent-glow);
}

.btn-secondary {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(36, 23, 18, 0.04);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(227, 93, 51, 0.08);
  border: 1px solid rgba(227, 93, 51, 0.2);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-pill.pill-light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* ===================================================================
   HERO CINEMATOGRÁFICO
   =================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-dark);
  color: #FFFFFF;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 80px;
}

.hero-background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
  transform: scale(1.04);
  animation: heroKenBurns 20s infinite alternate ease-in-out;
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(22, 18, 16, 0.75) 0%, rgba(22, 18, 16, 0.4) 40%, rgba(22, 18, 16, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 5.25rem;
  }
}

.hero-title .title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #FFB399;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-bottom: 36px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.35rem;
  }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-social-proof {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 2px solid #201A16;
  margin-left: -8px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.stars-rating {
  color: #FFB703;
  display: flex;
  gap: 2px;
  font-size: 0.9rem;
}

.rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ===================================================================
   SECCIONES GENERALES & HEADERS
   =================================================================== */

.section-spacing {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-spacing-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===================================================================
   TARJETAS DE PRODUCTO (Menú & Destacados)
   =================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  width: 100%;
  padding-top: 66%; /* 3:2 aspect */
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.product-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.badge-tag {
  background: rgba(22, 18, 16, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-tag.highlight {
  background: var(--color-accent);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

.product-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.btn-add-cart {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* ===================================================================
   STICKY TABS & FILTERS MENÚ
   =================================================================== */

.menu-sticky-nav {
  position: sticky;
  top: var(--nav-height);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}

.tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.menu-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.menu-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.menu-tab-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.menu-tab-btn i {
  font-size: 1rem;
}

/* Search Bar */
.menu-search-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto 32px auto;
}

.menu-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 1.5px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.menu-search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-glow);
}

.menu-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 1.2rem;
}

/* ===================================================================
   MAPA ARQUITECTÓNICO SVG DE MESAS & RESERVAS (CROQUIS MOKI)
   =================================================================== */

.reservation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .reservation-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.map-card-wrapper {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.map-legend-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.legend-dot.available {
  background: #EBF8EE;
  border: 1.5px solid #28A745;
}

.legend-dot.selected {
  background: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.legend-dot.occupied {
  background: #F1F1F1;
  border: 1.5px solid #B0B0B0;
}

/* SVG Floor Plan */
.floor-plan-svg-container {
  width: 100%;
  background: #FDFCFA;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--border-light);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-plan-svg {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
}

/* SVG Table Elements */
.svg-table-item {
  cursor: pointer;
  transition: all 0.25s ease;
}

.svg-table-item.status-disponible rect,
.svg-table-item.status-disponible circle {
  fill: #FFFFFF;
  stroke: #2E8540;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(46, 133, 64, 0.15));
}

.svg-table-item.status-disponible:hover rect,
.svg-table-item.status-disponible:hover circle {
  fill: #EBF8EE;
  stroke: #1E6B30;
  stroke-width: 3.5;
  transform: translateY(-2px);
}

.svg-table-item.status-disponible text {
  fill: #1E3A1E;
  font-family: var(--font-display);
  font-weight: 700;
  pointer-events: none;
}

.svg-table-item.status-seleccionada rect,
.svg-table-item.status-seleccionada circle {
  fill: var(--color-accent);
  stroke: var(--color-accent-hover);
  stroke-width: 4;
  filter: drop-shadow(0 0 12px var(--color-accent-glow));
  animation: tablePulse 2s infinite ease-in-out;
}

@keyframes tablePulse {
  0% { filter: drop-shadow(0 0 6px rgba(227, 93, 51, 0.4)); }
  50% { filter: drop-shadow(0 0 16px rgba(227, 93, 51, 0.8)); }
  100% { filter: drop-shadow(0 0 6px rgba(227, 93, 51, 0.4)); }
}

.svg-table-item.status-seleccionada text {
  fill: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  pointer-events: none;
}

.svg-table-item.status-ocupada {
  cursor: not-allowed;
  opacity: 0.65;
}

.svg-table-item.status-ocupada rect,
.svg-table-item.status-ocupada circle {
  fill: #EDEAE7;
  stroke: #B5ACA5;
  stroke-width: 2;
  stroke-dasharray: 4 2;
}

.svg-table-item.status-ocupada text {
  fill: #7A726D;
  pointer-events: none;
}

/* Reservation Sidebar Form */
.reservation-sidebar {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.reservation-table-highlight {
  background: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  border-left: 4px solid var(--color-accent);
}

.highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1.5px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

/* Digital Confirmation Ticket */
.digital-ticket-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 18, 16, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.digital-ticket-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.ticket-card {
  width: 100%;
  max-width: 500px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.digital-ticket-modal.active .ticket-card {
  transform: translateY(0);
}

.ticket-header {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 28px;
  text-align: center;
  position: relative;
}

.ticket-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: radial-gradient(circle, transparent 60%, #FFFFFF 65%);
  background-size: 20px 20px;
}

.ticket-body {
  padding: 32px 28px 24px 28px;
}

.ticket-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.92rem;
}

.ticket-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ===================================================================
   TARJETA WALLET DE FIDELIDAD (MOKI CLUB)
   =================================================================== */

.wallet-card-container {
  max-width: 600px;
  margin: 0 auto 56px auto;
  perspective: 1000px;
}

.wallet-card {
  width: 100%;
  background: linear-gradient(135deg, #1C1512 0%, #2E221D 50%, #16100D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(22, 18, 16, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wallet-card-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: cardShimmer 6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes cardShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  50% { transform: translateX(100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.wallet-chip {
  width: 48px;
  height: 36px;
  background: linear-gradient(135deg, #ECC480 0%, #D4A359 100%);
  border-radius: 6px;
  position: relative;
}

.wallet-chip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.2);
}

.stamps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stamp-cell {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  transition: all var(--transition-fast);
}

.stamp-cell.stamped {
  background: linear-gradient(135deg, var(--color-accent) 0%, #B8431E 100%);
  border: 1.5px solid #FFFFFF;
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--color-accent-glow);
  transform: scale(1.05);
}

.stamp-cell.stamped i {
  font-size: 1.4rem;
  animation: stampBounce 0.4s ease-out;
}

@keyframes stampBounce {
  0% { transform: scale(0.4); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.wallet-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

/* ===================================================================
   GALERÍA EDITORIAL BENTO GRID & LIGHTBOX
   =================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }

  .bento-grid .col-span-2 {
    grid-column: span 2;
  }

  .bento-grid .row-span-2 {
    grid-row: span 2;
  }
}

.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-dark);
  min-height: 260px;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bento-item:hover img {
  transform: scale(1.06);
}

.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(22, 18, 16, 0.85) 0%, rgba(22, 18, 16, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bento-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 11, 10, 0.95);
  backdrop-filter: blur(16px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrapper {
  max-width: 900px;
  max-height: 80vh;
  position: relative;
}

.lightbox-img-wrapper img {
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1250;
}

/* ===================================================================
   CARRITO DE COMPRAS OFF-CANVAS & REGLAS DE PAGO DINÁMICAS
   =================================================================== */

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 18, 16, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--color-bg-card);
  z-index: 1150;
  box-shadow: -12px 0 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

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

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

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--border-light);
}

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

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

.cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.cart-item-extras {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cart-item-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-accent);
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-card);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  border: 1px solid var(--border-light);
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.cart-qty-btn:hover {
  background: var(--color-accent);
  color: #FFFFFF;
}

/* Reglas de Entrega y Pago */
.cart-checkout-section {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: #FCFAF7;
  max-height: 50vh;
  overflow-y: auto;
}

.delivery-modes-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.delivery-mode-tab {
  padding: 10px 6px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  border: 1.5px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.delivery-mode-tab.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.delivery-mode-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.delivery-mode-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tarjeta Bancaria de Transferencia */
.bank-transfer-card {
  background: linear-gradient(135deg, #0D2C54 0%, #174276 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 12px;
  box-shadow: 0 8px 20px rgba(13, 44, 84, 0.25);
  font-size: 0.85rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.bank-clabe-code {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #FFDE59;
}

.copy-clabe-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.copy-clabe-btn:hover {
  background: #FFFFFF;
  color: #0D2C54;
}

/* Total Bar */
.cart-totals-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.total-row.grand-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1.5px dashed var(--border-light);
}

/* ===================================================================
   MODAL DE PERSONALIZACIÓN DE BEBIDAS
   =================================================================== */

.customize-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 18, 16, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.customize-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.customize-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.customize-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customize-body {
  padding: 24px;
  overflow-y: auto;
}

.options-group-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.custom-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-option-label:hover {
  border-color: var(--color-accent);
}

.custom-option-label input:checked + .option-text {
  font-weight: 700;
  color: var(--color-accent);
}

/* ===================================================================
   TOAST NOTIFICATIONS
   =================================================================== */

.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .toast-container {
    bottom: 24px;
  }
}

.toast-item {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.success {
  background: #1B5E20;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer {
  background: var(--color-bg-dark);
  color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
