/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colores principales */
  --blue:      #0B00A8;
  --blue-dark: #07007A;
  --blue-mid:  #1500D4;
  --white:     #F5F5F5;
  --black:     #111111;
  --gray:      #EAEAEA;
  --gray-mid:  #CFCFCF;
  --lime:      #D9FF66;
  --red:       #FF3B30;

  /* Tipografía */
  --font-sans: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Espaciado */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;

  /* Radios */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-full: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(11,0,168,.10);
  --shadow-md: 0 4px 20px rgba(11,0,168,.15);
  --shadow-lg: 0 8px 40px rgba(11,0,168,.20);

  /* Transiciones */
  --ease: cubic-bezier(.25,.8,.25,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);

  /* Dimensiones Desktop */
  --sidebar-w: 280px;
  --status-h: 44px;
}

html, body {
  height: 100%;
  width: 100%;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button {
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  background: none;
}

input {
  font-family: var(--font-sans);
}

/* ─────────────────────────────────────────
   SPLASH SCREEN (PANTALLA DE CARGA)
───────────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.splash.splash--out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridDrift 12s linear infinite;
}

@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.splash__content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: var(--sp-xl);
}

.splash__eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .7;
  display: block;
  margin-bottom: var(--sp-md);
  animation: fadeUp .6s var(--ease) .1s both;
}

.splash__title {
  font-size: 96px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.splash__title-line {
  display: block;
  animation: fadeUp .5s var(--ease) .2s both;
}

.splash__title-line--accent {
  color: var(--lime);
  animation-delay: .3s;
}

.splash__sub {
  font-size: 16px;
  letter-spacing: .08em;
  opacity: .6;
  margin-top: var(--sp-md);
  text-transform: uppercase;
  animation: fadeUp .5s var(--ease) .4s both;
}

.splash__loader {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: var(--r-full);
  margin: var(--sp-xl) auto 0;
  overflow: hidden;
  animation: fadeUp .5s var(--ease) .5s both;
}

.splash__loader-bar {
  height: 100%;
  background: var(--lime);
  border-radius: var(--r-full);
  width: 0;
  animation: load 1.8s var(--ease) .6s forwards;
}

@keyframes load {
  0%   { width: 0; }
  60%  { width: 70%; }
  100% { width: 100%; }
}

.splash__year {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 160px;
  font-weight: 900;
  opacity: .04;
  letter-spacing: -6px;
  pointer-events: none;
  font-family: var(--font-mono);
}

.splash__sticker {
  position: absolute;
  animation: floatSticker 3s ease-in-out infinite alternate;
}

.splash__sticker--circle {
  font-size: 64px;
  bottom: 15%;
  left: 15%;
  animation-delay: .2s;
}

.splash__sticker--tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--blue);
  background: var(--lime);
  padding: 8px 16px;
  border-radius: var(--r-full);
  top: 15%;
  right: 15%;
  transform: rotate(12deg);
  animation-delay: .4s;
}

@keyframes floatSticker {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-16px) rotate(6deg); }
}

/* ─────────────────────────────────────────
   APP LAYOUT (DESKTOP ESTRUCTURA DE TABLA)
───────────────────────────────────────── */
.app {
  display: block;
  width: 100%;
  height: 100vh;
  position: relative;
  background: var(--white);
}

.app__body {
  display: table;
  width: 100%;
  height: 100vh;
  table-layout: fixed;
}

.app__cell {
  display: table-cell;
  vertical-align: top;
}

/* ─── SIDEBAR FIJA (IZQUIERDA) ─── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--black);
  color: var(--white);
  padding: var(--sp-lg);
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.1);
  height: 100vh;
}

.sidebar__brand {
  margin-bottom: var(--sp-2xl);
  padding-top: var(--sp-sm);
}

.sidebar__logo-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gray-mid);
  opacity: 0.7;
}

.sidebar__logo-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-top: var(--sp-xs);
}

.sidebar__logo-title span {
  color: var(--lime);
}

/* Perfil de Usuario */
.sidebar__profile {
  display: table;
  width: 100%;
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-xl);
  border: 1px solid rgba(255,255,255,0.05);
}

