/* Layout: nav de vidrio flotante · catálogo + cajita fija (desktop) · en celular la cajita vive en un dock inferior que abre una hoja */
:root {
  --bg: #050506;
  --ink: #f5f5f7;
  --muted: #9a9aa1;
  --dim: #6b6b72;
  --glass: rgba(30, 30, 33, 0.58);
  --glass-2: rgba(255, 255, 255, 0.055);
  --glass-3: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-hi: rgba(255, 255, 255, 0.2);
  --y: #ffd60a;
  --y-deep: #f2b705;
  --y-soft: rgba(255, 214, 10, 0.14);
  --on-y: #0b0b0c;
  --ok: #30d158;
  --warn: #ff9f0a;
  --danger: #ff453a;
  --blur: saturate(170%) blur(26px);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Figtree", "Helvetica Neue", Arial,
    sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}
/* reset base */
html,
body {
  margin: 0;
}
img {
  max-width: 100%;
}
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--bg);
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 15px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  min-height: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 214, 10, 0.12);
}
.skip {
  position: fixed;
  z-index: 100;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  transform: translateY(-200%);
  background: var(--y);
  color: var(--on-y);
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.skip:focus-visible {
  transform: none;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.ambient i:nth-child(1) {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: -14vw;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.28), transparent 65%);
}
.ambient i:nth-child(2) {
  width: 38vw;
  height: 38vw;
  right: -10vw;
  top: 30vh;
  background: radial-gradient(circle, rgba(242, 140, 5, 0.18), transparent 65%);
}
.ambient i:nth-child(3) {
  width: 50vw;
  height: 30vw;
  left: 25vw;
  bottom: -18vw;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.12), transparent 65%);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
:focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 2px;
}
.wrap {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--stroke);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

/* nav */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  padding-top: 12px;
}
.nav .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--y);
  display: grid;
  place-items: center;
  flex: none;
}
.mark svg {
  width: 16px;
  height: 16px;
}
.brand .tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--y);
  background: var(--y-soft);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0;
}
.seg {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 999px;
}
.seg a,
.seg button {
  border: 0;
  background: transparent;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}
.seg a:hover,
.seg button:hover {
  color: var(--ink);
}
.seg a[aria-current="page"],
.seg button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.seg .count {
  font-size: 11px;
  font-weight: 700;
  background: var(--y);
  color: var(--on-y);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
}
.short {
  display: none;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-block: 44px 28px;
}
.eyebrow {
  color: var(--y);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 8px;
}
.hero h1:focus,
.panel h1:focus {
  outline: none;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.hero h1 span {
  background: linear-gradient(180deg, #ffe45c, var(--y) 45%, var(--y-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 44ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
/* guía en vivo: los 3 pasos avanzan solos mientras el cliente arma su combo */
.guide {
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 300px;
}
.guide ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.guide li {
  position: relative;
}
/* conector entre pasos: se llena de amarillo al completar el paso */
.guide li:not(:last-child)::before,
.guide li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 40px;
  bottom: -8px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.guide li:not(:last-child)::after {
  background: var(--y);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.45s var(--ease-out);
}
.guide li[data-state="done"]:not(:last-child)::after {
  transform: scaleY(1);
}
.guide button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 8px 12px 8px 9px;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.16s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .guide button:hover {
    background: var(--glass-2);
  }
}
.guide button:active {
  transform: scale(0.98);
}
.gnum {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: #1c1c1f;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--stroke-hi);
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.gnum > * {
  grid-area: 1 / 1;
  transition:
    opacity 0.2s,
    transform 0.35s var(--ease-out);
}
.gnum svg {
  width: 15px;
  height: 15px;
  stroke: var(--on-y);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.6);
}
.guide li[data-state="cur"] .gnum {
  background: #2a2510;
  color: var(--y);
  box-shadow:
    inset 0 0 0 1.5px var(--y),
    0 0 0 5px rgba(255, 214, 10, 0.1);
}
.guide li[data-state="done"] .gnum {
  background: var(--y);
  box-shadow: none;
}
.guide li[data-state="done"] .gnum span {
  opacity: 0;
  transform: scale(0.6);
}
.guide li[data-state="done"] .gnum svg {
  opacity: 1;
  transform: none;
}
.gtx {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.gt {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.guide li[data-state="cur"] .gt,
.guide li[data-state="done"] .gt {
  color: var(--ink);
}
.gtx small {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.guide li[data-state="cur"] .gtx small {
  color: var(--y);
}

/* tienda */
.store {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: 24px;
  align-items: start;
  padding-bottom: 72px;
}
.filters {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 16px;
  -webkit-mask: linear-gradient(90deg, #000 92%, transparent);
}
.filters::-webkit-scrollbar {
  display: none;
}
.filters .seg {
  display: inline-flex;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 14px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: var(--r-lg);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  color: var(--ink);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--stroke-hi);
}
.card .ph {
  position: relative;
  aspect-ratio: 1/1.05;
  display: grid;
  place-items: center;
  padding: 20px 18px 6px;
  overflow: hidden;
}
.card .ph::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 10, 0.22), transparent);
  filter: blur(14px);
  opacity: 0.55;
  transition: opacity 0.35s;
}
.card:hover .ph::before,
.card.in .ph::before {
  opacity: 1;
}
.card .ph img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55));
}
.card:hover .ph img.main {
  transform: translateY(-6px) scale(1.04);
}
.card .ph img.alt {
  position: absolute;
  inset: 20px 18px 6px;
  width: calc(100% - 36px);
  height: calc(100% - 26px);
  opacity: 0;
}
.card:hover .ph img.alt {
  opacity: 1;
}
.card:hover .ph.has-alt img.main {
  opacity: 0;
}
.card .body {
  padding: 6px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.card .cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--y);
  letter-spacing: 0;
}
.card .nm {
  font-weight: 650;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.card .ds {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.card .act {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
.plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass-3);
  border: 1px solid var(--stroke-hi);
  transition:
    background 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.plus svg {
  width: 15px;
  height: 15px;
  stroke: var(--ink);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .plus {
  background: var(--y);
  border-color: var(--y);
}
.card:hover .plus svg {
  stroke: var(--on-y);
}
.card.in {
  border-color: rgba(255, 214, 10, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 10, 0.35),
    0 20px 50px -28px rgba(255, 214, 10, 0.5);
}
.card.in .act {
  color: var(--y);
}
.card.in .plus {
  background: var(--y);
  border-color: var(--y);
}
.card.in .plus svg {
  stroke: var(--on-y);
}
.card[disabled] {
  cursor: not-allowed;
  transform: none;
}
.card[disabled] .ph img {
  filter: grayscale(1) brightness(0.6);
  opacity: 0.55;
}
.card[disabled] .ph::before {
  opacity: 0;
}
.sold {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--stroke);
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* panel de la cajita */
.boxcol {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 86px);
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.boxcol > * {
  flex-shrink: 0;
}
@media (min-width: 961px) {
  .boxcol {
    max-height: calc(100vh - 106px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  }
}
.sheet-top {
  display: none;
}
.boxhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.boxhead h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.boxhead .count {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
/* medidor con hitos: combo listo (2) · combo grande (4) · combo full (8) */
.tier {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: -4px;
}
.tier-bar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
}
.tier-bar i {
  position: relative;
  height: 8px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
/* separación más ancha donde termina cada hito */
.tier-bar i:nth-child(2),
.tier-bar i:nth-child(4) {
  margin-right: 5px;
}
.tier-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--y);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-out);
}
.tier-bar i.on::after {
  transform: scaleX(1);
}
.tier-marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 2fr 4fr;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.tier-marks li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.25s;
}
.tier-marks li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.tier-marks li.on {
  color: var(--y);
}
.tier-marks li.on::before {
  opacity: 1;
}
.tier-marks li.hit {
  animation: hit 0.45s var(--ease-out);
}
@keyframes hit {
  35% {
    transform: translateY(-3px) scale(1.12);
  }
}
.tier-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  min-height: 2.8em;
}
[data-tier="2"] .tier-msg,
[data-tier="4"] .tier-msg,
[data-tier="8"] .tier-msg {
  color: var(--ink);
}

