/* =====================================================================
   SABRINA · BROWS · SKIN · TAN — Portal de clientas
   Minimalismo funcional + beauty editorial. Mobile-first.
   Reemplaza tema.css / tema-cliente.css / tema-colores.css / cursor.css
   SOLO en la vista pública (index.html). El panel admin no usa este archivo.
   ===================================================================== */

:root {
  --ivory: #F8F5F1;
  --beige: #EEE7DF;
  --beige-2: #E6DDD3;
  --mink: #6B5548;
  --mink-2: #5C483C;
  --choc: #453329;
  --taupe: #978B82;
  --muted: #74675E;          /* texto secundario: contraste AA sobre marfil */
  --white: #FFFFFF;
  --line: rgba(69, 51, 41, .12);
  --line-2: rgba(69, 51, 41, .2);
  --ok: #4E6B4F;
  --ok-bg: #E7EDE4;
  --warn: #8A5A1C;
  --warn-bg: #F4EADB;
  --err: #9A3B32;
  --err-bg: #F5E3DF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(69, 51, 41, .05), 0 6px 20px rgba(69, 51, 41, .06);
  --shadow-up: 0 -1px 0 var(--line), 0 -8px 24px rgba(69, 51, 41, .05);
  --header-h: 60px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --gutter: 16px;
  --page-max: 640px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
body.portal {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--choc);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
}
body.portal.con-cta { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 84px); }
img, svg, video, canvas { max-width: 100%; }
img { display: block; height: auto; }
button { font: inherit; color: inherit; }
a { color: var(--mink); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--choc); letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mink); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 1000; background: var(--choc); color: var(--ivory); padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 8px; }
.ico { width: 22px; height: 22px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 300;
  height: calc(var(--header-h) + var(--safe-t));
  padding: var(--safe-t) 8px 0;
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  background: rgba(248, 245, 241, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.app-header > * { grid-row: 1; }
#hdr-back { grid-column: 1; }
.hdr-logo { grid-column: 2; justify-self: center; display: block; line-height: 0; cursor: pointer; background: none; border: 0; padding: 4px; }
.hdr-logo img { width: 112px; height: auto; }
.hdr-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 50%; color: var(--choc); cursor: pointer; text-decoration: none;
}
.hdr-btn:hover { background: var(--beige); }
.hdr-btn.right { grid-column: 3; justify-self: end; }
.hdr-nav { display: none; }

/* ---------- Secciones ---------- */
.client-section { display: none; animation: fadeIn .22s ease; }
.client-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.page { max-width: var(--page-max); margin: 0 auto; padding: 20px var(--gutter) 28px; }
.page-head { margin-bottom: 18px; }
.page-head h1, .h-page { font-size: 26px; font-weight: 300; line-height: 1.2; }
.page-head p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.h-section { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin: 26px 0 10px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px;
  border: 1px solid transparent; background: var(--beige); color: var(--choc);
  font-size: 15px; font-weight: 500; letter-spacing: .005em; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(.985); }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary, .btn-rosa-dark, .btn-rosa { background: var(--choc); color: var(--ivory); }
.btn-primary:hover, .btn-rosa-dark:hover, .btn-rosa:hover { background: var(--mink-2); }
.btn-light { background: var(--ivory); color: var(--choc); }
.btn-light:hover { background: var(--white); }
.btn-outline, .btn-secondary { background: transparent; border-color: var(--line-2); color: var(--choc); }
.btn-outline:hover, .btn-secondary:hover { background: var(--beige); }
.btn-ghost { background: transparent; color: var(--mink); padding: 0 10px; }
.btn-ghost:hover { background: var(--beige); }
.btn-lg { min-height: 52px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-danger { background: transparent; color: var(--err); border-color: rgba(154, 59, 50, .3); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--mink); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107, 85, 72, .35); }
.actions { display: flex; gap: 10px; margin-top: 20px; }
.actions .btn { flex: 1; }
.actions.end { justify-content: flex-end; }
.actions.end .btn { flex: 0 1 auto; }

/* ---------- Formularios ---------- */
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row > .form-group { min-width: 0; }
.form-label, .label { display: block; font-size: 13px; font-weight: 500; color: var(--choc); margin-bottom: 6px; }
.form-label .opt { color: var(--muted); font-weight: 400; }
.form-control, .input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--white);
  font: inherit; font-size: 16px; /* 16px evita el zoom de iOS */ color: var(--choc);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
