/* Zentry demo — pantalla táctil del smart locker. Todo con prefijo .zk- */
.zk-root {
  --zk-a: #005bbb; --zk-a-rgb: 0, 91, 187; --zk-a-d: #004a99; --zk-on-a: #fff;
  --zk-bg: #f2f4f7; --zk-ink: #0e1726; --zk-ink2: #4a5566; --zk-mute: #8b95a4; --zk-line: #e3e8ee;
  --zk-ok: #13a356; --zk-ok-rgb: 19, 163, 86; --zk-err: #d63c3c;
  --zk-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative; width: 600px; height: 1040px; overflow: hidden; isolation: isolate;
  background: var(--zk-bg); color: var(--zk-ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 24px; line-height: 1.35; font-weight: 500; text-align: left; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  box-sizing: border-box; cursor: default;
}
.zk-root *, .zk-root *::before, .zk-root *::after { box-sizing: border-box; }
.zk-root :where(h1, p) { margin: 0; padding: 0; font: inherit; }
.zk-root :where(button) {
  font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
  -webkit-appearance: none; appearance: none; text-align: inherit; cursor: pointer; outline: none;
  text-transform: none; letter-spacing: inherit; line-height: inherit;
}
.zk-root img { max-width: none; border: 0; }
.zk-ic { width: 1em; height: 1em; flex: none; display: block; }

/* ---------- barras ---------- */
.zk-top {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 92px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--zk-line);
  transition: opacity .3s ease-out, transform .3s var(--zk-ease);
}
.zk-top-logo { height: 46px; display: flex; align-items: center; }
.zk-top-logo .zk-logo-img { height: 46px; width: auto; max-width: 190px; object-fit: contain; }
.zk-logo-txt { font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--zk-ink); }
.zk-top-r { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.zk-top-name { font-size: 16px; font-weight: 600; color: var(--zk-mute); }
.zk-top-clock { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 4px; }

.zk-bottom {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 104px; padding: 8px 20px;
  display: flex; align-items: center; gap: 4px;
  background: #fff; border-top: 1px solid var(--zk-line);
  transition: opacity .3s ease-out, transform .3s var(--zk-ease);
}
.zk-nav {
  min-height: 88px; padding: 0 20px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; color: var(--zk-ink2);
  transition: background-color .15s ease-out, transform .12s ease-out;
}
.zk-nav .zk-ic { font-size: 28px; }
.zk-nav:active, .zk-nav.zk-press { background: #eef1f5; }
.zk-nav.zk-hidden { display: none; }
.zk-nav-sp { flex: 1; }
.zk-nav-help { color: var(--zk-a); }
.zk-nav-note { display: none; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--zk-mute); }
.zk-nav-note .zk-ic { font-size: 22px; }
.zk-bottom.zk-nav-noleft .zk-nav-note { display: inline-flex; }
.zk-bottom.zk-nav-empty .zk-nav-note { position: absolute; left: 0; right: 0; justify-content: center; }
.zk-root[data-screen="idle"] .zk-top { opacity: 0; transform: translateY(-16px); }
.zk-root[data-screen="idle"] .zk-bottom { opacity: 0; transform: translateY(16px); }

/* ---------- pantallas y transiciones ---------- */
.zk-stage { position: absolute; top: 92px; bottom: 104px; left: 0; right: 0; }
.zk-full { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.zk-screen {
  position: absolute; inset: 0; padding: 36px 40px 28px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(0);
  transition: opacity .26s ease-out, transform .32s var(--zk-ease), visibility 0s linear .34s;
}
.zk-screen.zk-active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .26s ease-out .04s, transform .32s var(--zk-ease), visibility 0s;
}
.zk-screen.zk-pre-fwd { transform: translateX(56px); transition: none !important; }
.zk-screen.zk-pre-back { transform: translateX(-56px); transition: none !important; }
.zk-screen.zk-pre-fade { transform: scale(1.015); transition: none !important; }
.zk-screen.zk-out-fwd { transform: translateX(-56px); }
.zk-screen.zk-out-back { transform: translateX(56px); }
.zk-screen.zk-out-fade { transform: scale(.99); }

/* ---------- tipografía ---------- */
.zk-head { flex: none; }
.zk-head-c { text-align: center; }
.zk-title { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.028em; color: var(--zk-ink); }
.zk-sub { font-size: 24px; line-height: 1.38; color: var(--zk-ink2); margin-top: 14px; }
.zk-eyebrow { font-size: 20px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zk-a); margin-bottom: 10px; }
.zk-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(var(--zk-a-rgb), .08); color: var(--zk-a); font-size: 19px; font-weight: 700;
}

