@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.5.0/fonts/remixicon.css');

/* ===========================================================================
   ZENTRO Client Panel 3.19.0 — editorial premium, claro + oscuro
   Acento = color del barbero (var(--shop-color)). Body = var(--zc-font).
   Display = Space Grotesk. Iconos = Remix line.
   El bake (panel_shortcode.php) hace str_replace EXACTO de la línea --zc-font
   y añade :root{--shop-color;--zc-accent-rgb} al final. NO tocar esos nombres.
   =========================================================================== */

:root{
  --zc-font: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --zc-display: 'Space Grotesk', 'DM Sans', sans-serif;

  --shop-color: #C2410C;        /* default; el bake lo sobreescribe */
  --zc-accent-rgb: 194,65,12;   /* default; el bake lo sobreescribe */
  --accent: var(--shop-color);
  --accent-soft: rgba(var(--zc-accent-rgb), .10);
  --accent-tint: rgba(var(--zc-accent-rgb), .055);

  --bg:#FAFAFA; --surface:#FFFFFF; --surface-2:#F3F3F5; --surface-3:#ECECEF;
  --text:#141416; --text-2:#6B6B72; --text-3:#9B9BA2;
  --line:rgba(18,18,22,.085); --line-2:rgba(18,18,22,.14);
  --primary:#141416; --on-primary:#FFFFFF; --on-primary-soft:rgba(255,255,255,.18);
  --danger:#C2362F; --danger-soft:rgba(194,54,47,.10);
  --ok:#0F7B53;
  --shadow:0 1px 2px rgba(18,18,22,.03), 0 10px 26px -18px rgba(18,18,22,.14);
  --shadow-hi:0 2px 4px rgba(18,18,22,.04), 0 18px 40px -20px rgba(18,18,22,.20);
  --navbg:rgba(255,255,255,.82);

  --ease-out:cubic-bezier(.23,1,.32,1);
  --ease-drawer:cubic-bezier(.32,.72,0,1);
  --r-lg:18px; --r-card:16px; --r-sm:12px; --r-xs:10px;
  --safe-t:env(safe-area-inset-top,0px);
  --safe-b:env(safe-area-inset-bottom,0px);
  --maxw:480px;
}
[data-theme="dark"]{
  --accent-soft: rgba(var(--zc-accent-rgb), .18);
  --accent-tint: rgba(var(--zc-accent-rgb), .14);
  --bg:#0A0A0B; --surface:#151518; --surface-2:rgba(255,255,255,.055); --surface-3:rgba(255,255,255,.09);
  --text:#F4F4F6; --text-2:#9A9AA2; --text-3:#6A6A73;
  --line:rgba(255,255,255,.09); --line-2:rgba(255,255,255,.16);
  --primary:#F4F4F6; --on-primary:#0A0A0B; --on-primary-soft:rgba(10,10,11,.12);
  --danger:#E5634D; --danger-soft:rgba(229,99,77,.16);
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 18px 44px -26px rgba(0,0,0,.65);
  --shadow-hi:0 2px 6px rgba(0,0,0,.5), 0 26px 54px -26px rgba(0,0,0,.8);
  --navbg:rgba(21,21,24,.74);
}

*{ box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }
html,body{ background:var(--bg); }
i[class^="ri-"],i[class*=" ri-"]{ font-style:normal; line-height:1; display:inline-flex; }

/* ---------- app shell ---------- */
#zcp-root{ position:fixed; inset:0; background:var(--bg); color:var(--text);
  font-family:var(--zc-font); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  display:flex; flex-direction:column; overflow:hidden; }
.zc-app{ position:relative; width:100%; max-width:var(--maxw); margin:0 auto; flex:1; min-height:0; display:flex; flex-direction:column; }

