/* ══════════════════════════════════════════════════════
   FADU COME — style.css
   Diseño editorial universitario · Mobile-first
   Paleta: #0B00A8 / #F5F5F5 / #111111 / #D9FF66
══════════════════════════════════════════════════════ */

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

/* VN13: link oculto en mobile; se muestra solo en desktop (ver media query) */
.vn13-link { display: none; }

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

  /* Superficies y texto secundario */
  --surface:        #FFFFFF;   /* blanco puro: tarjetas y botones */
  --surface-soft:   #F3F4F6;   /* gris muy claro: inputs y chips   */
  --border-soft:    #E6E6E6;   /* bordes sutiles                   */
  --text-secondary: #666666;   /* texto gris secundario           */
  --text-muted:     #8A8A8A;   /* texto gris claro (labels, hints) */

  /* 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);

  /* Nav height */
  --nav-h: 72px;
  --status-h: 44px;
  --brand-h: 38px;

  /* ── Ajuste del marco de celular (solo desktop) ──
     --marco-x: corré el contenido a izq/der.  0px = centrado.
                Valores positivos (ej. 8px) lo mueven a la DERECHA,
                negativos (ej. -8px) a la IZQUIERDA.
     --marco-w: ancho del contenido dentro del marco.
                Subilo/bajalo si ves una líneita blanca a los costados. */
  --marco-x: 2px;
  --marco-w: 430px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  overflow: hidden;
  height: 100dvh;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

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

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

/* ─────────────────────────────────────────
   SPLASH SCREEN
───────────────────────────────────────── */
.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;
}

/* Fondo grid checker */
.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: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .7;
  display: block;
  margin-bottom: var(--sp-md);
  animation: fadeUp .6s var(--ease) .1s both;
}

.splash__logo {
  display: block;
  width: 80%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  margin: 10px auto;
  animation: fadeUp .5s var(--ease) .2s both;
}

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

.splash__loader {
  margin: var(--sp-xl) auto 0;
  display: flex;
  justify-content: center;
  animation: fadeUp .5s var(--ease) .5s both;
}

.splash__dona { width: 88px; height: 88px; display: block; }

.splash__bite {
  transform-box: fill-box;
  transform-origin: center;
  animation-duration: 2.4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes spEat1 { 0%,8%  { transform: scale(0); } 12%,100% { transform: scale(1); } }
@keyframes spEat2 { 0%,19% { transform: scale(0); } 23%,100% { transform: scale(1); } }
@keyframes spEat3 { 0%,30% { transform: scale(0); } 34%,100% { transform: scale(1); } }
@keyframes spEat4 { 0%,41% { transform: scale(0); } 45%,100% { transform: scale(1); } }
@keyframes spEat5 { 0%,52% { transform: scale(0); } 56%,100% { transform: scale(1); } }
@keyframes spEat6 { 0%,63% { transform: scale(0); } 67%,100% { transform: scale(1); } }
@keyframes spEat7 { 0%,74% { transform: scale(0); } 78%,100% { transform: scale(1); } }
@keyframes spEat8 { 0%,92% { transform: scale(0); } 96%,100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .splash__bite { animation: none; transform: scale(0); } }

.splash__year {
  display: block;
  margin-top: var(--sp-xl);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .2em;
  opacity: .45;
  animation: fadeUp .5s var(--ease) .6s both;
}

/* ─────────────────────────────────────────
   APP SHELL
───────────────────────────────────────── */
.app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* ─── STATUS BAR ─── */
.status-bar {
  height: var(--status-h);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.app-brand {
  position: absolute;
  top: var(--status-h);
  left: 0;
  right: 0;
  height: var(--brand-h);
  z-index: 6;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.app-brand__logo {
  height: 20px;
  max-height: 20px;
  max-width: 82%;
  width: auto;
  object-fit: contain;
  display: block;
}

.status-bar__time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.status-bar__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--black);
}

/* ─── VIEWS ─── */
.view {
  position: absolute;
  inset: calc(var(--status-h) + var(--brand-h)) 0 var(--nav-h) 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  scroll-behavior: smooth;
}

.view--active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   HOME HEADER
───────────────────────────────────────── */
.home-header {
  padding: var(--sp-md) var(--sp-md) 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--gray);
}

.home-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.home-header__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.home-header__greeting {
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--black);
  max-width: 260px;
}

.home-header__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: var(--lime);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform .2s var(--ease-bounce), background .2s;
  margin-top: 4px;
}

.home-header__avatar:active {
  transform: scale(.92);
}

/* ─── SEARCH BAR ─── */
.search-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--gray);
  border-radius: var(--r-lg);
  padding: 0 var(--sp-md);
  height: 46px;
  margin-bottom: var(--sp-md);
  transition: background .2s, box-shadow .2s;
}

.search-bar:focus-within {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.search-bar__icon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color .2s;
}

.search-bar:focus-within .search-bar__icon {
  color: var(--blue);
}

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

.search-bar__input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-bar__clear {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
  transition: color .2s;
}

.search-bar__clear:hover { color: var(--black); }

/* ─── FILTER CHIPS ─── */
.filter-chips {
  display: flex;
  gap: var(--sp-sm);
  overflow-x: auto;
  padding-bottom: var(--sp-md);
  scrollbar-width: none;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips { cursor: grab; }
.filter-chips--dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.filter-chips--dragging .chip { cursor: grabbing; }

.chip {
  flex-shrink: 0;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--gray-mid);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  white-space: nowrap;
  transition: all .2s var(--ease);
}

.chip:active { transform: scale(.95); }

.chip--active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
}