textarea.form-control { min-height: 88px; resize: vertical; line-height: 1.45; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236B5548' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-control:focus, .input:focus { outline: none; border-color: var(--mink); box-shadow: 0 0 0 3px rgba(107, 85, 72, .14); }
.form-control::placeholder { color: #A99D94; }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.field-status { font-size: 13px; margin-top: 6px; min-height: 18px; color: var(--muted); }
.field-wrap { position: relative; }
.field-wrap .field-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--taupe); pointer-events: none; }
.field-wrap .form-control.with-ico { padding-left: 42px; }
.field-wrap .field-end { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--choc); cursor: pointer; margin: 6px 0 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--choc); flex: 0 0 auto; margin: 1px 0 0; }
.search { margin-bottom: 12px; }

/* ---------- Superficies ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.panel { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.note { background: var(--beige); border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; color: var(--choc); line-height: 1.45; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ---------- Estados ---------- */
.empty-state { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty-state .empty-icon { display: none; }
.empty-state p { font-size: 14.5px; line-height: 1.5; }
.empty-art { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--beige); display: flex; align-items: center; justify-content: center; color: var(--mink); }
.empty-art .ico { width: 28px; height: 28px; }
.empty-title { font-size: 19px; font-weight: 400; color: var(--choc); margin-bottom: 6px; }
.loader { display: flex; justify-content: center; padding: 28px 0; }
.spinner { width: 26px; height: 26px; border: 2px solid var(--beige-2); border-top-color: var(--mink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--beige) 0%, #F3EEE8 50%, var(--beige) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Toasts ---------- */
#toast-container { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); z-index: 20000; display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 420px; pointer-events: none; }
.toast { background: var(--choc); color: var(--ivory); padding: 13px 16px; border-radius: 12px; font-size: 14px; line-height: 1.4; box-shadow: 0 10px 30px rgba(69, 51, 41, .25); animation: toastIn .25s ease; pointer-events: auto; }
.toast-error { background: var(--err); }
.toast-warning { background: #7A5528; }
.toast-success { background: var(--choc); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Tabbar (navegación principal) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(248, 245, 241, .97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-up);
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-size: 11.5px; font-weight: 500; letter-spacing: .01em; padding: 6px 2px; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item .ico { width: 23px; height: 23px; }
.bottom-nav-item.active { color: var(--choc); }
.bottom-nav-item.active::before { content: ''; position: absolute; top: 0; left: 50%; width: 28px; height: 2px; margin-left: -14px; background: var(--choc); border-radius: 0 0 2px 2px; }

/* ---------- INICIO ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--mink);
  min-height: 320px; height: clamp(320px, 44vh, 390px);
}
.hero { --img-start: 30%; }
.hero-img { position: absolute; inset: 0 0 0 var(--img-start); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--mink) 0%, var(--mink) calc(var(--img-start) + 1%), rgba(107, 85, 72, .82) calc(var(--img-start) + 12%), rgba(107, 85, 72, .35) calc(var(--img-start) + 26%), rgba(107, 85, 72, 0) calc(var(--img-start) + 40%)); pointer-events: none; }
.hero-text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px var(--gutter) 30px; color: var(--ivory); max-width: 68%; }
.hero-text .eyebrow { color: rgba(248, 245, 241, .82); font-size: 11px; }
.hero-rule { width: 40px; height: 1px; background: rgba(248, 245, 241, .55); margin: 14px 0 16px; }
.hero-title { color: var(--ivory); font-size: 30px; font-weight: 300; line-height: 1.15; letter-spacing: -.015em; }
.hero-sub { display: none; color: rgba(248, 245, 241, .86); font-size: 14px; margin-top: 10px; line-height: 1.45; }
.hero .btn { margin-top: 20px; align-self: flex-start; }

.home-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.cat-card {
  position: relative; display: block; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--r); aspect-ratio: 3 / 4.6; background: var(--beige);
  -webkit-tap-highlight-color: transparent; text-align: left;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(69, 51, 41, 0) 52%, rgba(69, 51, 41, .72) 100%); }
.cat-card span { position: absolute; left: 9px; right: 9px; bottom: 10px; z-index: 2; color: var(--ivory); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.cat-card span .ico { width: 15px; height: 15px; opacity: .9; display: none; }
@media (hover: hover) { .cat-card:hover img { transform: scale(1.04); } }

.quick { margin-top: 18px; display: grid; gap: 10px; }
.quick-row {
  display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px; background: var(--beige); border: 0; border-radius: var(--r);
  text-align: left; cursor: pointer; color: var(--choc); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.quick-row:hover { background: var(--beige-2); }
.quick-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ivory); display: flex; align-items: center; justify-content: center; color: var(--mink); }
.quick-row strong { display: block; font-size: 15.5px; font-weight: 500; }
.quick-row small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; line-height: 1.35; }
.quick-row > .ico { color: var(--mink); }

.resenas { margin-top: 30px; }
.resenas-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.resenas-scroll::-webkit-scrollbar { display: none; }
.resena { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.resena-stars { color: var(--mink); letter-spacing: 2px; font-size: 13px; }
.resena p { font-size: 14px; line-height: 1.55; color: var(--choc); flex: 1; }
.resena footer { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }

.site-foot { margin: 34px auto 0; padding: 24px var(--gutter) 20px; border-top: 1px solid var(--line); max-width: 1080px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-foot img { width: 96px; margin: 0 auto 10px; opacity: .9; }
.site-foot a { color: var(--mink); text-decoration: none; }
.site-foot .foot-links { display: flex; justify-content: center; gap: 18px; margin: 10px 0 14px; flex-wrap: wrap; }
.site-foot .foot-credit { font-size: 11.5px; color: var(--taupe); }
.site-foot .foot-credit a { color: var(--taupe); }

/* ---------- Chips de categoría ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--choc); font-size: 14px; cursor: pointer; white-space: nowrap; }
.chip.active { background: var(--choc); border-color: var(--choc); color: var(--ivory); }

/* ---------- Lista de servicios ---------- */
.svc-cat { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin: 18px 0 6px; }
.svc-cat:first-child { margin-top: 4px; }
.svc-list { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--beige); }
.svc-thumb.ph { display: flex; align-items: center; justify-content: center; color: var(--mink); font-size: 18px; font-weight: 300; }
.svc-main { min-width: 0; }
.svc-open { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; display: block; }
button.svc-name { font-size: 15px; font-weight: 500; }
.svc-name { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--choc); overflow-wrap: anywhere; }
.svc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.svc-meta .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }
.svc-more { background: none; border: 0; padding: 0; font-size: 13px; color: var(--mink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107, 85, 72, .35); }
.svc-desc { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.svc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.svc-price { font-size: 15px; font-weight: 500; color: var(--choc); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-add {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center; color: var(--choc); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.svc-add .ico { width: 18px; height: 18px; }
.svc-add.on { background: var(--choc); border-color: var(--choc); color: var(--ivory); }
.svc-row.selected .svc-name { color: var(--choc); }
.svc-book { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }

/* ---------- Barra de acción fija (reserva) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; z-index: 350;
  bottom: calc(var(--tabbar-h) + var(--safe-b));
  padding: 10px var(--gutter); background: rgba(248, 245, 241, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: none;
}
.sticky-cta.show { display: block; }
.sticky-cta-in { max-width: var(--page-max); margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.sticky-cta-info { flex: 1; min-width: 0; display: block; background: none; border: 0; padding: 4px 0; text-align: left; color: inherit; font: inherit; cursor: default; }
.sticky-cta-info.tocable { cursor: pointer; }
.sticky-cta-info .ver { color: var(--mink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107, 85, 72, .35); white-space: nowrap; }
.cart-list { display: flex; flex-direction: column; margin-bottom: 4px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { padding-top: 4px; }
.cart-name { font-size: 15px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.cart-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.cart-price { font-size: 15px; font-weight: 500; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.cart-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.stepper-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); }
.stepper-qty button { width: 40px; height: 38px; border: 0; background: none; color: var(--choc); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 999px; }
.stepper-qty button:disabled { color: #C6BDB5; cursor: default; }
.stepper-qty button .ico { width: 18px; height: 18px; }
.stepper-qty span { min-width: 26px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-remove { background: none; border: 0; color: var(--err); font-size: 14px; cursor: pointer; padding: 8px 4px; display: inline-flex; align-items: center; gap: 4px; }
.cart-remove .ico { width: 16px; height: 16px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-size: 16px; font-weight: 500; }
.cart-total small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.svc-add .qty { font-size: 14px; font-weight: 500; }
.sticky-cta-info strong { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta-info span { font-size: 12.5px; color: var(--muted); }

/* ---------- Progreso de reserva ---------- */
.stepper { display: flex; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; }
.step { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.step::before { content: ''; height: 3px; border-radius: 3px; background: var(--beige-2); transition: background .2s; }
.step.active::before, .step.done::before { background: var(--choc); }
.step-circle { display: none; }
.step-label { font-size: 12px; color: var(--muted); }
.step.active .step-label { color: var(--choc); font-weight: 500; }
.step.oculto { display: none; }
.paso-title { font-size: 20px; font-weight: 400; margin-bottom: 4px; }
.paso-sub { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.paso-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; margin: -6px 0 10px; color: var(--mink); font-size: 14px; cursor: pointer; }
.paso-back .ico { width: 18px; height: 18px; }

/* Calendario */
.cal-layout { display: grid; gap: 16px; }
.cal-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 10px 10px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; padding: 0 2px; }
.cal-header h3 { font-size: 16px; font-weight: 500; }
.cal-nav { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--choc); cursor: pointer; }
.cal-nav:hover { background: var(--beige); }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.cal-dow span { font-size: 11.5px; color: var(--muted); padding: 6px 0; }
.cal-days { gap: 2px; }
.cal-day {
  aspect-ratio: 1; max-height: 46px; width: 100%; border: 0; background: transparent; border-radius: 50%;
  font-size: 15px; color: var(--choc); cursor: pointer; font-variant-numeric: tabular-nums; position: relative; padding: 0;
}
.cal-day:not(:disabled):not(.empty) { font-weight: 500; }
.cal-day:not(:disabled):not(.empty):not(.selected)::after { content: ''; position: absolute; left: 50%; bottom: 13%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mink); opacity: .55; }
.cal-day:hover:not(:disabled) { background: var(--beige); }
.cal-day:disabled { color: #C6BDB5; cursor: default; font-weight: 400; }
.cal-day.empty { visibility: hidden; }
.cal-day.today:not(.selected) { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-day.selected { background: var(--choc); color: var(--ivory); }
.cal-day.fecha-especial:not(:disabled):not(.selected) { background: var(--beige); }
.cal-aviso { margin-top: 10px; }
.slots-section h4 { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--choc); font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover:not(:disabled) { border-color: var(--mink); }
.slot.selected { background: var(--choc); border-color: var(--choc); color: var(--ivory); }
.slot.taken, .slot:disabled { display: none; }
.slots-section p { color: var(--muted) !important; }

/* Profesionales (paso oculto, se conserva por compatibilidad) */
.prof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.prof-card { border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px; text-align: center; background: var(--white); cursor: pointer; }
.prof-card.selected { border-color: var(--choc); box-shadow: 0 0 0 1px var(--choc); }
.prof-avatar-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--beige); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
.prof-name { font-size: 14px; font-weight: 500; }
.prof-check { display: none; }

/* Resumen */
.sum { display: grid; gap: 12px; }
.sum-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.sum-title { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-bottom: 10px; }
.sum-svc { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 6px 0; }
.sum-svc span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.sum-kv div small { display: block; font-size: 12.5px; color: var(--muted); }
.sum-kv div strong { display: block; font-size: 15px; font-weight: 500; margin-top: 2px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 5px 0; }
.sum-line.discount { color: var(--ok); }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px; font-size: 16px; font-weight: 500; }
.sum-place { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--choc); line-height: 1.45; }
.sum-place .ico { color: var(--mink); margin-top: 1px; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-opt { border: 1px solid var(--line-2); background: var(--white); border-radius: 12px; padding: 12px; text-align: left; cursor: pointer; color: var(--choc); }
.pay-opt small { display: block; font-size: 12.5px; color: var(--muted); }
.pay-opt strong { display: block; font-size: 17px; font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.pay-opt.on { border-color: var(--choc); box-shadow: 0 0 0 1px var(--choc); }
.pay-opt.solo { grid-column: 1 / -1; }
.code-row { display: flex; gap: 8px; }
.code-row .form-control { text-transform: uppercase; letter-spacing: .06em; min-height: 44px; font-size: 15px; }
.code-row .btn { min-height: 44px; }
.code-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.code-applied code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.code-error { font-size: 13px; color: var(--err); margin-top: 6px; display: none; }
details.extra { border-top: 1px solid var(--line); padding-top: 4px; }
details.extra summary { cursor: pointer; list-style: none; padding: 10px 0; font-size: 14px; color: var(--mink); display: flex; justify-content: space-between; align-items: center; }
details.extra summary::-webkit-details-marker { display: none; }
details.extra[open] summary .ico { transform: rotate(180deg); }
details.extra summary .ico { transition: transform .2s; width: 18px; height: 18px; }
.alert { border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-err { background: var(--err-bg); color: var(--err); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }

/* Éxito */
.success { text-align: center; padding: 24px 4px; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--choc); color: var(--ivory); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.success-mark .ico { width: 30px; height: 30px; stroke-width: 1.8; }
.success h2 { font-size: 24px; font-weight: 300; margin-bottom: 8px; }
.success-msg { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 auto 18px; max-width: 420px; }
.success-msg strong { color: var(--choc); font-weight: 500; }
.success .actions { flex-direction: column; max-width: 360px; margin: 18px auto 0; }

/* ---------- Mis turnos ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--beige); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.tab { min-height: 40px; border: 0; background: transparent; border-radius: 9px; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--white); color: var(--choc); font-weight: 500; box-shadow: 0 1px 3px rgba(69, 51, 41, .1); }
.appts { display: grid; gap: 12px; }
.appt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.appt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.appt-date { display: flex; gap: 14px; align-items: center; }
.appt-cal { width: 52px; flex: 0 0 auto; text-align: center; border-radius: 12px; background: var(--beige); padding: 7px 0 6px; line-height: 1.1; }
.appt-cal small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.appt-cal strong { display: block; font-size: 21px; font-weight: 400; }
.appt-title { font-size: 15.5px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.appt-when { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.appt-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.appt-meta span { display: inline-flex; align-items: center; gap: 5px; }
.appt-meta .ico { width: 15px; height: 15px; }
.appt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.appt-aviso { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.appt-aviso + .appt-actions { margin-top: 10px; }
.appt-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.appt-links.solo { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.appt-links a, .appt-links button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; background: none; border-radius: 10px; color: var(--mink); font-size: 13.5px; text-decoration: none; cursor: pointer; }
.appt-links a:hover, .appt-links button:hover { background: var(--beige); }
.appt.pasado { background: transparent; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--beige); color: var(--choc); }
.badge.b-ok { background: var(--ok-bg); color: var(--ok); }
.badge.b-pend { background: var(--warn-bg); color: var(--warn); }
.badge.b-cancel { background: var(--err-bg); color: var(--err); }
.badge.b-done { background: var(--beige); color: var(--muted); }

/* ---------- Hojas / modales ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 9000; background: rgba(43, 32, 26, .45); display: none; align-items: flex-end; justify-content: center; }
.sheet-backdrop.open, .sheet-backdrop[style*="flex"], .sheet-backdrop[style*="block"] { display: flex !important; }
.sheet {
  background: var(--ivory); width: 100%; max-width: 560px; max-height: 90vh; max-height: 90dvh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 8px var(--gutter) calc(20px + var(--safe-b));
  animation: sheetUp .25s ease; -webkit-overflow-scrolling: touch;
}
.sheet::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--beige-2); margin: 4px auto 10px; }
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sheet-head h2 { font-size: 20px; font-weight: 400; line-height: 1.25; }
.sheet-close { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--beige); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--choc); }
.sheet-img { margin: 0 calc(-1 * var(--gutter)) 14px; }
.sheet-img img { width: 100%; max-height: 300px; object-fit: cover; }
.dialog { background: var(--ivory); border-radius: var(--r-lg); padding: 26px 22px 22px; width: calc(100% - 32px); max-width: 420px; margin: auto; box-shadow: 0 20px 60px rgba(43, 32, 26, .3); position: relative; }
.dialog-center { align-items: center; }
.opt-list { display: grid; gap: 8px; }
.opt-btn { width: 100%; text-align: left; border: 1px solid var(--line-2); background: var(--white); border-radius: 12px; padding: 14px; cursor: pointer; color: var(--choc); }
.opt-btn strong { display: block; font-weight: 500; font-size: 15px; }
.opt-btn small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

/* ---------- Cuenta ---------- */
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--mink); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 300; flex: 0 0 auto; }
.profile-head h1 { font-size: 22px; font-weight: 400; line-height: 1.2; overflow-wrap: anywhere; }
.profile-head p { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.profile-head .grow { flex: 1; min-width: 0; }
.group { margin-bottom: 22px; }
.group-title { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin: 0 0 8px 2px; }
.list { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; border: 0; background: transparent; border-bottom: 1px solid var(--line); text-align: left; color: var(--choc); text-decoration: none; cursor: pointer; font-size: 15px; }
.list-row:last-child { border-bottom: 0; }
button.list-row:hover, a.list-row:hover { background: #FCFAF8; }
.list-row .ico { color: var(--mink); }
.list-row .grow { flex: 1; min-width: 0; }
.list-row small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; overflow-wrap: anywhere; }
.list-row .chev { color: var(--taupe); width: 18px; height: 18px; }
.list-row.static { cursor: default; }
.list-row.danger { color: var(--err); }
.list-row.danger .ico { color: var(--err); }
.edit-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }

/* ---------- Auth ---------- */
.auth { max-width: 440px; }
.auth-lead { font-size: 14.5px; color: var(--muted); margin: -8px 0 20px; line-height: 1.5; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Gift card ---------- */
.gc-cover { position: relative; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; aspect-ratio: 16 / 10; background: var(--beige); }
.gc-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.gc-preview {
  position: relative; border-radius: 18px; padding: 20px 20px 18px; color: #F3E9DE; overflow: hidden;
  background: radial-gradient(120% 140% at 85% 0%, #5E4A3E 0%, var(--choc) 55%, #3A2B22 100%);
  box-shadow: 0 14px 34px rgba(69, 51, 41, .22); margin-bottom: 22px; aspect-ratio: 1.586; display: flex; flex-direction: column;
}
.gc-preview::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.gc-preview-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gc-preview-top img { width: 104px; }
.gc-preview-top span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.gc-preview-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.gc-preview-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.gc-preview-valor { font-size: 28px; font-weight: 300; line-height: 1.2; margin-top: 2px; overflow-wrap: anywhere; }
.gc-preview-valor .gc-svc-txt { font-size: 16px; line-height: 1.35; display: block; font-weight: 400; }
.gc-preview-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-size: 12px; }
.gc-preview-foot small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.gc-preview-foot strong { display: block; font-weight: 500; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-preview-foot > div { min-width: 0; }
.gc-preview-foot .r { text-align: right; flex: 0 0 auto; }
.gc-ded { font-size: 12px; opacity: .8; margin-top: 6px; font-style: italic; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-opt { border: 1px solid var(--line-2); background: var(--white); border-radius: 12px; padding: 13px 12px; text-align: left; cursor: pointer; color: var(--choc); }
.seg-opt strong { display: block; font-size: 14.5px; font-weight: 500; }
.seg-opt small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.seg-opt.on { border-color: var(--choc); box-shadow: 0 0 0 1px var(--choc); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gc-monto-btn { min-height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); color: var(--choc); font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; }
.gc-monto-btn.selected { background: var(--choc); border-color: var(--choc); color: var(--ivory); }
.gc-svc-list { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.gc-svc { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; color: var(--choc); }
.gc-svc:last-child { border-bottom: 0; }
.gc-svc .tick { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: var(--ivory); }
.gc-svc.on .tick { background: var(--choc); border-color: var(--choc); }
.gc-svc .grow { flex: 1; min-width: 0; font-size: 14px; }
.gc-svc .grow small { display: block; color: var(--muted); font-size: 12px; }
.gc-svc .p { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gc-result { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 18px; margin-top: 16px; }
.gc-result h3 { font-size: 20px; font-weight: 400; margin: 10px 0 6px; }
.gc-result code { display: inline-block; margin: 10px 0; padding: 10px 16px; border-radius: 10px; background: var(--beige); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; letter-spacing: .1em; }
.gc-validez { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- Ubicación ---------- */
.loc-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--beige); margin-bottom: 18px; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.loc-addr { font-size: 18px; font-weight: 400; line-height: 1.35; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.hours li:last-child { border-bottom: 0; }
.hours li.hoy { font-weight: 500; background: #FCFAF8; }
.hours li .cerrado { color: var(--muted); }

/* ---------- PWA / avisos ---------- */
.pwa-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); z-index: 9100; width: calc(100% - 24px); max-width: 400px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(69, 51, 41, .18); padding: 12px 14px; align-items: center; gap: 12px; display: none; }
.pwa-banner img { width: 44px; height: 44px; border-radius: 11px; flex: 0 0 auto; }
.pwa-banner .grow { flex: 1; min-width: 0; }
.pwa-banner strong { display: block; font-size: 14px; font-weight: 500; }
.pwa-banner small { display: block; font-size: 12.5px; color: var(--muted); }
.ios-steps { display: grid; gap: 10px; margin: 6px 0 20px; }
.ios-step { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.ios-step b { font-weight: 500; }
.ios-step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--beige); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: 0 0 auto; }
#sw-update-banner { background: var(--choc) !important; box-shadow: none !important; }
#sw-update-banner button:first-of-type { color: var(--choc) !important; }

/* ---------- Responsive: tablet ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; --page-max: 720px; }
  .hero { height: 440px; }
  .hero { --img-start: 36%; }
  .hero-text { max-width: 56%; padding-bottom: 40px; }
  .hero-title { font-size: 38px; }
  .cats { gap: 12px; margin-top: 20px; }
  .cat-card { aspect-ratio: 3 / 4; }
  .cat-card span { font-size: 14.5px; left: 14px; right: 14px; bottom: 14px; }
  .cat-card span .ico { display: block; }
  .hero-sub { display: block; }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .quick-row { grid-template-columns: 1fr; padding: 16px; gap: 10px; align-content: start; }
  .quick-row > .ico { display: none; }
  .resenas-scroll { grid-auto-columns: calc(50% - 5px); }
  .cal-layout { grid-template-columns: minmax(300px, 1fr) 1fr; align-items: start; }
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: var(--r-lg); max-height: 86vh; }
  .sheet::before { display: none; }
}

/* ---------- Responsive: computadora ---------- */
@media (min-width: 960px) {
  :root { --tabbar-h: 0px; --header-h: 72px; }
  body.portal, body.portal.con-cta { padding-bottom: 0; }
  body.portal.con-cta { padding-bottom: 90px; }
  .tabbar { display: none; }
  .app-header { grid-template-columns: 1fr auto 1fr; padding: 0 32px; }
  .hdr-logo { grid-column: 2; }
  .hdr-logo img { width: 128px; }
  .hdr-btn.right { grid-column: 3; }
  #hdr-back { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); }
  .hdr-nav { display: flex; grid-column: 1; grid-row: 1; gap: 4px; }
  .hdr-nav a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--muted); text-decoration: none; cursor: pointer; }
  .hdr-nav a:hover { color: var(--choc); background: var(--beige); }
  .hdr-nav a.active { color: var(--choc); font-weight: 500; }
  .page { padding-top: 36px; }
  .page-head h1, .h-page { font-size: 32px; }
  .hero { height: 500px; margin: 24px auto 0; max-width: 1016px; border-radius: var(--r-lg); }
  .hero { --img-start: 40%; }
  .hero-text { max-width: 50%; padding: 48px; }
  .hero-title { font-size: 46px; }
  .hero-sub { font-size: 16px; max-width: 380px; }
  .home-wrap { padding: 0 32px; }
  .cats { gap: 16px; margin-top: 24px; }
  .cat-card { aspect-ratio: 1 / 1.15; }
  .quick { gap: 16px; margin-top: 22px; }
  .resenas-scroll { grid-auto-columns: calc(33.333% - 7px); }
  .sticky-cta { bottom: 0; }
  #toast-container { bottom: 24px; }
  .pwa-banner { display: none !important; }
  .svc-row { grid-template-columns: 64px 1fr auto; }
  .svc-thumb { width: 64px; height: 64px; }
}

/* ---------- Pantallas muy angostas ---------- */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat-card { aspect-ratio: 4 / 3.4; }
  .hero-title { font-size: 26px; }
  .hero-text { max-width: 76%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .pay-opts { grid-template-columns: 1fr; }
  .bottom-nav-item { font-size: 10.5px; }
}

/* Selector de cantidad en la lista de servicios */
.stepper-qty.svc-qty { background: var(--choc); border-color: var(--choc); color: var(--ivory); }
.stepper-qty.svc-qty button { width: 34px; height: 34px; color: var(--ivory); }
.stepper-qty.svc-qty span { min-width: 18px; color: var(--ivory); font-weight: 500; }

/* Reserva pública: catálogo amplio y selección persistente. */
#sec-turno>.page { max-width:1200px; }
.reserva-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; align-items:start; }
.reserva-principal { min-width:0; }
.reserva-resumen { position:sticky; top:calc(var(--header-h) + 20px); background:#f0e8df; border:1px solid #ded0c3; border-radius:18px; padding:24px; }
.reserva-resumen h2 { font-size:24px; margin:0 0 18px; }
.reserva-elegidos>div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14px; }
.reserva-elegidos button { width:44px; height:44px; flex-shrink:0; background:none; border:0; color:var(--mink); }
.reserva-total { display:flex; justify-content:space-between; gap:12px; margin-top:18px; font-size:15px; }
.reserva-total strong { font-size:24px; }
.reserva-resumen>.btn { width:100%; margin-top:24px; min-height:48px; }
#sec-turno #chips-turno { margin:0 0 18px; padding:0; gap:8px; flex-wrap:wrap; overflow:visible; }
#chips-turno .chip { height:auto; min-height:44px; white-space:normal; text-align:left; max-width:100%; line-height:1.4; padding:10px 14px; overflow-wrap:anywhere; }
#turno-servicios-lista .svc-row { border:1px solid #e3d8cc; border-radius:16px; background:#fcfaf7; padding:16px; margin-bottom:12px; grid-template-columns:76px minmax(0,1fr) auto; gap:16px; align-items:center; }
#turno-servicios-lista .svc-row.selected { border-color:#8a8e71; background:#eeeee2; box-shadow:0 0 0 1px #8a8e71; }
#turno-servicios-lista .svc-thumb { width:76px; height:86px; object-fit:cover; border-radius:12px; }
#turno-servicios-lista .svc-name { font-size:16px; line-height:1.45; white-space:normal; }
#turno-servicios-lista .svc-side { gap:9px; min-width:120px; }
#turno-servicios-lista .svc-price { font-size:18px; font-weight:600; }
#turno-servicios-lista .svc-add { width:auto; min-width:110px; min-height:44px; padding:0 12px; gap:6px; border-radius:10px; font-size:14px; }
#turno-servicios-lista .svc-more { min-height:44px; text-align:left; }
#turno-servicios-lista .svc-qty button { min-width:44px; min-height:44px; }
.svc-selected-label { color:#51603d; font-size:13px; font-weight:600; }
.reserva-cat-mobile { display:none; }
@media(min-width:1000px) {
 .reserva-layout:has(.reserva-resumen:not([hidden])) { grid-template-columns:minmax(0,1fr) 310px; }
 .sticky-cta.cta-servicios { display:none !important; }
}
@media(max-width:999px) { .reserva-resumen { display:none; } }
@media(max-width:640px) {
 #sec-turno>.page { width:100%; padding-inline:14px; }
 #sec-turno #chips-turno { display:none; }
 .reserva-cat-mobile { display:block; font-size:13px; color:var(--mink); margin-bottom:18px; }
 .reserva-cat-mobile select { display:block; width:100%; min-height:48px; border:1px solid #d8c8b8; border-radius:12px; padding:10px; background:#fcfaf7; color:var(--choc); font:inherit; margin-top:5px; }
 #turno-servicios-lista .svc-row { grid-template-columns:60px minmax(0,1fr); gap:10px; padding:12px; }
 #turno-servicios-lista .svc-thumb { width:60px; height:70px; grid-row:1 / span 2; align-self:start; }
 #turno-servicios-lista .svc-main { grid-column:2; min-width:0; }
 #turno-servicios-lista .svc-side { grid-column:2; display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
 #turno-servicios-lista .svc-name { font-size:15px; }
 #turno-servicios-lista .svc-selected-label { width:100%; }
 .sticky-cta .btn { min-height:48px; padding-inline:14px; }
 .sticky-cta-info { min-height:44px; }
 body.con-cta #sec-turno { padding-bottom:calc(150px + env(safe-area-inset-bottom)); }
}