.zc-hd{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:calc(var(--safe-t) + 12px) 18px 10px; flex:0 0 auto; }
.zc-hd__name{ font-family:var(--zc-display); font-weight:600; font-size:16px; letter-spacing:-.01em; color:var(--text);
  text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.zc-hd__right{ display:flex; align-items:center; gap:8px; }
.zc-iconbtn{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:var(--surface);
  color:var(--text-2); display:flex; align-items:center; justify-content:center; cursor:pointer; position:relative;
  transition:transform .16s var(--ease-out), background .2s ease; }
.zc-iconbtn:active{ transform:scale(.92); }
.zc-iconbtn i{ font-size:19px; }
.zc-hd__badge{ position:absolute; top:-2px; right:-2px; min-width:16px; height:16px; padding:0 4px; border-radius:99px;
  background:var(--accent); color:#fff; font-size:10px; font-weight:600; display:flex; align-items:center; justify-content:center;
  font-family:var(--zc-font); border:2px solid var(--bg); }
.zc-hd__avatar{ width:38px; height:38px; border-radius:50%; background:var(--surface-3); color:var(--text);
  display:flex; align-items:center; justify-content:center; font-weight:600; font-size:14px; cursor:pointer; border:1px solid var(--line); }

.zc-main{ flex:1 1 auto; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding:4px 18px calc(96px + var(--safe-b)); }
.zc-screen{ display:none; }
.zc-screen.is-active{ display:block; animation:zc-screen-in .4s var(--ease-out) both; }
@keyframes zc-screen-in{ from{ opacity:0; transform:translateY(8px) } to{ opacity:1; transform:none } }

/* stagger for direct children of a screen */
.zc-stagger > *{ animation:zc-rise .5s var(--ease-out) both; }
.zc-stagger > *:nth-child(1){ animation-delay:.02s } .zc-stagger > *:nth-child(2){ animation-delay:.07s }
.zc-stagger > *:nth-child(3){ animation-delay:.13s } .zc-stagger > *:nth-child(4){ animation-delay:.19s }
.zc-stagger > *:nth-child(5){ animation-delay:.25s } .zc-stagger > *:nth-child(6){ animation-delay:.31s }
.zc-stagger > *:nth-child(7){ animation-delay:.37s }
@keyframes zc-rise{ from{ opacity:0; transform:translateY(10px) } to{ opacity:1; transform:none } }

/* ---------- bottom nav ---------- */
.zc-nav{ position:absolute; left:13px; right:13px; bottom:calc(13px + var(--safe-b)); height:62px; border-radius:var(--r-lg);
  background:var(--navbg); backdrop-filter:blur(18px) saturate(1.4); -webkit-backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid var(--line); box-shadow:var(--shadow); display:flex; z-index:40; }
.zc-nav__ind{ position:absolute; top:7px; width:16px; height:3px; border-radius:3px; background:var(--accent);
  transition:transform .34s var(--ease-drawer); }
.zc-tab{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; position:relative;
  background:none; border:0; color:var(--text-3); cursor:pointer; font-family:var(--zc-font);
  transition:color .22s ease, transform .16s var(--ease-out); }
.zc-tab i{ font-size:22px; }
.zc-tab span{ font-size:9.5px; font-weight:500; }
.zc-tab:active{ transform:scale(.94); }
.zc-tab.is-active{ color:var(--accent); }
.zc-tab__bdg{ position:absolute; top:7px; right:calc(50% - 18px); min-width:15px; height:15px; padding:0 4px; border-radius:99px;
  background:var(--accent); color:#fff; font-size:9px; font-weight:600; display:flex; align-items:center; justify-content:center; border:2px solid var(--surface); }

/* ---------- typography bits ---------- */
.zc-eyebrow{ font-size:10.5px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--text-3); }
.zc-h1{ font-family:var(--zc-display); font-size:24px; font-weight:600; letter-spacing:-.025em; color:var(--text); line-height:1.12; }
.zc-h2{ font-family:var(--zc-display); font-size:19px; font-weight:600; letter-spacing:-.02em; color:var(--text); }
.zc-sub{ font-size:12.5px; color:var(--text-2); }
.zc-display{ font-family:var(--zc-display); }
.zc-muted{ color:var(--text-2); }

/* ---------- buttons ---------- */
.zc-btn{ border:0; cursor:pointer; font-family:var(--zc-font); font-weight:500; border-radius:var(--r-sm);
  display:inline-flex; align-items:center; justify-content:center; gap:7px; transition:transform .16s var(--ease-out), opacity .2s ease;
  -webkit-appearance:none; appearance:none; }
.zc-btn:active{ transform:scale(.96); }
.zc-btn:disabled{ opacity:.5; cursor:default; }
.zc-btn--ghost{ height:34px; padding:0 14px; background:transparent; border:1px solid var(--line-2); color:var(--text-2); font-size:13px; }
.zc-btn--solid{ height:34px; padding:0 16px; background:var(--primary); color:var(--on-primary); font-size:13px; }
.zc-btn--accent{ height:34px; padding:0 16px; background:var(--accent); color:#fff; font-size:13px; }
.zc-btn--danger{ height:34px; padding:0 14px; background:transparent; border:1px solid var(--danger); color:var(--danger); font-size:13px; }
.zc-btn--block{ width:100%; height:50px; font-size:15px; border-radius:var(--r-card); }

.zc-cta{ display:flex; align-items:center; justify-content:space-between; width:100%; height:55px; padding:0 11px 0 21px;
  border-radius:var(--r-sm); background:var(--primary); color:var(--on-primary); border:0; cursor:pointer; box-shadow:var(--shadow);
  font-family:var(--zc-display); transition:transform .16s var(--ease-out); }
.zc-cta:active{ transform:scale(.985); }
.zc-cta__lab{ font-size:15px; font-weight:500; letter-spacing:-.01em; }
.zc-cta__ic{ width:36px; height:36px; border-radius:11px; background:var(--on-primary-soft); display:flex; align-items:center; justify-content:center;
  transition:transform .2s var(--ease-out); }
.zc-cta__ic i{ font-size:18px; }
.zc-cta:hover .zc-cta__ic{ transform:translate(1px,-1px); }

/* ---------- cards & common ---------- */
.zc-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-card); box-shadow:var(--shadow);
  transition:transform .24s var(--ease-out), box-shadow .24s var(--ease-out); }