/* ─────────────────────────────────────────
   HOME SCROLL CONTENIDO
───────────────────────────────────────── */
.home-scroll {
  padding-top: var(--sp-md);
}

.section-block {
  padding: 0 var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--black);
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--lime);
  color: var(--black);
}

.section-badge--hot {
  background: #FF3B30;
  color: #fff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}

/* ─────────────────────────────────────────
   PROMO CARDS (TRACK HORIZONTAL)
───────────────────────────────────────── */
.promos-track {
  display: flex;
  gap: var(--sp-md);
  overflow-x: auto;
  padding-bottom: var(--sp-sm);
  scrollbar-width: none;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.promos-track::-webkit-scrollbar { display: none; }
.promos-track { cursor: grab; }
.promos-track--dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.promos-track--dragging .promo-card { cursor: grabbing; }

.promo-card {
  flex-shrink: 0;
  width: 300px;
  aspect-ratio: 440 / 230;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .25s var(--ease-bounce);
}

.promo-card:active { transform: scale(.97); }

.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__row {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.promo-card__content {
  flex: 1;
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-card__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.promo-card__photo {
  flex-shrink: 0;
  width: var(--foto-w, 45%);
  object-fit: cover;
  object-position: var(--foto-pos, 50% 50%);
  transform: scale(var(--foto-scale, 1));
  align-self: stretch;
}

.promo-tag__iso {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.promo-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(245,245,245,.20);
  border: 1.5px solid rgba(245,245,245,.40);
  padding: 5px 11px 5px 8px;
  border-radius: var(--r-full);
  align-self: flex-start;
}

.promo-card__name {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
  line-height: 1.15;
  margin: 7px 0 2px;
}

.promo-card__local {
  font-size: 12px;
  color: rgba(245,245,245,.6);
  font-family: var(--font-mono);
  line-height: 1.25;
}

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

.promo-card--lime .promo-card__bg { background: var(--lime); }
.promo-card--lime .promo-card__tag { background: rgba(11,0,168,.20); border-color: rgba(11,0,168,.40); color: var(--white); }
.promo-card--lime .promo-card__name { color: var(--black); }
.promo-card--lime .promo-card__local { color: rgba(17,17,17,.6); }
.promo-card--lime .promo-card__price { color: var(--blue); }

.promo-card--black .promo-card__bg { background: var(--black); }
.promo-card--black .promo-card__tag { background: rgba(217,255,102,.20); border-color: rgba(217,255,102,.40); color: var(--white); }
.promo-card--black .promo-card__name { color: var(--white); }
.promo-card--black .promo-card__price { color: var(--lime); }

/* ─────────────────────────────────────────
   EDITORIAL BANNER
───────────────────────────────────────── */
/* Boton "ver todos los locales" en el home */
.locales-more {
  width: 100%;
  margin-top: var(--sp-md);
  padding: 14px;
  background: var(--surface);
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--blue);
  transition: background .2s, transform .15s var(--ease-bounce);
}

.locales-more:active {
  background: var(--white);
  transform: scale(.99);
}

@media (hover: hover) {
  .locales-more:hover { background: var(--lime); border-color: var(--lime); }
}

.editorial-banner {
  margin: 0 var(--sp-md) var(--sp-xl);
  border-radius: var(--r-lg);
  background: var(--black);
  overflow: hidden;
  position: relative;
  min-height: 120px;
}

.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;
  padding: 24px 20px;
}

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

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

.editorial-banner__tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(217,255,102,.15);
  color: var(--lime);
}

/* ─────────────────────────────────────────
   LOCALES GRID — CARDS
───────────────────────────────────────── */
.locales-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

/* ── Card local ── */
.local-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease);
  animation: slideUp .4s var(--ease) both;
}

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

.local-card:active {
  transform: scale(.98);
  box-shadow: var(--shadow-md);
}

@media (hover: hover) {
  .local-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(11,0,168,.15);
  }
}

/* Foto */
.local-card__photo {
  height: 160px;
  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: 64px;
  transition: transform .3s var(--ease);
}

.local-card__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.local-card:active .local-card__photo-bg {
  transform: scale(1.05);
}

/* Patrón sobre foto */
.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: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(245,245,245,.6);
  letter-spacing: .1em;
}

.local-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(245,245,245,.85);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: color .2s, transform .2s var(--ease-bounce);
  z-index: 2;
}

.local-card__fav--active { color: #FFB800; }
.local-card__fav:active   { transform: scale(1.25); }

.local-card__photo-rating {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Info */
.local-card__body {
  padding: 14px 16px 16px;
}

.local-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-sm);
  margin-bottom: 6px;
}

.local-card__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.2;
}

.local-card__price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.local-card__location {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--sp-sm);
}
.local-card__payments{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:8px;
}

.local-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-md);
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--surface-soft);
  color: var(--text-secondary);
  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: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s, color .2s, transform .15s var(--ease-bounce);
}

@media (hover: hover) {
  .local-card__cta:hover {
    background: var(--blue);
    color: var(--white);
  }
}

.local-card__cta:active {
  background: var(--blue);
  color: var(--white);
  transform: scale(.98);
}

/* ─────────────────────────────────────────
   NO RESULTS
───────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: var(--sp-xl);
  animation: fadeUp .3s var(--ease) both;
}

.no-results__emoji { font-size: 48px; display: block; margin-bottom: var(--sp-md); }
.no-results__dona {
  width: 96px; height: 96px; display: block; margin: 0 auto var(--sp-md);
  color: #CDCBEB; --spr: #FFFFFF;
}
.no-results p      { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

/* ─────────────────────────────────────────
   INNER HEADER (vistas secundarias)
───────────────────────────────────────── */
.inner-header {
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  border-bottom: 1px solid var(--gray);
}

