/* =========================================================
   Skyle · App
   Crema rosado + negro + rosa neón. Sencilla, elegante y juguetona.
   ========================================================= */
:root {
  --bg: #FBF5F2;
  --bg-2: #F6ECE7;
  --surface: #FFFFFF;
  --surface-2: #F8EFEB;
  --text: #161114;
  --text-2: #8A7980;
  --line: #EFE2E5;
  --pink: #FF3E9B;
  --pink-2: #FF7DBB;
  --pink-ink: #D11F73;
  --pink-soft: #FFDCEC;
  --pink-faint: #FFF0F6;
  --black: #141013;
  --gold: #C9A15B;
  --lilac: #EDE3FF;
  --peach: #FFE6D8;
  --ok: #18865A; --ok-bg: #E2F5EC;
  --warn: #9A6410; --warn-bg: #FCF1DC;
  --bad: #C42840; --bad-bg: #FDE6EA;
  --r-xl: 34px; --r-lg: 26px; --r: 20px; --r-sm: 14px;
  --sh-1: 0 2px 10px rgba(22, 17, 20, .06);
  --sh-2: 0 12px 34px rgba(22, 17, 20, .12);
  --sh-3: 0 24px 60px rgba(22, 17, 20, .22);
  --neon-glow: 0 0 0 1px rgba(255, 62, 155, .35), 0 8px 26px rgba(255, 62, 155, .45);
  --font-display: 'Playfair Display', Georgia, serif;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tab-h: 74px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* alias usados por el panel */
  --neon: var(--pink); --neon-2: var(--pink-ink); --neon-soft: var(--pink-faint); --rose: var(--pink-faint);
  --contrast: var(--black); --on-contrast: #fff; --white: var(--surface); --ink: var(--text); --ink-2: var(--text-2);
  --radius: var(--r); --radius-sm: var(--r-sm); --shadow: var(--sh-1); --shadow-lg: var(--sh-3);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0 0 .35em; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 9vw, 46px); }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--pink); }
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--text-2); margin: 0 0 8px; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spread { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.press { transition: transform .18s var(--spring); }
.press:active { transform: scale(.95); }

/* ---------- Marco de app (en computadora se ve como un teléfono) ---------- */
body.app { background: var(--bg); }
@media (min-width: 620px) {
  body.app { background: radial-gradient(900px 600px at 20% 0%, #FFE3EF, transparent 60%), radial-gradient(800px 600px at 100% 100%, #FFE9DE, transparent 60%), #F4E9E4; }
  body.app #shell { max-width: 440px; margin: 24px auto; min-height: calc(100vh - 48px); border-radius: 40px; overflow: clip; background: var(--bg); box-shadow: var(--sh-3), 0 0 0 10px #141013; position: relative; }
}
#shell { position: relative; min-height: 100vh; }
#app { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 26px); min-height: 100vh; outline: none; }
.page { animation: pageIn .42s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
.pad { padding: 0 18px; }
.sec { margin-top: 28px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 18px; margin-bottom: 12px; }
.sec-h h2 { margin: 0; }
.sec-h a { font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + var(--safe-t)) 16px 10px; transition: background .25s, box-shadow .25s;
}
.topbar.over { position: absolute; left: 0; right: 0; }
.topbar.solid { background: rgba(251, 245, 242, .97); box-shadow: 0 1px 0 var(--line); }
.hello {
  display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); padding: 5px 16px 5px 5px; border-radius: 999px;
  box-shadow: var(--sh-1); text-decoration: none; color: var(--text); backdrop-filter: blur(10px);
}
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 18px; flex: none; }
.hello small { display: block; font-size: 11px; color: var(--text-2); line-height: 1.1; }
.hello b { font-size: 14px; }
.tb-icons { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center;
  box-shadow: var(--sh-1); color: var(--text); position: relative; transition: transform .18s var(--spring); backdrop-filter: blur(10px); text-decoration: none;
}
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; }
.back-btn { position: absolute; top: calc(12px + var(--safe-t)); left: 14px; z-index: 30; }

/* ---------- Barra de pestañas flotante ---------- */
.tabbar {
  position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b));
  width: min(420px, calc(100% - 24px)); height: var(--tab-h); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 999px; box-shadow: var(--sh-2), 0 0 0 1px rgba(22, 17, 20, .04); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px;
}
@media (min-width: 620px) { .tabbar { bottom: 40px; width: 410px; } }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--text-2); font-size: 11px; font-weight: 700; position: relative; padding: 8px 0; }
.tabbar a svg { width: 23px; height: 23px; transition: transform .3s var(--spring); }
.tabbar a.on { color: var(--pink); }
.tabbar a.on svg { transform: translateY(-2px) scale(1.12); }
.tabbar a.on::after { content: ''; position: absolute; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); animation: pop .35s var(--spring); }
.tabbar a.cta { color: #fff; }
.tabbar a.cta .fab { width: 58px; height: 58px; border-radius: 50%; background: var(--black); display: grid; place-items: center; margin-top: -30px; box-shadow: 0 10px 24px rgba(22, 17, 20, .35), 0 0 0 5px var(--bg); transition: transform .25s var(--spring); }
.tabbar a.cta:active .fab { transform: scale(.9) rotate(90deg); }
.tabbar a.cta > span:last-child { color: var(--text); }
.tabbar a.cta .fab { color: #fff; }
.tabbar a.cta .fab svg { width: 26px; height: 26px; }
.tabbar a.cta::after { display: none; }

/* ---------- Botones / campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; padding: 15px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; background: var(--black); color: #fff; min-height: 54px; font-size: 16px;
  transition: transform .18s var(--spring), box-shadow .2s, opacity .2s;
}
.btn:active { transform: scale(.96); }
.btn.pink { background: var(--pink); box-shadow: var(--neon-glow); }
.btn.soft { background: var(--pink-soft); color: var(--text); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.white { background: #fff; color: var(--text); box-shadow: var(--sh-1); }
.btn.wa { background: #25D366; color: #052e16; }
.btn.dark { background: var(--black); color: #fff; }
.btn.sm { padding: 9px 16px; min-height: 40px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn .arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; margin-right: -14px; flex: none; }
.btn.soft .arrow { background: var(--black); }
.btn .arrow svg { width: 18px; height: 18px; }
.cta-pill { justify-content: space-between; padding-left: 26px; }

label.f { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 7px; }
.input, select.input, textarea.input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 16px; min-height: 52px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-faint); }
textarea.input { min-height: 96px; resize: vertical; }
.hint { font-size: 13px; color: var(--text-2); margin-top: 5px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 18px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--text); transition: all .25s var(--ease); }
.chip.on { background: var(--black); color: #fff; box-shadow: none; }
.chip:active { transform: scale(.94); }

.card { background: var(--surface); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); }
.card + .card { margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--pink-faint); color: var(--pink-ink); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.dark { background: var(--black); color: #fff; }
.pill.white { background: rgba(255, 255, 255, .92); color: var(--text); }

/* ---------- Inicio: hero foto ---------- */
.hero {
  position: relative; height: min(74vh, 640px); min-height: 520px; border-radius: 0 0 var(--r-xl) var(--r-xl); overflow: hidden; background: var(--black); color: #fff;
}
.hero .slides { position: absolute; inset: 0; }
.hero .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s linear; }
.hero .slides img.on { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .15) 50%, rgba(10, 6, 8, .86) 100%); }
.hero .txt { position: absolute; left: 22px; right: 22px; bottom: 58px; z-index: 2; }
.hero .eyebrow { color: rgba(255, 255, 255, .8); }
.hero h1 { color: #fff; font-size: clamp(40px, 11vw, 54px); margin-bottom: 12px; }
.hero h1 em { color: var(--pink-2); }
.hero p { color: rgba(255, 255, 255, .85); max-width: 32ch; margin: 0 0 20px; font-size: 15px; }
.hero .heart { display: inline-block; animation: beat 1.6s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.25); } 20% { transform: scale(1); } 30% { transform: scale(1.18); } }