.zc-card--pad{ padding:16px 17px; }
.zc-tap{ cursor:pointer; }
.zc-badge{ font-size:11.5px; font-weight:500; color:var(--accent); background:var(--accent-soft); padding:4px 11px; border-radius:999px; white-space:nowrap; }
.zc-chip{ font-size:11.5px; font-weight:500; color:var(--text-2); background:var(--surface-2); padding:4px 10px; border-radius:999px; }
.zc-divider{ height:1px; background:var(--line); margin:14px 0; }

/* segmented control (sub-tabs) */
.zc-seg{ display:flex; gap:4px; background:var(--surface-2); border-radius:var(--r-sm); padding:4px; margin:2px 0 16px; }
.zc-seg__b{ flex:1; height:34px; border:0; background:none; border-radius:8px; cursor:pointer; font-family:var(--zc-font);
  font-size:12.5px; font-weight:500; color:var(--text-2); transition:color .2s ease, background .25s var(--ease-out); }
.zc-seg__b.is-on{ background:var(--surface); color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.06); font-weight:600; }

/* list row */
.zc-row{ display:flex; align-items:center; gap:13px; padding:14px 15px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-card); box-shadow:var(--shadow); margin-bottom:10px; cursor:pointer; transition:transform .18s var(--ease-out); }
.zc-row:active{ transform:scale(.985); }
.zc-row__ic{ width:40px; height:40px; border-radius:11px; background:var(--surface-2); color:var(--text); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.zc-row__ic i{ font-size:20px; }
.zc-row__ic--accent{ background:var(--accent-soft); color:var(--accent); }
.zc-row__main{ flex:1; min-width:0; }
.zc-row__t{ font-size:14px; font-weight:500; color:var(--text); }
.zc-row__s{ font-size:12px; color:var(--text-2); margin-top:1px; }
.zc-row__r{ font-size:13px; font-weight:600; color:var(--text); font-family:var(--zc-display); }
.zc-row__chev{ color:var(--text-3); font-size:18px; }

/* empty state */
.zc-empty{ text-align:center; padding:48px 20px; }
.zc-empty__ic{ width:56px; height:56px; border-radius:50%; background:var(--surface-2); color:var(--text-3); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.zc-empty__ic i{ font-size:26px; }
.zc-empty__t{ font-family:var(--zc-display); font-size:16px; font-weight:600; color:var(--text); }
.zc-empty__s{ font-size:13px; color:var(--text-2); margin-top:5px; line-height:1.5; }

/* skeleton */
.zc-skel{ border-radius:var(--r-card); background:linear-gradient(100deg,var(--surface-2) 30%,var(--surface-3) 50%,var(--surface-2) 70%);
  background-size:200% 100%; animation:zc-shimmer 1.3s infinite linear; margin-bottom:12px; }
@keyframes zc-shimmer{ from{ background-position:200% 0 } to{ background-position:-200% 0 } }

/* ---------- Inicio ---------- */
.zc-masthead{ position:relative; height:120px; border-radius:var(--r-card); overflow:hidden; box-shadow:var(--shadow);
  background:linear-gradient(155deg,#2C2823,#0E0B09); }
.zc-masthead__img{ position:absolute; inset:0; background-size:cover; background-position:center; }
.zc-masthead__scrim{ position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.66) 0%, rgba(0,0,0,.05) 58%); }
.zc-masthead__meta{ position:absolute; left:17px; bottom:14px; color:#fff; right:60px; }
.zc-masthead__eb{ font-size:9.5px; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.72); }
.zc-masthead__nm{ font-family:var(--zc-display); font-size:19px; font-weight:600; letter-spacing:-.015em; margin-top:3px;
  text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.zc-masthead__loc{ display:flex; align-items:center; gap:5px; font-size:11.5px; color:rgba(255,255,255,.82); margin-top:2px; }
.zc-masthead__loc i{ font-size:13px; }

.zc-greet{ margin:16px 2px 0; }
.zc-greet__p{ font-size:12.5px; color:var(--text-2); margin-top:4px; }

.zc-hero{ margin-top:17px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow); padding:18px; transition:transform .24s var(--ease-out), box-shadow .24s var(--ease-out); }
.zc-hero--cita{ background:var(--surface); background-image:linear-gradient(var(--accent-tint),var(--accent-tint));
  border-color:rgba(var(--zc-accent-rgb),.16); }
.zc-hero__top{ display:flex; align-items:center; justify-content:space-between; }
.zc-hero__when{ margin-top:13px; font-family:var(--zc-display); font-size:22px; font-weight:600; letter-spacing:-.03em; color:var(--text); line-height:1.06; }
.zc-hero__meta{ display:flex; align-items:center; gap:9px; margin-top:13px; }
.zc-hero__bav{ width:25px; height:25px; border-radius:50%; background:var(--surface); border:1px solid var(--line-2);
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:600; color:var(--text-2); flex:0 0 auto; }
.zc-hero__svc{ font-size:12.5px; color:var(--text-2); }
.zc-hero__svc b{ color:var(--text); font-weight:500; }
.zc-hero__foot{ display:flex; align-items:center; justify-content:space-between; margin-top:13px; }
.zc-hero__price{ font-family:var(--zc-display); font-size:16px; font-weight:600; color:var(--text); letter-spacing:-.01em; }
.zc-hero__price small{ font-family:var(--zc-font); font-size:11px; color:var(--text-3); font-weight:400; margin-left:5px; }
.zc-hero__acts{ display:flex; align-items:center; gap:7px; }

.zc-rebook{ display:flex; align-items:center; justify-content:center; gap:5px; margin-top:11px; font-size:12.5px; color:var(--text-2); cursor:pointer; }
.zc-rebook b{ color:var(--text); font-weight:500; }
.zc-rebook i{ font-size:15px; color:var(--text-3); }

.zc-loy{ margin-top:14px; padding:16px 17px; }
.zc-loy__top{ display:flex; align-items:center; justify-content:space-between; }
.zc-loy__streak{ display:flex; align-items:center; gap:8px; font-size:11.5px; color:var(--text-2); }
.zc-meter{ display:flex; gap:3px; }
.zc-meter i{ width:7px; height:4px; border-radius:2px; background:var(--line-2); }
.zc-meter i.on{ background:var(--accent); }
.zc-loy__bal{ margin-top:11px; font-family:var(--zc-display); font-size:27px; font-weight:600; letter-spacing:-.03em; color:var(--accent); line-height:1; }
.zc-loy__bal span{ font-size:14px; color:var(--text-3); font-weight:500; margin-left:3px; }
.zc-bar{ height:6px; border-radius:99px; background:var(--line-2); margin-top:13px; overflow:hidden; }
.zc-bar i{ display:block; height:100%; border-radius:99px; background:var(--accent); transition:width .6s var(--ease-out); }
.zc-loy__foot{ display:flex; align-items:center; justify-content:space-between; margin-top:11px; }
.zc-loy__goal{ font-size:12px; color:var(--text-2); }
.zc-loy__goal b{ color:var(--text); font-weight:500; }
.zc-loy__link{ display:flex; align-items:center; gap:2px; font-size:12px; font-weight:500; color:var(--accent); cursor:pointer; }
.zc-loy__link i{ font-size:15px; }

.zc-promo{ display:flex; align-items:center; gap:13px; margin-top:14px; padding:13px 15px; cursor:pointer; }
.zc-promo__ic{ width:38px; height:38px; border-radius:11px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.zc-promo__ic i{ font-size:20px; }
.zc-promo__tx{ flex:1; }
.zc-promo__tx b{ display:block; font-size:13.5px; font-weight:500; color:var(--text); }
.zc-promo__tx span{ font-size:11.5px; color:var(--text-2); }
.zc-promo__chev{ font-size:18px; color:var(--text-3); }

/* ---------- modal: bottom sheet ---------- */
.zc-sheet-bg{ position:fixed; inset:0; background:rgba(0,0,0,.45); opacity:0; pointer-events:none;
  transition:opacity .32s var(--ease-out); z-index:100; }
.zc-sheet-bg.is-on{ opacity:1; pointer-events:auto; }
.zc-sheet{ position:fixed; left:0; right:0; bottom:0; z-index:101; width:100%; max-width:var(--maxw); margin:0 auto;
  background:var(--surface); border-radius:22px 22px 0 0; max-height:92dvh; display:flex; flex-direction:column;
  transform:translateY(101%); transition:transform .44s var(--ease-drawer); box-shadow:0 -12px 44px rgba(0,0,0,.22);
  padding-bottom:var(--safe-b); }
.zc-sheet.is-on{ transform:translateY(0); }
.zc-sheet__handle{ width:38px; height:4px; border-radius:99px; background:var(--line-2); margin:10px auto 2px; flex:0 0 auto; }
.zc-sheet__hd{ font-family:var(--zc-display); font-size:18px; font-weight:600; letter-spacing:-.02em; padding:8px 20px 12px; flex:0 0 auto; color:var(--text); }
.zc-sheet__bd{ padding:0 20px 8px; overflow-y:auto; -webkit-overflow-scrolling:touch; flex:1 1 auto; }
.zc-sheet__ft{ padding:12px 20px calc(12px + var(--safe-b)); display:flex; gap:10px; flex:0 0 auto; }
.zc-sheet__ft .zc-btn{ flex:1; height:50px; font-size:15px; border-radius:var(--r-card); }

/* ---------- forms ---------- */
.zc-field{ margin-bottom:14px; }
.zc-label{ display:block; font-size:12px; font-weight:500; color:var(--text-2); margin-bottom:6px; }
.zc-input,.zc-select{ width:100%; height:48px; border:1px solid var(--line-2); border-radius:var(--r-sm); padding:0 14px;
  font-size:15px; font-family:var(--zc-font); background:var(--surface); color:var(--text); -webkit-appearance:none; appearance:none;
  transition:border-color .2s ease; }
.zc-input:focus,.zc-select:focus{ outline:0; border-color:var(--accent); }
.zc-input::placeholder{ color:var(--text-3); }

/* ---------- toast ---------- */
.zc-toast{ position:fixed; left:50%; bottom:calc(90px + var(--safe-b)); transform:translateX(-50%) translateY(20px);
  background:var(--text); color:var(--bg); font-size:13.5px; font-weight:500; padding:12px 18px; border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.25); z-index:200; opacity:0; pointer-events:none; max-width:calc(var(--maxw) - 40px);
  transition:opacity .26s var(--ease-out), transform .26s var(--ease-out); text-align:center; }
.zc-toast.is-on{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- boot ---------- */
#zcp-root{ opacity:0; transition:opacity .3s ease; }
#zcp-root.zc-ready{ opacity:1; }

/* ---------- Citas ---------- */
.zc-section{ font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--text-3); margin:20px 4px 11px; }
.zc-section:first-child{ margin-top:6px; }
.zc-appt-date{ width:46px; height:46px; border-radius:12px; background:var(--surface-2); display:flex; flex-direction:column; align-items:center; justify-content:center; flex:0 0 auto; }
.zc-appt-date .d{ font-family:var(--zc-display); font-size:17px; font-weight:600; line-height:1; color:var(--text); }
.zc-appt-date .m{ font-size:9px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-3); margin-top:3px; }
.zc-statpill{ font-size:11px; font-weight:600; padding:4px 9px; border-radius:99px; white-space:nowrap; flex:0 0 auto; }
.zc-statpill--next{ background:var(--accent-soft); color:var(--accent); }
.zc-statpill--past{ background:var(--surface-2); color:var(--text-2); }
.zc-statpill--cancel{ background:var(--danger-soft); color:var(--danger); }

/* ---------- Reserva (sheet) ---------- */
.zc-days{ display:flex; gap:8px; overflow-x:auto; padding:2px 0 12px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.zc-days::-webkit-scrollbar{ display:none; }
.zc-daymonth{ flex:0 0 auto; display:flex; align-items:center; font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; color:var(--text-3); padding:0 5px; }
.zc-day{ flex:0 0 auto; width:54px; padding:9px 0; border-radius:12px; border:1px solid var(--line); background:var(--surface); text-align:center; cursor:pointer; transition:transform .15s var(--ease-out), background .2s ease, border-color .2s ease; }
.zc-day:active{ transform:scale(.95); }
.zc-day[disabled]{ opacity:.35; cursor:default; }
.zc-day.is-on{ background:var(--primary); border-color:var(--primary); }
.zc-day .dow{ font-size:10px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-3); }
.zc-day.is-on .dow{ color:rgba(255,255,255,.7); }
.zc-day .dnum{ font-family:var(--zc-display); font-size:17px; font-weight:600; color:var(--text); margin-top:2px; }
.zc-day.is-on .dnum{ color:var(--on-primary); }
.zc-times{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:4px; }
.zc-time{ height:42px; border-radius:10px; border:1px solid var(--line-2); background:var(--surface); font-family:var(--zc-font); font-size:13px; font-weight:500; color:var(--text); cursor:pointer; transition:transform .12s var(--ease-out), background .15s ease, color .15s ease; }
.zc-time:active{ transform:scale(.94); }
.zc-time.is-on{ background:var(--accent); border-color:var(--accent); color:#fff; }
.zc-cfrow{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:14px; }
.zc-cfrow:last-child{ border-bottom:0; }
.zc-cfrow .k{ color:var(--text-2); }
.zc-cfrow .v{ color:var(--text); font-weight:500; text-align:right; }
.zc-stripe-el{ border:1px solid var(--line-2); border-radius:12px; padding:14px; }

/* ---------- slot chips: descuento / puntos ---------- */
.zc-time{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; min-height:42px; height:auto; padding:5px 2px; }
.zc-time .sub{ font-size:9.5px; font-weight:600; color:var(--ok); line-height:1; }
.zc-time .sub.up{ color:#2563eb; }
.zc-time .sub.pts{ color:var(--accent); }
.zc-time.is-on .sub{ color:rgba(255,255,255,.85); }
.zc-day{ position:relative; }
.zc-day .mark{ position:absolute; top:4px; right:6px; font-size:8.5px; font-weight:700; color:var(--accent); }

/* ---------- recurrencia ---------- */
.zc-recopt{ display:flex; flex-wrap:wrap; gap:8px; }
.zc-recopt button{ padding:9px 14px; border-radius:999px; border:1px solid var(--line-2); background:var(--surface);
  color:var(--text-2); font-family:var(--zc-font); font-size:12.5px; font-weight:500; cursor:pointer;
  transition:transform .14s var(--ease-out), background .18s ease, color .18s ease; }
.zc-recopt button:active{ transform:scale(.95); }
.zc-recopt button.is-on{ background:var(--primary); border-color:var(--primary); color:var(--on-primary); }
.zc-stepper{ display:flex; align-items:center; border:1px solid var(--line-2); border-radius:12px; overflow:hidden; }
.zc-stepper button{ width:48px; height:46px; border:0; background:var(--surface-2); font-size:20px; color:var(--text); cursor:pointer; }
.zc-stepper span{ flex:1; text-align:center; font-family:var(--zc-display); font-size:17px; font-weight:600; color:var(--text); }
.zc-occ{ display:flex; align-items:center; gap:10px; padding:11px 0; border-bottom:1px solid var(--line); }
.zc-occ:last-child{ border-bottom:0; }
.zc-occ__d{ flex:0 0 auto; min-width:86px; font-size:13px; font-weight:500; color:var(--text); }
.zc-occ__ok{ font-size:12px; color:var(--ok); font-weight:500; }
.zc-occ__skip{ font-size:12px; color:var(--text-3); text-decoration:line-through; }
.zc-occ__alts{ display:flex; gap:6px; flex-wrap:wrap; }
.zc-altchip{ padding:6px 11px; border-radius:999px; border:1px solid var(--line-2); background:var(--surface);
  font-family:var(--zc-font); font-size:12px; font-weight:600; color:var(--text); cursor:pointer;
  transition:transform .14s var(--ease-out); }
.zc-altchip:active{ transform:scale(.94); }
.zc-altchip.is-on{ background:var(--accent); border-color:var(--accent); color:#fff; }
.zc-altchip--ghost{ color:var(--text-3); font-weight:500; }

/* ---------- logros ---------- */
.zc-ach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding-bottom:8px; }
.zc-ach{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 8px 12px; text-align:center; cursor:pointer;
  transition:transform .16s var(--ease-out); }
.zc-ach:active{ transform:scale(.95); }
.zc-ach__e{ font-size:26px; line-height:1; }
.zc-ach__n{ font-size:10.5px; font-weight:500; color:var(--text); margin-top:7px; line-height:1.25; }
.zc-ach--locked{ opacity:.5; }
.zc-ach--locked .zc-ach__e{ filter:grayscale(1); }
.zc-ach__bar{ height:3px; border-radius:2px; background:var(--line-2); margin-top:8px; overflow:hidden; }
.zc-ach__bar i{ display:block; height:100%; background:var(--accent); border-radius:2px; }
.zc-achsum__emojis{ font-size:17px; letter-spacing:2px; }

/* ---------- slider tienda ---------- */
.zc-range{ width:100%; -webkit-appearance:none; appearance:none; height:6px; border-radius:99px; background:var(--line-2); outline:0; }
.zc-range::-webkit-slider-thumb{ -webkit-appearance:none; width:24px; height:24px; border-radius:50%; background:var(--accent);
  border:3px solid var(--surface); box-shadow:0 1px 4px rgba(0,0,0,.25); cursor:pointer; }
.zc-split{ display:flex; gap:10px; margin-top:12px; }
.zc-split > div{ flex:1; background:var(--surface-2); border-radius:12px; padding:12px; text-align:center; }
.zc-split .v{ font-family:var(--zc-display); font-size:18px; font-weight:600; color:var(--text); }
.zc-split .k{ font-size:11px; color:var(--text-2); margin-top:2px; }

/* ---------- aviso banner + calendario ---------- */
.zc-annbanner{ display:flex; align-items:center; gap:12px; margin-top:14px; padding:12px 15px; cursor:pointer; border-left:3px solid var(--accent); }
.zc-annbanner__tx{ flex:1; min-width:0; }
.zc-annbanner__tx b{ display:block; font-size:13px; font-weight:600; color:var(--text); }
.zc-annbanner__tx span{ font-size:11.5px; color:var(--text-2); display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.zc-calbanner{ position:fixed; left:50%; transform:translateX(-50%); bottom:calc(88px + var(--safe-b)); z-index:150;
  background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-hi);
  padding:10px 12px; display:flex; align-items:center; gap:9px; white-space:nowrap; max-width:calc(100vw - 32px);
  animation:zc-rise .4s var(--ease-out) both; }
.zc-calbanner span{ font-size:12px; font-weight:600; color:var(--text-2); }
.zc-calbanner a{ display:inline-flex; align-items:center; gap:5px; padding:7px 11px; border-radius:9px; border:1px solid var(--line-2);
  font-size:12px; font-weight:600; color:var(--text); text-decoration:none; }
.zc-calbanner button{ background:none; border:0; color:var(--text-3); font-size:16px; cursor:pointer; padding:2px 4px; }

/* ---------- misiones ---------- */
.zc-mish{ display:flex; gap:12px; align-items:flex-start; padding:14px 15px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-card); box-shadow:var(--shadow); margin-bottom:10px; }
.zc-mish.is-done{ opacity:.55; }
.zc-mish__main{ flex:1; min-width:0; }
.zc-mish__acts{ display:flex; gap:7px; margin-top:10px; flex-wrap:wrap; }
.zc-mish__state{ font-size:11.5px; font-weight:500; margin-top:5px; }
.zc-mish__state--pend{ color:var(--accent); }
.zc-mish__state--rej{ color:var(--danger); }
.zc-mish__state--ok{ color:var(--ok); }

/* ---------- Perfil ---------- */
.zc-kv{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); }
.zc-kv:last-child{ border-bottom:0; padding-bottom:0; }
.zc-kv:first-child{ padding-top:0; }
.zc-kv__k{ font-size:13px; color:var(--text-2); flex:0 0 auto; }
.zc-kv__v{ font-size:14px; color:var(--text); font-weight:500; text-align:right; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.zc-switch{ position:relative; width:46px; height:28px; flex:0 0 auto; }
.zc-switch input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; z-index:1; }
.zc-switch span{ position:absolute; inset:0; background:var(--line-2); border-radius:99px; transition:background .25s var(--ease-out); }
.zc-switch span::after{ content:''; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .25s var(--ease-out); }
.zc-switch input:checked + span{ background:var(--accent); }
.zc-switch input:checked + span::after{ transform:translateX(18px); }
.zc-switch input:disabled + span{ opacity:.45; }
.zc-code{ font-family:var(--zc-display); font-size:22px; font-weight:600; letter-spacing:.12em; color:var(--accent); text-align:center; padding:13px; background:var(--accent-soft); border-radius:12px; }

@media (hover:hover) and (pointer:fine){
  .zc-card.zc-tap:hover,.zc-hero:hover,.zc-loy.zc-tap:hover,.zc-promo:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hi); }
  .zc-row:hover{ border-color:var(--line-2); }
  .zc-tab:hover{ color:var(--text-2); } .zc-tab.is-active:hover{ color:var(--accent); }
}
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001s !important; transition-duration:.001s !important; }
}

