/* ==========================================================================
   LA RUTA DEL ALL YOU CAN EAT - MODERN DESIGN SYSTEM
   Fresco, Intuitivo, Gastronómico & Dinámico (Bogotá y Alrededores)
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #FF5335;
  --primary-hover: #E84124;
  --primary-light: #FFEFEA;
  --primary-glow: rgba(255, 83, 53, 0.25);
  
  --secondary: #F59E0B;
  --secondary-light: #FEF3C7;
  
  --accent-green: #10B981;
  --accent-green-light: #D1FAE5;
  
  --accent-purple: #8B5CF6;
  --accent-purple-light: #EDE9FE;

  /* Neutrals (Light Mode Default) */
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-overlay: rgba(15, 23, 42, 0.65);
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-inverted: #FFFFFF;
  
  --border-light: #E2E8F0;
  --border-focus: #FF5335;
  
  /* Shadows & Glass */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 22px 40px -6px rgba(255, 83, 53, 0.18), 0 8px 16px -3px rgba(0, 0, 0, 0.08);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Spacings & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-main: #0B0F17;
  --bg-card: #151D2A;
  --bg-card-subtle: #1E293B;
  --bg-elevated: #1E293B;
  --bg-overlay: rgba(3, 7, 18, 0.82);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  
  --border-light: #243044;
  --glass-bg: rgba(21, 29, 42, 0.88);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --shadow-md: 0 6px 20px -2px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 36px -4px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px -6px rgba(255, 83, 53, 0.25);
  
  --primary-light: rgba(255, 83, 53, 0.15);
  --secondary-light: rgba(245, 158, 11, 0.15);
  --accent-green-light: rgba(16, 185, 129, 0.15);
  --accent-purple-light: rgba(139, 92, 246, 0.15);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-bounce), filter var(--transition-normal);
  display: block;
}

.brand-badge:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 4px 14px rgba(255, 83, 53, 0.35));
}

.brand-logo-footer {
  height: 46px;
  max-width: 54px;
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

[data-theme="dark"] .brand-badge:hover .brand-logo-img {
  filter: drop-shadow(0 4px 16px rgba(255, 83, 53, 0.45));
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px var(--primary-glow);
  transform: rotate(-3deg);
  transition: transform var(--transition-bounce);
}

.brand-badge:hover .brand-icon-box {
  transform: rotate(6deg) scale(1.06);
}

.brand-text h1,
.brand-text .brand-title {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), #FF8A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-text span.city-tag {
  font-size: 0.68rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-green);
  background: var(--accent-green-light);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

/* Brand Group & City Selector */
.brand-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.city-selector-wrapper {
  position: relative;
}

.city-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.city-selector-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card-subtle);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.city-pin-svg {
  color: var(--primary);
  flex-shrink: 0;
}

.city-btn-name {
  font-weight: 700;
}

.city-badge-chip {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-green-light);
  color: var(--accent-green);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.city-dropdown-arrow {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.city-selector-btn[aria-expanded="true"] .city-dropdown-arrow {
  transform: rotate(180deg);
}

/* City Dropdown Menu */
.city-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.city-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.city-dropdown-header {
  padding: 0.4rem 0.6rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.city-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.city-dropdown-item:hover {
  background: var(--bg-card-subtle);
  transform: translateX(2px);
}

.city-dropdown-item.active {
  background: var(--primary-light);
}

.city-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}

.city-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.city-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.city-item-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.city-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.city-status-pill.pill-active {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.city-status-pill.pill-soon {
  background: var(--secondary-light);
  color: #D97706;
}

.city-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.35rem 0;
}

/* Announcement Pill in Hero (Editorial Style) */
.city-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.city-announcement-pill:hover {
  border-color: var(--text-main);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.announcement-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.announcement-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.announcement-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-left: 0.15rem;
}

/* City Coming Soon Modal */
.city-modal-content {
  padding: 1.5rem 1.5rem 1.25rem;
}

.city-modal-hero {
  text-align: center;
  margin-bottom: 1.25rem;
}

.city-modal-icon {
  font-size: 2.75rem;
  margin-bottom: 0.35rem;
  display: inline-block;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.city-modal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #D97706;
  background: var(--secondary-light);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.city-modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.city-modal-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.city-modal-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.city-modal-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  text-align: left;
}

.city-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.city-card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.city-card-header h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.city-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.city-notify-form {
  margin-top: 0.85rem;
}

.city-notify-input-group {
  display: flex;
  gap: 0.5rem;
}

.btn-notify-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-notify-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.notify-success {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-light);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}

