:root {
  --ink: #0B0F1A;
  --ink-2: #131A2B;
  --paper: #F4F2EC;
  --muted: rgba(244, 242, 236, 0.62);
  --red: #E4002B;
  --lime: #C8D400;
  --gold: #F5B800;
  --line: rgba(244, 242, 236, 0.14);
  --team-p: #E4002B;
  --team-s: #F4F2EC;
  --team-t: #FFFFFF;
  --radius: 14px;
  --col: 460px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.bg {
  position: fixed; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: opacity .6s ease;
  opacity: 0;
}
.bg.is-on { opacity: 1; }
.bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,26,.55) 0%, rgba(11,15,26,.78) 45%, rgba(11,15,26,.97) 100%);
}
.bg--intro    { background-image: url('../assets/img/azteca-aerial.jpg'); }
.bg--stadium  { background-image: url('../assets/img/azteca-interior2.jpg'); }
.bg--crowd    { background-image: url('../assets/img/final-tigres-rayados.jpg'); }
.bg--city     { background-image: url('../assets/img/porra.jpg'); }
.bg--day      { background-image: url('../assets/img/jalisco.jpg'); }

.shell {
  position: relative; z-index: 1;
  max-width: var(--col); margin: 0 auto;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: 0 18px 130px;
}

/* ---------- top bar ---------- */
.top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0 10px;
}
.top__logo { height: 38px; width: auto; }
.top__title {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; line-height: 1.05; color: var(--paper);
}
.top__title small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.top__team {
  margin-left: auto; display: none; align-items: center; gap: 8px;
  height: 40px; padding: 0 10px 0 4px; border-radius: 999px;
  background: rgba(244,242,236,.08); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.top__team.is-on { display: inline-flex; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
@media (max-width: 430px) { .top.has-team .top__title { display: none; } .top.has-team .top__team { margin-left: auto; } }
.top__team img { height: 30px; width: 30px; object-fit: contain; }

.progress { display: none; align-items: center; gap: 12px; padding: 4px 0 14px; }
.progress.is-on { display: flex; }
.progress__bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(244,242,236,.12); overflow: hidden; }
.progress__fill {
  height: 100%; width: 0; border-radius: 6px;
  background: linear-gradient(90deg, var(--lime), var(--gold));
  transition: width .5s cubic-bezier(.2,.8,.2,1);
}
.discount {
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 20px;
  color: var(--ink); background: var(--lime); padding: 2px 10px 2px 8px; border-radius: 6px;
  min-width: 64px; text-align: center; transform: skewX(-6deg); line-height: 1.1;
}
.discount small { text-transform: uppercase; letter-spacing: .04em; }
.discount.is-bump { animation: bump .5s cubic-bezier(.2,1.6,.4,1); }
.discount small { font-size: 11px; font-style: normal; font-weight: 700; display: block; line-height: 1; }

/* ---------- stage / steps ---------- */
.stage { flex: 1; position: relative; }
.stage.is-locked { pointer-events: none; }
.step { animation: slideIn .38s cubic-bezier(.2,.8,.2,1); }
.step.is-leaving { animation: slideOut .22s ease forwards; }

.kicker {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em;
  color: var(--lime); margin: 6px 0 6px;
}
h1, h2 {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .95; letter-spacing: -.005em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(44px, 12vw, 64px); }
h2 { font-size: clamp(32px, 9vw, 44px); }
.lead { font-size: 17px; color: var(--paper); margin: 0 0 18px; max-width: 34ch; }
.lead b { color: var(--gold); }
.sub { font-size: 14px; color: var(--muted); margin: 0 0 16px; }

/* intro */
.intro { padding-top: 5vh; }
.intro__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px;
  font-size: 13px; color: var(--paper); background: rgba(11,15,26,.5); margin-bottom: 18px;
}
.intro__badge img { height: 22px; }
.live {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted);
  margin-top: 14px;
}
.live::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(228,0,43,.7); animation: pulse 1.6s infinite;
}
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.perks li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%230B0F1A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* sound toggle: tres barras que bailan cuando suena */
.top__sound {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(244,242,236,.08); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 0 0 11px;
}
.top__team.is-on + .top__sound { margin-left: 0; }
.top__sound:not(.top__team.is-on + .top__sound) { margin-left: auto; }
.top__team.is-on ~ .top__sound { margin-left: 0; }
.top__sound span { width: 3px; height: 6px; background: var(--muted); border-radius: 2px; transition: height .2s; }
.top__sound.is-on span { background: var(--lime); animation: eq .7s ease-in-out infinite alternate; }
.top__sound.is-on span:nth-child(2) { animation-delay: .15s; }
.top__sound.is-on span:nth-child(3) { animation-delay: .3s; }
@keyframes eq { from { height: 5px; } to { height: 16px; } }