.inner-header__title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--black);
}

.inner-header__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .1em;
  display: block;
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   FULL MAP
───────────────────────────────────────── */
.full-map {
  height: calc(100dvh - var(--status-h) - var(--nav-h) - 90px);
  background: #1a1a2e;
  position: relative;
  overflow: hidden;
  margin: 16px;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(11,0,168,.3);
}

.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;
}

/* Edificios ficticios */
.map-building {
  position: absolute;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.3;
  transition: opacity .2s;
}

.map-building--main {
  width: 90px; height: 70px;
  top: 25%; left: 42%;
  background: rgba(11,0,168,.5);
  color: rgba(245,245,245,.9);
  border: 1px solid rgba(11,0,168,.8);
}

.map-building--sec {
  width: 60px; height: 55px;
  top: 30%; left: 18%;
  background: rgba(11,0,168,.25);
  color: rgba(245,245,245,.5);
  border: 1px solid rgba(11,0,168,.4);
}

.map-building--ter {
  width: 55px; height: 50px;
  top: 30%; right: 12%;
  background: rgba(11,0,168,.25);
  color: rgba(245,245,245,.5);
  border: 1px solid rgba(11,0,168,.4);
}

/* Calles ficticias */
.map-street {
  position: absolute;
  background: rgba(245,245,245,.06);
}

.map-street--h { height: 6px; border-radius: 3px; }
.map-street--v { width: 6px; border-radius: 3px; }

/* Pines del mapa */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  z-index: 3;
  transition: transform .2s var(--ease-bounce);
}

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

.map-pin__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid rgba(245,245,245,.5);
  box-shadow: 0 0 10px rgba(11,0,168,.6);
}

.map-pin__dot--accent {
  background: var(--lime);
  border-color: rgba(217,255,102,.8);
  box-shadow: 0 0 10px rgba(217,255,102,.5);
}

.map-pin__dot--green {
  background: #34C759;
  border-color: rgba(52,199,89,.8);
  box-shadow: 0 0 10px rgba(52,199,89,.5);
}

.map-pin__label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(245,245,245,.7);
  letter-spacing: .05em;
  white-space: nowrap;
  text-transform: uppercase;
  background: rgba(13,13,43,.8);
  padding: 2px 5px;
  border-radius: 3px;
}

/* Ubicación del usuario */
.map-you {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.map-you__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #34C759;
  border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(52,199,89,.8);
  position: relative;
  z-index: 2;
}

.map-you__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52,199,89,.2);
  transform: translate(-50%, -50%);
  animation: geoP2 1.5s ease-in-out infinite;
}

@keyframes geoP2 {
  0%   { transform: translate(-50%, -50%) scale(.5); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Leyenda */
.map-legend {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 12px;
  background: rgba(13,13,43,.85);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(245,245,245,.1);
}

.map-legend__item {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(245,245,245,.7);
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--blue   { background: var(--blue); }
.dot--yellow { background: var(--lime); }
.dot--green  { background: #34C759; }
.dot--you    { background: #34C759; box-shadow: 0 0 6px rgba(52,199,89,.8); }

/* ─────────────────────────────────────────
   PROMOS FULL LIST
───────────────────────────────────────── */
.promos-list {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.promo-full-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--blue);
  cursor: pointer;
  aspect-ratio: 1551 / 419;
  transition: transform .25s var(--ease-bounce);
}

.promo-full-card__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.promo-full-card:active { transform: scale(.98); }

.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__row {
  position: relative;
  display: flex;
  align-items: stretch;
}

.promo-full-card__photo {
  flex-shrink: 0;
  width: var(--foto-w, 40%);
  object-fit: cover;
  object-position: var(--foto-pos, 50% 50%);
  transform: scale(var(--foto-scale, 1));
  align-self: stretch;
}

.promo-full-card__body {
  flex: 1;
  min-width: 0;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.promo-full-card__left { flex: 1; min-width: 0; }

.promo-full-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(245,245,245,.20);
  border: 1.5px solid rgba(245,245,245,.40);
  padding: 5px 11px 5px 8px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}

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

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

.promo-full-card__right {
  text-align: right;
}

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

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

/* Variantes de color */
.promo-full-card--lime { background: var(--lime); }
.promo-full-card--lime .promo-full-card__tag  { background: rgba(11,0,168,.20); border-color: rgba(11,0,168,.40); color: var(--white); }
.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); }
.promo-full-card--black .promo-full-card__pattern { opacity: .04; }
.promo-full-card--black .promo-full-card__tag  { background: rgba(217,255,102,.20); border-color: rgba(217,255,102,.40); color: var(--white); }

/* ─────────────────────────────────────────
   BOTTOM NAVIGATION
───────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--nav-h);
  background: rgba(245,245,245,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .2s, background .2s, transform .2s var(--ease-bounce);
  flex: 1;
  font-family: var(--font-sans);
}

.nav-item:active { transform: scale(.9); }

.nav-item--active {
  color: var(--blue);
}

.nav-item svg { transition: transform .2s var(--ease-bounce); }
.nav-item--active svg { transform: scale(1.1); }

/* ─────────────────────────────────────────
   MODAL DE DETALLE
───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.modal-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(100%);
  transition: transform .4s var(--ease-bounce);
}

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

/* El detalle de local abre un poco más abajo: deja aire arriba para que
   el banner del hero no quede pegado al borde superior / notch.
   Subí o bajá este valor (más chico = más abajo) para ajustar. */
#modal {
  max-height: 85dvh;
}

.modal__handle {
  width: 40px;
  height: 4px;
  background: var(--gray-mid);
  border-radius: var(--r-full);
  margin: 12px auto 0;
}

/* En el hero con banner, el handle flota sobre la foto */
.modal__hero .modal__handle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: rgba(255,255,255,.6);
  z-index: 6;
}