/* Footer Mini Badges */
.badge-active-mini {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--accent-green-light);
  color: var(--accent-green);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.badge-soon-mini {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--secondary-light);
  color: #D97706;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: all var(--transition-fast);
  position: relative;
}

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

.btn-icon .badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  animation: pulse-badge 2s infinite;
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--primary), #FF6D43);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 83, 53, 0.4);
}

/* ==========================================================================
   HERO SECTION (ESTILO EDITORIAL GASTRONÓMICO)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.25rem 0.65rem;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 0.85rem;
  line-height: 1.45;
}

/* Hero Search & Quick Bar */
.search-bar-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.search-bar-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-input-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.25rem 0.65rem;
}

.search-input-box svg {
  color: var(--text-subtle);
  flex-shrink: 0;
}

.search-input-box input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.88rem;
}

.search-input-box input::placeholder {
  color: var(--text-subtle);
}

.search-divider {
  width: 1px;
  height: 22px;
  background: var(--border-light);
}

.zone-selector-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
}

.zone-selector-box select {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-search-trigger {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  font-weight: 600;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-search-trigger:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

/* Quick highlights / stats (Editorial inline divider) */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-stats .stat-item {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-stats .stat-dot {
  color: var(--border-light);
  font-weight: 700;
}

/* ==========================================================================
   CATEGORIES PILL BAR (FLEXIBLE HORIZONTAL SCROLL - EDITORIAL)
   ========================================================================== */
.categories-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem 0.45rem;
}

.categories-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.category-pill:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--text-main);
  border-color: var(--text-main);
  color: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .category-pill.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0F172A;
}

/* ==========================================================================
   CONTROLS BAR (FILTERS, TABS & VIEW TOGGLE)
   ========================================================================== */