.stage {
  position: relative;
  height: 286px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(60% 50% at 50% 92%, rgba(255, 214, 10, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.box {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 296px;
  height: 190px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}
.box.bump {
  animation: bump 0.5s cubic-bezier(0.3, 0.6, 0.3, 1);
}
@keyframes bump {
  0% {
    transform: translateX(-50%) scale(1, 1);
  }
  30% {
    transform: translateX(-50%) scale(1.045, 0.93);
  }
  65% {
    transform: translateX(-50%) scale(0.985, 1.02);
  }
  100% {
    transform: translateX(-50%) scale(1, 1);
  }
}
.box .shadow {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -16px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 214, 10, 0.45),
    rgba(255, 180, 0, 0.08) 60%,
    transparent
  );
  filter: blur(6px);
}
.box .back {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a1a1d, #09090a 85%);
  border-radius: 6px 6px 10px 10px;
  box-shadow: inset 0 10px 24px rgba(0, 0, 0, 0.8);
}
.box .flap {
  position: absolute;
  top: -44px;
  width: 52%;
  height: 48px;
  transition:
    transform 0.5s cubic-bezier(0.5, 0, 0.3, 1),
    opacity 0.3s;
}
.box .flap.l {
  left: -13%;
  clip-path: polygon(0 0, 82% 10%, 100% 100%, 24% 100%);
  background: linear-gradient(180deg, #3a3a3e, #1c1c1f);
}
.box .flap.r {
  right: -13%;
  clip-path: polygon(18% 10%, 100% 0, 76% 100%, 0 100%);
  background: linear-gradient(180deg, #2a2a2d, #141416);
}
.items {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 26px;
  height: 250px;
}
.it {
  --cx: 0px;
  --s: 1;
  --r: 0deg;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 186px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  transform-origin: 50% 100%;
  transform: translateX(calc(var(--cx) - 50%)) scale(var(--s)) rotate(var(--r));
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.6));
}
.it img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  pointer-events: none;
}
.it:hover,
.it:focus-visible {
  transform: translateX(calc(var(--cx) - 50%)) translateY(-10px) scale(var(--s)) rotate(var(--r));
}
.it.drop {
  animation: drop 0.6s cubic-bezier(0.3, 0.6, 0.35, 1.25) both;
}
@keyframes drop {
  from {
    transform: translateX(calc(var(--cx) - 50%)) translateY(-70px) scale(var(--s)) rotate(var(--r));
  }
  to {
    transform: translateX(calc(var(--cx) - 50%)) scale(var(--s)) rotate(var(--r));
  }
}
.it.out {
  opacity: 0;
  transform: translateX(calc(var(--cx) - 50%)) translateY(-90px) scale(calc(var(--s) * 0.9)) rotate(var(--r)) !important;
}
.box .front {
  position: absolute;
  z-index: 5;
  left: -6px;
  right: -6px;
  bottom: 0;
  height: 100px;
  border-radius: 4px 4px 12px 12px;
  background: linear-gradient(180deg, #2e2e32 0, #1b1b1e 22%, #0d0d0f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -14px 24px rgba(0, 0, 0, 0.5),
    0 18px 26px -14px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  overflow: hidden;
}
.box .front::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--y) 18%, var(--y) 82%, transparent);
  opacity: 0.9;
}
.front .print {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.front .print small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--y);
  margin-top: 6px;
}
.front .seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--y);
  color: var(--on-y);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 8.5px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-10deg);
  box-shadow: 0 4px 14px rgba(255, 214, 10, 0.35);
  transition: opacity 0.3s;
}
.front .seal b {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.lid {
  position: absolute;
  z-index: 6;
  left: -10px;
  right: -10px;
  top: -6px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(180deg, #38383c, #18181b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 10px -4px rgba(0, 0, 0, 0.7);
  transform: translateY(-240px);
  opacity: 0;
}
.lid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -30px;
  width: 42px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, var(--y), var(--y-deep));
  transition: transform 0.35s 0.55s;
}
.label {
  position: absolute;
  z-index: 7;
  right: 16px;
  bottom: 24px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.4;
  padding: 7px 9px;
  border-radius: 4px;
  transform: rotate(-3deg) scale(0.6);
  opacity: 0;
  transition:
    transform 0.35s 0.9s cubic-bezier(0.3, 0.7, 0.3, 1.4),
    opacity 0.2s 0.9s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.label b {
  font-size: 12px;
  display: block;
}
.box.closed .flap {
  transform: scaleY(0);
  opacity: 0;
}
.box.closed .lid {
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.5s 0.15s cubic-bezier(0.4, 0, 0.3, 1.3),
    opacity 0.15s 0.15s;
}
.box.closed .lid::after {
  transform: translateX(-50%) scaleY(1);
}
.box.closed .items .it {
  opacity: 0;
  transform: translateX(calc(var(--cx) - 50%)) translateY(60px) scale(var(--s)) rotate(var(--r)) !important;
  transition:
    transform 0.35s,
    opacity 0.3s 0.1s;
}
.box.closed .front .seal {
  opacity: 0;
}
.box.closed .label {
  opacity: 1;
  transform: rotate(-3deg) scale(1);
}
.empty {
  position: absolute;
  inset: 0 0 130px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  pointer-events: none;
  transition: opacity 0.3s;
}
.empty b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.picked {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-2);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 4px 4px 4px 12px;
  font-size: 13px;
  font-weight: 500;
}
.pk button {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  color: var(--muted);
}
.pk button:hover {
  color: var(--on-y);
  background: var(--y);
}