.sidebar__avatar-cell {
  display: table-cell;
  vertical-align: middle;
  width: 44px;
}

.sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: var(--lime);
  font-size: 18px;
  display: block;
  text-align: center;
  line-height: 44px;
  font-weight: bold;
  position: relative;
  transition: transform .2s var(--ease-bounce);
}

.sidebar__avatar:active { transform: scale(0.95); }

.sidebar__info-cell {
  display: table-cell;
  vertical-align: middle;
  padding-left: 12px;
}

.sidebar__user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.sidebar__user-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-mid);
  opacity: 0.6;
}

/* Navegación Vertical */
.sidebar__nav {
  display: block;
}

.nav-item {
  display: table;
  width: 100%;
  padding: 14px 16px;
  color: var(--gray-mid);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-sm);
  text-align: left;
  transition: all .2s var(--ease);
}

.nav-item__icon-cell {
  display: table-cell;
  vertical-align: middle;
  width: 24px;
  color: inherit;
}

.nav-item__text-cell {
  display: table-cell;
  vertical-align: middle;
  padding-left: 12px;
}

.nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.nav-item--active {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.sidebar__footer {
  position: absolute;
  bottom: var(--sp-lg);
  left: var(--sp-lg);
  right: var(--sp-lg);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-mid);
  opacity: 0.4;
}

/* ─── CONTENEDOR CENTRAL ─── */
.main-wrapper {
  height: 100vh;
  position: relative;
}

.main-wrapper__table {
  display: table;
  width: 100%;
  height: 100vh;
  table-layout: fixed;
}

/* Vistas de contenido */
.view-container {
  display: table-cell;
  vertical-align: top;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  background: var(--white);
}

.view {
  display: none;
  padding: var(--sp-xl);
  height: 100%;
  overflow-y: auto;
}

.view--active {
  display: block;
}

/* Top Bar Falsa de Datos */
.top-bar {
  display: table;
  width: 100%;
  height: var(--status-h);
  border-bottom: 1px solid var(--gray);
  padding: 0 var(--sp-xl);
  background: var(--white);
}

.top-bar__left {
  display: table-cell;
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-mid);
}

.top-bar__right {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

/* ─────────────────────────────────────────
   HOME COMPONENTES EXPANDIDOS
───────────────────────────────────────── */
.home-header {
  margin-bottom: var(--sp-xl);
}

.home-header__greeting {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: var(--sp-lg);
}

/* Fila de Buscador y Filtros juntos */
.controls-row {
  display: table;
  width: 100%;
  margin-bottom: var(--sp-lg);
}

.controls-row__search {
  display: table-cell;
  vertical-align: middle;
  width: 40%;
}

.controls-row__filters {
  display: table-cell;
  vertical-align: middle;
  width: 60%;
  padding-left: var(--sp-md);
}

/* Buscador */
.search-bar {
  display: table;
  width: 100%;
  background: var(--gray);
  border-radius: var(--r-md);
  padding: 0 var(--sp-md);
  height: 48px;
  border: 2px solid transparent;
  transition: all .2s;
}

.search-bar__icon-cell, .search-bar__clear-cell {
  display: table-cell;
  vertical-align: middle;
  width: 24px;
}

.search-bar__icon {
  color: var(--gray-mid);
}

.search-bar__input-cell {
  display: table-cell;
  vertical-align: middle;
}

.search-bar__input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  outline: none;
}

.search-bar__clear {
  font-size: 20px;
  color: var(--gray-mid);
  line-height: 1;
}

/* Chips */
.filter-chips {
  display: block;
  white-space: nowrap;
}

.chip {
  display: inline-block;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--gray-mid);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  margin-right: var(--sp-xs);
  transition: all .2s var(--ease);
}