.controls-bar {
  max-width: 1320px;
  margin: 0 auto 0.55rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.active-filters-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.results-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.results-count span {
  color: var(--primary);
}

.controls-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.sort-select-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.32rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.sort-select-wrapper select {
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.view-toggle-group {
  display: flex;
  background: var(--bg-card-subtle);
  padding: 2px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.btn-view-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: calc(var(--radius-md) - 3px);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.btn-view-toggle.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-roulette-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-roulette-trigger svg {
  color: var(--primary);
}

.btn-roulette-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   MAIN CONTENT GRID & RESTAURANT CARDS (ESTILO EDITORIAL GASTRONÓMICO)
   ========================================================================== */
.main-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* Card Component */
.restaurant-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  border-color: rgba(255, 83, 53, 0.35);
}

/* Card Header / Image (Limpia y Apetitosa) */
.card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background-color: var(--bg-card-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.restaurant-card:hover .card-media img {
  transform: scale(1.05);
}

.card-favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .card-favorite-btn {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94A3B8;
}

.card-favorite-btn:hover {
  transform: scale(1.12);
  color: #EF4444;
}

.card-favorite-btn.favorited {
  color: #EF4444;
  background: #FFFFFF;
}

[data-theme="dark"] .card-favorite-btn.favorited {
  background: #1E293B;
}

.card-video-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
  z-index: 2;
}

[data-theme="dark"] .card-video-pill {
  background: rgba(2, 6, 23, 0.88);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-video-pill svg {
  flex-shrink: 0;
}

/* Card Body */
.card-content {
  padding: 1rem 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.meta-cat-zone {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.card-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  transition: color var(--transition-fast);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.restaurant-card:hover .card-title {
  color: var(--primary);
}

.card-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-light);
}

.card-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.card-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.card-price-unit {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.card-rule-pill {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  max-width: 48%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

[data-theme="dark"] .card-rule-pill {
  background: rgba(255, 255, 255, 0.04);
}

.card-desc {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.42;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Editorial Footer */
.card-editorial-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.76rem;
}

.card-footer-info {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-footer-info svg {
  color: var(--text-subtle);
}

.card-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.card-detail-link svg {
  transition: transform var(--transition-fast);
}

.restaurant-card:hover .card-detail-link {
  color: var(--primary-hover);
}

.restaurant-card:hover .card-detail-link svg {
  transform: translateX(3px);
}

.card-actions-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-card-share-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

[data-theme="dark"] .btn-card-share-wa {
  background: rgba(37, 211, 102, 0.18);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.45);
}

.btn-card-share-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-card-share-wa svg {
  flex-shrink: 0;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-light);
}

.empty-state-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   MAP VIEW SECTION (INTERACTIVE LEAFLET CONTAINER)
   ========================================================================== */
.map-view-container {
  display: none;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  position: relative;
}

.map-view-container.active {
  display: block;
}

.map-view-header {
  padding: 1rem 1.5rem;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-view-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#leafletMap {
  width: 100%;
  height: 580px;
  z-index: 10;
}

/* Custom Leaflet Popup Styles */
.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4 !important;
}

.map-popup-card {
  width: 250px;
}

.map-popup-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.map-popup-info {
  padding: 0.85rem;
}

.map-popup-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.map-popup-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.btn-popup-open {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

/* ==========================================================================
   MODAL: DETALLE COMPLETO DEL RESTAURANTE (EL CORAZÓN DE LA EXPERIENCIA)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  overflow-y: auto;
}

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

.modal-sheet {
  background: var(--bg-card);
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: all var(--transition-bounce);
  border: 1px solid var(--border-light);
  display: block;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) var(--bg-card-subtle);
}

.modal-sheet::-webkit-scrollbar {
  width: 8px;
}

.modal-sheet::-webkit-scrollbar-track {
  background: var(--bg-card-subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.modal-sheet::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

.modal-sheet::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.modal-overlay.open .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: sticky;
  top: 14px;
  float: right;
  margin-right: 14px;
  margin-bottom: -40px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-close-btn:hover {
  background: var(--primary);
  transform: rotate(90deg) scale(1.05);
}

/* Modal Hero Banner */
.modal-banner {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #0F172A;
}

.modal-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.modal-banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
}

.modal-banner-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  color: #FFFFFF;
}

.modal-banner-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.badge-pill-light {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.modal-restaurant-title {
  font-size: 1.85rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.modal-restaurant-zone {
  font-size: 0.95rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Modal Tabs Navigation (Sticky at Top) */
.modal-tabs-nav {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  padding: 0 0.8rem;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  gap: 0.25rem;
}

.modal-tabs-nav::-webkit-scrollbar {
  display: none;
}

.modal-tab-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.85rem 0.4rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.modal-tab-btn:hover {
  color: var(--primary);
  background: var(--bg-card-subtle);
}

.modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--bg-card-subtle);
}

/* Modal Body / Tab Panes */
.modal-body {
  padding: 1.6rem 1.8rem 2.5rem;
  overflow: visible;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-pane.active {
  display: block;
}

/* Tab 1: Resumen & Ubicación */
.tab-section-block {
  margin-bottom: 1.8rem;
}

.section-subtitle {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-main);
}

.section-subtitle svg {
  color: var(--primary);
}

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

.info-mini-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.info-mini-card .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.info-mini-card .value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.info-mini-card .sub-value {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.location-action-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.location-details-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.location-address {
  font-weight: 700;
  font-size: 1.05rem;
}

.location-neighborhood {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.location-actions-btns {
  display: flex;
  gap: 0.6rem;
}

.btn-maps-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-maps-action:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-maps-action.highlight {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-maps-action.highlight:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   VIDEO REVIEW SECTION (PILOTO OFICIAL)
   ========================================================================== */
.video-review-block {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.8rem;
}

.video-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.video-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.video-badge-tag svg {
  flex-shrink: 0;
}

.video-channel-credit {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.video-channel-credit strong {
  color: var(--text-main);
}

.video-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.video-section-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.video-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed-container.video-reel-portrait {
  max-width: 360px;
  margin: 0 auto;
  padding-bottom: 125%; /* Ratio optimizado para Reels / Facebook Video Player */
}

@media (max-width: 480px) {
  .video-embed-container.video-reel-portrait {
    max-width: 100%;
    padding-bottom: 130%;
  }
}

.btn-video-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1877F2;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  background: rgba(24, 119, 242, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-video-direct-link:hover {
  background: rgba(24, 119, 242, 0.16);
  color: #145dbf;
  transform: translateY(-1px);
}

.video-disclaimer-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  background: var(--bg-card);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.video-disclaimer-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary);
}

/* Tab 2: Horarios Específicos */
.schedule-alert-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--accent-green-light);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .schedule-alert-box {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
}

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

.schedule-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.schedule-row-item strong {
  color: var(--text-main);
}

.schedule-row-item span.time-badge {
  background: var(--bg-card);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
}

/* Tab 3: Condiciones (LA LETRA PEQUEÑA SIN SORPRESAS) */
.conditions-notice {
  background: var(--secondary-light);
  color: #92400E;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

[data-theme="dark"] .conditions-notice {
  background: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
}

.conditions-list-styled {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.condition-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card-subtle);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  border-left: 4px solid var(--secondary);
}

.condition-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tab 4: Costos & Precios Desglosados */
.cost-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cost-breakdown-table th,
.cost-breakdown-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.cost-breakdown-table th {
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.cost-breakdown-table td.price-val {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
  text-align: right;
}

.cost-features-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cost-feature-chip {
  background: var(--accent-green-light);
  color: #065F46;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .cost-feature-chip {
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
}

/* Tab 5: Ficha Oficial Google Maps & Reseñas Reales */
.google-reviews-hub-card {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(52, 168, 83, 0.04));
  border: 1.5px solid rgba(66, 133, 244, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.google-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.google-hub-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.google-hub-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
}

.google-hub-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.google-hub-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E6F4EA;
  color: #137333;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #CEEAD6;
}

[data-theme="dark"] .google-hub-verified-pill {
  background: rgba(19, 115, 51, 0.25);
  color: #81C995;
  border-color: rgba(129, 201, 149, 0.3);
}

.google-hub-score-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  background: var(--bg-card);
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.google-hub-score {
  font-size: 3.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1;
}

.google-hub-stars-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-stars {
  font-size: 1.4rem;
  color: #FBBC04;
  letter-spacing: 2px;
}

.google-hub-note {
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.google-transparency-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.03);
  border-left: 3.5px solid #4285F4;
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .google-transparency-notice {
  background: rgba(255, 255, 255, 0.03);
}

.google-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-google-primary {
  flex: 1 1 240px;
  background: #1A73E8;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
  text-decoration: none;
}

.btn-google-primary:hover {
  background: #1557B0;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
}

.btn-google-secondary {
  background: var(--bg-card);
  color: var(--text-main) !important;
  border: 1px solid var(--border-medium);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-google-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: #1A73E8;
  color: #1A73E8 !important;
}

/* Real Google Maps Reviews Section & Cards */
.google-reviews-section-block {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.google-reviews-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.google-reviews-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text-main);
}

.google-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #E8F0FE;
  color: #1967D2;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .google-verified-tag {
  background: rgba(66, 133, 244, 0.18);
  color: #8AB4F8;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.google-review-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-review-bubble:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.google-review-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.google-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.google-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.google-user-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.google-user-guide {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.google-stars-date-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.google-stars-mini {
  color: #FBBC04;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.google-review-date {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.google-review-body {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
  margin: 0;
}

/* Community Tips Section */
.community-tips-section {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.community-tips-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.community-tip-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.review-avatar-text {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.add-review-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}

.review-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.input-styled {
  width: 100%;
  padding: 0.7rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.input-styled:focus {
  border-color: var(--primary);
  outline: none;
}

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

.btn-submit-review {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-submit-review:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Reviews List */
.reviews-list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.review-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.review-comment-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
/* ==========================================================================
   ROULETTE / RANDOMIZER MODAL (EDITORIAL STYLE)
   ========================================================================== */
.roulette-container {
  text-align: center;
  padding: 2.2rem 1.5rem;
}

.roulette-wheel-box {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  border: 2px dashed var(--border-light);
  margin: 0 auto 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.roulette-wheel-box.spinning {
  animation: spinWheel 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.roulette-result-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  max-width: 440px;
  margin: 1.5rem auto 0;
  display: none;
  animation: fadeIn 0.3s ease;
}

.btn-spin-action {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-spin-action:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ==========================================================================
   SUGGEST RESTAURANT MODAL (COMMUNITY CONTRIBUTE)
   ========================================================================== */
.suggest-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

/* ==========================================================================
   FAVORITES DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.drawer-overlay.open .drawer-panel {
  transform: translateX(0);
}

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

.drawer-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.favorite-mini-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  transition: transform var(--transition-fast);
}

.favorite-mini-item:hover {
  transform: translateY(-2px);
}

.favorite-mini-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.favorite-mini-details {
  flex: 1;
}

.favorite-mini-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.favorite-mini-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-remove-fav {
  color: #94A3B8;
  padding: 0.4rem;
  border-radius: 50%;
  transition: color var(--transition-fast);
}

.btn-remove-fav:hover {
  color: #EF4444;
}

/* ==========================================================================
   SEO EDITORIAL GUIDE & FAQS
   ========================================================================== */
.seo-guide-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 1.25rem 2.8rem;
}

.seo-guide-container {
  max-width: 1320px;
  margin: 0 auto;
}

.seo-guide-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.seo-guide-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.seo-guide-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.seo-guide-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.seo-faq-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.seo-faq-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.seo-faq-q {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.seo-faq-q::before {
  content: "Q.";
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.seo-faq-a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.seo-faq-a strong {
  color: var(--text-main);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 1.5rem 2rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 360px;
}

.footer-col h5 {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-bounce);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@keyframes spinWheel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(1440deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .review-inputs-grid,
  .suggest-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE & TOUCH ENHANCEMENTS (EDITORIAL NATIVE-APP RESPONSIVE UX)
   ========================================================================== */
@media (max-width: 640px) {
  /* Top Navigation Bar */
  .header-nav {
    padding: 0.6rem 0.85rem;
  }

  .nav-container {
    gap: 0.5rem;
  }

  .brand-group {
    gap: 0.45rem;
  }

  .brand-logo-img {
    height: 28px;
    width: auto;
  }

  .brand-text .brand-title {
    font-size: 0.98rem;
  }

  .city-btn-name {
    display: none;
  }

  .city-selector-btn {
    padding: 0.28rem 0.48rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .city-dropdown-menu {
    left: auto;
    right: 0;
    width: min(300px, 92vw);
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .btn-icon {
    width: 34px;
    height: 34px;
  }

  .btn-action-primary {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.25rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 0.85rem 0.85rem 0.65rem;
  }

  .city-announcement-pill {
    max-width: 100%;
    padding: 0.32rem 0.7rem;
    margin-bottom: 0.65rem;
    justify-content: center;
  }

  .announcement-text {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .announcement-link {
    display: none;
  }

  .hero-pill-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.45rem;
  }

  .hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .hero-subtitle {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  /* Search & Filter Bar */
  .search-bar-wrapper {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.55rem;
    gap: 0.35rem;
  }
  
  .search-input-box {
    width: 100%;
    padding: 0.35rem 0.5rem;
  }

  .search-divider {
    display: none;
  }
  
  .zone-selector-box {
    width: 100%;
    border-top: 1px solid var(--border-light);
    padding: 0.45rem 0.5rem;
    justify-content: space-between;
  }

  .zone-selector-box select {
    flex: 1;
    font-size: 0.82rem;
  }
  
  .btn-search-trigger {
    width: 100%;
    justify-content: center;
    padding: 0.6rem;
    font-size: 0.88rem;
  }

  .hero-stats {
    gap: 0.35rem;
    font-size: 0.72rem;
    margin-top: 0.55rem;
  }

  .hero-stats span:nth-child(even) {
    opacity: 0.4;
  }

  /* Categories Slider (Native Horizontal Scroll) */
  .categories-container {
    padding: 0.45rem 0.85rem;
    overflow: hidden;
  }

  .categories-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 0.45rem;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
  }

  .categories-scroll::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    scroll-snap-align: start;
    flex-shrink: 0 !important;
    padding: 0.4rem 0.88rem;
    font-size: 0.82rem;
  }

  /* Controls Bar & Layout */
  .controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 0 0.85rem 0.65rem;
  }

  .active-filters-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .results-count {
    font-size: 0.88rem;
  }

  .controls-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .sort-select-wrapper {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }

  .sort-select-wrapper select {
    width: 100%;
    font-size: 0.82rem;
  }

  .btn-roulette-trigger {
    justify-content: center;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .view-toggle-group {
    width: 100%;
    justify-content: center;
  }

  .btn-view-toggle {
    flex: 1;
    justify-content: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }

  /* Restaurants Grid */
  .restaurants-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 0 0.85rem 2.5rem;
  }

  .restaurant-card {
    border-radius: var(--radius-md);
  }

  .card-image-wrapper {
    height: 195px;
  }

  .card-content {
    padding: 0.95rem;
  }

  .card-header-row .restaurant-name {
    font-size: 1.18rem;
  }

  .card-highlights {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .card-footer {
    gap: 0.6rem;
  }

  .card-price-value {
    font-size: 1.15rem;
  }

  .btn-open-details {
    padding: 0.55rem 1.05rem;
    font-size: 0.85rem;
  }

  /* Restaurant Detail Modal (iOS / Android Bottom Sheet) */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-sheet {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 93vh !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
  }

  .modal-sheet::before {
    content: '';
    display: block;
    width: 44px;
    height: 5px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 35;
  }

  .modal-banner {
    height: 185px;
  }

  .modal-banner-caption {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .modal-restaurant-title {
    font-size: 1.42rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .modal-restaurant-zone {
    font-size: 0.86rem;
  }

  /* Sticky Close Button Bug Fix: Elevated and Positioned without obscuring tabs */
  .modal-close-btn {
    position: sticky !important;
    top: 10px !important;
    margin-right: 10px !important;
    margin-bottom: -38px !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 40 !important;
    background: rgba(15, 23, 42, 0.82) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }

  /* Tabs Nav: Guaranteed clearance for sticky close button on the right */
  .modal-tabs-nav {
    padding-right: 76px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    gap: 0.2rem;
    padding-left: 0.65rem;
    scrollbar-width: none;
  }

  .modal-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .modal-tabs-nav::after {
    content: '';
    display: block;
    flex: 0 0 65px;
    width: 65px;
    min-width: 65px;
  }

  .modal-tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 0.75rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .modal-body {
    padding: 1.15rem 1rem 2.5rem;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .location-action-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  .location-actions-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .btn-maps-action {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }

  .video-review-block {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .video-section-title {
    font-size: 0.98rem;
  }

  .btn-spin-action {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* Extra Compact Screens (iPhone SE, smaller mobile viewports <= 420px) */
@media (max-width: 420px) {
  .btn-suggest-text {
    display: none;
  }

  .btn-action-primary {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
  }

  .brand-text .brand-title {
    font-size: 0.92rem;
  }

  .city-badge-chip {
    display: none;
  }

  .city-selector-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .modal-restaurant-title {
    font-size: 1.28rem;
  }

  .btn-roulette-trigger {
    font-size: 0.75rem;
    padding: 0.45rem 0.35rem;
  }
}