form.req {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--stroke);
  padding-top: 16px;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fld label,
.fld .lb {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.inp {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.inp::placeholder {
  color: var(--dim);
}
.inp:focus {
  border-color: rgba(255, 214, 10, 0.7);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.15);
}
.inp.bad {
  border-color: var(--danger);
}
select.inp option {
  background: #1c1c1e;
}
.pre {
  display: flex;
  align-items: stretch;
}
.pre span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--stroke);
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  font-size: 15px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pre .inp {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  padding: 3px;
  gap: 3px;
}
.radio label {
  display: block;
  text-align: center;
  padding: 9px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio input:checked + label {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.radio input:focus-visible + label {
  outline: 2px solid var(--y);
}
.err {
  color: var(--danger);
  font-size: 12.5px;
}
.err:empty {
  display: none;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  background: var(--y);
  color: var(--on-y);
  transition:
    transform 0.15s,
    opacity 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 10px 30px -12px rgba(255, 214, 10, 0.7);
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.btn:hover {
  box-shadow: 0 12px 36px -10px rgba(255, 214, 10, 0.9);
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}
.btn.busy {
  opacity: 0.75;
  cursor: progress;
}
.spin {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  margin-right: 8px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--stroke);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn.sm {
  padding: 9px 14px;
  font-size: 13.5px;
}
.hint {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border-top: 1px solid var(--stroke);
  padding-top: 18px;
}
.check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--y);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255, 214, 10, 0.12);
  animation: pop 0.5s cubic-bezier(0.3, 0.7, 0.3, 1.5) 1s both;
}
.check svg {
  width: 24px;
  height: 24px;
  stroke: var(--on-y);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.done h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 4px 0 0;
}
.done p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}
.done p b {
  color: var(--ink);
  font-weight: 600;
}
.when {
  font-size: 13.5px;
  background: var(--y-soft);
  color: var(--y);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-weight: 600;
  width: 100%;
}
.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* dock + hoja (celular) */
.dock {
  display: none;
}
.scrim {
  display: none;
}
.fly {
  position: fixed;
  z-index: 70;
  pointer-events: none;
  transform-origin: 0 0;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.6));
}