/* ── Fotos de servicio: miniatura apilada + barbero con foto + visor (v3.19.4) ── */
.zc-row__ic--ph{position:relative;overflow:hidden}
.zc-row__ic--ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.zc-thumb{position:relative;flex:0 0 auto;width:48px;height:48px;border:none!important;outline:none!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
.zc-thumb:hover,.zc-thumb:focus,.zc-thumb:active,.zc-thumb:focus-visible{border:none!important;outline:none!important;background:transparent!important;color:inherit!important;box-shadow:none!important}
.zc-thumb__main,.zc-thumb__back{position:absolute;inset:0;border-radius:11px;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:var(--surface);border:1.5px solid var(--surface);box-shadow:0 1px 5px rgba(18,18,22,.16)}
.zc-thumb__main{z-index:3;transition:transform .15s var(--ease-out)}
.zc-thumb__back--1{z-index:2;transform:rotate(8deg) translate(7px,-4px)}
.zc-thumb__back--2{z-index:1;transform:rotate(-9deg) translate(-7px,5px)}
.zc-thumb:active .zc-thumb__main{transform:scale(.93)}
.zc-thumb__count{position:absolute;bottom:-5px;right:-5px;z-index:4;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background:var(--primary);color:var(--on-primary);font-size:10px;font-weight:700;line-height:1;border-radius:99px;border:1.5px solid var(--surface);font-family:var(--zc-display)}

.zc-gallery{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.93);display:flex;flex-direction:column;opacity:0;transition:opacity .2s var(--ease-out);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.zc-gallery.is-on{opacity:1}
.zc-gallery__close{position:absolute;top:calc(12px + var(--safe-t,0px));right:16px;z-index:2;width:40px;height:40px;border:none;border-radius:99px;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:38px;text-align:center;cursor:pointer}
.zc-gallery__title{color:#fff;text-align:center;font-family:var(--zc-display);font-size:16px;font-weight:600;padding:calc(16px + var(--safe-t,0px)) 56px 6px;flex:0 0 auto}
.zc-gallery__track{flex:1 1 auto;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;min-height:0}
.zc-gallery__track::-webkit-scrollbar{display:none}
.zc-gallery__slide{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:center;display:flex;align-items:center;justify-content:center;padding:0 16px;box-sizing:border-box}
.zc-gallery__slide img{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:0 8px 40px rgba(0,0,0,.4)}
.zc-gallery__dots{display:flex;gap:7px;justify-content:center;padding:18px 0 calc(24px + var(--safe-b,0px));flex:0 0 auto}
.zc-gallery__dot{width:7px;height:7px;border-radius:99px;background:rgba(255,255,255,.32);transition:background .2s var(--ease-out),width .2s var(--ease-out)}
.zc-gallery__dot.is-on{background:#fff;width:20px}