/* ---------- Tarjeta de puntos (inicio) ---------- */
.points-card {
  margin: -34px 18px 0; position: relative; z-index: 3; background: var(--surface); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-2);
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
}
.points-card .num { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.points-card .lvl { font-family: var(--font-display); font-style: italic; color: var(--pink); }
.ring { width: 56px; height: 56px; flex: none; }
.ring circle { transition: stroke-dashoffset 1.2s var(--ease); }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 18px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 700; border: 0; background: none; padding: 0; }
.cat .ic { width: 100%; aspect-ratio: 1; border-radius: 22px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--sh-1); font-size: 28px; transition: transform .25s var(--spring), background .2s; }
.cat:nth-child(1) .ic { background: var(--pink-soft); }
.cat:nth-child(2) .ic { background: var(--peach); }
.cat:nth-child(3) .ic { background: var(--lilac); }
.cat:nth-child(4) .ic { background: #fff; }
.cat:active .ic { transform: scale(.9) rotate(-4deg); }

/* ---------- Carruseles ---------- */
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 14px; scrollbar-width: none; scroll-padding: 0 18px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.tcard { width: 152px; text-decoration: none; color: var(--text); border: 0; background: none; padding: 0; text-align: left; }
.tcard .ph { position: relative; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; background: var(--surface-2); box-shadow: var(--sh-1); }
.tcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tcard:active .ph img { transform: scale(1.06); }
.tcard .t { font-weight: 700; font-size: 14px; margin-top: 8px; }
.tcard .s { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.like { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; color: var(--text); transition: transform .3s var(--spring); }
.like svg { width: 17px; height: 17px; }
.like.on { color: var(--pink); animation: pop .4s var(--spring); }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.price-tag { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: rgba(255, 255, 255, .92); color: var(--text); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }

/* Coverflow (promos) */
.cover { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px calc(50% - 120px) 20px; scrollbar-width: none; perspective: 900px; }
.cover::-webkit-scrollbar { display: none; }
.cover .cv { flex: none; width: 240px; scroll-snap-align: center; border-radius: 30px; overflow: hidden; position: relative; aspect-ratio: 4/5; text-decoration: none; color: #fff;
  box-shadow: var(--sh-2); transition: transform .15s linear, opacity .15s linear; will-change: transform; border: 0; padding: 0; text-align: left; }
.cover .cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .cv::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .75)); }
.cover .cv .in { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; }
.cover .cv h3 { color: #fff; font-size: 26px; margin: 6px 0 2px; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: -6px; }
.dots i { width: 6px; height: 6px; border-radius: 9px; background: var(--line); transition: all .3s var(--ease); }
.dots i.on { width: 20px; background: var(--black); }

/* ---------- Inspo (grid tipo Pinterest) ---------- */
.masonry2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; align-items: start; }
.mcol { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pin { margin: 0; border-radius: 22px; overflow: hidden; position: relative; background: var(--surface-2); display: block; width: 100%; border: 0; padding: 0; text-align: left; box-shadow: var(--sh-1); }
.pin img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.pin .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6)); color: #fff; font-weight: 700; font-size: 13px; z-index: 1; }
.pin .tagx { position: absolute; top: 8px; left: 8px; z-index: 2; }
.burst { position: absolute; left: 50%; top: 50%; z-index: 5; color: #fff; pointer-events: none; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 16px rgba(255, 62, 155, .6)); animation: burst .8s var(--ease) forwards; }
.burst svg { width: 90px; height: 90px; fill: var(--pink); }
@keyframes burst { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(.95); opacity: 1; } 100% { transform: translate(-50%, -80%) scale(1); opacity: 0; } }

/* ---------- Pull to refresh ---------- */
.ptr { position: fixed; top: calc(10px + var(--safe-t)); left: 50%; z-index: 70; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); display: grid; place-items: center; transform: translateY(-70px); transition: transform .3s var(--ease); color: var(--pink); }
.ptr.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hojas (bottom sheets con arrastre) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 90; background: rgba(22, 17, 20, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s ease; }
.sheet {
  background: var(--bg); width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; border-radius: 30px 30px 0 0; position: relative;
  padding: 10px 20px calc(24px + var(--safe-b)); animation: sheetUp .45s var(--spring); touch-action: pan-y; overscroll-behavior: contain;
}
.sheet.dragging { transition: none; animation: none; }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: #DCCBD0; margin: 4px auto 14px; cursor: grab; }
.sheet .close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; box-shadow: none; background: var(--surface-2); }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

.toast {
  position: fixed; left: 50%; top: calc(14px + var(--safe-t)); transform: translateX(-50%); z-index: 120; background: var(--black); color: #fff; padding: 12px 20px;
  border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--sh-3); max-width: 92vw; animation: toastIn .45s var(--spring);
}
.toast.err { background: var(--bad); }
@keyframes toastIn { from { transform: translate(-50%, -40px); opacity: 0; } }