/* Hero */
.modal__hero {
  height: 220px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.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;
}

/* Banner del local en el hero de la ficha */
.modal__hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  display: none;
}
.modal__hero-scrim {
  position: absolute;
  inset: 0;
  display: none;
  background: linear-gradient(to top,
    rgba(7,0,42,.92) 0%,
    rgba(7,0,42,.40) 52%,
    rgba(7,0,42,.30) 100%);
}
.modal__hero--photo .modal__hero-img,
.modal__hero--photo .modal__hero-scrim { display: block; }
.modal__hero--photo .modal__hero-pattern { display: none; }
.modal__hero--photo .hero-number { display: none; }

.modal__close {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: rgba(245,245,245,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.modal__close:hover { background: rgba(245,245,245,.25); }

.modal__fav-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: rgba(245,245,245,.15);
  backdrop-filter: blur(8px);
  color: rgba(245,245,245,.6);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s, transform .2s var(--ease-bounce);
}

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

.modal__fav-btn:active { transform: scale(1.2); }

.modal__hero-info { position: relative; }

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

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

/* Meta */
.modal__meta {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-md) 0;
  flex-wrap: wrap;
}

.modal__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.modal__meta-item--rating { color: var(--black); font-weight: 700; }

.modal__stars { color: #FFB800; letter-spacing: -1px; }

/* Tags */
.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: var(--sp-md) var(--sp-md) 0;
}

/* Desc */
.modal__desc {
  padding: var(--sp-md) var(--sp-md) 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Sections */
.modal__section {
  padding: var(--sp-lg) var(--sp-md) 0;
}

.modal__section-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: var(--sp-md);
  color: var(--black);
}

/* Menu list */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.menu-item {
  background: var(--gray);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-sm);
  animation: slideUp .3s var(--ease) both;
}

.menu-item__left { flex: 1; }

.menu-item__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}

.menu-item__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.menu-item__price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Product list */
.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.product-item {
  background: var(--black);
  border-radius: var(--r-md);
  padding: 14px;
  animation: slideUp .3s var(--ease) both;
}

.product-item__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-item__price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
}

/* ─────────────────────────────────────────
   ANIMACIONES GENERALES
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   RESPONSIVE DESKTOP (tablet+)
───────────────────────────────────────── */
@media (min-width: 430px) {
  body {
    background-color: var(--blue);
    background-image:
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
  }

  /* VN13: mismo aspecto que el watermark, pero ahora es un <a> clickeable */
  .vn13-link {
    display: block;
    position: fixed;
    right: 48px;
    bottom: 24px;
    z-index: 0;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(80px, 13vw, 240px);
    line-height: .8;
    letter-spacing: -.05em;
    color: rgba(255, 255, 255, .06);
    text-decoration: none;
    user-select: none;
    cursor: pointer;
    transition: color .25s var(--ease);
  }
  .vn13-link:hover,
  .vn13-link:focus-visible {
    color: rgba(217, 255, 102, .32); /* leve tinte lima al pasar/enfocar */
    outline: none;
  }

  .app, .bottom-nav, .splash {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .splash {
    position: fixed;
    right: auto;
    border-radius: var(--r-xl);
    top: 20px;
    bottom: 20px;
    height: auto;
  }

  .app {
    position: fixed;
    top: 0;
    bottom: 0;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,.3);
  }

  /* Login dentro del marco de teléfono (igual que .app) */
  body .login-screen {
    width: 100%;
    max-width: 430px;
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,.3);
  }

  /* El teléfono "flota" sobre el fondo (borde + sombra), aunque sea del mismo azul */
  .app, .splash, body .login-screen {
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
  }
}

/* ─────────────────────────────────────────
   MARCO DE TELÉFONO (solo desktop con alto suficiente)
───────────────────────────────────────── */
@media (min-width: 430px) and (min-height: 860px) {
  /* App, splash y login pasan a tamaño fijo de teléfono y se centran,
     para caer justo dentro del hueco del marco */
  .app,
  .splash,
  body .login-screen {
    position: fixed;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: var(--marco-w);
    height: 826px;
    transform: translate(calc(-50% + var(--marco-x)), -50%);
    border: none;
    box-shadow: none;
    border-radius: 26px;
  }

  /* El marco va por encima de todo, sin bloquear los clicks */
  body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 456px;
    height: 838px;
    transform: translate(-50%, -50%);
    background: url("../img/marco_celu.png") center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 10000;
    filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .55));
  }
}

/* Scrollbar styles para desktop */
@media (min-width: 430px) {
  .view::-webkit-scrollbar,
  .modal::-webkit-scrollbar {
    width: 4px;
  }

  .view::-webkit-scrollbar-track { background: transparent; }
  .view::-webkit-scrollbar-thumb {
    background: var(--gray-mid);
    border-radius: 2px;
  }
}

/* ─────────────────────────────────────────
   MISC / UTILS
───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Número grande decorativo en hero */
.hero-number {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 700;
  position: absolute;
  right: 10px;
  bottom: -20px;
  opacity: .08;
  color: var(--white);
  letter-spacing: -8px;
  pointer-events: none;
}
/* LOGIN */

.login-screen{
  position:fixed;
  inset:0;
  background:var(--blue);
  z-index:9990;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:40px;
  padding:24px;
}

.login-card{
  width:90%;
  max-width:340px;
  background:var(--surface);
  border-radius:24px;
  padding:32px 24px;

  display:flex;
  flex-direction:column;
  gap:16px;
}