/* ---------- botones ---------- */
.zk-tap { position: relative; transition: transform .12s ease-out, background-color .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out, opacity .2s ease-out; }
.zk-tap:active, .zk-tap.zk-press { transform: scale(.97); }
.zk-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; flex: none; }
.zk-btn {
  width: 100%; min-height: 96px; border-radius: 26px; padding: 0 28px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 28px; font-weight: 800; letter-spacing: -.01em; text-align: center;
}
.zk-btn .zk-ic { font-size: 32px; }
.zk-btn-primary {
  background: var(--zk-a); color: var(--zk-on-a);
  box-shadow: 0 14px 28px -14px rgba(var(--zk-a-rgb), .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.zk-btn-primary:active, .zk-btn-primary.zk-press { background: var(--zk-a-d); }
.zk-btn-secondary {
  min-height: 88px; background: #fff; color: var(--zk-a);
  box-shadow: inset 0 0 0 2px rgba(var(--zk-a-rgb), .22), 0 6px 16px -12px rgba(14, 23, 38, .4);
}
.zk-btn-secondary:active, .zk-btn-secondary.zk-press { background: rgba(var(--zk-a-rgb), .06); }
.zk-btn-ghost { min-height: 88px; font-size: 24px; font-weight: 700; color: var(--zk-ink2); }
.zk-btn-ghost:active, .zk-btn-ghost.zk-press { background: #e9edf2; }
.zk-btn-danger { background: var(--zk-err); color: #fff; box-shadow: 0 14px 28px -14px rgba(214, 60, 60, .8); }

/* ---------- pista (demo guiada) ---------- */
.zk-root .zk-hint { z-index: 3; }
.zk-root .zk-hint::after {
  content: ""; position: absolute; inset: -8px; border-radius: 32px; pointer-events: none;
  border: 3px solid var(--zk-a); box-shadow: 0 0 0 6px rgba(var(--zk-a-rgb), .14);
  animation: zk-hint 1.6s var(--zk-ease) infinite;
}
.zk-root .zk-key.zk-hint::after { border-radius: 28px; }
.zk-root .zk-nav.zk-hint::after { inset: 4px; border-radius: 20px; }
.zk-root .zk-card.zk-hint::after { border-radius: 40px; inset: -9px; }
.zk-root .zk-idle-cta.zk-hint::after { border-radius: 999px; }
.zk-root .zk-card-primary.zk-hint::after, .zk-root .zk-btn-primary.zk-hint::after { border-color: var(--zk-a); }
@keyframes zk-hint {
  0% { opacity: 0; transform: scale(.97); }
  25% { opacity: 1; transform: scale(1); }
  70% { opacity: .9; transform: scale(1.015); }
  100% { opacity: 0; transform: scale(1.04); }
}

/* ---------- reposo ---------- */
.zk-s-idle {
  padding: 72px 48px 64px; align-items: center; justify-content: space-between; text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f4f8 100%); cursor: pointer; overflow: hidden;
}
.zk-idle-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.zk-blob { position: absolute; border-radius: 50%; will-change: transform; }
.zk-b1 { width: 620px; height: 620px; left: -260px; top: -180px; background: radial-gradient(closest-side, rgba(var(--zk-a-rgb), .16), rgba(var(--zk-a-rgb), 0)); animation: zk-drift1 18s ease-in-out infinite alternate; }
.zk-b2 { width: 560px; height: 560px; right: -240px; top: 300px; background: radial-gradient(closest-side, rgba(var(--zk-a-rgb), .12), rgba(var(--zk-a-rgb), 0)); animation: zk-drift2 22s ease-in-out infinite alternate; }
.zk-b3 { width: 520px; height: 520px; left: -120px; bottom: -280px; background: radial-gradient(closest-side, rgba(56, 189, 248, .14), rgba(56, 189, 248, 0)); animation: zk-drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes zk-drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, 70px) scale(1.12); } }
@keyframes zk-drift2 { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-80px, -60px) scale(.95); } }
.zk-idle-top, .zk-idle-center, .zk-idle-bottom { position: relative; z-index: 1; }
.zk-idle-time { font-size: 76px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.zk-idle-date { font-size: 22px; font-weight: 600; color: var(--zk-ink2); margin-top: 10px; }
.zk-idle-date::first-letter { text-transform: uppercase; }
.zk-idle-center { display: flex; flex-direction: column; align-items: center; }
.zk-idle-logo { height: 170px; display: flex; align-items: center; justify-content: center; }
.zk-idle-logo .zk-logo-img { max-height: 170px; max-width: 440px; width: auto; height: auto; object-fit: contain; }
.zk-idle-logo .zk-logo-txt { font-size: 72px; }
.zk-idle-tag { margin-top: 26px; font-size: 26px; font-weight: 700; color: var(--zk-ink2); }
.zk-idle-feats { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.zk-idle-feats span {
  display: flex; align-items: center; gap: 14px; font-size: 21px; font-weight: 600; color: var(--zk-ink2);
  background: rgba(255, 255, 255, .75); border: 1px solid var(--zk-line); border-radius: 16px; padding: 12px 22px 12px 16px;
}
.zk-idle-feats .zk-ic { font-size: 26px; color: var(--zk-a); }
.zk-idle-bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.zk-idle-cta {
  height: 96px; padding: 0 40px 0 26px; border-radius: 999px; display: inline-flex; align-items: center; gap: 18px;
  background: var(--zk-a); color: var(--zk-on-a); font-size: 25px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 18px 36px -16px rgba(var(--zk-a-rgb), .8);
  animation: zk-breathe 2.8s ease-in-out infinite;
}
.zk-touch { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.zk-touch i { width: 16px; height: 16px; border-radius: 50%; background: currentColor; }
.zk-touch::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: zk-ripple 2.2s ease-out infinite; }
@keyframes zk-ripple { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes zk-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.zk-idle-meta { font-size: 18px; font-weight: 600; color: var(--zk-mute); }

/* ---------- inicio ---------- */
.zk-s-home { padding-top: 44px; }
.zk-home-cards { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.zk-card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  min-height: 272px; padding: 30px 32px 32px; border-radius: 34px;
  background: #fff; border: 1px solid var(--zk-line);
  box-shadow: 0 1px 0 rgba(14, 23, 38, .03), 0 22px 44px -26px rgba(14, 23, 38, .35);
}
.zk-card-primary {
  background: linear-gradient(150deg, var(--zk-a) 0%, var(--zk-a-d) 100%); color: var(--zk-on-a); border-color: transparent;
  box-shadow: 0 26px 48px -24px rgba(var(--zk-a-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.zk-card-ic { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: rgba(var(--zk-a-rgb), .09); color: var(--zk-a); font-size: 46px; margin-bottom: auto; }
.zk-card-primary .zk-card-ic { background: rgba(255, 255, 255, .16); color: inherit; }
.zk-card-ic .zk-ic { stroke-width: 1.7; }
.zk-card-title { display: block; margin-top: 28px; font-size: 38px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.zk-card-sub { display: block; margin-top: 8px; font-size: 21px; font-weight: 500; color: var(--zk-ink2); max-width: 390px; }
.zk-card-primary .zk-card-sub { color: inherit; opacity: .82; }
.zk-card-chev { position: absolute; right: 30px; top: 30px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: #f1f4f8; color: var(--zk-ink2); }
.zk-card-primary .zk-card-chev { background: rgba(255, 255, 255, .16); color: inherit; }
.zk-card:active, .zk-card.zk-press { transform: scale(.98); }
.zk-home-foot { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--zk-mute); }
.zk-home-foot .zk-ic { font-size: 24px; }

/* ---------- códigos y teclado ---------- */
.zk-s-courier-login, .zk-s-pickup-code { padding-top: 30px; padding-bottom: 22px; }
.zk-code { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex: none; }
.zk-cell {
  position: relative; width: 84px; height: 96px; border-radius: 22px; background: #fff;
  border: 2px solid var(--zk-line); display: grid; place-items: center;
  font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--zk-ink);
  transition: border-color .15s ease-out, box-shadow .15s ease-out, background-color .15s ease-out;
}
.zk-code-6 { gap: 10px; }
.zk-code-6 .zk-cell { width: 70px; height: 88px; border-radius: 18px; font-size: 42px; }
.zk-cell.zk-filled { border-color: #c9d2dd; }
.zk-cell.zk-cur { border-color: var(--zk-a); box-shadow: 0 0 0 5px rgba(var(--zk-a-rgb), .13); }
.zk-cell.zk-cur::after { content: ""; width: 3px; height: 40px; border-radius: 2px; background: var(--zk-a); animation: zk-caret 1s steps(1) infinite; }
@keyframes zk-caret { 50% { opacity: 0; } }
.zk-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--zk-ink); animation: zk-pop .18s ease-out; }
@keyframes zk-pop { from { transform: scale(.4); } to { transform: scale(1); } }
.zk-code.zk-ok .zk-cell { border-color: var(--zk-ok); background: #effaf4; color: var(--zk-ok); box-shadow: none; }
.zk-code.zk-ok .zk-dot { background: var(--zk-ok); }
.zk-code.zk-err .zk-cell { border-color: var(--zk-err); background: #fdf2f2; color: var(--zk-err); box-shadow: none; }
.zk-code.zk-err .zk-dot { background: var(--zk-err); }
.zk-code.zk-err .zk-cell::after, .zk-code.zk-ok .zk-cell::after { display: none; }
.zk-shake { animation: zk-shake .44s cubic-bezier(.36, .07, .19, .97); }
@keyframes zk-shake { 15%, 85% { transform: translateX(-3px); } 30%, 70% { transform: translateX(8px); } 45% { transform: translateX(-12px); } 58% { transform: translateX(12px); } }
.zk-msg { position: relative; height: 56px; margin: 14px 0 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 20px; color: var(--zk-mute); font-weight: 600; flex: none; }
.zk-msg-err { display: none; color: var(--zk-err); font-weight: 700; }
.zk-msg.zk-is-err .zk-msg-help { display: none; }
.zk-msg.zk-is-err .zk-msg-err { display: block; animation: zk-fadein .2s ease-out; }
@keyframes zk-fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.zk-keypad { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: none; }
.zk-key {
  height: 88px; border-radius: 24px; background: #fff; border: 1px solid var(--zk-line);
  display: grid; place-items: center; font-size: 38px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--zk-ink);
  box-shadow: 0 1px 0 rgba(14, 23, 38, .04), 0 8px 16px -14px rgba(14, 23, 38, .45);
}
.zk-key:active, .zk-key.zk-press { background: #e9eef4; transform: scale(.95); }
.zk-key-del { color: var(--zk-ink2); background: transparent; border-color: transparent; box-shadow: none; }
.zk-key-del .zk-ic { font-size: 38px; stroke-width: 1.8; }
.zk-key-ok { background: rgba(var(--zk-a-rgb), .12); border-color: transparent; color: var(--zk-a); font-size: 30px; font-weight: 800; box-shadow: none; }
.zk-key-ok.zk-ready { background: var(--zk-a); color: var(--zk-on-a); box-shadow: 0 12px 24px -14px rgba(var(--zk-a-rgb), .9); }
.zk-key-ok:active, .zk-key-ok.zk-press { background: var(--zk-a-d); color: var(--zk-on-a); }
.zk-qr-btn { margin-top: 12px; flex: none; }
.zk-qr-btn .zk-ic { font-size: 30px; }

/* ---------- escaneo ---------- */
.zk-s-scan .zk-sub-ok, .zk-s-scan .zk-t-ok { display: none; }
.zk-s-scan.zk-scanned .zk-t-scan { display: none; }
.zk-s-scan.zk-scanned .zk-t-ok { display: block; animation: zk-fadein .25s ease-out; }
.zk-s-scan.zk-scanned .zk-sub-scan { display: none; }
.zk-s-scan.zk-scanned .zk-sub-ok { display: block; }
.zk-scan-stage { position: relative; flex: 1; min-height: 0; margin: 18px 0 20px; }
.zk-scan-ill, .zk-scan-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity .3s ease-out, transform .35s var(--zk-ease); }
.zk-scan-ill { border-radius: 32px; background: radial-gradient(closest-side, #ffffff, rgba(255, 255, 255, 0)); }
.zk-scan-svg { width: 360px; height: auto; }
.zk-vf { stroke: var(--zk-a); }
.zk-laser { animation: zk-laser 1.7s ease-in-out infinite alternate; }
.zk-s-scan.zk-reading .zk-laser { animation-duration: .35s; }
@keyframes zk-laser { from { transform: translateY(0); } to { transform: translateY(116px); } }
.zk-scan-flash { position: absolute; inset: 0; border-radius: 32px; background: #fff; opacity: 0; pointer-events: none; }
.zk-s-scan.zk-scanned .zk-scan-flash { animation: zk-flash .45s ease-out; }
@keyframes zk-flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.zk-scan-card {
  flex-direction: column; align-items: stretch; justify-content: flex-start; inset: auto 0; top: 50%;
  padding: 28px 30px; border-radius: 30px; background: #fff; border: 1px solid var(--zk-line);
  box-shadow: 0 26px 50px -30px rgba(14, 23, 38, .45);
  opacity: 0; transform: translateY(-40%) scale(.96); pointer-events: none;
}
.zk-s-scan.zk-scanned .zk-scan-ill { opacity: 0; transform: scale(.94); }
.zk-s-scan.zk-scanned .zk-scan-card { opacity: 1; transform: translateY(-50%); }
.zk-sc-head { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: var(--zk-ok); text-transform: uppercase; letter-spacing: .08em; }
.zk-ok-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--zk-ok); color: #fff; display: grid; place-items: center; font-size: 24px; }
.zk-ok-dot .zk-ic { stroke-width: 3; }
.zk-sc-track { margin: 16px 0 12px; font-size: 40px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.zk-rows { display: flex; flex-direction: column; }
.zk-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--zk-line); font-size: 21px; }
.zk-row span { color: var(--zk-ink2); flex: none; }
.zk-row b { font-weight: 800; text-align: right; }
.zk-s-scan .zk-actions { min-height: 196px; justify-content: flex-start; }
.zk-scanok-btn, .zk-rescan-btn { display: none; }
.zk-s-scan.zk-scanned .zk-scan-btn { display: none; }
.zk-s-scan.zk-scanned .zk-scanok-btn, .zk-s-scan.zk-scanned .zk-rescan-btn { display: flex; }
.zk-s-scan.zk-scanned .zk-scanok-btn { animation: zk-fadein .3s ease-out; }
.zk-s-scan.zk-reading .zk-scan-btn { opacity: .75; }

/* ---------- tamaño ---------- */
.zk-sizes { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.zk-size {
  display: grid; grid-template-columns: 104px 1fr auto; align-items: center; gap: 20px;
  min-height: 156px; padding: 22px 26px 22px 20px; border-radius: 30px;
  background: #fff; border: 2px solid var(--zk-line);
  box-shadow: 0 18px 36px -28px rgba(14, 23, 38, .4);
}
.zk-size.zk-rec { border-color: rgba(var(--zk-a-rgb), .55); box-shadow: 0 0 0 5px rgba(var(--zk-a-rgb), .08), 0 18px 36px -26px rgba(var(--zk-a-rgb), .55); }
.zk-size.zk-sel { border-color: var(--zk-a); background: rgba(var(--zk-a-rgb), .05); }
.zk-size-ill svg { width: 104px; height: 104px; display: block; }
.zk-size-hole { fill: rgba(var(--zk-a-rgb), .14); stroke: var(--zk-a); stroke-width: 2.5; }
.zk-size-body { display: flex; flex-direction: column; min-width: 0; }
.zk-size-name { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.zk-size-l { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--zk-ink); color: #fff; font-size: 24px; }
.zk-size.zk-rec .zk-size-l { background: var(--zk-a); color: var(--zk-on-a); }
.zk-size-dims { margin-top: 10px; font-size: 22px; font-weight: 700; color: var(--zk-ink); }
.zk-size-dims2 { margin-top: 2px; font-size: 18px; color: var(--zk-mute); font-weight: 600; }
.zk-size-free { display: flex; flex-direction: column; align-items: flex-end; font-size: 17px; font-weight: 700; color: var(--zk-mute); line-height: 1.1; }
.zk-size-free b { font-size: 38px; font-weight: 800; color: var(--zk-ok); letter-spacing: -.02em; }
.zk-reco {
  position: absolute; top: -15px; right: 24px; padding: 6px 14px; border-radius: 999px;
  background: var(--zk-a); color: var(--zk-on-a); font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 16px -8px rgba(var(--zk-a-rgb), .9);
}

/* ---------- puerta abierta ---------- */
.zk-s-deposit-open, .zk-s-pickup-open { padding-top: 32px; align-items: stretch; }
.zk-door-badge {
  position: relative; align-self: center; flex: none; width: 214px; height: 214px; border-radius: 48px;
  background: linear-gradient(155deg, var(--zk-a), var(--zk-a-d)); color: var(--zk-on-a);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 28px 50px -24px rgba(var(--zk-a-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.zk-door-glow { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(var(--zk-a-rgb), .35); animation: zk-glow 2s ease-out infinite; }
@keyframes zk-glow { 0% { box-shadow: 0 0 0 0 rgba(var(--zk-a-rgb), .35); } 100% { box-shadow: 0 0 0 26px rgba(var(--zk-a-rgb), 0); } }
.zk-door-lbl { font-size: 20px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.zk-door-num { font-size: 104px; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.zk-door-state { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 17px; font-weight: 800; }
.zk-door-state .zk-ic { font-size: 20px; stroke-width: 2.4; }
.zk-head-door { margin-top: 26px; }
.zk-map-card {
  margin-top: 26px; display: flex; align-items: center; gap: 24px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--zk-line); border-radius: 28px; flex: none;
}
.zk-map { position: relative; flex: none; display: grid; grid-template-columns: repeat(5, 36px); grid-template-rows: repeat(6, 22px); gap: 4px; padding: 8px; border-radius: 12px; background: #dfe5ec; margin-left: 26px; }
.zk-map-door { position: relative; border-radius: 4px; background: #fff; display: grid; place-items: center; }
.zk-map-screen { border-radius: 4px; background: #1b2433; display: grid; place-items: center; }
.zk-map-screen i { width: 20px; height: 30px; border-radius: 3px; background: #3b4a61; }
.zk-map-target { background: var(--zk-a); color: var(--zk-on-a); box-shadow: 0 0 0 3px rgba(var(--zk-a-rgb), .3); animation: zk-blink 1.4s ease-in-out infinite; z-index: 1; }
.zk-map-target b { font-size: 13px; font-weight: 800; }
@keyframes zk-blink { 50% { box-shadow: 0 0 0 7px rgba(var(--zk-a-rgb), .12); } }
.zk-map-arrow { position: absolute; left: -34px; font-size: 26px; color: var(--zk-a); animation: zk-bob 1.1s ease-in-out infinite; }
.zk-map-arrow .zk-ic { stroke-width: 3.4; }
@keyframes zk-bob { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(3px); } }
.zk-map-txt { display: flex; flex-direction: column; min-width: 0; }
.zk-map-k { font-size: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zk-mute); }
.zk-map-v { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.zk-map-s { font-size: 19px; color: var(--zk-ink2); margin-top: 6px; line-height: 1.35; }

/* ---------- éxito ---------- */
.zk-done-top { display: flex; justify-content: center; margin-top: 8px; flex: none; }
.zk-success { width: 150px; height: 150px; }
.zk-sc-bg { fill: rgba(var(--zk-ok-rgb), .1); transform-origin: 60px 60px; animation: zk-scale .45s var(--zk-ease) both; }
.zk-sc-ring { stroke: var(--zk-ok); stroke-dasharray: 327; stroke-dashoffset: 327; animation: zk-draw .6s ease-out .1s forwards; }
.zk-sc-check { stroke: var(--zk-ok); stroke-dasharray: 70; stroke-dashoffset: 70; animation: zk-draw .4s ease-out .55s forwards; }
@keyframes zk-draw { to { stroke-dashoffset: 0; } }
@keyframes zk-scale { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.zk-s-delivered .zk-head, .zk-s-thanks .zk-head { margin-top: 26px; }
.zk-summary { margin-top: 28px; padding: 6px 28px; background: #fff; border: 1px solid var(--zk-line); border-radius: 28px; flex: none; }
.zk-summary .zk-row:first-child { border-top: 0; }
.zk-sent { display: inline-flex; align-items: center; gap: 8px; color: var(--zk-ok); }
.zk-sent .zk-ic { font-size: 22px; }
.zk-thanks-ic { position: relative; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--zk-a-rgb), .1); color: var(--zk-a); font-size: 72px; animation: zk-scale .45s var(--zk-ease) both; }
.zk-thanks-ic > .zk-ic { stroke-width: 1.6; }
.zk-thanks-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(var(--zk-a-rgb), .35); animation: zk-ripple 2.4s ease-out infinite; }
.zk-thanks-ok { position: absolute; right: 4px; bottom: 6px; width: 48px; height: 48px; border-radius: 50%; background: var(--zk-ok); color: #fff; display: grid; place-items: center; font-size: 28px; border: 4px solid var(--zk-bg); animation: zk-scale .35s var(--zk-ease) .35s both; }
.zk-thanks-ok .zk-ic { stroke-width: 3; }
.zk-note { margin-top: 30px; display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--zk-line); font-size: 20px; color: var(--zk-ink2); flex: none; }
.zk-note .zk-ic { font-size: 30px; color: var(--zk-ok); }
.zk-auto { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 18px; font-weight: 600; color: var(--zk-mute); }
.zk-auto-bar { width: 220px; height: 6px; border-radius: 3px; background: #e1e6ec; overflow: hidden; }
.zk-auto-bar i { display: block; height: 100%; width: 100%; background: var(--zk-a); transform-origin: left; transform: scaleX(0); }
.zk-s-thanks.zk-active .zk-auto-bar i { animation: zk-countdown 8s linear forwards; }
@keyframes zk-countdown { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- QR ---------- */
.zk-qr-ill { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 10px 0 20px; }
.zk-qr-svg { width: 330px; height: auto; max-height: 100%; }
.zk-qr-phone { animation: zk-phone 2.4s ease-in-out infinite; }
@keyframes zk-phone { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
.zk-qr-arrows { stroke: var(--zk-a); }
.zk-qa1 { animation: zk-chev 1.4s ease-in-out infinite; }
.zk-qa2 { animation: zk-chev 1.4s ease-in-out .2s infinite; }
@keyframes zk-chev { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.zk-qr-beam { fill: var(--zk-a); animation: zk-beam 1.4s ease-in-out infinite; }
@keyframes zk-beam { 50% { opacity: .45; } }

/* ---------- ayuda ---------- */
.zk-faq { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.zk-faq-i { padding: 22px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--zk-line); display: flex; flex-direction: column; gap: 6px; }
.zk-faq-i b { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.zk-faq-i span { font-size: 20px; color: var(--zk-ink2); line-height: 1.4; }

/* ---------- modal llamada ---------- */
.zk-modal {
  position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; padding: 24px;
  background: rgba(14, 23, 38, .45); opacity: 0; visibility: hidden; transition: opacity .25s ease-out, visibility 0s .25s;
}
.zk-modal.zk-open { opacity: 1; visibility: visible; transition: opacity .25s ease-out; }
.zk-modal-card {
  width: 100%; padding: 40px 32px 32px; border-radius: 36px; background: #fff; display: flex; flex-direction: column; align-items: center; text-align: center;
  transform: translateY(40px); transition: transform .3s var(--zk-ease);
}
.zk-modal.zk-open .zk-modal-card { transform: none; }
.zk-modal-card b { font-size: 34px; font-weight: 800; margin-top: 22px; letter-spacing: -.02em; }
.zk-modal-card > span { font-size: 22px; color: var(--zk-ink2); margin-top: 8px; }
.zk-modal-card em { font-style: normal; font-size: 17px; color: var(--zk-mute); margin: 10px 0 28px; }
.zk-call-ic { position: relative; width: 112px; height: 112px; border-radius: 50%; background: var(--zk-ok); color: #fff; display: grid; place-items: center; font-size: 48px; }
.zk-call-ic span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--zk-ok); animation: zk-ripple 1.6s ease-out infinite; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .zk-root *, .zk-root *::before, .zk-root *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .zk-root .zk-hint::after { animation: none !important; opacity: 1; }
  .zk-blob { animation: none !important; }
}

/* ---------- ajustes de composición ---------- */
.zk-s-courier-login .zk-head { margin-top: 40px; }
.zk-s-thanks .zk-done-top { margin-top: auto; }
.zk-s-thanks .zk-actions { margin-top: auto; }
.zk-s-thanks .zk-note { margin-bottom: 40px; }
.zk-size-note { margin-top: auto; }
.zk-size-note .zk-ic { color: var(--zk-a); }
.zk-qr-svg { width: 380px; }