/* ---------- Detalle de servicio / reserva ---------- */
.gallery { position: relative; height: 46vh; min-height: 320px; overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--surface-2); }
.gallery .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery .dots { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; }
.gallery .dots i { background: rgba(255, 255, 255, .55); }
.gallery .dots i.on { background: #fff; }
.gallery .acts { position: absolute; top: calc(12px + var(--safe-t)); right: 14px; display: flex; gap: 8px; z-index: 3; }
.svc-head { padding: 20px 18px 0; }
.svc-head h1 { font-size: 32px; margin: 0; }
.svc-head .price { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 18px 4px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; border: 0; padding: 0; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s; }
.thumbs button.on { box-shadow: 0 0 0 2.5px var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.label { font-weight: 800; font-size: 15px; margin: 22px 18px 10px; }
.shapes { display: flex; gap: 10px; overflow-x: auto; padding: 0 18px 4px; scrollbar-width: none; }
.shapes::-webkit-scrollbar { display: none; }
.shape { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-size: 12px; font-weight: 700; color: var(--text-2); }
.shape .box { width: 62px; height: 70px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: all .25s var(--spring); }
.shape svg { width: 26px; height: 40px; }
.shape.on { color: var(--text); }
.shape.on .box { background: var(--pink-soft); box-shadow: inset 0 0 0 2px var(--pink); transform: translateY(-3px); }
.extras { display: grid; gap: 10px; padding: 0 18px; }
.extra { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 20px; padding: 10px 14px 10px 10px; border: 0; box-shadow: var(--sh-1); text-align: left; width: 100%; transition: transform .2s var(--spring), box-shadow .2s; }
.extra .xi { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 24px; background: var(--pink-faint); overflow: hidden; }
.extra .xi img { width: 100%; height: 100%; object-fit: cover; }
.extra .n { font-weight: 700; font-size: 15px; line-height: 1.2; }
.extra .d { font-size: 12px; color: var(--text-2); }
.extra .tog { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); flex: none; transition: all .3s var(--spring); font-weight: 800; }
.extra.on { box-shadow: 0 0 0 2px var(--pink), var(--sh-1); }
.extra.on .tog { background: var(--pink); color: #fff; transform: rotate(360deg); }
.extra:active { transform: scale(.97); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 0 18px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.dates::-webkit-scrollbar { display: none; }
.date { flex: none; width: 60px; padding: 10px 0; border-radius: 18px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; scroll-snap-align: start; transition: all .25s var(--spring); }
.date small { display: block; font-size: 11px; font-weight: 700; color: var(--text-2); text-transform: capitalize; }
.date b { display: block; font-size: 20px; margin-top: 2px; }
.date.on { background: var(--pink-soft); box-shadow: inset 0 0 0 2px var(--pink); transform: translateY(-3px); }
.date.off { opacity: .3; pointer-events: none; }
.times { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px; }
.time { padding: 11px 16px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 14px; transition: all .25s var(--spring); }
.time.on { background: var(--pink-soft); box-shadow: inset 0 0 0 2px var(--pink); }
.pros { display: flex; gap: 12px; overflow-x: auto; padding: 0 18px 4px; scrollbar-width: none; }
.pros::-webkit-scrollbar { display: none; }
.pro { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-size: 12px; font-weight: 700; width: 64px; }
.pro .avatar { width: 58px; height: 58px; font-size: 24px; transition: all .25s var(--spring); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px transparent; }
.pro:nth-child(2n) .avatar { background: var(--pink); }
.pro:nth-child(3n) .avatar { background: #B98AF0; }
.pro.on .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--pink); transform: scale(1.06); }
.dock {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); z-index: 65; width: min(440px, calc(100% - 24px));
  background: var(--black); color: #fff; border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-3);
  animation: dockIn .5s var(--spring);
}
@media (min-width: 620px) { .dock { bottom: 40px; width: 410px; } }
@keyframes dockIn { from { transform: translate(-50%, 120%); } }
.dock .tot { font-weight: 800; font-size: 18px; line-height: 1.1; }
.dock .sub { font-size: 12px; opacity: .7; }
.dock .btn { background: var(--pink); min-height: 48px; padding: 12px 20px; }
.nudge { margin: 14px 18px 0; padding: 12px 14px; border-radius: 18px; background: linear-gradient(110deg, var(--pink-soft), var(--peach)); font-size: 14px; display: block; line-height: 1.45; animation: pageIn .4s var(--ease); }
.nudge b { color: var(--pink-ink); }
.svc-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-1); border: 0; width: 100%; text-align: left; text-decoration: none; color: var(--text); }
.svc-row + .svc-row { margin-top: 8px; }
.svc-row .n { font-weight: 700; font-size: 15px; line-height: 1.25; }
.svc-row .d { font-size: 12px; color: var(--text-2); }
.svc-row .p { margin-left: auto; font-weight: 800; white-space: nowrap; }
.svc-row:active { transform: scale(.98); }
.cat-cards { display: grid; gap: 12px; padding: 0 18px; }
.cat-card { position: relative; height: 150px; border-radius: 28px; overflow: hidden; text-decoration: none; color: #fff; display: flex; align-items: flex-end; padding: 18px; border: 0; width: 100%; text-align: left; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .05)); }
.cat-card .in { position: relative; z-index: 1; }
.cat-card h2 { color: #fff; margin: 0; font-size: 30px; }
.cat-card:active img { transform: scale(1.06); }

/* ---------- Club ---------- */
.club-hero { padding: calc(70px + var(--safe-t)) 18px 26px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(400px 260px at 50% 0%, var(--pink-soft), transparent 70%); }
.big-num { font-size: clamp(72px, 22vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: .9; background: linear-gradient(180deg, var(--black), #5A3A48); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lvl-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: #fff; border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-style: italic; font-size: 18px; margin-top: 12px; }
.floaty { position: absolute; font-size: 34px; animation: float 5s ease-in-out infinite; pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin: 26px 18px 0; }
.levels::before { content: ''; position: absolute; top: 19px; left: 16%; right: 16%; height: 3px; border-radius: 3px; background: var(--line); }
.levels .fill { position: absolute; top: 19px; left: 16%; height: 3px; border-radius: 3px; background: var(--pink); transition: width 1.2s var(--ease); box-shadow: 0 0 10px rgba(255, 62, 155, .6); }
.levels .lv { text-align: center; position: relative; font-size: 12px; font-weight: 700; color: var(--text-2); }
.levels .lv i { width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; font-style: normal; font-size: 18px; }
.levels .lv.done { color: var(--text); }
.levels .lv.done i { background: var(--pink); box-shadow: 0 0 0 4px var(--pink-faint); }
.reward-card { width: 230px; border-radius: 28px; padding: 18px; color: var(--text); position: relative; overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.reward-card:nth-child(3n+1) { background: var(--pink-soft); }
.reward-card:nth-child(3n+2) { background: var(--peach); }
.reward-card:nth-child(3n) { background: var(--lilac); }
.reward-card .emo { font-size: 40px; }
.reward-card h3 { margin: 0; font-size: 22px; }
.reward-card .cost { font-weight: 800; }
.reward-card .bar { margin-top: auto; }
.bar { height: 7px; border-radius: 9px; background: rgba(22, 17, 20, .08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--black); border-radius: 9px; transition: width 1.2s var(--ease); }
.ref-card { margin: 0 18px; border-radius: 28px; padding: 22px; background: var(--black); color: #fff; position: relative; overflow: hidden; }
.ref-card h2 { color: #fff; }
.ref-card .code { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Cupones tipo ticket ---------- */
.ticket { flex: none; width: 260px; display: flex; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); position: relative; }
.ticket .l { flex: 1; padding: 16px; }
.ticket .r { width: 74px; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 28px; position: relative; }
.ticket .r::before { content: ''; position: absolute; left: -1px; top: 8px; bottom: 8px; border-left: 2px dashed rgba(255, 255, 255, .7); }
.ticket::before, .ticket::after { content: ''; position: absolute; right: 64px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); }
.ticket::before { top: -10px; } .ticket::after { bottom: -10px; }
.code { font-family: ui-monospace, Menlo, monospace; font-weight: 800; letter-spacing: .06em; background: var(--pink-faint); color: var(--pink-ink); padding: 3px 9px; border-radius: 8px; font-size: 13px; }

/* ---------- Citas ---------- */
.appt { background: var(--surface); border-radius: 26px; box-shadow: var(--sh-1); overflow: hidden; margin: 0 18px 12px; }
.appt .top { display: flex; gap: 12px; padding: 14px; align-items: center; background: linear-gradient(110deg, var(--pink-soft), var(--peach)); }
.appt .top .ph { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; flex: none; }
.appt .top .ph img { width: 100%; height: 100%; object-fit: cover; }
.appt .bot { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 14px; gap: 10px; font-size: 13px; }
.appt .bot b { display: block; font-size: 15px; }
.appt .acts { display: flex; gap: 8px; padding: 0 14px 14px; flex-wrap: wrap; }

/* ---------- Adviento: cajas de regalo ---------- */
.advent-top { padding: calc(64px + var(--safe-t)) 18px 10px; text-align: center; }
.advent { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px; padding: 10px 16px; }
.gift { border: 0; background: none; padding: 0; position: relative; aspect-ratio: 1 / 1.08; display: flex; align-items: flex-end; justify-content: center; }
.gift .bx { position: relative; width: 86%; height: 66%; border-radius: 10px; background: var(--c, var(--pink-soft)); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .06); }
.gift .bx::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); background: var(--rib, var(--pink)); }
.gift .lid { position: absolute; bottom: 62%; width: 96%; height: 20%; border-radius: 8px; background: var(--c, var(--pink-soft)); filter: brightness(.96); box-shadow: 0 3px 0 rgba(0, 0, 0, .05); transition: transform .5s var(--spring); z-index: 2; }
.gift .lid::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); background: var(--rib, var(--pink)); }
.gift .bow { position: absolute; bottom: 80%; z-index: 3; font-size: 18px; line-height: 1; transition: transform .5s var(--spring); }
.gift .n { position: absolute; z-index: 4; bottom: 18%; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.gift:nth-child(4n+1) { --c: #FFDCEC; --rib: #FF3E9B; }
.gift:nth-child(4n+2) { --c: #141013; --rib: #FF7DBB; }
.gift:nth-child(4n+2) .n { color: #fff; text-shadow: none; }
.gift:nth-child(4n+3) { --c: #FFE6D8; --rib: #C9A15B; }
.gift:nth-child(4n) { --c: #EDE3FF; --rib: #FF3E9B; }
.gift.today { animation: wiggle 1.8s infinite; }
.gift.today .bx, .gift.today .lid { --c: #FF3E9B; --rib: #fff; }
.gift.today .n { color: #fff; text-shadow: none; }
.gift.today::after { content: 'HOY'; position: absolute; top: -4px; right: -2px; z-index: 5; background: var(--black); color: #fff; font-size: 9px; font-weight: 800; padding: 3px 6px; border-radius: 999px; letter-spacing: .1em; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-7deg) scale(1.04); } 80% { transform: rotate(7deg) scale(1.04); } 85% { transform: rotate(-5deg); } 90% { transform: rotate(4deg); } }
.gift.locked { opacity: .8; }
.gift.past { opacity: .25; filter: grayscale(.6); }
.gift.claimed .lid { transform: translateY(-34%) rotate(-18deg) translateX(-12%); }
.gift.claimed .bow { transform: translateY(-80%) rotate(-20deg); }
.gift.opening .lid { transform: translateY(-160%) rotate(-40deg); opacity: 0; transition: all .6s var(--ease); }
.gift.opening .bow { transform: translateY(-300%) rotate(-60deg); opacity: 0; transition: all .6s var(--ease); }
.gift.opening { animation: shake .5s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px) rotate(-4deg); } 40% { transform: translateX(6px) rotate(4deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.reveal { text-align: center; padding: 6px 0 4px; }
.reveal .big { font-size: 84px; animation: pop .6s var(--spring); display: inline-block; }
.advent-banner { margin: 22px 18px 0; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 26px; background: var(--black); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.advent-banner .mini-gift { font-size: 42px; animation: wiggle 2.2s infinite; }
.advent-banner::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 62, 155, .55), transparent 70%); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 130; overflow: hidden; }
.confetti i { position: absolute; top: -14px; width: 8px; height: 14px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }

/* ---------- Gift card ---------- */
.giftcard { aspect-ratio: 1.6; border-radius: 26px; padding: 22px; background: var(--black); color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-3); display: flex; flex-direction: column; justify-content: space-between; }
.giftcard::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 62, 155, .65), transparent 70%); }
.giftcard img { width: 120px; position: relative; z-index: 1; }
.giftcard .amt { font-family: var(--font-display); font-size: 48px; font-weight: 700; position: relative; z-index: 1; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amounts .chip { text-align: center; padding: 12px 0; }

/* ---------- Varios ---------- */
.empty { text-align: center; padding: 40px 20px; color: var(--text-2); }
.empty .e { font-size: 48px; margin-bottom: 8px; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), #fff, var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }
.list-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.list-item:last-child { border: 0; }
.list-item .ic { width: 40px; height: 40px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; flex: none; }
.profile-head { padding: calc(64px + var(--safe-t)) 18px 10px; display: flex; align-items: center; gap: 14px; }
.profile-head .avatar { width: 64px; height: 64px; font-size: 30px; }
.auth-hero { height: 38vh; min-height: 260px; position: relative; overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.auth-hero img { width: 100%; height: 100%; object-fit: cover; }
.auth-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.auth-hero .logo { position: absolute; z-index: 1; left: 20px; bottom: 18px; width: 150px; }
.mascot-card { margin: 26px 18px 0; display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 26px; padding: 10px; box-shadow: var(--sh-1); }
.mascot-card img { width: 86px; height: 86px; border-radius: 20px; object-fit: cover; flex: none; }

/* =========================================================
   Panel de administración (tema claro, menú lateral)
   ========================================================= */
body.is-admin { background: #F5F0ED; }
body.is-admin #shell { max-width: none; margin: 0; border-radius: 0; box-shadow: none; min-height: 100vh; background: #F5F0ED; }
body.is-admin #app { padding-bottom: 0; }
body.is-admin .tabbar, body.is-admin .topbar { display: none; }
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.admin-side { background: var(--black); color: #fff; padding: 10px; position: sticky; top: 0; z-index: 30; }
.admin-brand { display: flex; align-items: center; gap: 8px; padding: 6px 8px 10px; }
.admin-brand img { height: 34px; width: auto; }
.admin-brand span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.admin-side nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.admin-side nav::-webkit-scrollbar { display: none; }
.admin-side nav a, .admin-side-foot a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.admin-side nav a:hover, .admin-side-foot a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-side nav a.on { background: var(--pink); color: #fff; }
.admin-side-foot { display: none; }
.admin-main { padding: 16px; min-width: 0; }
.admin-main .card { border-radius: 20px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.admin-head h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); }
@media (min-width: 900px) {
  .admin-shell { grid-template-columns: 240px 1fr; }
  .admin-side { height: 100vh; display: flex; flex-direction: column; padding: 18px 12px; }
  .admin-side nav { flex-direction: column; overflow: visible; }
  .admin-side-foot { display: block; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 10px; }
  .admin-main { padding: 28px 34px; }
}
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.admin-login > div { width: 100%; max-width: 400px; }
.admin-main .chips, .admin-main .pad { padding-left: 0; padding-right: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 800px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--surface); border-radius: 18px; padding: 14px; box-shadow: var(--sh-1); }
.kpi .l { font-size: 13px; color: var(--text-2); font-weight: 600; }
.kpi .v { font-size: 28px; font-weight: 700; font-family: var(--font-display); margin-top: 2px; }
.kpi .d { font-size: 12px; font-weight: 700; }
.kpi .d.up { color: var(--ok); }
.kpi .d.down { color: var(--bad); }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); padding: 8px 6px; border-bottom: 1.5px solid var(--line); }
table.t td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 8px; align-items: center; font-size: 14px; padding: 4px 0; }
.hbar .track { height: 14px; }
.hbar .fill { height: 100%; background: #E3337F; border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar .val { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 64px; text-align: right; }
.hbar:hover .fill { background: #B8235F; }
.chart-wrap { position: relative; }
.chart-tip { position: absolute; pointer-events: none; background: var(--black); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 10px; white-space: nowrap; transform: translate(-50%, -110%); z-index: 5; }
.agenda-item { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.agenda-item .h { font-weight: 700; font-family: var(--font-display); font-size: 22px; }
.cart-line { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart-line input { width: 84px; }
.search-results { background: var(--surface); border-radius: 14px; box-shadow: var(--sh-2); max-height: 300px; overflow: auto; margin-top: 6px; }
.search-results button { display: block; width: 100%; text-align: left; padding: 11px 14px; border: 0; background: none; border-bottom: 1px solid var(--line); }
.search-results button:hover { background: var(--pink-faint); }
.checklist { max-height: 340px; overflow: auto; border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 12px; }
.checklist label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: 14px; }
body.is-admin .masonry { columns: 2 180px; padding: 0; }
@media (min-width: 900px) { body.is-admin .masonry { columns: 4 200px; } }
body.is-admin .pin .body { padding: 10px 12px; background: #fff; }
body.is-admin .pin .body .t { font-weight: 700; font-size: 14px; }
body.is-admin .pin .body .s { font-size: 12px; color: var(--text-2); }
body.is-admin .art { aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 12px; background: var(--pink-soft); }
body.is-admin .art h3 { font-size: 18px; margin: 0; }
body.is-admin .sheet { max-width: 560px; }
body.is-admin .times { padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
body.is-admin .time.on { background: var(--pink); color: #fff; }
.reward { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.reward:last-child { border: 0; }
.reward .cost { min-width: 64px; text-align: center; font-weight: 800; color: var(--pink-ink); }
.coupon { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 14px; padding: 12px; border-left: 4px solid var(--pink); box-shadow: var(--sh-1); }
.coupon + .coupon { margin-top: 8px; }
.pal-rosa { background: #FFDCEC; } .pal-durazno { background: #FFE6D8; } .pal-fucsia { background: #FF7DBB; } .pal-crema { background: #F8EFEB; }
.pal-coral { background: #FFC9C0; } .pal-cereza { background: #E8456F; } .pal-miel { background: #F3DDB8; } .pal-lila { background: #EDE3FF; }
@media (min-width: 700px) { body.is-admin .sheet-bg { align-items: center; } body.is-admin .sheet { border-radius: 26px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   v3 · INTERFAZ DE APP: pantalla fija, contenido que se desliza
   por dentro, vidrio esmerilado rosado y transiciones nativas.
   ========================================================= */
:root {
  --font-display: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .42);
  --glass-line: rgba(255, 255, 255, .7);
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 10vw, 48px); }
h2 { font-size: 30px; }
h3 { font-size: 23px; }
.eyebrow { font-weight: 600; letter-spacing: .2em; }

body.app { height: 100%; overflow: hidden; position: fixed; inset: 0; background: #F6DCE6; }
body.app #shell {
  position: fixed; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: transparent;
  max-width: none; margin: 0; border-radius: 0; box-shadow: none; min-height: 0;
}
body.app #shell::before { content: ''; position: absolute; inset: -40px; z-index: 0; background: url('../img/photos/local-salon.jpg') center/cover; filter: blur(34px) saturate(1.25); opacity: .55; }
body.app #shell::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(255, 238, 245, .55), rgba(251, 245, 242, .82) 45%, rgba(255, 228, 240, .9)); }
body.app #app { position: relative; z-index: 1; }
body.app .ptr { z-index: 70; }
body.app #app {
  flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  min-height: 0; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 34px); scrollbar-width: none;
}
body.app #app::-webkit-scrollbar { display: none; }
@media (min-width: 620px) {
  body.app { background: radial-gradient(900px 600px at 20% 0%, #FFD9EA, transparent 60%), radial-gradient(800px 600px at 100% 100%, #FFE3D6, transparent 60%), #F1E4DF; }
  body.app #shell { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: min(860px, calc(100vh - 40px)); border-radius: 50px; box-shadow: 0 0 0 11px #141013, 0 40px 90px rgba(22, 17, 20, .35); }
}

body.app .topbar { position: relative; flex: none; z-index: 40; padding: calc(8px + var(--safe-t)) 16px 8px; background: transparent; box-shadow: none; }
body.app .topbar.over { position: absolute; top: 0; left: 0; right: 0; }
body.app .topbar.over.scrolled { background: rgba(255, 244, 248, .92); box-shadow: 0 1px 0 rgba(22, 17, 20, .06); }
body.app .topbar .ttl { font-family: var(--font-display); font-size: 26px; }
.hello { background: var(--glass); box-shadow: 0 0 0 1px var(--glass-line), var(--sh-1); }
.icon-btn { background: var(--glass); box-shadow: 0 0 0 1px var(--glass-line), var(--sh-1); }

body.app .tabbar { position: absolute; left: 12px; right: 12px; width: auto; transform: none; bottom: calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .74); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 0 0 1px var(--glass-line), 0 14px 40px rgba(22, 17, 20, .16); }
body.app .tabbar a.cta .fab { box-shadow: 0 10px 24px rgba(22, 17, 20, .35), 0 0 0 5px rgba(255, 240, 246, .95); }

body.app .sheet-bg, body.app .dock, body.app .toast, body.app .ptr, body.app .viewer, body.app .gate { position: absolute; }
body.app .sheet { background: rgba(255, 247, 250, .95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
body.app .dock { left: 12px; right: 12px; width: auto; transform: none; bottom: calc(10px + var(--safe-b)); animation: dockIn2 .5s var(--spring); }
@keyframes dockIn2 { from { transform: translateY(130%); } }
body.app .toast { top: calc(10px + var(--safe-t)); }

body.app .card, body.app .svc-row, body.app .extra, body.app .points-card, body.app .mascot-card, body.app .appt { background: var(--glass); box-shadow: 0 0 0 1px var(--glass-line), 0 8px 26px rgba(22, 17, 20, .07); }
body.app .chip { background: var(--glass-2); box-shadow: 0 0 0 1px var(--glass-line); }
body.app .chip.on { background: var(--black); box-shadow: none; }
body.app .input { background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); }
body.app .date, body.app .time, body.app .shape .box { background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }

.page.fade { animation: fadeUp .32s var(--ease) both; }
.page.push { animation: pushIn .42s var(--ease) both; }
.page.pop { animation: popIn .38s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes pushIn { from { transform: translateX(100%); } }
@keyframes popIn { from { transform: translateX(-26%); opacity: .5; } }

#splash { position: fixed; inset: 0; z-index: 300; background: #141013; display: grid; place-items: center; transition: opacity .5s ease, visibility .5s; }
#splash img { width: 168px; animation: splashIn 1s var(--spring) both; }
#splash .bar { position: absolute; bottom: calc(60px + var(--safe-b)); left: 50%; width: 46px; height: 3px; margin-left: -23px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
#splash .bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: #FF3E9B; border-radius: 3px; animation: load 1s ease-in-out infinite; }
#splash.out { opacity: 0; visibility: hidden; }
@keyframes splashIn { from { opacity: 0; transform: scale(.7); filter: blur(8px); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.lt { padding: 4px 18px 10px; }
.lt h1 { font-size: 46px; margin: 0; line-height: 1; }
.lt p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }

.stories { display: flex; gap: 14px; overflow-x: auto; padding: 6px 18px 10px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; border: 0; background: none; padding: 0; color: var(--text); }
.story .sr { width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #FF3E9B, #FFB3D9, #141013, #FF3E9B); transition: transform .25s var(--spring); }
.story .sr img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #FFF3F7; display: block; }
.story.seen .sr { background: rgba(22, 17, 20, .15); }
.story:active .sr { transform: scale(.9); }
.story .nm { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer { inset: 0; z-index: 150; background: #000; animation: viewIn .3s var(--ease); touch-action: none; }
@keyframes viewIn { from { opacity: 0; transform: scale(.92); } }
.viewer img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%, transparent 55%, rgba(0, 0, 0, .78)); pointer-events: none; }
.viewer .bars { position: absolute; z-index: 3; top: calc(10px + var(--safe-t)); left: 10px; right: 10px; display: flex; gap: 4px; }
.viewer .bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.viewer .bars i b { display: block; height: 100%; width: 0; background: #fff; }
.viewer .vh { position: absolute; z-index: 4; top: calc(22px + var(--safe-t)); left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; }
.viewer .vh img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #141013; }
.viewer .vh button { margin-left: auto; background: none; border: 0; color: #fff; width: 40px; height: 40px; display: grid; place-items: center; }
.viewer .vh button svg { width: 22px; height: 22px; }
.viewer .vf { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: calc(26px + var(--safe-b)); color: #fff; }
.viewer .vf h2 { color: #fff; font-size: 40px; margin: 0 0 6px; }
.viewer .vf p { margin: 0 0 16px; opacity: .9; }
.viewer .tap { position: absolute; z-index: 3; top: 70px; bottom: 140px; }
.viewer .tap.l { left: 0; width: 35%; } .viewer .tap.r { right: 0; width: 65%; }

.wallet { margin: 4px 18px 0; display: block; text-decoration: none; color: #fff; border-radius: 28px; padding: 20px; min-height: 186px; position: relative; overflow: hidden;
  background: radial-gradient(260px 200px at 100% 0%, rgba(255, 62, 155, .7), transparent 70%), radial-gradient(240px 180px at 0% 100%, rgba(255, 140, 190, .35), transparent 70%), #141013;
  box-shadow: 0 18px 40px rgba(22, 17, 20, .3); }
.wallet::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 130%; } }
.wallet .logo { width: 86px; }
.wallet .lvl { font-family: var(--font-display); font-style: italic; font-size: 22px; color: #FFB3D9; }
.wallet .pts { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.wallet .bar { background: rgba(255, 255, 255, .18); margin-top: 12px; }
.wallet .bar i { background: linear-gradient(90deg, #FFB3D9, #FF3E9B); box-shadow: 0 0 10px rgba(255, 62, 155, .7); }

.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 18px; }
.qa a { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--text); font-size: 12px; font-weight: 600; position: relative; }
.qa .ic { width: 100%; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; font-size: 26px; background: var(--glass); box-shadow: 0 0 0 1px var(--glass-line), 0 8px 20px rgba(22, 17, 20, .06); transition: transform .25s var(--spring); }
.qa a:active .ic { transform: scale(.88) rotate(-5deg); }
.qa .badge { position: absolute; top: -4px; right: 2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #FFF3F7; animation: pop .5s var(--spring); }

.next { margin: 0 18px; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 24px; background: var(--glass); box-shadow: 0 0 0 1px var(--glass-line); text-decoration: none; color: var(--text); }
.next .d { width: 56px; height: 60px; border-radius: 16px; background: var(--black); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; flex: none; }
.next .d b { font-size: 22px; display: block; } .next .d small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }

.gate { inset: 0; z-index: 250; display: flex; flex-direction: column; color: #fff; overflow: hidden; animation: fadeUp .4s var(--ease); background: #141013; }
.gate .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gate::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 16, 19, .3), rgba(20, 16, 19, .1) 35%, rgba(20, 16, 19, .92)); }
.gate > *:not(.bgimg) { position: relative; z-index: 2; }
.gate .top { padding: calc(28px + var(--safe-t)) 24px 0; text-align: center; }
.gate .top img { width: 150px; margin: 0 auto; }
.gate .bottom { margin-top: auto; padding: 0 22px calc(26px + var(--safe-b)); }
.gate h1 { color: #fff; font-size: 46px; margin: 0 0 8px; }
.gate h1 em { color: #FFB3D9; }
.gate .glass { background: rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .3); border-radius: 24px; padding: 14px 16px; margin: 16px 0; }
.gate .step { display: flex; gap: 12px; align-items: center; padding: 6px 0; font-size: 15px; }
.gate .step i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--black); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }
.gate .later { display: block; text-align: center; color: rgba(255, 255, 255, .75); font-size: 14px; margin-top: 12px; background: none; border: 0; width: 100%; padding: 8px; }

.bell-hero { width: 92px; height: 92px; margin: 6px auto 12px; border-radius: 30px; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 44px; animation: ring 1.6s ease-in-out infinite; }
@keyframes ring { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } }

/* El panel no usa el marco de app: página normal y completa */
body.app.is-admin { position: static; overflow: auto; height: auto; background: #F5F0ED; }
body.app.is-admin #shell { position: static; transform: none; width: auto; height: auto; border-radius: 0; box-shadow: none; overflow: visible; display: block; }
body.app.is-admin #shell::before, body.app.is-admin #shell::after { display: none; }
body.app.is-admin #app { overflow: visible; padding-bottom: 0; }

/* Agendar destacado */
.book-cta { margin: 2px 18px 14px; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 26px; text-decoration: none; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #FF3E9B, #FF7DBB); box-shadow: 0 14px 30px rgba(255, 62, 155, .38); }
.book-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50%; left: -70%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; pointer-events: none; }
.book-cta .cal { width: 50px; height: 50px; border-radius: 17px; background: rgba(255, 255, 255, .24); display: grid; place-items: center; font-size: 24px; flex: none; }
.book-cta b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; }
.book-cta .grow span { display: block; font-size: 13px; opacity: .92; margin-top: 2px; }
.book-cta .go { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--pink-ink); display: grid; place-items: center; flex: none; animation: nudgeX 1.6s ease-in-out infinite; }
@keyframes nudgeX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Promos vigentes */
.promo-card { flex: none; width: 250px; border-radius: 26px; overflow: hidden; background: var(--glass); box-shadow: 0 0 0 1px var(--glass-line), 0 10px 26px rgba(22, 17, 20, .08); cursor: pointer; scroll-snap-align: start; }
.promo-card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.promo-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.promo-card:active .ph img { transform: scale(1.05); }
.promo-card .left { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .94); color: var(--text); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.promo-card .left.hot { background: var(--pink); color: #fff; animation: pop .5s var(--spring); }
.promo-card .in { padding: 12px 14px 14px; }
.promo-card .in b { display: block; font-size: 16px; }
.promo-card .in .small { display: block; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.promo-card .price { font-family: var(--font-display); font-size: 24px; font-weight: 600; }

/* =========================================================
   v5 · MOODBOARD: blanco, verde profundo y rosa pop.
   Editorial, ligera y juguetona. Sin vidrio, sin degradados.
   ========================================================= */
:root {
  --green: #073F35; --green-2: #0B5446; --pink: #F85064; --pink-2: #FB7F8E; --pink-ink: #D63A4F;
  --pink-soft: #FEEDEE; --pink-faint: #FEEDEE; --peach: #FEEDEE; --lilac: #EEF3F1;
  --bg: #FFFFFF; --bg-2: #F6F8F7; --surface: #FFFFFF; --surface-2: #F4F6F5; --line: #E6EBE8;
  --text: #1E2A25; --text-2: #66736C; --black: #073F35; --gold: #F85064;
  --ok: #0B6B4F; --ok-bg: #E6F2EE;
  --r-xl: 22px; --r-lg: 16px; --r: 14px; --r-sm: 10px;
  --sh-1: none; --sh-2: 0 6px 20px rgba(7, 63, 53, .08); --sh-3: 0 12px 34px rgba(7, 63, 53, .14); --neon-glow: none;
  --glass: #FFFFFF; --glass-2: #FFFFFF; --glass-line: #E6EBE8;
  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
  --tab-h: 68px;
}
body { color: var(--text); background: #fff; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--green); letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: 26px; } h2 { font-size: 19px; font-weight: 650; } h3 { font-size: 17px; font-weight: 650; }
h1 em, h2 em, h3 em, .ttl em, .wj em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--pink); letter-spacing: 0; font-size: 1.08em; }
.eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 600; color: var(--text-2); }
.small { font-size: 13px; } .tiny { font-size: 12px; }
:focus-visible { outline-color: var(--green); }

/* Lienzo blanco, sin foto borrosa ni vidrio */
body.app { background: #fff; }
body.app #shell::before, body.app #shell::after { display: none; }
body.app #shell { background: #fff; }
@media (min-width: 620px) {
  body.app { background: #F4F6F5; }
  body.app #shell { box-shadow: 0 0 0 1px #DDE4E0, 0 24px 60px rgba(7, 63, 53, .12); border-radius: 36px; }
}
body.app .topbar.over.scrolled, .topbar.solid { background: rgba(255, 255, 255, .98); box-shadow: 0 1px 0 var(--line); }
body.app .topbar .ttl, .ttl { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--green); letter-spacing: -.02em; }
.hello, .icon-btn { background: #fff; box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hello b { font-size: 14px; color: var(--green); }
.avatar { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 16px; background: var(--green); }
.icon-btn { width: 42px; height: 42px; color: var(--green); }
.icon-btn svg, .tabbar a svg, .like svg, .qa .ic svg, .book-cta svg { stroke-width: 1.7; }

/* Barra de pestañas: blanca, limpia */
body.app .tabbar, .tabbar { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px rgba(7, 63, 53, .07); border-radius: 22px; }
.tabbar a { color: var(--text-2); font-size: 11px; font-weight: 500; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--green); font-weight: 600; }
.tabbar a.on svg { transform: none; }
.tabbar a.on::after { background: var(--pink); width: 4px; height: 4px; }
body.app .tabbar a.cta .fab, .tabbar a.cta .fab { width: 52px; height: 52px; margin-top: -24px; background: var(--green); box-shadow: 0 0 0 5px #fff, 0 6px 16px rgba(7, 63, 53, .22); }
.tabbar a.cta:active .fab { transform: scale(.92); }
.tabbar a.cta > span:last-child { color: var(--green); font-weight: 600; }

/* Botones y campos */
.btn { border-radius: 14px; min-height: 48px; padding: 12px 20px; font-size: 15px; font-weight: 600; background: var(--green); }
.btn.pink, .btn.dark { background: var(--green); color: #fff; box-shadow: none; }
.btn.soft { background: var(--pink-soft); color: var(--green); }
.btn.ghost { color: var(--green); box-shadow: inset 0 0 0 1px var(--line); }
.btn.white { color: var(--green); box-shadow: inset 0 0 0 1px var(--line); }
.btn.sm { min-height: 36px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn .arrow { background: rgba(255, 255, 255, .16); width: 34px; height: 34px; margin-right: -8px; }
label.f { font-weight: 600; font-size: 14px; color: var(--text); }
.input, select.input, textarea.input, body.app .input { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 48px; }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(7, 63, 53, .08); }
.chip, body.app .chip { background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 14px; padding: 8px 16px; color: var(--text); }
.chip.on, body.app .chip.on { background: var(--pink-soft); color: var(--green); box-shadow: inset 0 0 0 1.5px var(--pink); font-weight: 600; }
.pill { background: var(--pink-soft); color: var(--pink-ink); font-weight: 600; }
.pill.dark { background: var(--green); }

/* Menos tarjetas: superficies planas con línea fina */
body.app .card, .card, body.app .points-card, body.app .mascot-card, body.app .appt, .kpi, .ticket, .coupon { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; }
body.app .svc-row, .svc-row { background: transparent; box-shadow: none; border-radius: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.svc-row + .svc-row { margin-top: 0; }
.svc-row .n { font-weight: 600; } .svc-row .p { font-weight: 600; color: var(--green); }
body.app .extra, .extra { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; }
.extra .xi { background: var(--surface-2); border-radius: 10px; }
.extra.on, body.app .extra.on { background: var(--pink-soft); box-shadow: inset 0 0 0 1.5px var(--pink); }
.extra.on .tog { background: var(--pink); }
.extra .tog { background: var(--surface-2); color: var(--green); }
body.app .date, body.app .time, body.app .shape .box, .date, .time, .shape .box { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; }
.time, body.app .time { border-radius: 10px; font-weight: 500; }
.date.on, .time.on, .shape.on .box, body.app .date.on, body.app .time.on, body.app .shape.on .box { background: var(--pink-soft); box-shadow: inset 0 0 0 1.5px var(--pink); transform: none; color: var(--green); }
.date b { font-family: var(--font-display); font-size: 18px; color: var(--green); }
.label { font-family: var(--font-display); font-weight: 650; font-size: 17px; color: var(--green); }
.thumbs button { border-radius: 10px; } .thumbs button.on { box-shadow: 0 0 0 2px var(--pink); }
.pro .avatar, .pro:nth-child(2n) .avatar, .pro:nth-child(3n) .avatar { background: var(--green); box-shadow: 0 0 0 3px #fff, 0 0 0 4px transparent; }
.pro.on .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pink); transform: none; }
.nudge { background: var(--pink-soft); border-radius: 12px; }
.nudge b { color: var(--pink-ink); }

/* Secciones */
.sec { margin-top: 30px; }
.sec-h a { font-size: 14px; font-weight: 600; color: var(--green); }
.lt { padding: 6px 18px 14px; }
.lt h1 { font-size: 28px; line-height: 1.1; }

/* Agendar destacado: verde plano */
.book-cta { background: var(--green); box-shadow: none; border-radius: 18px; padding: 14px; gap: 12px; }
.book-cta::after { display: none; }
.book-cta .cal { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; }
.book-cta .cal svg { width: 22px; height: 22px; }
.book-cta b { font-family: var(--font-display); font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.book-cta .grow span { font-size: 13px; opacity: .8; }
.book-cta .go { width: 38px; height: 38px; background: var(--pink); color: #fff; animation: none; }
.book-cta .go svg { width: 18px; height: 18px; }

/* Historias: anillo rosa liso */
.story { font-weight: 500; color: var(--text); }
.story .sr { width: 66px; height: 66px; background: var(--pink); padding: 2px; }
.story .sr img { border: 3px solid #fff; }
.story.seen .sr { background: var(--line); }

/* Billetera: verde liso */
.wallet { background: var(--green); box-shadow: none; border-radius: 18px; min-height: 0; padding: 18px; }
.wallet::after { display: none; }
.wallet .logo { width: 72px; }
.wallet .lvl { font-family: var(--font-accent); font-style: italic; font-size: 19px; color: var(--pink-soft); }
.wallet .pts { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.wallet .bar { background: rgba(255, 255, 255, .16); height: 6px; }
.wallet .bar i { background: var(--pink); box-shadow: none; }
.wallet .wj { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.wallet .wj em { color: var(--pink-soft); }

/* Accesos rápidos: iconos finos */
.qa a { font-weight: 500; font-size: 12px; }
.qa .ic { background: var(--surface-2); box-shadow: none; border-radius: 16px; color: var(--green); }
.qa .ic svg { width: 24px; height: 24px; }
.qa a:active .ic { transform: scale(.92); }
.qa .badge { background: var(--pink); box-shadow: 0 0 0 2px #fff; }

/* Promos y tarjetas de fotos */
.promo-card { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; width: 240px; }
.promo-card .left { background: #fff; color: var(--green); font-weight: 600; }
.promo-card .left.hot { background: var(--pink); color: #fff; }
.promo-card .in b { font-weight: 600; font-size: 15px; }
.promo-card .price, .svc-head .price, .giftcard .amt, .kpi .v, .agenda-item .h { font-family: var(--font-display); font-weight: 700; color: var(--green); letter-spacing: -.02em; }
.promo-card .price { font-size: 20px; }
.tcard .ph, .pin, .cover .cv { border-radius: 14px; box-shadow: none; }
.tcard .t { font-weight: 600; }
.like { background: #fff; color: var(--green); width: 32px; height: 32px; }
.like.on { color: var(--pink); }
.price-tag { background: #fff; color: var(--green); font-weight: 600; }
.burst { filter: none; }
.cover .cv h3, .cat-card h2 { font-size: 21px; color: #fff; }
.cat-card { border-radius: 16px; height: 128px; }
.cat-card::after { background: rgba(7, 63, 53, .38); }
.dots i.on { background: var(--green); }
.pin .cap { font-weight: 600; }

.next { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; }
.next .d { background: var(--green); border-radius: 12px; }
.next .d b { font-family: var(--font-display); }
.mascot-card img { border-radius: 12px; }

/* Detalle de servicio */
.gallery { border-radius: 0 0 22px 22px; }
.svc-head h1 { font-size: 26px; }
.svc-head .price { font-size: 22px; }
.dock, body.app .dock { background: var(--green); box-shadow: 0 10px 28px rgba(7, 63, 53, .22); border-radius: 18px; }
.dock .tot { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.dock .btn { background: #fff; color: var(--green); border-radius: 12px; min-height: 44px; }

/* Hojas y avisos */
.sheet, body.app .sheet { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 22px 22px 0 0; }
.sheet-bg { background: rgba(7, 63, 53, .32); }
.sheet .grab { background: var(--line); }
.toast { background: var(--green); border-radius: 14px; font-weight: 600; box-shadow: var(--sh-2); }

/* Club */
.club-hero { background: none; padding-bottom: 18px; }
.big-num { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -.04em; background: none; color: var(--green); -webkit-text-fill-color: var(--green); }
.lvl-pill { background: var(--pink-soft); color: var(--green); font-family: var(--font-accent); font-size: 18px; }
.levels::before { height: 2px; background: var(--line); }
.levels .fill { height: 2px; background: var(--pink); box-shadow: none; }
.levels .lv { font-weight: 500; }
.levels .lv i { box-shadow: inset 0 0 0 1px var(--line); }
.levels .lv.done i { background: var(--pink-soft); box-shadow: inset 0 0 0 1.5px var(--pink); }
.reward-card, .reward-card:nth-child(3n+2), .reward-card:nth-child(3n) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; min-height: 190px; }
.reward-card:nth-child(3n+1) { background: var(--pink-soft); box-shadow: none; border-radius: 16px; min-height: 190px; }
.reward-card .emo { font-size: 32px; }
.reward-card h3 { font-size: 17px; }
.reward-card .cost { font-weight: 600; color: var(--green); }
.bar { background: var(--surface-2); height: 6px; }
.bar i { background: var(--green); }
.ref-card { background: var(--green); border-radius: 18px; }
.ticket { border-radius: 14px; }
.ticket .r { background: var(--pink); }
.ticket::before, .ticket::after { background: #fff; }
.code { background: var(--pink-soft); color: var(--pink-ink); }
.appt .top { background: var(--pink-soft); }
.appt .top .ph { border-radius: 12px; }

/* Adviento: blanco, verde y rosa */
.gift .n { font-family: var(--font-display); font-size: 17px; color: var(--green); text-shadow: none; }
.gift:nth-child(4n+1) { --c: #FEEDEE; --rib: #F85064; }
.gift:nth-child(4n+2) { --c: #073F35; --rib: #F85064; }
.gift:nth-child(4n+3) { --c: #F4F6F5; --rib: #073F35; }
.gift:nth-child(4n) { --c: #FFFFFF; --rib: #F85064; }
.gift:nth-child(4n) .bx, .gift:nth-child(4n) .lid { box-shadow: inset 0 0 0 1px #E6EBE8; }
.gift.today .bx, .gift.today .lid { --c: #F85064; --rib: #fff; }
.gift.today::after { background: var(--green); }
.advent-banner { background: var(--green); border-radius: 18px; }
.advent-banner::after { display: none; }
.reveal .big { font-size: 56px; }
.giftcard { background: var(--green); box-shadow: none; border-radius: 18px; }
.giftcard::after { display: none; }
.giftcard .amt { color: #fff; font-size: 38px; }

/* Varios */
.viewer .vf h2 { font-size: 26px; color: #fff; }
.gate { background: var(--green); }
.gate h1 { font-size: 30px; color: #fff; }
.gate h1 em { color: var(--pink-soft); }
.gate .glass { background: rgba(255, 255, 255, .1); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 16px; }
.gate .step i { color: var(--green); }
.bell-hero { background: var(--green); border-radius: 22px; width: 80px; height: 80px; font-size: 36px; }
.list-item .ic { background: var(--surface-2); border-radius: 10px; }
.profile-head .avatar { font-size: 26px; }
.auth-hero { border-radius: 0 0 22px 22px; }
.empty .e { font-family: var(--font-accent); font-size: 40px; color: var(--pink); }
.skeleton { background: linear-gradient(90deg, #F4F6F5, #fff, #F4F6F5); background-size: 200% 100%; }
#splash { background: var(--green); }
#splash .bar::after { background: var(--pink); }
.ptr { color: var(--green); }

/* Panel */
body.is-admin, body.app.is-admin, body.is-admin #shell { background: #F6F8F7; }
.admin-side { background: var(--green); }
.admin-side nav a.on { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 var(--pink); }
.admin-head h1 { font-size: 26px; }
.kpi .v { font-size: 24px; }
body.is-admin .time.on { background: var(--green); color: #fff; }
.hbar .fill { background: var(--green); } .hbar:hover .fill { background: var(--green-2); }

/* ---------- bienvenida: crear cuenta de entrada ---------- */
body.app .welcome { position: absolute; }
.welcome { position: fixed; inset: 0; z-index: 240; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; animation: fadeUp .35s var(--ease); }
.welcome.out { opacity: 0; transition: opacity .28s; }
.w-hero { position: relative; height: 32vh; min-height: 200px; max-height: 300px; background: var(--green); }
.w-hero > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.w-hero .logo { position: absolute; left: 50%; top: calc(22px + var(--safe-t)); transform: translateX(-50%); width: 130px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); }
.w-body { padding: 22px 22px calc(26px + var(--safe-b)); max-width: 480px; margin: 0 auto; }
.w-body h1 { font-size: 34px; margin: 0 0 8px; color: var(--green); }
.w-body h1 em { color: var(--pink); }
.w-perks { display: grid; gap: 4px; margin-bottom: 20px; }
.w-perk { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line, #EEF1EF); }
.w-perk:last-child { border-bottom: 0; }
.w-perk > span { flex: none; width: 42px; height: 42px; border-radius: 14px; background: #FEF6EE; display: grid; place-items: center; font-size: 21px; }
.w-perk b { display: block; font-size: 15px; color: var(--text); }
.w-perk small { display: block; font-size: 13px; line-height: 1.4; color: var(--text-2); margin-top: 2px; }
.w-skip { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--text-2); font-size: 14px; text-decoration: underline; padding: 8px; }