.login-logo{
  width:75%;
  max-width:220px;
  height:auto;
  object-fit:contain;
  margin-bottom:4px;
}

.login-subtitle{
  color:var(--text-secondary);
  margin-bottom:12px;
}

.login-input{
  width:100%;
  height:50px;

  border:none;
  background:var(--surface-soft);

  border-radius:14px;
  padding:0 16px;

  font-size:15px;
}

.login-btn{
  height:52px;
  border:none;

  border-radius:14px;

  background:var(--lime);
  color:var(--blue);

  font-weight:700;
  cursor:pointer;
}

.login-btn:active{
  transform:scale(.98);
  background:var(--lime-dark);
}

/* Acciones secundarias debajo de la card */
.login-extra{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

.login-link{
  background:none;
  border:none;
  color:var(--white);
  font-family:var(--font-sans);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:opacity .2s var(--ease);
}

.login-link:active{ opacity:.6; }

/* ── Login: campo de mail con desplegable de cuentas ── */
.login-field{
  position:relative;
  width:100%;
}
.login-field .login-input{
  cursor:pointer;
  padding-right:38px;
}
.login-field__caret{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-55%);
  font-size:18px;
  color:var(--text-secondary);
  pointer-events:none;
  transition:transform .2s var(--ease);
}
.login-field--open .login-field__caret{
  transform:translateY(-35%) rotate(180deg);
}
.login-accounts{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  right:0;
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:14px;
  box-shadow:var(--shadow-md);
  overflow:hidden;
  z-index:50;
}
.login-accounts[hidden]{ display:none; }
.login-account{
  display:flex;
  flex-direction:column;
  gap:2px;
  width:100%;
  text-align:left;
  padding:11px 16px;
  background:var(--surface);
  border:none;
  border-bottom:1px solid var(--border-soft);
  cursor:pointer;
  transition:background .15s var(--ease);
}
.login-account:last-child{ border-bottom:none; }
.login-account:hover,
.login-account:active{ background:var(--surface-soft); }
.login-account__name{
  font-size:14px;
  font-weight:700;
  color:var(--black);
}
.login-account__mail{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-secondary);
}
.login-error{
  color:var(--red);
  font-size:13px;
  font-weight:600;
  text-align:center;
  margin-top:-4px;
  display:none;
}
.login-error--show{ display:block; }
.reviews-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.review-card{
  background:#F5F5F5;
  border-radius:16px;
  padding:14px;
  border:1px solid var(--border-soft);
}

.review-name{
  font-weight:800;
  font-size:14px;
  margin-bottom:2px;
}

.review-career{
  font-size:11px;
  color:var(--text-secondary);
  margin-bottom:8px;
}

.review-text{
  font-size:13px;
  line-height:1.5;
}

/* ── Mis reseñas (vista propia) ── */
.my-reviews{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.myrev-card{
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:16px;
  padding:14px 16px;
  box-shadow:var(--shadow-sm);
}
.myrev-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.myrev-local{
  font-size:15px;
  font-weight:800;
  letter-spacing:-.3px;
  color:var(--black);
}
.myrev-stars{
  color:#FFB800;
  font-size:14px;
  letter-spacing:-1px;
  flex-shrink:0;
}
.myrev-text{
  font-size:13px;
  line-height:1.5;
  color:var(--black);
}
.myrev-date{
  display:block;
  margin-top:8px;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
}

/* ── Vista Mis pedidos ── */
.orders{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.order-card{
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:16px;
  padding:14px 16px;
  box-shadow:var(--shadow-sm);
}
.order-card--active{
  border-color:var(--blue);
  background:rgba(11,0,168,.04);
  cursor:pointer;
}
.order-card--active:active{ transform:scale(.99); }
.order-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.order-card__local{
  font-size:15px;
  font-weight:800;
  letter-spacing:-.3px;
  color:var(--black);
}
.order-card__status{
  font-family:var(--font-mono);
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:3px 9px;
  border-radius:999px;
  background:var(--surface-soft);
  color:var(--text-secondary);
  flex-shrink:0;
}
.order-card__status--active{
  background:var(--blue);
  color:var(--white);
}
.order-card__items{
  font-size:13px;
  color:var(--text-secondary);
  line-height:1.5;
  margin-bottom:10px;
}
.order-card__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--border-soft);
  padding-top:10px;
}
.order-card__meta{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--text-muted);
}
.order-card__total{
  font-family:var(--font-mono);
  font-weight:700;
  font-size:15px;
  color:var(--blue);
  flex-shrink:0;
}
.modal-payments-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
  margin-bottom:12px;
}

.payment-chip{
  padding:6px 10px;
  border-radius:999px;
  background:var(--surface-soft);
  color:var(--text-secondary);
  font-size:11px;
  font-weight:700;
}
/* ─────────────────────────────────────────
   PERFIL
───────────────────────────────────────── */
.profile {
  padding: 0 var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

/* Tarjeta de identidad */
.profile-card {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--blue);
  border-radius: var(--r-lg);
  color: var(--white);
}

.profile-card__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--r-full);
  background: rgba(245,245,245,.12);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card__info { display: flex; flex-direction: column; gap: 4px; }
.profile-card__name { font-size: 20px; font-weight: 900; letter-spacing: -.5px; }
.profile-card__career { font-size: 13px; opacity: .8; }

.profile-card__badge {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--lime);
  color: var(--blue);
}

/* Stats */
.profile-stats { display: flex; gap: var(--sp-sm); }

.profile-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--sp-md) var(--sp-sm);
  background: var(--surface);
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
}

.profile-stat__num { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--blue); }
.profile-stat__label { font-size: 11px; color: var(--text-secondary); }