/* panel vendedor */
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 24px;
  padding-block: 40px 72px;
  align-items: start;
}
.panel h1,
.panel h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
}
.panel .sub {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.stat {
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.stat b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat span {
  font-size: 12.5px;
  color: var(--muted);
}
.stat.hot b {
  color: var(--y);
}
.reqs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rq {
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rq.new {
  animation: flash 1.8s ease-out;
}
@keyframes flash {
  from {
    box-shadow:
      0 0 0 2px var(--y),
      0 0 40px rgba(255, 214, 10, 0.4);
  }
  to {
    box-shadow: 0 0 0 2px transparent;
  }
}
.rq .hd {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.rq .who {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  min-width: 0;
}
.rq .who small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.pill {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  flex: none;
}
.pill.p {
  background: var(--y-soft);
  color: var(--y);
}
.pill.w {
  background: rgba(255, 159, 10, 0.16);
  color: var(--warn);
}
.pill.l {
  background: rgba(255, 69, 58, 0.16);
  color: var(--danger);
}
.pill.d {
  background: rgba(48, 209, 88, 0.14);
  color: var(--ok);
}
.timer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timer .t {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.timer .t b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--y);
  border-radius: 99px;
}
.bar i.w {
  background: var(--warn);
}
.bar i.l {
  background: var(--danger);
}
.thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.thumbs span {
  width: 50px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  overflow: hidden;
}
.thumbs img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.note {
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 0;
  color: var(--ink);
}
.msg {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg textarea {
  min-height: 156px;
  resize: vertical;
  font-size: 13.5px;
  line-height: 1.5;
}
.rq .row {
  justify-content: flex-start;
}
.ex {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
  letter-spacing: 0;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cat-list {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--stroke);
}
.pr:last-child {
  border-bottom: 0;
}
.pr .th {
  width: 40px;
  height: 44px;
  flex: none;
}
.pr .th img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pr .tx {
  flex: 1;
  min-width: 0;
}
.pr .tx b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr .tx small {
  color: var(--muted);
  font-size: 12.5px;
}
.sw {
  position: relative;
  width: 46px;
  height: 28px;
  flex: none;
}
.sw input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.sw span {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  transition: background 0.25s;
}
.sw span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.3, 1.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.sw input:checked + span {
  background: var(--y);
}
.sw input:checked + span::after {
  transform: translateX(18px);
}
.sw input:focus-visible + span {
  outline: 2px solid var(--y);
  outline-offset: 2px;
}
form.add {
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
form.add h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.file {
  border: 1.5px dashed var(--stroke-hi);
  border-radius: var(--r-sm);
  padding: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.file:hover {
  border-color: var(--y);
  color: var(--ink);
}
.file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file img {
  height: 48px;
  width: auto;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 90;
  transition:
    transform 0.3s cubic-bezier(0.3, 0.7, 0.3, 1.2),
    opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.on.act {
  pointer-events: auto;
}
.toast button {
  border: 0;
  background: none;
  color: var(--y);
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* vendedoras + reparto por turnos */
.sellers {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.turn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  font-size: 13.5px;
  color: var(--muted);
}
.turn b {
  color: var(--ink);
  font-weight: 600;
}
.turn .spin2 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--y-soft);
  color: var(--y);
  flex: none;
}
.turn .spin2 svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.turn.bump .spin2 svg {
  animation: rr 0.6s cubic-bezier(0.3, 0.7, 0.3, 1);
}
@keyframes rr {
  to {
    transform: rotate(360deg);
  }
}
.sl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  transition: background-color 0.3s;
}
.sl:last-child {
  border-bottom: 0;
}
.sl.next {
  background: rgba(255, 214, 10, 0.06);
}
.sl.off .sav {
  filter: grayscale(1);
  opacity: 0.45;
}
.sav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #0b0b0c;
  background: var(--c);
  flex: none;
  align-self: start;
  margin-top: 2px;
}
.sl .ins {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 6px;
  min-width: 0;
}
.inp.sm {
  padding: 8px 10px;
  font-size: 15px;
  border-radius: 10px;
}
.pre.sm span {
  padding: 0 8px;
  font-size: 13px;
  border-radius: 10px 0 0 10px;
}
.pre.sm .inp {
  border-radius: 0 10px 10px 0;
}
.sl .meta {
  grid-column: 2/4;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.sl .meta .nx {
  font-weight: 600;
  color: var(--on-y);
  background: var(--y);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11.5px;
}
.sl .err {
  grid-column: 2/4;
}
.warn {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--warn);
  background: rgba(255, 159, 10, 0.08);
}
.rfilter-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 14px;
}
.rfilter-wrap::-webkit-scrollbar {
  display: none;
}
.rfilter-wrap .seg {
  display: inline-flex;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
  display: inline-block;
}
.asg {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.asg select.inp {
  width: auto;
  min-width: 140px;
  padding: 6px 30px 6px 10px;
  font-size: 14px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9AA1' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center/14px;
}
.asg .who2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.asg .btn {
  margin-left: auto;
}
@media (max-width: 560px) {
  .sl .ins {
    grid-template-columns: 1fr;
  }
  .asg .btn {
    margin-left: 0;
  }
}
/* ---------- celular / tablet ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 28px 20px;
  }
  .store {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 120px;
  }
  .panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    position: static;
  }
  .dock {
    display: flex;
    position: fixed;
    z-index: 40;
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 10px;
    border-radius: 999px;
    transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1);
  }
  .dock.hide {
    transform: translateY(150%);
  }
  .dock .mini {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    border-radius: 50%;
    background: linear-gradient(180deg, #2e2e32, #111113);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    flex: none;
  }
  .dock .mini svg {
    width: 22px;
    height: 22px;
    stroke: var(--y);
    fill: none;
    stroke-width: 1.8;
    stroke-linejoin: round;
  }
  .dock .mini b {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--y);
    color: var(--on-y);
    font-size: 11.5px;
    display: grid;
    place-items: center;
    padding: 0 5px;
  }
  .dock .thumbs-mini {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
  }
  .dock .thumbs-mini img {
    width: 30px;
    height: 36px;
    object-fit: contain;
    margin-left: -6px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  }
  .dock .thumbs-mini img:first-child {
    margin-left: 0;
  }
  .dock .thumbs-mini span {
    font-size: 13.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dock .btn {
    padding: 11px 16px;
    font-size: 14.5px;
    flex: none;
  }
  .dock.pulse .mini {
    animation: dpulse 0.45s;
  }
  @keyframes dpulse {
    40% {
      transform: scale(1.18);
    }
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .scrim.on {
    opacity: 1;
    pointer-events: auto;
  }
  .boxcol {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 30px 30px 0 0;
    border-bottom: 0;
    padding: 10px max(18px, env(safe-area-inset-right, 0px)) calc(22px + env(safe-area-inset-bottom, 0px))
      max(18px, env(safe-area-inset-left, 0px));
    transform: translateY(105%);
    transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.2, 1);
    background: rgba(22, 22, 24, 0.86);
  }
  .boxcol.open {
    transform: none;
  }
  .sheet-top {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 2px 0 4px;
  }
  .sheet-top i {
    width: 38px;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.25);
  }
  .sheet-close {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink);
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
  }
}
@media (max-width: 560px) {
  .full {
    display: none;
  }
  .short {
    display: inline;
  }
  .brand .tag {
    display: none;
  }
  .nav .navbar {
    padding-left: 10px;
  }
  .seg a {
    padding: 7px 11px;
  }
  .hero p {
    font-size: 16px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .card {
    border-radius: 22px;
  }
  .card .ds {
    display: none;
  }
  .card .ph {
    padding: 16px 12px 4px;
  }
  .card .body {
    padding: 4px 12px 12px;
  }
  .card .nm {
    font-size: 14.5px;
  }
  .card .act span {
    font-size: 12px;
  }
  .plus {
    width: 30px;
    height: 30px;
  }
  .box {
    width: 272px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 12px;
  }
  .stat b {
    font-size: 22px;
  }
  .two {
    grid-template-columns: 1fr;
  }
}
/* ---------- pantalla de carga ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  overflow: auto;
  background: radial-gradient(55% 45% at 50% 42%, rgba(255, 214, 10, 0.17), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, rgba(242, 140, 5, 0.12), transparent 70%), var(--bg);
  padding: calc(24px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.6s;
}
.splash.out {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
}
.sp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: 100%;
  max-width: 760px;
}
.sp-stage {
  position: relative;
  width: 240px;
  height: 196px;
}
.sp-stage .mb {
  left: 35px;
  top: 96px;
  width: 170px;
  height: 92px;
}
.sp-p {
  position: absolute;
  bottom: 22px;
  height: 118px;
  width: auto;
  opacity: 0;
  z-index: 2;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.6));
  animation: spdrop 0.7s cubic-bezier(0.3, 0.6, 0.35, 1.3) both;
}
.sp-p.a {
  left: 52px;
  height: 112px;
  animation-delay: 0.25s;
  --r: -6deg;
}
.sp-p.b {
  left: 104px;
  height: 96px;
  animation-delay: 0.5s;
  --r: 3deg;
}
.sp-p.c {
  left: 140px;
  height: 104px;
  animation-delay: 0.75s;
  --r: 7deg;
}
@keyframes spdrop {
  from {
    opacity: 0;
    transform: translateY(-150px) rotate(var(--r));
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--r));
  }
}
.sp-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(48px, 11.5vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}
.sp-title .ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.sp-title .ch {
  display: inline-block;
  animation: sprise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(1.05s + var(--i) * 45ms);
}
.sp-title .ln.y .ch {
  background: linear-gradient(180deg, #ffe45c, var(--y) 45%, var(--y-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes sprise {
  from {
    transform: translateY(105%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.sp-rule {
  width: min(320px, 70%);
  height: 3px;
  border-radius: 9px;
  background: linear-gradient(90deg, transparent, var(--y), transparent);
  transform-origin: center;
  animation: sprule 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 1.6s both;
}
@keyframes sprule {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.sp-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 38ch;
  animation: spfade 0.7s ease 1.8s both;
}
@keyframes spfade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.sp-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 96px;
  justify-content: center;
}
.sp-bar {
  width: 200px;
  height: 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.sp-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--y);
  border-radius: 9px;
  transform-origin: left;
  animation: spbar 2.3s cubic-bezier(0.5, 0.1, 0.2, 1) 0.2s both;
}
@keyframes spbar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.sp-load small {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 96px;
  align-content: center;
}
.sp-actions .btn {
  min-width: 220px;
}
.splash.ready .sp-load {
  display: none;
}
.splash:not(.ready) .sp-actions {
  display: none;
}
.splash.ready .sp-actions .btn {
  animation: spfade 0.5s ease both;
}
.splash.ready .sp-actions .btn:nth-child(2) {
  animation-delay: 0.08s;
}
.how {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.how svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* caja mini (pantalla de carga + tutorial) */
.mb {
  position: absolute;
}
.mb .bk {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #1a1a1d, #09090a 85%);
  border-radius: 5px 5px 9px 9px;
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.8);
}
.mb .fl {
  position: absolute;
  top: -26%;
  width: 52%;
  height: 30%;
  z-index: 0;
}
.mb .fl.l {
  left: -12%;
  clip-path: polygon(0 0, 82% 10%, 100% 100%, 24% 100%);
  background: linear-gradient(180deg, #3a3a3e, #1c1c1f);
}
.mb .fl.r {
  right: -12%;
  clip-path: polygon(18% 10%, 100% 0, 76% 100%, 0 100%);
  background: linear-gradient(180deg, #2a2a2d, #141416);
}
.mb .fr {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0;
  height: 56%;
  z-index: 3;
  border-radius: 3px 3px 10px 10px;
  background: linear-gradient(180deg, #2e2e32 0, #1b1b1e 25%, #0d0d0f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 20px -12px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.8);
}
.mb .fr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--y) 18%, var(--y) 82%, transparent);
}
.mb .gl {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -14px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 10, 0.45), transparent);
  filter: blur(5px);
}

/* ---------- tutorial ---------- */
.tut {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0s linear 0.35s;
}
.tut.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s;
}
.tut-card {
  width: min(440px, 100%);
  border-radius: 30px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(24, 24, 27, 0.82);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.2, 1);
}
.tut.on .tut-card {
  transform: none;
}
.tut-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.segs {
  display: flex;
  gap: 5px;
  flex: 1;
}
.segs span {
  flex: 1;
  height: 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.segs span i {
  display: block;
  height: 100%;
  background: var(--y);
  transform-origin: left;
  transform: scaleX(0);
}
.segs span.sd i {
  transform: scaleX(1);
}
.segs span.cur i {
  animation: segfill var(--dur, 4.6s) linear forwards;
}
.tut.paused .segs span.cur i {
  animation-play-state: paused;
}
@keyframes segfill {
  to {
    transform: scaleX(1);
  }
}
.x {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  flex: none;
  transition: background-color 0.2s;
}
.x:hover {
  background: rgba(255, 255, 255, 0.18);
}
.x svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.tut-view {
  position: relative;
  width: 100%;
  aspect-ratio: 340/300;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(60% 45% at 50% 95%, rgba(255, 214, 10, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tut-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 340px;
  height: 300px;
  transform-origin: 0 0;
  transform: scale(var(--k, 1));
}
.sc {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0s linear 0.35s;
}
.sc.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s;
}
.tut-cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
}
.tut-cap small {
  color: var(--y);
  font-weight: 600;
  font-size: 13px;
}
.tut-cap h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tut-cap p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.tut-nav {
  display: flex;
  gap: 10px;
}
.tut-nav .btn {
  flex: 1;
  white-space: nowrap;
  padding-inline: 12px;
}
.tut-nav .btn[hidden] {
  display: none !important;
}

/* escena: tocar */
.tap {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(255, 214, 10, 0.3);
  border: 2px solid var(--y);
  box-shadow: 0 0 0 6px rgba(255, 214, 10, 0.12);
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}
/* 1 — elegir */
.mc {
  position: absolute;
  top: 16px;
  width: 90px;
  height: 112px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  padding: 10px;
  z-index: 1;
}
.mc img {
  height: 86px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.5));
}
.s1 .mb {
  left: 95px;
  top: 196px;
  width: 150px;
  height: 84px;
}
.fp {
  position: absolute;
  top: 29px;
  height: 86px;
  width: 60px;
  object-fit: contain;
  opacity: 0;
  z-index: 2;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.6));
}
.fp1 {
  left: 35px;
}
.fp3 {
  left: 245px;
}
.sc.on .s1tap {
  animation: tap1 3.5s ease 0.1s both;
}
@keyframes tap1 {
  0% {
    opacity: 0;
    transform: translate(170px, 170px);
  }
  10% {
    opacity: 1;
    transform: translate(170px, 170px);
  }
  26% {
    transform: translate(65px, 72px) scale(1);
  }
  30% {
    transform: translate(65px, 72px) scale(0.7);
  }
  36% {
    transform: translate(65px, 72px) scale(1);
  }
  60% {
    transform: translate(275px, 72px) scale(1);
  }
  64% {
    transform: translate(275px, 72px) scale(0.7);
  }
  70% {
    opacity: 1;
    transform: translate(275px, 72px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(275px, 72px);
  }
}
.sc.on .c1 {
  animation: pick 0.3s ease 1.1s both;
}
.sc.on .c3 {
  animation: pick 0.3s ease 2.35s both;
}
@keyframes pick {
  to {
    border-color: var(--y);
    box-shadow:
      0 0 0 1px var(--y),
      0 12px 30px -12px rgba(255, 214, 10, 0.6);
  }
}
.sc.on .fp1 {
  animation: fly1 0.85s cubic-bezier(0.45, 0, 0.25, 1) 1.15s both;
}
.sc.on .fp3 {
  animation: fly3 0.85s cubic-bezier(0.45, 0, 0.25, 1) 2.4s both;
}
@keyframes fly1 {
  0% {
    opacity: 1;
    transform: none;
  }
  45% {
    transform: translate(40px, -34px) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: translate(78px, 150px) rotate(-5deg) scale(0.88);
  }
}
@keyframes fly3 {
  0% {
    opacity: 1;
    transform: none;
  }
  45% {
    transform: translate(-40px, -34px) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: translate(-78px, 150px) rotate(5deg) scale(0.88);
  }
}
/* 2 — llenar */
.s2 .mb {
  left: 60px;
  top: 168px;
  width: 220px;
  height: 108px;
}
.meter2 {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.meter2 .bars {
  display: flex;
  gap: 4px;
}
.meter2 .bars i {
  width: 10px;
  height: 22px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.meter2 small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.sc.on .meter2 .bars i:nth-child(1) {
  animation: baron 0.2s ease 0.55s both;
}
.sc.on .meter2 .bars i:nth-child(2) {
  animation: baron 0.2s ease 1.05s both;
}
.sc.on .meter2 .bars i:nth-child(3) {
  animation: baron 0.2s ease 1.55s both;
}
.sc.on .meter2 .bars i:nth-child(4) {
  animation: baron 0.2s ease 2.05s both;
}
@keyframes baron {
  to {
    background: var(--y);
  }
}
.dp {
  position: absolute;
  bottom: 40px;
  width: auto;
  opacity: 0;
  z-index: 2;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.6));
}
.dp.d1 {
  left: 78px;
  height: 112px;
  --r: -5deg;
}
.dp.d2 {
  left: 128px;
  height: 92px;
  --r: 3deg;
}
.dp.d3 {
  left: 162px;
  height: 100px;
  --r: -2deg;
}
.dp.d4 {
  left: 214px;
  height: 104px;
  --r: 6deg;
}
.sc.on .dp.d1 {
  animation: spdrop 0.6s cubic-bezier(0.3, 0.6, 0.35, 1.3) 0.3s both;
}
.sc.on .dp.d2 {
  animation: spdrop 0.6s cubic-bezier(0.3, 0.6, 0.35, 1.3) 0.8s both;
}
.sc.on .dp.d3 {
  animation: spdrop 0.6s cubic-bezier(0.3, 0.6, 0.35, 1.3) 1.3s both;
}
.sc.on .dp.d4 {
  animation: spdrop 0.6s cubic-bezier(0.3, 0.6, 0.35, 1.3) 1.8s both;
}
.s2 .rm {
  position: absolute;
  left: 236px;
  top: 120px;
  z-index: 6;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 8px;
  opacity: 0;
}
.sc.on .s2 .rm {
  animation: spfade 0.4s ease 2.7s both;
}
/* 3 — contacto */
.ff {
  position: absolute;
  left: 30px;
  top: 14px;
  width: 280px;
  height: 258px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ff .lb3 {
  position: absolute;
  left: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.ff .fi {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}
.ff .pf {
  color: var(--muted);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 8px;
}
.tw {
  clip-path: inset(0 100% 0 0);
}
.sc.on .t1 {
  animation: type 1.1s steps(13) 0.5s forwards;
}
.sc.on .t2 {
  animation: type 0.9s steps(11) 1.85s forwards;
}
@keyframes type {
  to {
    clip-path: inset(0 0 0 0);
  }
}
.sc.on .fi.f1 {
  animation: fwin 1.4s ease 0.35s both;
}
.sc.on .fi.f2 {
  animation: fwin 1.2s ease 1.7s both;
}
@keyframes fwin {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }
  12%,
  88% {
    border-color: rgba(255, 214, 10, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.15);
  }
}
.ff .fb {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 194px;
  height: 44px;
  border-radius: 999px;
  background: var(--y);
  color: var(--on-y);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 26px -12px rgba(255, 214, 10, 0.8);
}
.sc.on .ff .fb {
  animation: press 0.35s ease 3.15s both;
}
@keyframes press {
  50% {
    transform: scale(0.94);
  }
  100% {
    transform: none;
    box-shadow:
      0 0 0 6px rgba(255, 214, 10, 0.2),
      0 10px 26px -12px rgba(255, 214, 10, 0.8);
  }
}
.sc.on .s3tap {
  animation: tap3 3.7s ease 0s both;
}
@keyframes tap3 {
  0%,
  62% {
    opacity: 0;
    transform: translate(170px, 300px);
  }
  72% {
    opacity: 1;
    transform: translate(170px, 230px) scale(1);
  }
  78% {
    transform: translate(170px, 230px) scale(0.7);
  }
  86% {
    opacity: 1;
    transform: translate(170px, 230px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(170px, 230px);
  }
}
/* 4 — cerrar */
.s4 .mb {
  left: 60px;
  top: 166px;
  width: 220px;
  height: 108px;
}
.cp {
  position: absolute;
  bottom: 40px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.6));
}
.cp.e1 {
  left: 86px;
  height: 108px;
  transform: rotate(-5deg);
}
.cp.e2 {
  left: 140px;
  height: 96px;
  transform: rotate(3deg);
}
.cp.e3 {
  left: 190px;
  height: 100px;
  transform: rotate(6deg);
}
.sc.on .cp {
  animation: sink 0.4s ease 0.75s forwards;
}
@keyframes sink {
  to {
    opacity: 0;
    transform: translateY(40px);
  }
}
.lid4 {
  position: absolute;
  left: 50px;
  top: 156px;
  width: 240px;
  height: 34px;
  z-index: 4;
  border-radius: 6px;
  background: linear-gradient(180deg, #38383c, #18181b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 10px -4px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-170px);
}
.lid4::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 60px;
  width: 34px;
  margin-left: -17px;
  background: linear-gradient(180deg, var(--y), var(--y-deep));
  transform: scaleY(0);
  transform-origin: top;
}
.sc.on .lid4 {
  animation: lid 0.55s cubic-bezier(0.4, 0, 0.3, 1.3) 0.6s forwards;
}
.sc.on .lid4::after {
  animation: tape 0.35s ease 1.25s forwards;
}
@keyframes lid {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tape {
  to {
    transform: scaleY(1);
  }
}
.sc.on.s4 .mb .fl {
  animation: flapoff 0.3s ease 0.75s forwards;
}
@keyframes flapoff {
  to {
    opacity: 0;
  }
}
.lab4 {
  position: absolute;
  left: 180px;
  top: 222px;
  z-index: 5;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: var(--f-mono);
  font-size: 9px;
  line-height: 1.35;
  padding: 5px 7px;
  border-radius: 3px;
  opacity: 0;
  transform: rotate(-4deg) scale(0.5);
}
.lab4 b {
  display: block;
  font-size: 11px;
}
.sc.on .lab4 {
  animation: stamp 0.4s cubic-bezier(0.3, 0.7, 0.3, 1.5) 1.65s forwards;
}
@keyframes stamp {
  to {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
}
.chip4 {
  position: absolute;
  left: 50%;
  top: 46px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(48, 209, 88, 0.14);
  color: var(--ok);
  border: 1px solid rgba(48, 209, 88, 0.3);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 10px);
}
.chip4 svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc.on .chip4 {
  animation: chip 0.45s cubic-bezier(0.3, 0.7, 0.3, 1.4) 2.25s forwards;
}
@keyframes chip {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* 5 — precio */
.chat {
  position: absolute;
  left: 18px;
  top: 12px;
  width: 304px;
  height: 276px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.chat .ch-h {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chat .av {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--y);
  display: grid;
  place-items: center;
}
.chat .av svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #0b0b0c;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.chat .nm5 {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.1;
}
.chat .nm5 small {
  display: block;
  color: var(--ok);
  font-weight: 500;
  font-size: 11px;
}
.ring {
  margin-left: auto;
  position: relative;
  width: 38px;
  height: 38px;
}
.ring svg {
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 3.5;
}
.ring .tr {
  stroke: rgba(255, 255, 255, 0.12);
}
.ring .pg {
  stroke: var(--y);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
}
.sc.on .ring .pg {
  animation: ring 3.2s ease 0.2s forwards;
}
@keyframes ring {
  to {
    stroke-dashoffset: 30;
  }
}
.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
}
.bb {
  position: absolute;
  max-width: 220px;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}
.bb.me {
  right: 12px;
  background: var(--y);
  color: var(--on-y);
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.bb.them {
  left: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 5px;
}
.bb.b1 {
  top: 66px;
}
.bb.b2 {
  top: 116px;
}
.bb.b3 {
  top: 228px;
}
.bb .pr5 {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--y);
  letter-spacing: -0.02em;
  margin: 2px 0;
}
.dots {
  position: absolute;
  left: 12px;
  top: 116px;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: dot 1s infinite;
}
.dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
.sc.on .b1 {
  animation: bub 0.35s cubic-bezier(0.3, 0.7, 0.3, 1.3) 0.35s forwards;
}
.sc.on .dots {
  animation: typing 1s ease 0.95s both;
}
.sc.on .b2 {
  animation: bub 0.4s cubic-bezier(0.3, 0.7, 0.3, 1.3) 1.95s forwards;
}
.sc.on .b3 {
  animation: bub 0.35s cubic-bezier(0.3, 0.7, 0.3, 1.3) 3.2s forwards;
}
@keyframes bub {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes typing {
  0% {
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.sp-actions .btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14.5px;
}
/* ---------- kits listos ---------- */
.kits {
  margin-bottom: 26px;
}
.kits-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.kits-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.kits-head p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.kits-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.kit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding: 12px 12px 12px 14px;
  border-radius: var(--r-md);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s var(--ease-out),
    border-color 0.25s,
    box-shadow 0.25s;
}
.kit:active {
  transform: scale(0.98);
}
.kit-th {
  grid-row: 1 / span 2;
  display: flex;
  align-items: flex-end;
  height: 58px;
  padding-right: 2px;
}
.kit-th img {
  height: 52px;
  width: auto;
  max-width: none;
  flex: none;
  margin-left: -12px;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.6));
  transform: rotate(calc((var(--i) - 1.5) * 4deg));
  transition: transform 0.35s var(--ease-out);
}
.kit-th img:first-child {
  margin-left: 0;
}
.kit-tx b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.kit-tx small {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.kit-go {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.kit-go .plus {
  width: 28px;
  height: 28px;
}
.kit-go .plus svg {
  width: 13px;
  height: 13px;
}
@media (hover: hover) and (pointer: fine) {
  .kit:hover {
    border-color: var(--stroke-hi);
  }
  .kit:hover .kit-th img {
    transform: translateY(-3px) rotate(calc((var(--i) - 1.5) * 8deg));
  }
  .kit:hover .plus {
    background: var(--y);
    border-color: var(--y);
  }
  .kit:hover .plus svg {
    stroke: var(--on-y);
  }
}
.kit.on {
  border-color: rgba(255, 214, 10, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 10, 0.3),
    0 20px 50px -28px rgba(255, 214, 10, 0.5);
}
.kit.on .kit-go {
  color: var(--y);
}
.kit.on .plus {
  background: var(--y);
  border-color: var(--y);
}
.kit.on .plus svg {
  stroke: var(--on-y);
}

/* ---------- arrastrar a la cajita ---------- */
.fine-only {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .fine-only {
    display: inline;
  }
  .coarse-only {
    display: none;
  }
  .card:not([disabled]):not(.in) {
    cursor: grab;
  }
}
.drag-ghost {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  object-fit: contain;
  transform-origin: 50% 35%;
  filter: drop-shadow(0 26px 22px rgba(0, 0, 0, 0.65));
  will-change: transform;
}
body.dragging,
body.dragging * {
  cursor: grabbing !important;
  -webkit-user-select: none;
  user-select: none;
}
.card.lifting {
  opacity: 0.35;
  transform: scale(0.97);
}
@media (min-width: 961px) {
  .boxcol {
    transition:
      border-color 0.25s,
      box-shadow 0.25s;
  }
}
.drop-hint {
  position: absolute;
  z-index: 6;
  inset: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 14px;
  border-radius: 16px;
  border: 1.5px dashed rgba(255, 214, 10, 0.45);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    border-color 0.2s,
    background-color 0.2s;
}
.drop-hint span {
  font-size: 13px;
  font-weight: 600;
  color: var(--y);
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  transform: translateY(-4px);
  transition:
    transform 0.25s var(--ease-out),
    background-color 0.2s,
    color 0.2s;
}
.boxcol.drop-ready {
  border-color: rgba(255, 214, 10, 0.3);
}
.boxcol.drop-ready .drop-hint {
  opacity: 1;
}
.boxcol.drop-over {
  border-color: var(--y);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 4px rgba(255, 214, 10, 0.14),
    0 24px 60px -30px rgba(0, 0, 0, 0.9);
}
.boxcol.drop-over .drop-hint {
  border-style: solid;
  border-color: var(--y);
  background-color: rgba(255, 214, 10, 0.06);
}
.boxcol.drop-over .drop-hint span {
  transform: none;
  background: var(--y);
  color: var(--on-y);
}
/* la caja abre más las solapas cuando el producto está encima */
.box .flap.l {
  transform-origin: 85% 100%;
}
.box .flap.r {
  transform-origin: 15% 100%;
}
.boxcol.drop-over .box:not(.closed) .flap.l {
  transform: rotate(-18deg) translateY(-4px);
}
.boxcol.drop-over .box:not(.closed) .flap.r {
  transform: rotate(18deg) translateY(-4px);
}

/* el botón de enviar se enciende cuando todo está listo */
form.req.ready #send {
  box-shadow:
    0 0 0 4px rgba(255, 214, 10, 0.18),
    0 12px 36px -10px rgba(255, 214, 10, 0.9);
}

/* ---------- acceso al panel (contraseña) ---------- */
.login {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 120px);
  padding-block: 32px 72px;
}
.login-card {
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px 22px;
  border-radius: 28px;
}
.mark.lg {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.mark.lg svg {
  width: 22px;
  height: 22px;
}
.login-card h1 {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.login-card h1:focus {
  outline: none;
}
.login-card .sub {
  margin: -6px 0 4px;
  color: var(--muted);
}
.login-card .back {
  align-self: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
}
.login-card .back:hover {
  color: var(--ink);
}
.ptop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.ptop .row {
  justify-content: flex-end;
}
.demo-note {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 159, 10, 0.12);
  color: var(--warn);
  font-size: 13.5px;
  font-weight: 600;
}
/* campo trampa para bots: invisible para personas */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- panel de ventas (/ventas) ---------- */
.vs {
  max-width: 760px;
  padding-block: 32px 72px;
}
.vs h1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}
.vs h1:focus {
  outline: none;
}
.vs-sub {
  color: var(--muted);
  margin: 10px 0 18px;
  max-width: 60ch;
}
.vs .rfilter-wrap {
  margin-bottom: 14px;
}
.vs-loading {
  padding-block: 80px;
  text-align: center;
  color: var(--muted);
}
.vs-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vs-name {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-items {
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.vs-step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.vs-step .sn {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--y-soft);
  color: var(--y);
}
.vs .msg .row {
  justify-content: flex-start;
}
.vs .rq > .btn {
  width: 100%;
}
.vs-return {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 12px;
  margin-top: -6px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.vs-return:hover {
  color: var(--ink);
}
.vs-return.sure {
  color: var(--danger);
  background: rgba(255, 69, 58, 0.12);
}
.vs-sent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--muted);
}
.vs-sent b {
  color: var(--y);
  margin-left: 4px;
}
.vs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 32px 20px;
  border-radius: var(--r-lg);
}
.vs-empty .check {
  animation: none;
  margin-bottom: 6px;
}
.vs-empty b {
  font-size: 17px;
}
.vs-empty span {
  color: var(--muted);
  max-width: 40ch;
}
.stock {
  margin-top: 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stock summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.stock summary::-webkit-details-marker {
  display: none;
}
.stock summary small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.stock summary svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease-out);
}
.stock[open] summary svg {
  transform: rotate(180deg);
}
.stock .cat-list {
  border-top: 1px solid var(--stroke);
  background: transparent;
  border-radius: 0;
}
.stock .pr .pill {
  margin-left: auto;
  flex: none;
}
/* acceso de cada vendedora (en el panel de administrador) */
.acc {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.acc .on {
  color: var(--ok);
  font-weight: 600;
}
.acc .btn.sm {
  padding: 6px 12px;
  font-size: 12.5px;
}
.acc .btn.sm:first-of-type {
  margin-left: auto;
}
.keybox {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--y-soft);
  font-size: 13px;
}
.keybox code {
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--y);
}
.keybox .row {
  justify-content: flex-start;
}
@media (max-width: 560px) {
  .vs-user .vs-name {
    display: none;
  }
}

