@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root { --ink:#1d1022; --navy:#2b1233; --navy2:#4a2158; --or:#d6246e; --or2:#b0165a; --ye:#e8b66b; --bg:#fbf6f4; --card:#fff; --line:#eadfe0; --mut:#6f6473; --ok:#15803d; --bad:#b42318; --wa:#1fa855; --r:16px; --sh:0 1px 2px rgba(16,27,43,.06),0 6px 18px rgba(16,27,43,.07); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: #efe6e6; color: var(--ink); font-size: 15px; line-height: 1.45; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding-bottom: 84px; position: relative; box-shadow: 0 0 40px rgba(0,0,0,.08); overflow-x: clip; }
body.con-cta #app { padding-bottom: 96px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
.ico { width: 22px; height: 22px; flex: none; } .ico.xs { width: 15px; height: 15px; }
.mut { color: var(--mut); } .sm { font-size: 13px; } .cen { text-align: center; }
/* cabecera */
.cab { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: rgba(251,246,244,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); min-height: 56px; }
.cab.oscuro { background: var(--navy); color: #fff; border-color: transparent; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; }
.logo b { font-weight: 800; color: var(--or); } .oscuro .logo b { color: var(--ye); }
.logo-m { display: flex; }
.cab-t { font-size: 16px; font-weight: 800; }
.cab-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cab-btn.vacio { visibility: hidden; }
.cab-link { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.cab-link .ico { width: 16px; height: 16px; }
.oscuro .cab-link { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
/* hero */
.hero { padding-bottom: 27px !important; background: radial-gradient(120% 90% at 100% 0%, #7a2a6b 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #1d0a24 100%); color: #fff; padding: 0 0 18px; position: relative; overflow: hidden; border-radius: 0 0 28px 28px; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: repeating-linear-gradient(90deg, var(--ye) 0 14px, transparent 14px 22px); opacity: .95; }
.hero-in { padding: 26px 18px 6px; position: relative; }
.kick { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ye); margin-bottom: 8px; }
.hero h2 { font-size: 31px; font-weight: 800; line-height: 1.08; margin-bottom: 8px; max-width: 300px; }
.hero h2 em { font-style: normal; color: var(--or); background: linear-gradient(transparent 62%, rgba(214,36,110,.25) 0); }
.hero-s { color: #c3d3e4; margin-bottom: 18px; font-size: 15px; }
.buscador { position: relative; }
.buscador form, .buscador.mini { display: flex; align-items: center; background: #fff; border-radius: 18px; padding: 6px 6px 6px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.buscador.mini { box-shadow: var(--sh); border: 1px solid var(--line); border-radius: 16px; }
.buscador.plano { flex: 1; min-width: 0; box-shadow: none; padding: 4px 10px; }
.b-ico { color: var(--or); display: flex; margin-right: 8px; }
.buscador input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 14px 4px; color: var(--ink); background: transparent; }
.buscador input::placeholder { color: #98a2b3; }
.buscador button { border: 0; background: var(--or); color: #fff; font: inherit; font-weight: 800; font-size: 15px; padding: 13px 18px; border-radius: 13px; cursor: pointer; }
.buscador.mini button { padding: 11px 14px; font-size: 14px; }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.28); z-index: 5; overflow: hidden; }
.sug[hidden] { display: none; }
.sug a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #f3ebec; font-weight: 600; }
.sug a:last-child { border: 0; }
.sug .st { color: var(--or); display: flex; } .sug .sx { flex: 1; } .sug small { color: var(--mut); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: #fbf6f4; padding: 3px 8px; border-radius: 999px; }
.pop { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 14px; font-size: 13px; color: #9fb3c8; }
.pop a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.pop.sola { justify-content: center; } .pop.sola a { background: #fff; color: var(--navy); border-color: var(--line); }
.hero-num { display: flex; gap: 10px; padding: 14px 18px 0; position: relative; }
.hero-num div { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.hero-num b { font-size: 22px; font-weight: 800; color: var(--ye); line-height: 1.1; } .hero-num span { font-size: 12px; color: #b5c5d6; font-weight: 600; }
/* secciones */
.sec { padding: 22px 16px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sec-h h2 { font-size: 20px; font-weight: 800; } .sec-h a { font-size: 13px; font-weight: 800; color: var(--or2); }
.rubros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
.rubro { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.rb { width: 100%; aspect-ratio: 1; max-width: 76px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, #fff); box-shadow: var(--sh); }
.rn { font-size: 11.5px; font-weight: 700; line-height: 1.15; color: var(--ink); }
.premium { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #f3d089, #c8923a); color: #4a3000; font-size: 11.5px; font-weight: 800; padding: 4px 9px 4px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(245,163,11,.35); }
.premium .ico { width: 13px; height: 13px; fill: #4a3000; stroke: #4a3000; stroke-width: 1; }
.premium.sm { font-size: 11px; }
.carrusel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
.carrusel::-webkit-scrollbar { display: none; }
.card-t { flex: 0 0 74%; scroll-snap-align: start; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); border: 1px solid var(--line); }
.card-img { position: relative; aspect-ratio: 4/3; } .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img .premium { position: absolute; top: 10px; left: 10px; }
.card-b { padding: 12px 14px 14px; } .card-b h3 { font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.card-b .mut.sm { display: flex; gap: 4px; align-items: center; margin-top: 2px; } .card-b .fila { margin-top: 8px; }
.cta-mapa { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(135deg, var(--or), #ff6fa6); color: #fff; padding: 18px; border-radius: var(--r); box-shadow: 0 8px 22px rgba(214,36,110,.35); }
.cta-mapa b { display: block; font-size: 17px; font-weight: 800; } .cta-mapa span { font-size: 13px; opacity: .95; }
/* estado */
.fila { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.estado { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 3px 10px 3px 8px; border-radius: 999px; }
.estado i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estado.abierto { color: var(--ok); background: #dcf5e4; } .estado.cerrado { color: var(--bad); background: #fde4e1; }
.estado-det { font-size: 12.5px; color: var(--mut); font-weight: 600; }
.chip-r { font-size: 11.5px; font-weight: 700; color: var(--navy2); background: #f3e4f0; padding: 4px 9px; border-radius: 999px; }
/* lista */
.lista { display: flex; flex-direction: column; gap: 10px; }
.fila-t { display: flex; gap: 12px; background: #fff; border-radius: var(--r); padding: 10px; box-shadow: var(--sh); border: 1px solid var(--line); }
.fila-t.prem { border-color: #f6d27a; background: linear-gradient(180deg, #fff7fa, #fff 60%); }
.fila-t img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.fila-b { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.fila-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fila-b h3 { font-size: 15.5px; font-weight: 800; }
.fila-b .mut { display: flex; gap: 4px; align-items: center; }
.coin { font-size: 12px; color: var(--or2); font-weight: 700; }
.fila-b .fila { margin-top: auto; }
/* búsqueda */
.bus-top { padding: 12px 16px 10px; background: var(--bg); position: sticky; top: 56px; z-index: 10; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 7px; overflow-x: auto; margin: 10px -16px 0; padding: 0 16px 2px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy2); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.filtros { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.seg { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; } .seg::-webkit-scrollbar { display: none; } .seg span { flex: none; font-size: 12px; font-weight: 800; color: var(--mut); width: 52px; text-transform: uppercase; letter-spacing: .05em; }
.seg a { flex: none; min-width: 34px; text-align: center; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--navy2); }
.seg a.on { background: var(--or); border-color: var(--or); color: #fff; }
.res-n { font-size: 15px; margin-bottom: 12px; } .res-n small { display: block; color: var(--mut); font-weight: 600; font-size: 12.5px; margin-top: 2px; }
.res { padding-top: 16px; }
.vacio-b { text-align: center; padding: 40px 24px; } .vacio-b b { font-size: 17px; } .vacio-b p { color: var(--mut); margin: 6px 0 14px; }
/* ficha */
.galeria { position: relative; background: #000; }
.gal-s { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .gal-s::-webkit-scrollbar { display: none; }
.gal-s img { flex: 0 0 100%; width: 100%; aspect-ratio: 4/3; object-fit: cover; scroll-snap-align: center; display: block; }
.gal-n { position: absolute; right: 12px; top: 12px; background: rgba(11,22,38,.78); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.gal-m { display: flex; gap: 8px; padding: 10px 16px; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.gal-m img { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; opacity: .6; border: 2px solid transparent; cursor: pointer; } .gal-m img.on { opacity: 1; border-color: var(--or); }
.gal-m span { margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; }
.ficha { padding: 16px 16px 0; }
.f-ins { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.ficha h1 { font-size: 24px; font-weight: 800; line-height: 1.12; }
.f-est { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.puesto { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-top: 14px; box-shadow: var(--sh); }
.puesto > div { flex: 1; } .puesto b { display: block; font-size: 15px; } .puesto small { color: var(--mut); font-size: 12.5px; font-weight: 600; }
.pz { width: 40px; height: 40px; border-radius: 12px; background: #fbd7e5; color: var(--or2); display: grid; place-items: center; flex: none; }
.puesto.compacto { margin: 0 0 12px; }
.bloque { margin-top: 22px; } .bloque h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--mut); margin-bottom: 9px; }
.bloque p { font-size: 15.5px; }
.lista-p { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.lista-p li { display: flex; gap: 9px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; } .lista-p .ico { color: var(--ok); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--navy2); }
.tag.marca { background: var(--navy); color: #fff; border-color: var(--navy); letter-spacing: .02em; }
.horario { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.horario div { display: flex; justify-content: space-between; padding: 12px 14px; } .horario div + div { border-top: 1px solid var(--line); }
.horario .hoy { background: #fdeaf2; } .horario .hoy span { font-weight: 800; color: var(--or2); }
.mapa-caja { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; box-shadow: var(--sh); }
.mapa-svg { width: 100%; height: auto; display: block; font-family: 'Manrope', sans-serif; }
.btn { display: block; width: 100%; text-align: center; border: 0; background: var(--or); color: #fff; font: inherit; font-weight: 800; font-size: 16px; padding: 15px; border-radius: 14px; cursor: pointer; margin-top: 14px; box-shadow: 0 6px 16px rgba(214,36,110,.3); }
.btn[disabled] { opacity: .45; box-shadow: none; }
.btn.sec-b { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); box-shadow: none; }
.btn.chico { width: auto; margin: 0; padding: 11px 14px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.btn.peligro { background: var(--bad); box-shadow: none; }
.cta-fija { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(244,241,234,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); z-index: 30; }
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--wa); color: #fff; border: 0; font: inherit; font-weight: 800; font-size: 17px; padding: 15px; border-radius: 15px; box-shadow: 0 8px 20px rgba(31,168,85,.38); cursor: pointer; }
.btn-wa .ico { width: 24px; height: 24px; } .btn-wa.grande { margin-top: 14px; }
/* hoja / chat */
.velo { position: fixed; inset: 0; background: rgba(8,16,28,.55); z-index: 60; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; } .velo.v { opacity: 1; }
.hoja { background: var(--bg); width: 100%; max-width: 480px; border-radius: 24px 24px 0 0; padding: 8px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; transform: translateY(20px); transition: transform .25s; } .velo.v .hoja { transform: none; }
.hoja-asa { width: 44px; height: 5px; border-radius: 3px; background: #d8c9ce; margin: 4px auto 12px; }
.chat-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .chat-h > div { flex: 1; } .chat-h b { display: block; font-size: 18px; font-weight: 800; } .chat-h small { color: var(--mut); font-weight: 600; font-size: 13px; }
.wa-c { width: 44px; height: 44px; border-radius: 14px; background: var(--wa); color: #fff; display: grid; place-items: center; } .wa-c .ico { width: 26px; height: 26px; }
.cerrar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #e7e2d8; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.campo { display: block; font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; } .campo small { color: var(--mut); font-weight: 600; }
.campo input, .campo select, .campo textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; font-weight: 600; padding: 13px 14px; border: 1.5px solid #e2d4d8; border-radius: 12px; background: #fff; color: var(--ink); outline: 0; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--or); box-shadow: 0 0 0 3px rgba(214,36,110,.18); }
.burbuja { background: #dcf8c6; border-radius: 4px 16px 16px 16px; padding: 11px 13px 6px; margin: 8px 0 0; font-size: 14.5px; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,.12); background-image: radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px); background-size: 6px 6px; }
.burbuja em { display: block; text-align: right; font-size: 11px; color: #5d7a64; font-style: normal; margin-top: 2px; }
.nota { font-size: 12px; color: var(--mut); text-align: center; margin-top: 10px; }
.conf { text-align: center; padding: 6px 0; } .conf-i { width: 54px; height: 54px; border-radius: 50%; background: #fde4e1; color: var(--bad); display: grid; place-items: center; margin: 0 auto 10px; } .conf h3 { font-size: 19px; } .conf p { color: var(--mut); margin: 8px 0 4px; }
/* mapa */
.pisos { display: flex; gap: 6px; background: #e7e2d8; padding: 5px; border-radius: 14px; margin-bottom: 12px; } .pisos a { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 800; color: var(--mut); } .pisos a.on { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.leyenda { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--mut); } .leyenda span { display: flex; align-items: center; gap: 6px; } .leyenda i { width: 14px; height: 14px; border-radius: 4px; display: block; }
/* login */
.login { padding: 28px 22px 0; text-align: center; } .login-ic { width: 64px; height: 64px; margin: 0 auto 14px; } .login-ic svg { width: 64px; height: 64px; filter: drop-shadow(0 8px 14px rgba(214,36,110,.4)); }
.login h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; } .login form { text-align: left; margin-top: 20px; }
.err { color: var(--bad); font-weight: 700; font-size: 13.5px; margin: 0 0 8px; }
.demo { margin-top: 22px; background: #fff; border: 1.5px dashed #d9b98a; border-radius: var(--r); padding: 14px; text-align: left; font-size: 13.5px; } .demo b { display: block; margin-bottom: 6px; color: var(--or2); } .demo p + p { margin-top: 4px; }
code { background: #fbf6f4; padding: 2px 7px; border-radius: 6px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 700; }
/* paneles */
.panel-h { background: linear-gradient(160deg, var(--navy), #1d0a24); color: #fff; padding: 6px 18px 24px; border-radius: 0 0 26px 26px; } .panel-h h1 { font-size: 23px; font-weight: 800; margin-bottom: 10px; }
.ph-m { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .ver { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--ye); display: flex; align-items: center; gap: 3px; }
.pago { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; } .pago.gratis { background: #e0efff; color: #1b5faa; } .pago.aldia { background: #dcf5e4; color: var(--ok); } .pago.pendiente { background: #fde4e1; color: var(--bad); }
.pan { padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .kpis.cuatro { grid-template-columns: 1fr 1fr; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--sh); } .kpi .kl { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; color: var(--mut); } .kpi .kl .ico { width: 15px; height: 15px; }
.kpi b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; color: var(--navy); line-height: 1.1; } .kpi.wa b { color: var(--wa); } .kpi.wa .kl { color: var(--wa); } .kpi small { color: var(--mut); font-size: 12px; font-weight: 600; }
.caja { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh); } .caja h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 12px; } .caja h3.sub { margin: 20px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); } .caja h3 small { color: var(--mut); font-weight: 600; }
.barras { display: flex; align-items: flex-end; gap: 6px; height: 128px; padding-top: 14px; } .bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; position: relative; } .bar i { width: 100%; max-width: 30px; border-radius: 6px 6px 3px 3px; display: block; } .bv { font-size: 11px; font-weight: 800; color: var(--navy2); height: 14px; } .bl { font-size: 10.5px; font-weight: 700; color: var(--mut); height: 14px; }
.leg { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mut); font-weight: 600; margin-top: 8px; } .leg i { width: 10px; height: 10px; border-radius: 3px; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 4px; } .slot { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); } .slot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.slot-b { position: absolute; left: 8px; bottom: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 9px; display: flex; gap: 5px; align-items: center; cursor: pointer; } .slot-n { position: absolute; left: 8px; top: 8px; background: rgba(11,22,38,.8); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.slot-x { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; color: var(--bad); display: grid; place-items: center; cursor: pointer; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; margin: 6px 0; } .check input { width: 20px; height: 20px; accent-color: var(--or); }
.hor-f { background: #faf8f3; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 8px 0 14px; } .hor-f[hidden] { display: none; } .hor-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; } .hor-r span { width: 100%; font-weight: 800; font-size: 13.5px; } .hor-r input { flex: 1; min-width: 0; font: inherit; font-weight: 700; font-size: 15px; padding: 10px; border: 1.5px solid #e2d4d8; border-radius: 10px; background: #fff; } .hor-r input:disabled { opacity: .45; } .hor-r em { color: var(--mut); font-style: normal; }
/* admin */
.a-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px; background: var(--bg); position: sticky; top: 56px; z-index: 10; border-bottom: 1px solid var(--line); scrollbar-width: none; } .a-tabs::-webkit-scrollbar { display: none; } .a-tabs a { flex: none; padding: 9px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 800; color: var(--navy2); } .a-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.hbar { display: flex; align-items: center; gap: 8px; margin: 7px 0; font-size: 13px; font-weight: 700; } .hbar span { width: 124px; flex: none; } .hbar i { height: 14px; border-radius: 4px; display: block; } .hbar b { color: var(--navy2); }
.barra-a { display: flex; gap: 8px; align-items: center; }
.a-lista { display: flex; flex-direction: column; gap: 10px; } .a-fila { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--sh); } .a-fila.inac { opacity: .62; background: #f3ebec; }
.a-top { display: flex; align-items: center; gap: 10px; } .a-n { flex: 1; min-width: 0; } .a-n b { display: block; font-size: 14.5px; line-height: 1.2; } .a-n small { display: block; color: var(--mut); font-weight: 600; font-size: 12.5px; } .a-n .pago { display: inline-block; margin-top: 5px; font-size: 11px; padding: 2px 9px; }
.cod { background: var(--navy); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 8px; border-radius: 8px; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.sw { position: relative; width: 48px; height: 28px; flex: none; } .sw input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 2; cursor: pointer; } .sw i { position: absolute; inset: 0; background: #d8c9ce; border-radius: 999px; transition: .2s; } .sw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: .2s; } .sw input:checked + i { background: var(--wa); } .sw input:checked + i::after { transform: translateX(20px); }
.a-bot { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); } .a-bot select { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; font-weight: 700; padding: 8px; border-radius: 10px; border: 1.5px solid #e2d4d8; background: #fff; }
.mini-b { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 13px; font-weight: 800; padding: 8px 11px; border-radius: 10px; border: 1.5px solid #e2d4d8; background: #fff; color: var(--navy); cursor: pointer; } .mini-b.peli { color: var(--bad); border-color: #f0c2bd; }
.pasos { margin: 0 0 4px; padding-left: 20px; display: grid; gap: 6px; font-weight: 600; }
.subida { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; padding: 22px; border: 2px dashed #d9b98a; border-radius: var(--r); background: #fff7fa; color: var(--or2); cursor: pointer; text-align: center; } .subida small { color: var(--mut); font-weight: 600; } .subida .ico { width: 28px; height: 28px; }
.imp { display: grid; gap: 7px; margin: 10px 0 4px; } .imp-f { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); } .imp-f > div { flex: 1; min-width: 0; } .imp-f b { display: block; font-size: 14px; } .imp-f small { font-size: 12.5px; color: var(--mut); font-weight: 600; } .imp-f.bien { background: #f1fbf4; } .imp-f.bien .ico { color: var(--ok); } .imp-f.mal { background: #fff3f1; border-color: #f4cbc6; } .imp-f.mal .ico { color: var(--bad); } .imp-f.mal small { color: var(--bad); }
.planes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 14px; box-shadow: var(--sh); position: relative; } .plan.prem { border: 2px solid #c8923a; background: linear-gradient(180deg, #fff7fa, #fff); } .plan .premium { position: absolute; top: -11px; right: 10px; } .plan h3 { font-size: 17px; font-weight: 800; } .precio { font-size: 32px; font-weight: 800; color: var(--navy); margin: 4px 0 8px; letter-spacing: -.02em; } .precio small { font-size: 13px; color: var(--mut); font-weight: 700; letter-spacing: 0; } .plan ul { margin: 0; padding-left: 17px; font-size: 13px; font-weight: 600; display: grid; gap: 4px; color: var(--navy2); } .np { margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--or2); }
.aviso { display: flex; gap: 12px; align-items: center; background: #fbeaf3; border: 1px solid #f1c4da; color: #8a1450; border-radius: var(--r); padding: 14px; } .aviso .ico { width: 28px; height: 28px; } .aviso b { display: block; font-size: 16px; } .aviso span { font-size: 13px; font-weight: 600; }
.pg-f { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); flex-wrap: wrap; } .pg-f:first-of-type { border-top: 0; } .pg-f > div { flex: 1; min-width: 120px; } .pg-f b { display: block; font-size: 13.5px; line-height: 1.2; } .pg-f small { color: var(--mut); font-size: 12px; font-weight: 600; }
.rk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); } .rk:first-of-type { border: 0; } .rk .rn { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: grid; place-items: center; flex: none; font-weight: 800; } .rk > div:nth-child(2) { flex: 1; min-width: 0; } .rk b { font-size: 13.5px; display: block; line-height: 1.2; } .rk-b { height: 7px; background: #f0e6e7; border-radius: 4px; margin-top: 5px; } .rk-b i { display: block; height: 100%; background: var(--or); border-radius: 4px; } .rk-v { text-align: right; } .rk-v small { display: block; font-size: 11.5px; color: var(--wa); font-weight: 700; }
/* pie y barra */
.pie { text-align: center; padding: 30px 20px 14px; font-size: 12px; color: #8a8372; } .rg { margin-top: 6px; letter-spacing: .08em; font-size: 10.5px; } .rg b { font-weight: 800; color: #6c6554; }
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); z-index: 30; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: #8a93a1; padding: 5px 0; border-radius: 12px; } .tabbar a.on { color: var(--or2); } .tabbar a.on .ico { stroke-width: 2.4; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px; z-index: 90; opacity: 0; transition: .25s; max-width: 90%; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); } .toast.v { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 600px) { body { padding: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Galería El Rey: identidad de moda ===== */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces.woff') format('woff'); font-weight: 100 900; font-display: swap; }
.hero h2, .sec-h h2, .logo-t, .panel-h h1, .ficha h1, .login h2 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; letter-spacing: -.015em; }
.hero h2 { font-weight: 700; font-size: 34px; max-width: 320px; }
.hero h2 em { font-style: italic; font-weight: 600; background: linear-gradient(transparent 70%, rgba(232,182,107,.38) 0); color: #ff8fbd; }
.logo-t { font-size: 19px; font-weight: 600; } .logo-t b { font-weight: 800; }
.sec-h h2 { font-size: 22px; font-weight: 700; }
.ficha h1 { font-size: 27px; font-weight: 700; }
.hero { background: radial-gradient(110% 80% at 100% 0%, #7a2a6b 0%, transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(214,36,110,.35), transparent 70%), linear-gradient(160deg, #2b1233 0%, #1d0a24 100%); }
.hero::before { content: ''; position: absolute; right: -40px; top: -30px; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(232,182,107,.35); box-shadow: 0 0 0 22px rgba(232,182,107,.07), 0 0 0 46px rgba(232,182,107,.04); pointer-events: none; }
.ej-tag { display: inline-block; background: #fff; color: #8a1450; border: 1px solid #f1c4da; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.card-img .ej-tag { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.94); }
.maq { display: flex; flex-direction: column; gap: 2px; background: #fff7e6; border: 1px dashed #d9b98a; color: #6b4a14; border-radius: 14px; padding: 10px 14px; font-size: 13px; } .maq b { font-size: 13.5px; }
.nota-ej { background: #fff7e6; border: 1px dashed #d9b98a; color: #6b4a14; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-top: 14px; }
.avisos { display: flex; flex-direction: column; gap: 10px; }
.av { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--or); border-radius: 14px; padding: 12px 14px; box-shadow: var(--sh); } .av b { display: block; font-size: 15px; margin: 3px 0 3px; } .av p { font-size: 13.5px; color: var(--mut); }
.av.t-evento { border-left-color: #7c3aed; } .av.t-urgente { border-left-color: #c8923a; }
.av-p { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a1450; }
.av.t-evento .av-p, .av-p.t-evento { color: #6d28d9; } .av.t-urgente .av-p, .av-p.t-urgente { color: #9a6a12; }
.h2b { margin-top: 14px; }
.tag.gen { background: #fbeaf3; color: #8a1450; border-color: #f1c4da; }
.tag.talla { background: #2b1233; color: #fff; border-color: #2b1233; min-width: 44px; text-align: center; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.check.ck { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.plan-r, .rec-f { display: flex; align-items: center; gap: 10px; } .plan-r > div, .rec-f > div:first-child { flex: 1; } .plan-r small, .rec-f small { display: block; color: var(--mut); font-size: 12.5px; }
.rec-f { padding: 9px 0; border-bottom: 1px solid #f3ebec; } .rec-f:last-of-type { border: 0; } .rec-m { font-size: 15px; }
.wa-emp { margin: 16px 0 10px; text-align: center; justify-content: center; } .soporte { margin-top: 4px; }
.aviso.gal { margin-bottom: 12px; } .subnav { margin: 0 0 12px; padding: 0; flex-wrap: wrap; overflow: visible; }
.mb { display: flex; align-items: center; gap: 8px; margin: 9px 0; font-size: 13px; font-weight: 700; } .mb > span { width: 62px; text-transform: capitalize; } .mb-b { flex: 1; display: flex; height: 14px; background: #f3ebec; border-radius: 5px; overflow: hidden; } .mb-b i.ok { background: #15803d; } .mb-b i.no { background: #e8b66b; }
.recibo { border: 2px dashed #d8c9ce; border-radius: 14px; padding: 14px; margin: 6px 0 10px; background: #fffdfd; } .rc-t { text-align: center; font-weight: 800; letter-spacing: .14em; font-size: 12px; margin-bottom: 8px; color: var(--navy); }
.rc-f { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f3ebec; font-size: 14px; } .rc-f span { color: var(--mut); } .rc-f.tot b { font-size: 18px; }
.rc-e { text-align: center; font-weight: 800; letter-spacing: .06em; margin-top: 12px; padding: 8px; border-radius: 10px; font-size: 13px; } .rc-e.ok { background: #dcf5e4; color: #15803d; } .rc-e.no { background: #fde4e1; color: #b42318; }

/* ---- v2: logo de tienda y notificaciones ---- */
.cab-der { display: inline-flex; align-items: center; gap: 8px; }
.campana { position: relative; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; padding: 0; }
.campana .ico { width: 21px; height: 21px; }
.campana .cnt { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--or); color: #fff; font: 800 12px/20px 'Manrope', sans-serif; text-align: center; border: 2px solid var(--navy); box-sizing: content-box; }
.logo-t.sobre { position: absolute; left: 10px; bottom: 10px; width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: #fff; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.28); }
.fila-im { position: relative; flex: none; width: 96px; height: 96px; }
.fila-im img:first-child { width: 96px; height: 96px; }
.fila-im .logo-t.sobre { width: 36px; height: 36px; border-radius: 11px; left: 6px; bottom: 6px; border-width: 2px; }
.f-tit { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.f-tit h1 { margin: 0; }
.logo-t.ficha { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; flex: none; border: 1px solid var(--line); box-shadow: var(--sh); background: #fff; }
.logo-ed { display: flex; gap: 14px; align-items: center; margin: 10px 0 4px; }
.logo-pv { width: 96px; height: 96px; border-radius: 22px; border: 2px dashed #d9c5cf; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; color: var(--mut); font-size: 12px; font-weight: 700; }
.logo-pv img { width: 100%; height: 100%; object-fit: cover; }
.logo-ac { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mini-b.peli { color: var(--bad); }
.noti-l { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.noti { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.noti.nueva { border-color: #ee9cc0; box-shadow: inset 4px 0 0 var(--or); }
.noti.leida { opacity: .72; }
.noti-t { display: flex; gap: 8px; align-items: center; justify-content: space-between; width: 100%; } .noti-t small { color: var(--mut); font-weight: 600; font-size: 12px; }
.noti b { font-size: 15px; } .noti p { font-size: 13.5px; color: var(--ink); margin: 0; }
.noti .ya { display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; font-weight: 800; color: var(--ok); }
.noti.env { margin-bottom: 10px; } .lect { width: 100%; } .lect span { font-size: 12.5px; font-weight: 700; color: var(--mut); }
.lect .mb-b { margin-bottom: 4px; }
.mini-b.todas { margin-top: 12px; }
.wa-c.camp { background: var(--or); }
.hoja.notis { max-height: 88vh; }
.lect .mb-b { width: 100%; flex: none; }