/* Secciones con lista */
.profile-section__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.profile-list {
  background: var(--surface);
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
  overflow: hidden;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  width: 100%;
  padding: 14px var(--sp-md);
  text-align: left;
  background: none;
  border-bottom: 1px solid var(--gray);
}

.profile-row:last-child { border-bottom: none; }
.profile-row--link:active { background: var(--white); }

.profile-row__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,0,168,.08);
  border-radius: var(--r-sm);
  color: var(--blue);
}

.profile-row__text { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.profile-row__label { font-size: 14px; font-weight: 700; color: var(--black); }
.profile-row__value { font-size: 12px; color: var(--text-secondary); }
.profile-row__chevron { flex-shrink: 0; color: var(--text-muted); display: flex; }

/* Switch (toggle) */
.profile-switch { flex-shrink: 0; }
.profile-switch input { display: none; }

.profile-switch label {
  display: block;
  width: 44px;
  height: 26px;
  border-radius: var(--r-full);
  background: var(--gray-mid);
  position: relative;
  cursor: pointer;
  transition: background .2s var(--ease);
}

.profile-switch label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform .2s var(--ease);
}

.profile-switch input:checked + label { background: var(--blue); }
.profile-switch input:checked + label::after { transform: translateX(18px); }

/* Cerrar sesión */
.profile-logout {
  width: 100%;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255,59,48,.1);
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .15s var(--ease-bounce);
}

.profile-logout:active { transform: scale(.98); }

@media (hover: hover) {
  .profile-row--link:hover { background: var(--white); }
}

/* ─── Botón volver en headers internos ─── */
.inner-header--with-back {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.inner-header__back {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--black);
  transition: background .2s, transform .15s var(--ease-bounce);
}

.inner-header__back:active {
  background: var(--gray);
  transform: scale(.92);
}

.inner-header__titles { display: flex; flex-direction: column; }

@media (hover: hover) {
  .inner-header__back:hover { background: var(--gray); }
}

/* ─────────────────────────────────────────
   PANTALLA DE CANJE DE PROMO
───────────────────────────────────────── */
.promo-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 22px 30px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.promo-hero__handle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.5);
  z-index: 2;
}
.promo-hero--lime .promo-hero__handle { background: rgba(17,17,17,.25); }
.promo-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;
}
.promo-hero__tag,
.promo-hero__name,
.promo-hero__offer,
.promo-hero__meta { position: relative; z-index: 1; }
.promo-hero__tag {
  display: inline-block;
  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);
  margin-bottom: var(--sp-sm);
}
.promo-hero__name {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.promo-hero__offer { font-size: 14px; opacity: .85; margin-bottom: var(--sp-sm); }
.promo-hero__meta { font-family: var(--font-mono); font-size: 12px; opacity: .6; }

/* themes (respetan el color de la tarjeta) */
.promo-hero--lime { background: var(--lime); color: var(--black); }
.promo-hero--lime .promo-hero__tag { color: var(--blue); background: rgba(11,0,168,.12); }
.promo-hero--lime .promo-hero__offer,
.promo-hero--lime .promo-hero__meta { opacity: .55; }
.promo-hero--lime .modal__close { background: rgba(17,17,17,.12); color: var(--black); }
.promo-hero--black { background: var(--black); color: var(--white); }
.promo-hero--black .promo-hero__tag { color: var(--lime); background: rgba(217,255,102,.15); }

.promo-body {
  padding: 28px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.promo-redeem-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
  max-width: 260px;
  margin-bottom: var(--sp-lg);
}
.promo-qr {
  width: 200px;
  height: 200px;
  padding: 16px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-lg);
}
.promo-qr__svg { width: 100%; height: 100%; display: block; }
.promo-code {
  width: 100%;
  max-width: 260px;
  background: var(--surface-soft);
  border: 1.5px dashed var(--gray-mid);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.promo-code__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.promo-code__value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
}
.promo-code__hint {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: var(--sp-md);
  text-align: center;
}


/* ─────────────────────────────────────────
   CARRITO / COMPRA / RETIRO
───────────────────────────────────────── */
.menu-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.product-item { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-sm); }
.product-item__name { margin-bottom: 0; flex: 1; }
.product-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }

.cart-control { display: inline-flex; align-items: center; gap: 8px; }
.cart-control__add {
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: transform .15s var(--ease-bounce);
}
.cart-control__add:active { transform: scale(.94); }
.cart-control__btn {
  width: 26px; height: 26px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: var(--white);
  font-size: 17px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s var(--ease-bounce);
}
.cart-control__btn:active { transform: scale(.9); }
.cart-control__qty {
  font-family: var(--font-mono);
  font-weight: 700; font-size: 14px;
  min-width: 14px; text-align: center;
  color: var(--black);
}
.product-item .cart-control__qty { color: var(--white); }
.cart-control__qty--dark { color: var(--black); }