/* ---------- guía y kits en celular / tablet ---------- */
@media (max-width: 960px) {
  .guide {
    min-width: 0;
    padding: 6px;
  }
  .guide ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .guide li:not(:last-child)::before,
  .guide li:not(:last-child)::after {
    left: calc(50% + 20px);
    right: calc(-50% + 18px);
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .guide li:not(:last-child)::after {
    transform: scaleX(0);
    transform-origin: 0 50%;
  }
  .guide li[data-state="done"]:not(:last-child)::after {
    transform: scaleX(1);
  }
  .guide button {
    flex-direction: column;
    gap: 6px;
    padding: 7px 4px 8px;
    text-align: center;
    height: 100%;
    justify-content: flex-start;
  }
  .gtx {
    align-items: center;
  }
  .gt {
    font-size: 13px;
    line-height: 1.25;
    text-wrap: balance;
  }
  .gtx small {
    font-size: 11.5px;
    line-height: 1.3;
    margin-top: 2px;
  }
  .kits-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 78%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    margin-inline: -16px;
    padding: 2px 16px 6px;
    scroll-padding-inline: 16px;
  }
  .kits-row::-webkit-scrollbar {
    display: none;
  }
  .kit {
    scroll-snap-align: start;
  }
}
@media (max-width: 560px) {
  .kits-head h2 {
    font-size: 18px;
  }
  .kits-head p {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