.chip--active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* CAROUSEL HORIZONTAL DE PROMOS */
.promos-track {
  display: block;
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.promo-card {
  display: inline-block;
  width: 300px;
  margin-right: var(--sp-md);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  white-space: normal;
  vertical-align: top;
  cursor: pointer;
  transition: transform .25s var(--ease-bounce);
}

.promo-card:hover { transform: translateY(-4px); }

.promo-card__bg {
  position: absolute;
  inset: 0;
  background: var(--blue);
}

.promo-card__pattern {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: repeating-conic-gradient(#fff 0% 25%, transparent 0% 50%);
  background-size: 20px 20px;
}

.promo-card__content {
  position: relative;
  padding: var(--sp-lg);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(217,255,102,.15);
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: var(--sp-sm);
}

.promo-card__name {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
  line-height: 1.2;
}

.promo-card__local {
  font-size: 12px;
  color: rgba(245,245,245,.6);
  font-family: var(--font-mono);
  display: block;
  margin-top: var(--sp-xs);
}

.promo-card__price {
  font-size: 28px;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -1px;
  margin-top: var(--sp-md);
}

.promo-card--lime .promo-card__bg { background: var(--lime); }
.promo-card--lime .promo-card__tag { color: var(--blue); background: rgba(11,0,168,.12); }
.promo-card--lime .promo-card__name { color: var(--black); }
.promo-card--lime .promo-card__local { color: rgba(17,17,17,.5); }
.promo-card--lime .promo-card__price { color: var(--blue); }

.promo-card--black .promo-card__bg { background: var(--black); }
.promo-card--black .promo-card__name { color: var(--white); }
.promo-card--black .promo-card__price { color: var(--lime); }

/* SECCIONES */
.section-header {
  display: table;
  width: 100%;
  margin-bottom: var(--sp-md);
}

.section-title {
  display: table-cell;
  vertical-align: middle;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.section-header__badge-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--lime);
}

.section-badge--hot { background: var(--red); color: #fff; }

.section-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-mid);
  margin-left: var(--sp-sm);
}

/* GRILLA DE LOCALES EN DESKTOP (3 COLUMNAS RE-CALCULADAS) */
.locales-grid {
  display: block;
  letter-spacing: -0.31em; 
}

.local-card {
  display: inline-block;
  width: 31.33%;
  margin-right: 2%;
  margin-bottom: var(--sp-xl);
  letter-spacing: normal;
  vertical-align: top;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray);
  cursor: pointer;
  transition: all .25s var(--ease);
}

.local-card:nth-child(3n) {
  margin-right: 0;
}

.local-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-mid);
}

.local-card__photo {
  height: 180px;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}

.local-card__photo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}

.local-card__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(17,17,17,.7));
}

.local-card__photo-number {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(245,245,245,.6);
}

.local-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(245,245,245,.9);
  border-radius: var(--r-full);
  font-size: 18px;
  color: var(--gray-mid);
  line-height: 36px;
  text-align: center;
  z-index: 2;
}

.local-card__fav--active { color: #FFB800; }

.local-card__photo-rating {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.local-card__body {
  padding: var(--sp-md);
}

.local-card__top {
  display: table;
  width: 100%;
  margin-bottom: var(--sp-xs);
}

.local-card__name {
  display: table-cell;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.2;
}

.local-card__price {
  display: table-cell;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.local-card__location {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: var(--sp-sm);
}

.local-card__tags {
  margin-bottom: var(--sp-md);
  height: 24px;
  overflow: hidden;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--gray);
  color: var(--black);
  margin-right: 4px;
  text-transform: uppercase;
}

.tag--blue   { background: rgba(11,0,168,.1); color: var(--blue); }
.tag--lime   { background: rgba(217,255,102,.5); color: #556600; }
.tag--green  { background: rgba(52,199,89,.12); color: #1a6e2e; }
.tag--yellow { background: rgba(255,204,0,.2); color: #7a5c00; }

.local-card__cta {
  width: 100%;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.local-card__cta:hover { background: var(--blue-dark); }

.no-results {
  text-align: center;
  padding: var(--sp-2xl);
}

.no-results__emoji { font-size: 64px; display: block; margin-bottom: var(--sp-md); }

/* ─── PANEL LATERAL DERECHO FIJO (SIDE PANEL INFOPANEL) ─── */
.side-panel {
  width: 400px;
  background: var(--white);
  border-left: 1px solid var(--gray);
  height: 100vh;
  position: relative;
}

.side-panel__inner {
  height: 100%;
  overflow-y: auto;
  padding: var(--sp-lg);
}

.side-panel__title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: var(--sp-md);
}

/* MINI MAPA RADAR */
.mini-map {
  height: 240px;
  border-radius: var(--r-lg);
  background: #1a1a2e;
  overflow: hidden;
  position: relative;
  border: 1.5px solid var(--gray);
  margin-bottom: var(--sp-lg);
}

.mini-map__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d0d2b 0%, #1a1a3e 50%, #0d0d2b 100%);
}

.mini-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,0,168,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,0,168,.3) 1px, transparent 1px);
  background-size: 30px 30px;
}

.mini-map__label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245,245,245,.5);
}