/* Barra flotante */
.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 32px);
  max-width: 398px;
  z-index: 600;
  height: 54px;
  padding: 0 8px 0 20px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease-bounce), opacity .3s var(--ease);
}
.cart-bar--visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cart-bar__count { font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.cart-bar__mid { font-size: 15px; font-weight: 700; }
.cart-bar__total {
  background: var(--lime); color: var(--blue);
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: var(--r-full);
}

/* Hojas (carrito / pago / pedido) */
.sheet-head { display: flex; align-items: center; gap: var(--sp-md); padding: 8px 22px 16px; }
.sheet-back {
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--surface-soft); color: var(--black);
  font-size: 22px; line-height: 1; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sheet-title { font-size: 22px; font-weight: 900; letter-spacing: -.5px; color: var(--black); }
.sheet-sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.sheet-body { padding: 0 22px 28px; }

.cart-items { padding: 0 22px; }
.cart-row { display: flex; align-items: center; gap: var(--sp-md); padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.cart-row__info { flex: 1; min-width: 0; }
.cart-row__name { font-size: 14px; font-weight: 700; color: var(--black); }
.cart-row__unit { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.cart-row__price { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--blue); min-width: 64px; text-align: right; }
.cart-empty { text-align: center; color: var(--text-secondary); padding: 40px 0; }
.cart-foot { padding: 16px 22px 28px; border-top: 1px solid var(--border-soft); }
.cart-total-row, .checkout-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: var(--sp-md);
}
.cart-total-row span:last-child, .checkout-total-row span:last-child { font-family: var(--font-mono); color: var(--blue); }

.btn-primary {
  width: 100%; height: 50px; border-radius: var(--r-md);
  background: var(--lime); color: var(--blue);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  transition: transform .15s var(--ease-bounce), background .2s;
}
.btn-primary:active { transform: scale(.98); background: var(--lime-dark); }

.checkout-summary { margin-bottom: var(--sp-md); }
.checkout-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); padding: 5px 0; }
.checkout-line span:last-child { font-family: var(--font-mono); color: var(--black); }
.checkout-total-row { padding-top: 12px; border-top: 1px solid var(--border-soft); }
.checkout-section-title {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-secondary); margin: var(--sp-lg) 0 var(--sp-sm);
}
.checkout-pagos { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--sp-lg); }
.pago-option {
  display: flex; align-items: center; gap: var(--sp-md); padding: 14px 16px;
  border-radius: var(--r-md); border: 1.5px solid var(--border-soft);
  background: var(--surface); text-align: left;
  transition: border-color .2s, background .2s;
}
.pago-option--sel { border-color: var(--blue); background: rgba(11,0,168,.04); }
.pago-option__radio {
  width: 20px; height: 20px; border-radius: var(--r-full);
  border: 2px solid var(--gray-mid); flex-shrink: 0; position: relative; transition: border-color .2s;
}
.pago-option--sel .pago-option__radio { border-color: var(--blue); }
.pago-option--sel .pago-option__radio::after { content: ''; position: absolute; inset: 3px; border-radius: var(--r-full); background: var(--blue); }
.pago-option__text { display: flex; flex-direction: column; }
.pago-option__name { font-size: 14px; font-weight: 700; color: var(--black); }
.pago-option__detail { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
.checkout-hint { text-align: center; font-size: 11px; color: var(--text-secondary); margin-top: var(--sp-sm); }

/* Confirmación / retiro */
.order-hero { text-align: center; padding: 8px 22px 24px; position: relative; overflow: hidden; }
.order-check {
  width: 64px; height: 64px; margin: 0 auto var(--sp-md); border-radius: var(--r-full);
  background: var(--lime); color: var(--blue); font-size: 34px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.order-title { font-size: 24px; font-weight: 900; letter-spacing: -.5px; color: var(--black); }
.order-sub { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.order-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.order-hero .order-check, .order-hero .order-title, .order-hero .order-sub { position: relative; z-index: 2; }
.order-grano {
  position: absolute; top: -16px; width: 11px; height: 4px; border-radius: 2px; opacity: 0;
  animation: granoFall 1.6s ease-in forwards;
}
@keyframes granoFall {
  0%   { transform: translateY(0) rotate(var(--r)); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateY(240px) rotate(calc(var(--r) + 240deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .order-grano { animation: none; opacity: 0; } }
.order-pickup {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--blue); color: var(--white); border-radius: var(--r-md);
  padding: 18px; margin-bottom: var(--sp-md);
}
.order-pickup__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.order-pickup__time { font-size: 32px; font-weight: 900; font-family: var(--font-mono); }
.order-code-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--surface-soft); border: 1.5px dashed var(--gray-mid);
  border-radius: var(--r-md); padding: 18px; margin-bottom: var(--sp-lg);
}
.order-code-box__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); text-align: center; }
.order-code-box__value { font-family: var(--font-mono); font-size: 34px; font-weight: 700; letter-spacing: .15em; color: var(--blue); }

/* ── Ticket de retiro (pieza estrella) ── */
.ticket {
  position: relative;
  margin-bottom: var(--sp-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
}
.ticket__head {
  background: var(--blue);
  border-radius: 17px 17px 0 0;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.ticket__logo { height: 17px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.ticket__kick { color: var(--lime); font-size: 9px; letter-spacing: .18em; }
.ticket__body { position: relative; padding: 18px 18px 6px; text-align: center; overflow: hidden; }
.ticket__wm { position: absolute; top: 50%; left: 50%; width: 150px; height: 150px; transform: translate(-50%, -52%); opacity: .05; color: var(--blue); --spr: var(--blue); pointer-events: none; }
.ticket__local { position: relative; font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
.ticket__lbl { position: relative; font-size: 9px; letter-spacing: .16em; color: var(--text-muted); margin-top: 12px; }
.ticket__time { position: relative; font-size: 42px; font-weight: 700; color: var(--black); letter-spacing: -1px; line-height: 1.05; margin-top: 2px; }
.ticket__tear { position: relative; height: 0; border-top: 2px dashed var(--gray-mid); margin: 16px 0; }
.ticket__tear::before, .ticket__tear::after { content: ''; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); }
.ticket__tear::before { left: -11px; }
.ticket__tear::after { right: -11px; }
.ticket__foot { padding: 2px 18px 20px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.ticket__qr { flex-shrink: 0; }
.ticket__code-lbl { font-size: 9px; letter-spacing: .14em; color: var(--text-muted); }
.ticket__code { font-size: 24px; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-top: 3px; }
.ticket__hint { font-size: 9px; color: var(--text-muted); margin-top: 5px; letter-spacing: .02em; }


/* ─────────────────────────────────────────
   PEDIDO EN CURSO (banner home) + TARJETAS
───────────────────────────────────────── */
.order-banner {
  display: none;
  width: 100%;
  align-items: center;
  gap: var(--sp-md);
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: var(--sp-md);
  text-align: left;
  animation: slideUp .3s var(--ease) both;
}
.order-banner--visible { display: flex; }
.order-banner__pulse {
  width: 10px; height: 10px; border-radius: var(--r-full);
  background: var(--lime); flex-shrink: 0;
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(217,255,102,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(217,255,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,255,102,0); }
}
.order-banner__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.order-banner__title { font-size: 14px; font-weight: 800; }
.order-banner__sub {
  font-family: var(--font-mono); font-size: 11px; opacity: .8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.order-banner__chevron { font-size: 24px; line-height: 1; opacity: .7; flex-shrink: 0; }

/* Tarjetas en el perfil */
.pay-card {
  display: flex; align-items: center; gap: var(--sp-sm);
  padding: 14px 16px;
  background: var(--surface); border-radius: var(--r-md);
  border: 1.5px solid var(--border-soft);
}
.pay-card__brand { font-weight: 800; font-size: 13px; color: var(--blue); flex-shrink: 0; }
.pay-card__num { font-family: var(--font-mono); font-size: 13px; color: var(--black); flex-shrink: 0; }
.pay-card__holder {
  flex: 1; min-width: 0; text-align: right;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pay-card__del {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--surface-soft); color: var(--text-secondary);
  font-size: 18px; line-height: 1; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.profile-empty-pay { font-size: 13px; color: var(--text-secondary); padding: 12px 16px; }
.profile-add-pay {
  width: 100%; margin-top: 8px; padding: 12px;
  border-radius: var(--r-md); border: 1.5px dashed var(--gray-mid);
  background: transparent; color: var(--blue);
  font-size: 13px; font-weight: 700;
}

/* Inputs del formulario de tarjeta */
.field-label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text-secondary); margin: var(--sp-md) 0 6px;
  text-transform: uppercase; letter-spacing: .03em;
}
.field-input {
  width: 100%; height: 48px; padding: 0 16px;
  border-radius: var(--r-md); border: 1.5px solid var(--border-soft);
  background: var(--surface-soft); color: var(--black);
  font-size: 15px; font-family: inherit;
}
.field-input:focus { border-color: var(--blue); outline: none; background: var(--surface); }

.btn-text {
  width: 100%; margin-top: 10px; padding: 12px;
  background: transparent; color: var(--text-secondary);
  font-size: 13px; font-weight: 700;
}

/* ─────────────────────────────────────────
   MAPA POR PISOS (pestañas + planos SVG)
───────────────────────────────────────── */
.floor-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.floor-tabs::-webkit-scrollbar { display: none; }

.floor-tab {
  flex: 1 0 auto;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-soft);
  background: var(--surface);
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.floor-tab:hover { border-color: var(--blue); }
.floor-tab.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.floor-stage {
  position: relative;
  height: calc(100dvh - var(--status-h) - var(--nav-h) - 172px);
  min-height: 320px;
  margin: 0 16px 16px;
  background: var(--blue);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.floor-frame {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.floor-canvas {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-canvas__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.floor-canvas--error .floor-canvas__img { display: none; }

.floor-canvas__missing {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245,245,245,.75);
  text-align: center;
  line-height: 1.7;
}
.floor-canvas--error .floor-canvas__missing { display: block; }

/* Pines clickeables sobre el plano */
.floor-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 3;
}

.floor-pin__dot {
  display: block;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 5px rgba(11,0,168,.4));
  transition: transform .18s var(--ease-bounce);
}
.floor-pin__dona {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--lime);
  --spr: var(--blue);
}
.floor-pin:hover .floor-pin__dot,
.floor-pin:focus-visible .floor-pin__dot { transform: scale(1.28); }

.floor-pin__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--blue);
  background: #fff;
  padding: 3px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  pointer-events: none;
}
.floor-pin--up .floor-pin__label { top: auto; bottom: calc(100% + 5px); }
.floor-pin--left .floor-pin__label  { left: 0; transform: none; }
.floor-pin--right .floor-pin__label { left: auto; right: 0; transform: none; }

/* ── "Estás acá": marcador del usuario (punto pulsante) ── */
.floor-you {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}
.floor-you__mark { position: relative; width: 16px; height: 16px; }
.floor-you__dot {
  position: absolute; inset: 0; margin: auto;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2.5px var(--blue), 0 2px 6px rgba(0,0,0,.4);
  z-index: 2;
}
.floor-you__ring {
  position: absolute; inset: 0; margin: auto;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  animation: youPing 1.9s ease-out infinite;
}
@keyframes youPing {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(3); opacity: 0; }
}
.floor-you__label {
  position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: #fff;
  padding: 2px 7px; border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,.25); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .floor-you__ring { animation: none; opacity: 0; } }

/* ── Animaciones al cambiar de piso ──────── */
@keyframes floorMapIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floorPinIn {
  from { opacity: 0; transform: translate(-50%, -150%) scale(.4); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.floor-canvas__img {
  animation: floorMapIn .32s var(--ease) both;
}
.floor-pin {
  animation: floorPinIn .45s var(--ease-bounce) both;
}

/* Respeto por quien tenga las animaciones desactivadas en el sistema */
@media (prefers-reduced-motion: reduce) {
  .floor-canvas__img,
  .floor-pin { animation: none; }
}