/* intro marquee */
.marquee { overflow: hidden; margin: 26px -18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; padding-left: 18px; will-change: transform; }
.marquee__track img { height: 44px; width: 44px; object-fit: contain; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* team grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.team {
  background: rgba(244,242,236,.06); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .15s ease, border-color .15s, background .15s;
}
.team img { height: 54px; width: 54px; object-fit: contain; }
.team span { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-align: center; line-height: 1.05; }
.team:active { transform: scale(.95); }
.team.is-picked { border-color: var(--lime); background: rgba(200,212,0,.14); transform: scale(1.04); }

/* options */
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: rgba(244,242,236,.06); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px; font-size: 17px; font-weight: 600; line-height: 1.2;
  transition: transform .15s ease, border-color .15s, background .15s;
}
.opt:active { transform: scale(.98); }
.opt.is-picked { border-color: var(--lime); background: rgba(200,212,0,.14); }
.opt__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-size: 22px; }
.opt__hint { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* scale */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0 6px; }
.scale button {
  aspect-ratio: 1; border-radius: 12px; border: 1.5px solid var(--line);
  background: rgba(244,242,236,.06);
  font-family: var(--font-display); font-weight: 800; font-size: 30px; font-style: italic;
  transition: transform .15s ease, background .15s, border-color .15s, color .15s;
}
.scale button:active { transform: scale(.94); }
.scale button.is-lit { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.scale__labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* jersey photo with svg fallback */
.jphoto { position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #F4F2EC; }
.jphoto img { width: 100%; height: 100%; object-fit: cover; }
.jphoto__fb { display: none; position: absolute; inset: 0; padding: 8%; background: linear-gradient(180deg, #1B2236, #0B0F1A); }
.jphoto.is-missing img { display: none; }
.jphoto.is-missing .jphoto__fb { display: block; }
.jphoto__fb svg { width: 100%; height: 100%; }

/* stock / escasez */
.stock { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(228,0,43,.12); border: 1px solid rgba(228,0,43,.45); }
.stock__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #ffd0d8; }
.stock__row b { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.stock__bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); margin-top: 8px; overflow: hidden; }
.stock__fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, #ff4d6a, var(--red)); transition: width .8s ease; }
.stock.is-drop { animation: stockDrop .6s ease; }
@keyframes stockDrop { 20% { transform: scale(1.02); border-color: #ff4d6a; box-shadow: 0 0 0 4px rgba(228,0,43,.25); } }

/* floating points */
.fx-points {
  position: fixed; left: 50%; top: 40%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 48px; line-height: 1;
  color: var(--gold); pointer-events: none; z-index: 50; text-align: center;
  text-shadow: 0 4px 24px rgba(0,0,0,.6);
  animation: rise 1.1s ease-out forwards;
}
.fx-points small { display: block; font-size: 18px; font-weight: 700; font-style: normal; color: var(--paper); margin-top: 4px; }

/* interstitials */
.tease { padding-top: 6vh; }
.tease__crest { height: 84px; margin: 0 0 14px; }
.tease .lead b { color: var(--gold); }

/* level meter */
.level {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 13px; color: var(--muted);
}
.level__bar { flex: 1; height: 4px; background: rgba(244,242,236,.12); border-radius: 4px; overflow: hidden; }
.level__fill { height: 100%; width: 0; background: var(--gold); transition: width .6s ease; }
.level b { color: var(--gold); font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; }


.fx-points.is-neg { color: #ff4d6a; }
.level small { font-family: var(--font-display); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.level__fill { background: linear-gradient(90deg, var(--lime), var(--gold)); }

/* barra de bono en el resultado */
.bonus { margin: 4px 0 14px; display: grid; gap: 8px; }
.bonus__bar { position: relative; height: 14px; border-radius: 8px; background: rgba(244,242,236,.12); overflow: hidden; display: flex; }
.bonus__bar i { display: block; height: 100%; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.bonus__earned { background: linear-gradient(90deg, var(--lime), var(--gold)); }
.bonus__extra { background: repeating-linear-gradient(135deg, var(--gold) 0 6px, #ffd75e 6px 12px); }
.bonus__legend { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.bonus__legend b { color: var(--paper); }
.bonus__plus { opacity: 0; transition: opacity .4s .5s; }
.bonus.is-full .bonus__plus { opacity: 1; }
.bonus__legend em { margin-left: auto; font-style: italic; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--lime); }
.bonus.is-full .bonus__legend em { animation: bump .5s cubic-bezier(.2,1.6,.4,1); }
/* ---------- CTA dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11,15,26,0) 0%, rgba(11,15,26,.92) 30%);
}
.dock__in { max-width: var(--col); margin: 0 auto; }
.btn {
  width: 100%; border: 0; border-radius: 12px; padding: 18px 20px;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 24px;
  letter-spacing: .02em; text-transform: uppercase;
  background: var(--red); color: #fff;
  box-shadow: 0 10px 30px rgba(228,0,43,.35);
  transition: transform .15s ease, opacity .2s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .35; box-shadow: none; cursor: not-allowed; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(245,184,0,.35); }
.btn--pulse { animation: ctaPulse 1.8s infinite; }
.dock__note { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* ---------- loading ---------- */
.loading { padding-top: 12vh; text-align: center; }
.loading h2 { font-style: normal; }
.checks { list-style: none; padding: 0; margin: 28px auto 0; max-width: 320px; text-align: left; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; opacity: .35; transition: opacity .3s; }
.checks li.is-on, .checks li.is-done { opacity: 1; }
.checks li i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line);
  display: grid; place-items: center;
}
.checks li.is-on i { border-color: var(--lime); border-top-color: transparent; animation: spin .8s linear infinite; }
.checks li.is-done i {
  animation: none; border-color: var(--lime); background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%230B0F1A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
}

/* ---------- result ---------- */
.result { padding-top: 10px; }
.stamp {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 4px 12px; transform: rotate(-3deg) skewX(-6deg);
  margin: 6px 0 14px 4px;
}
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: 18px; }
.price b { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 44px; color: var(--lime); line-height: 1; }
.price small { font-size: 13px; color: var(--muted); }
.urgency { display: flex; gap: 8px; flex-wrap: wrap; }
.urgency span {
  font-size: 13px; padding: 6px 10px; border-radius: 8px; background: rgba(228,0,43,.15);
  border: 1px solid rgba(228,0,43,.4); color: #ffb3c0;
}
.urgency span.timer { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: #fff; background: var(--red); border-color: var(--red); font-variant-numeric: tabular-nums; }
.trust { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust li::before { content: '✓'; color: var(--lime); font-weight: 700; }

.ticker {
  position: fixed; left: 50%; bottom: 118px; transform: translateX(-50%);
  z-index: 15; max-width: calc(var(--col) - 36px); width: calc(100% - 36px);
  background: rgba(244,242,236,.96); color: var(--ink); border-radius: 10px;
  padding: 10px 12px; font-size: 13px; display: none; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.ticker.is-on { display: flex; animation: slideUp .4s ease; }
.ticker img { width: 26px; height: 26px; object-fit: contain; }
.ticker b { font-family: var(--font-display); font-size: 15px; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; }

/* ---------- tienda: fondo claro, sin barra ni dock ---------- */
body.is-site {
  background: #fff; color: #1c2233;
}
body.is-site .bg, body.is-site .top, body.is-site .progress, body.is-site .dock, body.is-site .ticker { display: none; }
body.is-site .shell { padding-bottom: 0; }
/* ---------- cupón en el resultado ---------- */
.coupon {
  background: var(--ink-2); border: 1px dashed rgba(245,184,0,.6); border-radius: var(--radius);
  padding: 16px; display: grid; gap: 10px; margin: 8px 0 0;
}
.coupon__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.coupon__head img { height: 34px; width: 34px; object-fit: contain; }
.coupon__code {
  font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: .1em; color: var(--gold);
  text-align: center; background: rgba(245,184,0,.1); border-radius: 10px; padding: 10px;
  animation: pop .6s cubic-bezier(.2,1.4,.4,1);
}
.coupon__desc { text-align: center; font-size: 14px; color: var(--muted); }
.coupon__desc b { color: var(--paper); }

/* ---------- tienda oficial (paso store) ---------- */
body.is-site.is-store { background: #f6f6f6; }
.st { margin: 0 -18px; padding: 0; background: #f6f6f6; color: #1c2233; }
.st__promo { background: #111827; color: #fff; font-size: 12px; text-align: center; padding: 7px 12px; letter-spacing: .02em; transition: background .3s; }
.st__promo.is-on { background: #1e8a4c; font-weight: 700; }
.st__top { padding: 0 16px 0; }
.st__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.st__burger { width: 26px; display: grid; gap: 5px; }
.st__burger i { height: 2px; background: currentColor; border-radius: 2px; }
.st__logo { display: inline-flex; align-items: center; gap: 10px; }
.st__logo img { height: 46px; width: 46px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.st__logo b { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.st__logo b span { display: block; font-size: 26px; font-weight: 800; letter-spacing: .02em; margin-top: 2px; }
.st__icons { display: inline-flex; gap: 14px; position: relative; align-items: center; }
.st__icons svg { width: 26px; height: 26px; }
.st__cartbtn { position: relative; border: 0; background: none; padding: 0; color: inherit; display: inline-flex; }
.st__icons em {
  position: absolute; right: -9px; top: -7px; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  background: #fff; color: #111827; font: 700 11px/18px var(--font-body); font-style: normal; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.st__search {
  background: #fff; border: 1px solid #d5d9e0; border-radius: 6px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; color: #6b7280; font-size: 16px;
}
.st__search svg { width: 22px; height: 22px; color: #1c2233; }
.st__nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.st__nav::-webkit-scrollbar { display: none; }
.st__nav a { flex: none; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: inherit; opacity: .9; cursor: pointer; }
.st__nav a.is-on { background: rgba(255,255,255,.95); color: #111827; border-color: transparent; opacity: 1; }

/* hero carrusel */
.hero { position: relative; margin: 14px 16px 0; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 196px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 18px 26px;
  color: #fff; background-size: cover; background-position: center;
}
.hero__slide--team { background: linear-gradient(115deg, var(--p) 0%, color-mix(in srgb, var(--p) 55%, #111827) 55%, #111827 100%); cursor: pointer; }
.hero__slide--liga::before, .hero__slide--ship::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,26,.9) 0%, rgba(11,15,26,.55) 60%, rgba(11,15,26,.25) 100%); }
.hero__txt { position: relative; display: grid; gap: 4px; flex: 1; min-width: 0; }
.hero__txt small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.hero__txt b { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: .95; text-transform: uppercase; }
.hero__txt span { font-size: 13px; opacity: .9; }
.hero__txt i { font-style: normal; margin-top: 8px; width: fit-content; background: #fff; color: #111827; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.hero__logo { height: 40px; width: auto; margin-bottom: 2px; }
.hero__art { position: relative; flex: 0 0 40%; min-height: 60px; }
.hero__art .jphoto { background: transparent; border-radius: 8px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); animation: pop .5s cubic-bezier(.2,1.3,.4,1); }
.hero__crest { position: absolute; right: -4px; bottom: -8px; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.hero__art:not(:has(.jphoto)) .hero__crest { position: static; width: 100%; height: auto; max-height: 120px; margin: 0 auto; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.hero__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.hero__dots i.is-on { width: 18px; background: #fff; }

.st__trust { list-style: none; margin: 14px 16px 0; padding: 10px 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; }
.st__trust li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 11.5px; font-weight: 600; color: #374151; line-height: 1.15; }
.st__trust svg { width: 24px; height: 24px; color: #1e8a4c; }
.st__intro { padding: 16px 16px 0; font-size: 15px; color: #4a5468; margin: 0; }
.st__h {
  font-family: var(--font-display); font-weight: 800; font-style: normal; text-transform: uppercase;
  font-size: 30px; letter-spacing: .01em; color: #1c2233; margin: 22px 16px 12px; scroll-margin-top: 8px;
}
.st__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 16px; scroll-margin-top: 8px; }
.prod {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 0 14px;
  text-align: left; display: grid; gap: 4px; align-content: start; font: inherit; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.prod:active { transform: scale(.98); }
.prod[disabled] { cursor: default; }
.prod__img { position: relative; padding: 12px; }
.prod__img .jphoto, .sh__img .jphoto { border-radius: 0; background: #fff; }
.prod__badge {
  position: absolute; left: 8px; top: 8px; background: #c8102e; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.prod.is-coupon .prod__badge { display: none; background: #1e8a4c; }
.prod__badge--out { left: auto; right: 0; top: 0; border-radius: 0 6px 0 4px; background: #111827; font-size: 12px; letter-spacing: .04em; }
.prod.is-out .jphoto { opacity: .55; }
.prod small { padding: 0 12px; font-size: 13px; color: #6b7280; }
.prod b { padding: 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.15; text-transform: uppercase; }
.prod__rating { padding: 0 12px; font-size: 12px; color: #f59e0b; letter-spacing: .02em; }
.prod__rating i { font-style: normal; color: #6b7280; }
.prod__ship { padding: 0 12px; font-size: 13px; color: #2f9e44; }
.prod__ship::before { content: '✓ '; font-weight: 700; }
.prod__price { padding: 4px 12px 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 18px; font-weight: 700; }
.prod__price s { color: #9aa1ad; font-weight: 400; font-size: 14px; }
.prod.is-coupon .prod__price s { display: none; }
.prod__price em { font-style: normal; }
.prod:not(.is-coupon):not(.is-out) .prod__price em { color: #c8102e; }
.prod__free {
  display: none; margin: 4px 12px 0; padding: 5px 8px; border-radius: 4px; width: fit-content;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.st__grid.is-free .prod.is-coupon:not(.is-out) .prod__badge { display: block; animation: pop .35s cubic-bezier(.2,1.3,.4,1); }
.st__grid.is-free .prod.is-coupon:not(.is-out) .prod__price s { display: inline; }
.st__grid.is-free .prod.is-coupon:not(.is-out) .prod__price em { color: #1e8a4c; font-size: 22px; animation: pop .35s cubic-bezier(.2,1.3,.4,1); }
.st__grid.is-free .prod.is-coupon:not(.is-out) .prod__free { display: block; }
.st__grid.is-free .prod.is-coupon:not(.is-out) { border-color: #86efac; box-shadow: 0 0 0 1px #86efac; }
.prod--skel { pointer-events: none; }
.prod--skel .prod__img { aspect-ratio: 1; }
.prod--skel i { display: block; height: 12px; margin: 4px 12px 0; border-radius: 4px; background: #eceef1; }
.prod--skel i:nth-of-type(2) { width: 60%; }
.prod--skel i:nth-of-type(3) { width: 40%; height: 16px; margin-top: 8px; }
.prod--skel .prod__img::after, .prod--skel i { animation: shimmer 1.2s ease-in-out infinite; }
.prod--skel .prod__img::after { content: ''; position: absolute; inset: 12px; border-radius: 4px; background: #eceef1; }
@keyframes shimmer { 50% { opacity: .45; } }

.st__banner { position: relative; margin: 22px 16px 0; min-height: 150px; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; }
.st__banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,26,.1), rgba(11,15,26,.85)); }
.st__banner > div { position: relative; padding: 16px; display: grid; gap: 2px; }
.st__banner small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .85; }
.st__banner b { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: .95; text-transform: uppercase; }
.st__banner span { font-size: 13px; opacity: .9; }

/* opiniones */
.st__reviews { padding: 0 16px; display: grid; gap: 10px; }
.st__reviews .st__h { margin-left: 0; margin-right: 0; }
.rev__summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; }
.rev__summary > b { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.rev__summary div { display: grid; gap: 2px; }
.rev__summary small { font-size: 12px; color: #6b7280; }
.rev__stars { color: #f59e0b; font-size: 15px; letter-spacing: .04em; }
.rev__stars i { font-style: normal; font-size: 11px; color: #1e8a4c; font-weight: 700; margin-left: 6px; }
.rev { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 14px; display: grid; gap: 6px; }
.rev__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rev__head b { font-size: 15px; }
.rev__head span { font-size: 12px; color: #6b7280; }
.rev p { margin: 0; font-size: 14px; color: #374151; line-height: 1.4; }

/* faq */
.st__faq { padding: 0 16px; }
.st__faq .st__h { margin-left: 0; margin-right: 0; }
.faq { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 8px; padding: 0 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: #6b7280; }
.faq[open] summary::after { content: '−'; }
.faq p { margin: 0 0 14px; font-size: 14px; color: #4a5468; line-height: 1.4; }

/* newsletter */
.st__news { margin: 24px 16px 0; padding: 18px 16px; background: #111827; color: #fff; border-radius: 10px; }
.st__news h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin: 0 0 4px; }
.st__news p { margin: 0 0 12px; font-size: 14px; opacity: .85; }
.st__news-form { display: flex; gap: 8px; }
.st__news-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 12px; border: 0; border-radius: 6px; }
.st__news-form button { font: inherit; font-weight: 700; padding: 12px 14px; border: 0; border-radius: 6px; background: #f7cb2f; color: #111827; }

/* footer */
/* el padding de abajo deja libre el espacio de la barra fija (.st__bar) */
.st__footer { margin-top: 26px; padding: 22px 16px calc(64px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5e7eb; }
.st__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st__footer h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #111827; }
.st__cols a { display: block; font-size: 14px; color: #4a5468; padding: 4px 0; }
.st__social { margin-top: 18px; }
.st__social div { display: flex; gap: 12px; }
.st__social svg { width: 22px; height: 22px; color: #111827; }
.st__tagline { margin: 18px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #111827; }
.st__pay { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #e5e7eb; display: grid; gap: 8px; font-size: 12px; color: #6b7280; }
.st__pay > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pay { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 28px; border: 1px solid #d5d9e0; border-radius: 4px; background: #fff; font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .02em; }
.pay--visa { color: #1a1f71; font-style: italic; font-size: 13px; }
.pay--mc { gap: 0; }
.pay--mc b { width: 14px; height: 14px; border-radius: 50%; background: #eb001b; }
.pay--mc b + b { background: #f79e1b; margin-left: -5px; opacity: .95; }
.pay--amex { background: #006fcf; color: #fff; border-color: #006fcf; }
.pay--pp { color: #003087; }
.pay--pp b { color: #009cde; }
.pay--oxxo { background: #e10a0a; color: #ffd200; border-color: #e10a0a; }
.pay--spei { color: #374151; }
.st__foot { margin: 12px 0 0; padding: 12px 0 16px; font-size: 11.5px; color: #9aa1ad; text-align: center; }

.st__bar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--col); z-index: 20;
  background: #1e8a4c; color: #fff; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px;
  animation: slideUp .3s ease;
}
.st__bar[hidden] { display: none; }
.st__bar b { font-family: var(--font-display); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.st__bar em { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.st__bar-cart { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: inherit; font: inherit; padding: 0; text-align: left; }
.st__bar-cart svg { width: 22px; height: 22px; flex: none; }
.st__bar-cart span { font-weight: 700; font-size: 15px; }
.st__bar-go { border: 0; border-radius: 8px; padding: 10px 16px; background: #fff; color: #14532d; font: inherit; font-weight: 800; font-size: 15px; white-space: nowrap; }
.st__toast {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 70;
  width: calc(100% - 36px); max-width: calc(var(--col) - 36px);
  background: #1c2233; color: #fff; border-radius: 10px; padding: 12px 14px; font-size: 14px;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: dropIn .3s ease;
}
.st__toast::before { content: '✓'; color: #4ade80; font-weight: 700; }
@keyframes dropIn { from { opacity: 0; transform: translate(-50%, -10px); } }

/* modal de cupón */
.cp {
  position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 18px;
  background: rgba(17,24,39,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .3s ease;
}
.cp.is-closing { animation: fadeOut .3s ease forwards; }
.cp__card {
  width: 100%; max-width: 400px; background: #fff; color: #1c2233; border-radius: 16px;
  padding: 22px 20px 16px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: pop .45s cubic-bezier(.2,1.3,.4,1);
}
.cp__card > img { height: 52px; margin: 0 auto 8px; }
.cp__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; margin: 0 0 6px; }
.cp__card h3 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: .95; text-transform: uppercase; margin: 0 0 10px; color: #1e8a4c; }
.cp__text { font-size: 15px; color: #4a5468; margin: 0 0 12px; }
.cp__code { border: 2px dashed #1e8a4c; border-radius: 10px; padding: 8px 10px; background: #f0fdf4; margin: 0 0 10px; }
.cp__code small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #1e8a4c; }
.cp__code b { font-family: var(--font-display); font-size: 28px; letter-spacing: .08em; }
.cp__deal { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px; text-align: left; }
.cp__deal s { color: #9aa1ad; font-size: 16px; }
.cp__deal b { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: #1e8a4c; }
.cp__deal span { font-size: 13px; line-height: 1.25; color: #1c2233; font-weight: 600; }
.cp__terms { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: 13px; color: #4a5468; text-align: left; }
.cp__terms li::before { content: '✓ '; color: #1e8a4c; font-weight: 700; }
.cp__btn { width: 100%; border: 0; border-radius: 10px; padding: 16px; background: #1e8a4c; color: #fff; font: inherit; font-size: 19px; font-weight: 700; }
.cp__btn:active { transform: scale(.98); }
.cp__foot { font-size: 12px; color: #9aa1ad; margin: 10px 0 0; }

/* sheet de producto: misma caja de imagen que la card */
.sh { position: fixed; inset: 0; z-index: 66; background: rgba(17,24,39,.6); display: flex; align-items: flex-end; animation: fadeIn .25s ease; }
.sh.is-closing { animation: fadeOut .25s ease forwards; }
.sh__card {
  position: relative; width: 100%; max-width: var(--col); margin: 0 auto; background: #fff; color: #1c2233;
  border-radius: 18px 18px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  max-height: 92dvh; overflow: auto; animation: sheetUp .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sh__close { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f3f5; font-size: 22px; line-height: 1; color: #1c2233; z-index: 1; }
.sh__img { position: relative; width: 58%; margin: 0 auto 12px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; }
.sh__img .prod__badge { display: block; }
.sh__card small { font-size: 13px; color: #6b7280; }
.sh__card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.05; margin: 2px 0 8px; }
.sh__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sh__price s { color: #9aa1ad; }
.sh__price em { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; color: #1e8a4c; }
.sh__price span { font-size: 12px; background: #f0fdf4; color: #1e8a4c; border: 1px solid #bbf7d0; border-radius: 4px; padding: 2px 6px; font-weight: 700; }
.sh__ship { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: #fff8e6; border: 1px solid #fde68a; margin-bottom: 14px; }
.sh__ship b { font-size: 15px; color: #92400e; }
.sh__ship span { font-size: 13px; color: #78350f; }
.sh__label { font-size: 14px; font-weight: 600; margin: 0 0 8px; display: flex; justify-content: space-between; }
.sh__guide { font-size: 12px; font-weight: 600; color: #6b7280; text-decoration: underline; cursor: pointer; }
.sh__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.sh__sizes button { padding: 14px 0; border-radius: 6px; border: 1.5px solid #d5d9e0; background: #fff; font: inherit; font-weight: 700; font-size: 17px; color: #1c2233; }
.sh__sizes button.is-picked { background: #1c2233; color: #fff; border-color: #1c2233; }
.sh__hint { font-size: 13px; color: #6b7280; margin: 10px 0 12px; }
.sh__feats { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 3px; font-size: 13px; color: #4a5468; }
.sh__feats li::before { content: '✓ '; color: #1e8a4c; font-weight: 700; }
.sh__btn { width: 100%; border: 0; border-radius: 10px; padding: 17px; background: #1e8a4c; color: #fff; font: inherit; font-size: 19px; font-weight: 700; transition: opacity .2s; }
.sh__btn[disabled] { opacity: .4; }

/* carrito */
.st__cartbtn { position: relative; border: 0; background: none; padding: 0; color: inherit; display: inline-flex; }
.st__bar-cart { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: inherit; font: inherit; padding: 0; text-align: left; }
.st__bar-cart svg { width: 22px; height: 22px; flex: none; }
.st__bar-cart span { font-weight: 700; font-size: 15px; }
.st__bar-go { border: 0; border-radius: 8px; padding: 10px 16px; background: #fff; color: #14532d; font: inherit; font-weight: 800; font-size: 15px; white-space: nowrap; }
.cart__h { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin: 0 0 12px; }
.cart__h span { color: #6b7280; font-weight: 700; }
.cart__list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid #e5e7eb; border-radius: 8px; }
.cart__thumb { border: 1px solid #e5e7eb; border-radius: 4px; padding: 4px; background: #fff; }
.cart__info { display: grid; gap: 2px; min-width: 0; }
.cart__info b { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.1; text-transform: uppercase; }
.cart__info span { font-size: 13px; color: #4a5468; }
.cart__info em { font-style: normal; font-size: 12px; font-weight: 700; color: #1e8a4c; }
.cart__price { display: grid; justify-items: end; gap: 2px; }
.cart__price s { font-size: 12px; color: #9aa1ad; }
.cart__price b { font-size: 17px; color: #1e8a4c; }
.cart__rm { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; color: #6b7280; text-decoration: underline; }
.cart__upsell { display: grid; gap: 4px; padding: 12px; border-radius: 8px; background: #fff8e6; border: 1px solid #fde68a; margin-bottom: 14px; }
.cart__upsell b { font-size: 15px; color: #92400e; }
.cart__upsell span { font-size: 13px; color: #78350f; }
.cart__more { margin-top: 6px; border: 1.5px solid #92400e; border-radius: 8px; padding: 10px; background: #fff; color: #92400e; font: inherit; font-weight: 700; font-size: 15px; }
.cart__sum { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid #e5e7eb; margin-bottom: 12px; font-size: 14px; color: #4a5468; }
.cart__sum > div { display: flex; justify-content: space-between; }
.cart__sum b { color: #1c2233; }
.cart__total { font-size: 17px; padding-top: 6px; border-top: 1px solid #e5e7eb; }
.cart__total b { color: #1e8a4c; }

/* ---------- welcome modal ---------- */
.welcome {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px;
  background: rgba(11,15,26,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .3s ease;
}
.welcome.is-closing { animation: fadeOut .3s ease forwards; }
.welcome__card {
  width: 100%; max-width: 420px; background: var(--paper); color: var(--ink); border-radius: 18px;
  padding: 26px 22px 20px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: pop .45s cubic-bezier(.2,1.3,.4,1);
}
.welcome__logo { height: 64px; margin: 0 auto 10px; }
.welcome__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; color: #5a6070; margin: 0 0 6px; }
.welcome__title { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 38px; line-height: .95; margin: 0 0 12px; color: var(--ink); }
.welcome__text { font-size: 15px; line-height: 1.45; margin: 0 0 10px; color: #2a3040; }
.welcome__text b { color: var(--red); }
.welcome__card .btn { margin-top: 8px; }
.welcome__foot { font-size: 12px; color: #6a7080; margin: 10px 0 0; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

/* ---------- animations ---------- */
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes slideOut { to { opacity: 0; transform: translateX(-28px); } }
@keyframes slideUp { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bump { 30% { transform: skewX(-6deg) scale(1.3); } }
@keyframes rise { to { transform: translate(-50%, -80px); opacity: 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(228,0,43,0); } 100% { box-shadow: 0 0 0 0 rgba(228,0,43,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ctaPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (min-width: 720px) {
  .shell { padding-top: 10px; }
  
}

/* ---------- corte hombre / dama (sheet) ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1.5px solid #d5d9e0; border-radius: 8px; padding: 3px; margin-bottom: 14px; background: #f6f7f9; }
.fit button { min-height: 44px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-weight: 700; font-size: 16px; color: #4a5468; cursor: pointer; transition: background .15s ease, color .15s ease; }
.fit button.is-picked { background: #1c2233; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.fit button:focus-visible, .sh__sizes button:focus-visible, .cart__bump:focus-visible, .cart__editor-btns button:focus-visible { outline: 3px solid rgba(30,138,76,.45); outline-offset: 2px; }

/* ---------- order bump: nombre y número ---------- */
.bump { position: relative; border: 1.5px dashed #c9cfd8; border-radius: 10px; margin: 0 0 14px; background: #fff; transition: border-color .2s ease, background .2s ease; }
.bump.is-on { border-style: solid; border-color: #1e8a4c; background: #f4fbf6; }
.bump.is-err { border-color: #d64545; background: #fff7f7; }
.bump__head { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; min-height: 56px; cursor: pointer; }
.bump__head:focus-within { border-radius: 10px; box-shadow: 0 0 0 3px rgba(30,138,76,.25); }
.bump__check { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bump__box { width: 24px; height: 24px; border: 2px solid #9aa1ad; border-radius: 6px; background: #fff; position: relative; transition: background .15s ease, border-color .15s ease; }
.bump__box::after { content: ''; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.bump__check:checked + .bump__box { background: #1e8a4c; border-color: #1e8a4c; }
.bump__check:checked + .bump__box::after { transform: rotate(45deg) scale(1); }
.bump__txt { display: grid; gap: 2px; min-width: 0; }
.bump__txt b { font-size: 15px; color: #1c2233; line-height: 1.2; }
.bump__txt span { font-size: 13px; color: #6b7280; }
.bump__price { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #1e8a4c; white-space: nowrap; }
.bump__body { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; padding: 0 14px 14px; }
.bump__preview { width: 120px; aspect-ratio: 1; border-radius: 8px; background: #fff; border: 1px solid #e5e7eb; padding: 6px; }
.bump__preview svg { width: 100%; height: 100%; display: block; }
.bump__fields { display: grid; grid-template-columns: 1fr 78px; gap: 10px; min-width: 0; }
.bump__fields label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #4a5468; }
.bump__fields input { width: 100%; min-height: 46px; border: 1.5px solid #d5d9e0; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 17px; font-weight: 700; color: #1c2233; background: #fff; text-transform: uppercase; letter-spacing: .04em; }
.bump__fields input::placeholder { color: #b6bcc6; font-weight: 600; }
.bump__fields input:focus { border-color: #1e8a4c; outline: 0; box-shadow: 0 0 0 3px rgba(30,138,76,.15); }
.bump__note { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.4; color: #6b7280; }
.bump__hint { margin: 0; padding: 0 14px 12px; font-size: 13px; color: #d64545; font-weight: 600; }
.bump--edit .bump__head { display: none; }
.bump--edit .bump__body { padding-top: 14px; }

/* bump dentro del carrito */
.cart__custom { font-weight: 700; color: #1c2233; }
.cart__bump { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 36px; padding: 0 10px; border: 1.5px solid #1e8a4c; border-radius: 8px; background: #fff; color: #1e8a4c; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cart__bump svg { width: 16px; height: 16px; }
.cart__bump[hidden] { display: none; }
.cart__bump--edit { border-color: #d5d9e0; color: #4a5468; }
.cart__editor { border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; display: grid; gap: 10px; background: #fafafa; animation: fadeIn .2s ease; }
.cart__editor .bump { margin: 0; }
.cart__editor-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.cart__editor-btns button { min-height: 44px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.cart__save { border: 0; background: #1e8a4c; color: #fff; }
.cart__cancel { border: 1.5px solid #d5d9e0; background: #fff; color: #4a5468; padding: 0 14px; }
.cart__unset { grid-column: 1 / -1; border: 0; background: none; color: #6b7280; font-size: 13px; text-decoration: underline; min-height: 36px; }
@media (max-width: 360px) { .bump__body { grid-template-columns: 84px 1fr; } .bump__preview { width: 84px; } .bump__fields { grid-template-columns: 1fr 64px; } }
@media (prefers-reduced-motion: reduce) { .bump, .bump__box, .bump__box::after, .fit button { transition: none; } .cart__editor { animation: none; } }

/* hidden precisa vencer o display explícito */
.bump__body[hidden], .bump__hint[hidden] { display: none; }

/* desktop: el sheet se vuelve un diálogo centrado con esquinas redondas */
@media (min-width: 768px) {
  .sh { align-items: center; padding: 24px; }
  .sh__card { border-radius: 18px; max-width: 520px; max-height: 90vh; padding: 22px 24px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
  @keyframes sheetUp { from { transform: translateY(24px) scale(.98); opacity: 0; } }
}

/* Sheet de producto: el contenido hace scroll en .sh__body y el CTA vive en un pie opaco que no tapa nada */
.sh__card.has-body { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.sh__body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 18px 18px 6px; -webkit-overflow-scrolling: touch; }
.sh__foot { flex: none; padding: 10px 18px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eef0f3; }
.sh__foot .sh__btn { margin: 0; }
@media (min-width: 768px) {
  .sh__body { padding: 22px 24px 8px; }
  .sh__foot { padding: 12px 24px 18px; }
}

/* "bienvenido de vuelta": botón secundario para empezar de nuevo */
.welcome__restart { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: none; color: #5a6070; font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.welcome__restart:focus-visible { outline: 3px solid rgba(245,184,0,.5); outline-offset: 2px; border-radius: 8px; }