.mini-map__you {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 11px;
  color: rgba(245,245,245,.6);
  font-family: var(--font-mono);
}

.mini-map__you-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34C759;
  margin-right: 4px;
  vertical-align: middle;
}

.mini-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform .2s var(--ease-bounce);
}

.mini-pin:hover { transform: translate(-50%, -50%) scale(1.6); }
.mini-pin--accent { background: var(--lime); }

/* CARTEL EDITORIAL */
.editorial-banner {
  border-radius: var(--r-lg);
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.editorial-banner__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217,255,102,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,255,102,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.editorial-banner__inner {
  position: relative;
}

.editorial-banner__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
  margin-bottom: var(--sp-sm);
}

.editorial-banner__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
}

/* VISTA: PLANO COMPLETO INTERACTIVO */
.full-map {
  height: calc(100vh - 160px);
  background: #1a1a2e;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 2px solid var(--blue);
}

.full-map__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d0d2b, #1a1a3e, #0d0d2b);
}

.full-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,0,168,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,0,168,.25) 1px, transparent 1px);
  background-size: 36px 36px;
}

.map-building {
  position: absolute;
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.map-building--main { width: 140px; height: 90px; top: 25%; left: 42%; background: rgba(11,0,168,.6); color: #fff; border: 1px solid var(--blue); }
.map-building--sec { width: 100px; height: 70px; top: 30%; left: 15%; background: rgba(11,0,168,.3); color: var(--gray-mid); border: 1px solid rgba(11,0,168,.4); }
.map-building--ter { width: 100px; height: 70px; top: 30%; right: 15%; background: rgba(11,0,168,.3); color: var(--gray-mid); border: 1px solid rgba(11,0,168,.4); }

.map-street { position: absolute; background: rgba(245,245,245,.06); }
.map-street--h { height: 8px; width: 100%; top: 60%; left: 0; }
.map-street--v { width: 8px; height: 100%; left: 38%; top: 0; }

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  cursor: pointer;
  z-index: 3;
  transition: transform .2s var(--ease-bounce);
}

.map-pin:hover { transform: translate(-50%, -55%) scale(1.1); }

.map-pin__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  display: inline-block;
  box-shadow: 0 0 12px var(--blue);
}

.map-pin__dot--accent { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.map-pin__dot--green { background: #34C759; box-shadow: 0 0 12px #34C759; }

.map-pin__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  background: rgba(13,13,43,.9);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  white-space: nowrap;
}

.map-you {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.map-you__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #34C759;
  border: 3px solid #fff;
  box-shadow: 0 0 14px #34C759;
}

.map-legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(13,13,43,.9);
  padding: 10px 16px;
  border-radius: var(--r-md);
  display: flex;
  gap: 16px;
}

.map-legend__item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245,245,245,.8);
}

.map-legend__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

/* VISTA PROMOS COMPLETA */
.promos-list {
  display: block;
}

.promo-full-card {
  display: inline-block;
  width: 48%;
  margin-right: 4%;
  margin-bottom: var(--sp-md);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--blue);
  cursor: pointer;
  vertical-align: top;
  transition: transform .25s var(--ease);
}

.promo-full-card:nth-child(2n) { margin-right: 0; }

.promo-full-card:hover { transform: translateY(-2px); }

.promo-full-card__pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: repeating-conic-gradient(#fff 0% 25%, transparent 0% 50%);
  background-size: 24px 24px;
}

.promo-full-card__body {
  position: relative;
  padding: var(--sp-lg);
  display: table;
  width: 100%;
}

.promo-full-card__left { display: table-cell; vertical-align: bottom; }
.promo-full-card__right { display: table-cell; vertical-align: bottom; text-align: right; }

.promo-full-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--sp-sm);
  display: block;
}

.promo-full-card__name {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
}

.promo-full-card__local {
  font-size: 13px;
  color: rgba(245,245,245,.6);
  font-family: var(--font-mono);
  margin-top: 4px;
  display: block;
}

.promo-full-card__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -2px;
}

.promo-full-card__desc {
  font-size: 12px;
  color: rgba(245,245,245,.5);
  font-family: var(--font-mono);
}

.promo-full-card--lime { background: var(--lime); }
.promo-full-card--lime .promo-full-card__tag  { color: var(--blue); }
.promo-full-card--lime .promo-full-card__name { color: var(--black); }
.promo-full-card--lime .promo-full-card__local { color: rgba(17,17,17,.5); }
.promo-full-card--lime .promo-full-card__price { color: var(--blue); }
.promo-full-card--lime .promo-full-card__desc { color: rgba(17,17,17,.4); }

.promo-full-card--black { background: var(--black); }

/* ─────────────────────────────────────────
   MODAL DE DETALLE (PANEL DESLIZANTE DERECHO)
───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,.4);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: none;
}

.modal-overlay--visible {
  display: block;
}

.modal {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}

.modal-overlay--visible .modal {
  transform: translateX(0);
}

.modal__hero {
  height: 240px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-lg);
}

.modal__hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: repeating-conic-gradient(rgba(255,255,255,.6) 0% 25%, transparent 0% 50%);
  background-size: 28px 28px;
}

.modal__close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: rgba(245,245,245,.2);
  color: var(--white);
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  z-index: 10;
}

.modal__fav-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: rgba(245,245,245,.2);
  color: #fff;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
}

.modal__fav-btn--active { color: #FFB800; background: rgba(255,184,0,.2); }

.modal__category {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  display: block;
  margin-bottom: var(--sp-xs);
}

.modal__name {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
}

.modal__meta {
  padding: var(--sp-lg) var(--sp-lg) 0;
}

.modal__meta-item {
  display: inline-block;
  margin-right: var(--sp-lg);
  font-size: 13px;
  color: var(--black);
  font-family: var(--font-mono);
}

.modal__stars { color: #FFB800; }

.modal__tags { padding: var(--sp-md) var(--sp-lg) 0; }

.modal__desc {
  padding: var(--sp-md) var(--sp-lg) 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.modal__section { padding: var(--sp-lg) var(--sp-lg) 0; }
.modal__section-title { font-size: 18px; font-weight: 800; margin-bottom: var(--sp-md); }

.menu-list { display: block; }

.menu-item {
  background: var(--gray);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: var(--sp-sm);
  display: table;
  width: 100%;
}

.menu-item__left { display: table-cell; vertical-align: top; }
.menu-item__price-cell { display: table-cell; vertical-align: top; text-align: right; width: 80px; }

.menu-item__name { font-size: 15px; font-weight: 700; margin-bottom: var(--sp-xs); }
.menu-item__desc { font-size: 13px; color: #666; line-height: 1.4; }
.menu-item__price { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--blue); }

.product-list { display: block; letter-spacing: -0.31em; }

.product-item {
  display: inline-block;
  width: 48%;
  margin-right: 4%;
  margin-bottom: var(--sp-sm);
  background: var(--black);
  border-radius: var(--r-md);
  padding: 14px;
  letter-spacing: normal;
  vertical-align: top;
}

.product-item:nth-child(2n) { margin-right: 0; }
.product-item__name { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.product-item__price { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--lime); }

.hero-number {
  font-family: var(--font-mono);
  font-size: 140px;
  font-weight: 700;
  position: absolute;
  right: 10px;
  bottom: -30px;
  opacity: .08;
  color: var(--white);
  letter-spacing: -8px;
  pointer-events: none;
}
