/* ============================================================
   Miss XV VIP — Order Flow (rediseño)
   Sistema premium unificado RSVP ↔ VIP-INV
   Tokens EXACTOS · Poppins · navy · dorado/púrpura/naranja
   ============================================================ */

:root {
  --bg: #0a0e2a;
  --bg-2: #060926;
  --card: #161a3d;
  --card-2: #0e1335;
  --card-hover: #1a1f4a;

  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.05);
  --hair-gold: rgba(212, 175, 102, 0.28);

  --text: #ffffff;
  --text-2: #c4c7e2;
  --text-3: #9aa0c4;
  --text-4: #767aa0;

  --gold: #f5c945;
  --gold-2: #fde68a;
  --gold-deep: #b8860b;
  --gold-soft: rgba(245, 201, 69, 0.12);
  --gold-line: rgba(245, 201, 69, 0.32);

  --purple: #b347ff;
  --purple-2: #d4a3ff;
  --purple-deep: #8b1ed8;
  --purple-soft: rgba(168, 85, 247, 0.16);

  --orange: #fb923c;
  --orange-2: #fdba74;
  --orange-deep: #c2410c;
  --orange-soft: rgba(251, 146, 60, 0.18);

  --success: #22d34a;
  --success-2: #5bf07c;
  --success-soft: rgba(34, 211, 74, 0.18);
  --danger: #f43f5e;
  --danger-soft: rgba(244, 63, 94, 0.14);

  --grad-progress: linear-gradient(90deg, #fb923c 0%, #b347ff 52%, #f5c945 100%);
  --grad-gold: linear-gradient(180deg, #fde68a 0%, #f5c945 55%, #b8860b 100%);
  --grad-orange: linear-gradient(180deg, #fdba74 0%, #fb923c 55%, #c2410c 100%);
  --grad-purple: linear-gradient(180deg, #c084fc 0%, #a855f7 55%, #7e22ce 100%);

  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --font: 'Poppins', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  background:
    radial-gradient(900px 700px at 88% -10%, rgba(179, 71, 255, 0.12), transparent 60%),
    radial-gradient(800px 700px at -10% 110%, rgba(245, 201, 69, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
#root { height: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================================
   SHELL — two panels
   ============================================================ */
.ow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  height: 100vh;
  height: 100dvh; /* dvh accounts for mobile browser chrome so the footer never clips */
  overflow: hidden;
}
.ow.ow-single { grid-template-columns: 1fr; }
.ow.ow-single .ow-left { max-width: 880px; width: 100%; justify-self: center; }

/* ---------- LEFT: form ---------- */
.ow-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  position: relative;
}
.ow-head {
  flex-shrink: 0;
  padding: 22px 40px 0;
}
.ow-brand {
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 20px;
}
.ow-brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a1f4d 0%, #0a0e2a 70%);
  display: grid; place-items: center;
  position: relative; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(245,201,69,0.6), inset 0 0 12px rgba(179,71,255,0.25), 0 4px 16px rgba(0,0,0,0.5);
}
.ow-brand-logo {
  width: 42px; height: 42px; flex-shrink: 0; object-fit: contain;
  border-radius: 50%; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.ow-brand-mark span {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 17px;
  background: linear-gradient(180deg, #d4a3ff, #b347ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-top: 7px;
}
.ow-brand-mark::before {
  content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 8px;
  background: var(--grad-gold);
  clip-path: polygon(0% 100%, 20% 30%, 40% 70%, 50% 0%, 60% 70%, 80% 30%, 100% 100%);
}
.ow-brand-name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; line-height: 1; }
.ow-brand-name em { font-style: normal; color: var(--gold); }
.ow-brand-name .sub { display: block; font-size: 10.5px; color: var(--text-3); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
.ow-secure-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--text-2);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.ow-secure-pill svg { color: var(--success); }

/* progress */
.ow-progress { margin-bottom: 6px; }
.ow-progress-bars { display: flex; gap: 6px; margin-bottom: 10px; }
.ow-progress-seg {
  flex: 1; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.07); overflow: hidden; position: relative;
}
.ow-progress-seg::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: var(--grad-progress);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1);
}
.ow-progress-seg.done::after { transform: scaleX(1); }
.ow-progress-seg.active::after { transform: scaleX(1); box-shadow: 0 0 12px rgba(245,201,69,0.5); }
.ow-progress-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.ow-step-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ow-step-count { font-size: 11.5px; color: var(--text-3); font-weight: 500; font-variant-numeric: tabular-nums; }

/* body (scroll area) */
.ow-body {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
  padding: 26px 40px 28px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
  scrollbar-width: none;
}
.ow-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ow-step { animation: ow-slide 0.42s cubic-bezier(.2,.7,.3,1); }
/* IMPORTANT: slide only — opacity stays 1 so the panel is never blank */
@keyframes ow-slide { from { transform: translateY(14px); } to { transform: translateY(0); } }

.ow-step-title {
  font-size: 27px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 6px;
}
.ow-step-title em { font-style: normal; background: linear-gradient(180deg, #d4a3ff, #b347ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ow-step-title .ow-spark { background: linear-gradient(180deg, #f5d97a, #f5c945); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ow-step-sub { font-size: 14px; color: var(--text-3); margin: 0 0 22px; line-height: 1.5; max-width: 52ch; }

/* ---------- footer ---------- */
.ow-foot {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 40px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: rgba(6,9,38,0.72);
  backdrop-filter: blur(16px);
  position: sticky; bottom: 0; z-index: 5;
}
.ow-foot-total { display: flex; flex-direction: column; gap: 1px; margin-right: auto; }
.ow-foot-total .lbl { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.ow-foot-total .val { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ow-foot-total .val small { font-size: 12px; color: var(--text-3); font-weight: 500; margin-left: 4px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.ow-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px; border-radius: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
  transition: transform 0.16s cubic-bezier(.2,.7,.3,1), filter 0.16s, box-shadow 0.16s, background 0.16s;
  white-space: nowrap;
}
.ow-btn-cta {
  background: var(--grad-orange); color: #2a1505;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 14px 30px -10px rgba(251,146,60,0.5);
}
.ow-btn-cta:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 20px 40px -10px rgba(251,146,60,0.6); }
.ow-btn-cta:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(0.3); }
.ow-btn-ghost { color: var(--text-2); background: rgba(255,255,255,0.03); border: 1px solid var(--border); height: 50px; padding: 0 20px; border-radius: 14px; }
.ow-btn-ghost:hover { color: var(--text); border-color: var(--border-2); background: rgba(255,255,255,0.06); }
.ow-btn-pay {
  background: var(--grad-gold); color: #0a0e2a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 14px 34px -10px rgba(245,201,69,0.5);
  height: 56px; font-size: 16px;
}
.ow-btn-pay:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ============================================================
   PACKAGE CARDS (step 1)
   ============================================================ */
.ow-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.ow-pkg {
  position: relative; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1.5px solid var(--border); border-radius: var(--r-xl);
  padding: 20px 18px 18px;
  transition: transform 0.18s cubic-bezier(.2,.7,.3,1), border-color 0.18s, box-shadow 0.18s, background 0.18s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  cursor: pointer; display: flex; flex-direction: column; min-height: 100%;
}
.ow-pkg:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: 0 22px 44px -26px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,102,0.18); }
.ow-pkg.sel {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245,201,69,0.10), rgba(245,201,69,0.02));
  box-shadow: 0 0 0 1px var(--gold), 0 22px 50px -22px rgba(0,0,0,0.7), 0 0 50px -14px rgba(245,201,69,0.3);
}
.ow-pkg-pop {
  position: absolute; top: -10px; right: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--grad-purple); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 6px 18px -4px rgba(168,85,247,0.6);
}
.ow-pkg-ico {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.07));
  color: var(--gold-2); border: 1px solid var(--gold-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 18px rgba(245,201,69,0.22);
}
.ow-pkg.alt .ow-pkg-ico { background: linear-gradient(135deg, rgba(179,71,255,0.32), rgba(179,71,255,0.08)); color: var(--purple-2); border-color: rgba(179,71,255,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 18px rgba(179,71,255,0.28); }
@property --gold-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes owGoldSweep { to { --gold-ang: 360deg; } }
.ow-pkgcard { position: relative; }
.ow-pkgcard.sel::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--gold-ang), transparent 0deg, transparent 200deg, rgba(245,201,69,0.9) 300deg, #fde68a 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.9; animation: owGoldSweep 4.5s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ow-pkgcard.sel::after { animation: none; } }
.ow-pkg-name { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.ow-pkg-tag { font-size: 11.5px; color: var(--text-3); margin-top: 2px; line-height: 1.4; min-height: 32px; }
.ow-pkg-price { margin: 12px 0 14px; display: flex; align-items: baseline; gap: 5px; }
.ow-pkg-price .amt { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ow-pkg-price .cur { font-size: 12px; color: var(--text-3); font-weight: 600; }
.ow-pkg-feats { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.ow-pkg-feat { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-2); line-height: 1.35; }
.ow-pkg-feat svg { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.ow-pkg-check {
  position: absolute; top: 16px; right: 16px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-gold); color: #0a0e2a;
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.5); transition: all 0.18s;
}
.ow-pkg.sel .ow-pkg-check { opacity: 1; transform: scale(1); }

/* ADD-ON services */
.ow-section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-2); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.ow-section-label .hint { font-weight: 500; color: var(--text-4); letter-spacing: 0; }
.ow-addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ow-addon {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  text-align: left; transition: all 0.15s;
}
.ow-addon:hover { border-color: var(--border-2); background: rgba(255,255,255,0.05); }
.ow-addon.on { border-color: var(--gold-line); background: linear-gradient(135deg, rgba(245,201,69,0.10), rgba(245,201,69,0.02)); }
.ow-addon.incl { opacity: 0.85; }
.ow-addon-ico {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(179,71,255,0.28), rgba(179,71,255,0.06));
  color: var(--purple-2); border: 1px solid rgba(179,71,255,0.34);
  box-shadow: 0 0 14px rgba(179,71,255,0.2);
}
.ow-addon.on .ow-addon-ico { background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.08)); color: var(--gold-2); border-color: var(--gold-line); box-shadow: 0 0 14px rgba(245,201,69,0.25); }
.ow-addon-body { flex: 1; min-width: 0; }
.ow-addon-name { font-size: 13px; font-weight: 600; }
.ow-addon-meta { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.ow-addon-meta strong { color: var(--gold-2); font-weight: 700; }
.ow-addon-meta .free { color: var(--success-2); font-weight: 700; }
.ow-tgl { width: 40px; height: 23px; border-radius: 999px; background: var(--border-2); position: relative; flex-shrink: 0; transition: background 0.26s ease, box-shadow 0.26s ease; }
.ow-tgl::after { content: ''; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.35); }
.ow-addon.on .ow-tgl, .ow-sec.on .ow-tgl, .cq-feat.on .ow-tgl, .cq-toggle.on .ow-tgl { box-shadow: 0 0 0 3px rgba(245,201,69,0.16), 0 2px 9px rgba(245,201,69,0.25); }
.ow-addon.on .ow-tgl { background: var(--gold); }
.ow-addon.on .ow-tgl::after { transform: translateX(17px); }
.ow-addon-lock { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--success-2); }

/* ============================================================
   FORM FIELDS (step 2 / 5)
   ============================================================ */
.ow-grid { display: grid; gap: 14px 14px; }
.ow-grid-2 { grid-template-columns: 1fr 1fr; }
.ow-field { display: flex; flex-direction: column; gap: 7px; }
.ow-field.col-2 { grid-column: span 2; }
.ow-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 6px; white-space: nowrap; flex-wrap: nowrap; }
.ow-label .opt { color: var(--text-4); font-weight: 500; letter-spacing: 0; text-transform: none; }
.ow-input {
  width: 100%; height: 48px; padding: 0 16px;
  background: rgba(0,0,0,0.25); border: 1px solid var(--hair-gold); border-radius: 12px;
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}
textarea.ow-input { height: auto; min-height: 84px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.ow-input::placeholder { color: var(--text-4); }
.ow-input:hover { border-color: rgba(212,175,102,0.5); }
.ow-input:focus { border-color: var(--gold); background: rgba(0,0,0,0.4); box-shadow: 0 0 0 3px var(--gold-soft); }
.ow-input.display { font-family: var(--font-display); font-size: 21px; font-weight: 600; height: 54px; letter-spacing: 0; }
.ow-input[type="date"], .ow-input[type="time"], .ow-input[type="month"] { color-scheme: dark; font-variant-numeric: tabular-nums; }
.ow-input[type="date"]::-webkit-calendar-picker-indicator, .ow-input[type="time"]::-webkit-calendar-picker-indicator, .ow-input[type="month"]::-webkit-calendar-picker-indicator { filter: invert(80%) sepia(60%) saturate(500%) hue-rotate(20deg); cursor: pointer; }
.ow-field-hint { font-size: 11.5px; color: var(--text-4); }

/* selector de fecha flexible */
.ow-datemode { display: flex; gap: 6px; margin-bottom: 10px; }
.ow-dm {
  flex: 1; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--border); background: rgba(255,255,255,0.025);
  color: var(--text-2); font-size: 12px; font-weight: 600; transition: all 0.15s;
}
.ow-dm:hover { border-color: var(--border-2); color: var(--text); }
.ow-dm.on { border-color: var(--gold); color: var(--gold-2); background: var(--gold-soft); }
.ow-date-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.ow-date-tbd {
  display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); line-height: 1.45;
  background: var(--orange-soft); border: 1px solid rgba(251,146,60,0.26); border-radius: 12px; padding: 11px 14px;
}
.ow-date-tbd svg { color: var(--orange-2); flex-shrink: 0; }
.ow-date-tbd strong { color: var(--orange-2); font-weight: 700; }

/* auto-guardado */
.ow-autosave {
  position: absolute; left: 40px; bottom: 84px; z-index: 6;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--success-2);
  background: var(--success-soft); border: 1px solid rgba(34,211,74,0.28);
  padding: 6px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.ow-autosave.show { opacity: 1; transform: translateY(0); }

.ow-divider { height: 1px; background: var(--border); margin: 22px 0; }
.ow-subhead { font-size: 12.5px; font-weight: 700; color: var(--text-2); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ow-subhead svg { color: var(--purple-2); }

/* ============================================================
   THEME PICKER (step 3)
   ============================================================ */
.ow-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ow-theme {
  position: relative; text-align: left; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--r-xl); overflow: hidden;
  background: var(--card); transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.ow-theme:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(0,0,0,0.7); }
.ow-theme.sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 44px -14px rgba(245,201,69,0.35); }
.ow-theme-swatch { height: 92px; position: relative; display: grid; place-items: center; }
.ow-theme-swatch span { font-family: var(--font-display); font-style: italic; font-size: 30px; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.ow-theme-info { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ow-theme-name { font-size: 13.5px; font-weight: 700; }
.ow-theme-mood { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.ow-theme-dots { display: flex; gap: 4px; }
.ow-theme-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); }
.ow-theme-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-gold); color: #0a0e2a; display: grid; place-items: center; opacity: 0; transform: scale(0.5); transition: all 0.18s; }
.ow-theme.sel .ow-theme-check { opacity: 1; transform: scale(1); }

.ow-style-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ow-chip {
  padding: 12px 14px; border-radius: 13px; text-align: center;
  border: 1.5px solid var(--border); background: rgba(255,255,255,0.025);
  font-size: 13px; font-weight: 600; color: var(--text-2); transition: all 0.15s;
}
.ow-chip:hover { border-color: var(--border-2); color: var(--text); }
.ow-chip.on { border-color: var(--gold); color: var(--gold-2); background: var(--gold-soft); }
.ow-chip small { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); margin-top: 2px; }
.ow-chip.on small { color: var(--gold); }

/* ============================================================
   ORDER SUMMARY (step 4)
   ============================================================ */
.ow-summary { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 6px 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 0 1px rgba(212,175,102,0.14); margin-bottom: 18px; }
.ow-line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.ow-line:last-child { border-bottom: none; }
.ow-line-ico { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple-2); border: 1px solid rgba(179,71,255,0.3); }
.ow-line-ico.gold { background: var(--gold-soft); color: var(--gold-2); border-color: var(--gold-line); }
.ow-line-body { flex: 1; min-width: 0; }
.ow-line-name { font-size: 13.5px; font-weight: 600; }
.ow-line-meta { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.ow-line-price { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ow-line-price.free { color: var(--success-2); }
.ow-totals { margin-top: 4px; padding: 16px 0 4px; }
.ow-total-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.ow-total-row.grand { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 4px; }
.ow-total-row .num { font-variant-numeric: tabular-nums; }

.ow-event-recap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.ow-recap-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px; }
.ow-recap-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.ow-recap-lbl svg { color: var(--gold); }
.ow-recap-val { font-size: 14px; font-weight: 600; margin-top: 5px; }
.ow-recap-val.empty { color: var(--text-4); font-weight: 500; font-style: italic; }
.ow-recap-card.pending { background: var(--orange-soft); border-color: rgba(251,146,60,0.26); }
.ow-recap-card.pending .ow-recap-lbl, .ow-recap-card.pending .ow-recap-lbl svg { color: var(--orange-2); }
.ow-recap-note { font-size: 10.5px; color: var(--orange-2); margin-top: 5px; line-height: 1.35; opacity: 0.92; }
.ow-edit-link { font-size: 12px; font-weight: 700; color: var(--purple-2); display: inline-flex; align-items: center; gap: 5px; }
.ow-edit-link:hover { color: var(--gold-2); }

/* ============================================================
   PAYMENT (step 5)
   ============================================================ */
.ow-pay-note { display: flex; gap: 11px; padding: 13px 15px; border-radius: 13px; background: var(--success-soft); border: 1px solid rgba(34,211,74,0.28); margin-bottom: 20px; }
.ow-pay-note svg { color: var(--success-2); flex-shrink: 0; margin-top: 1px; }
.ow-pay-note-txt { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.ow-pay-note-txt strong { color: var(--success-2); font-weight: 700; }
.ow-acct-toggle { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--border); background: rgba(255,255,255,0.025); margin: 4px 0 18px; }
.ow-acct-toggle .body { flex: 1; }
.ow-acct-toggle .body .t { font-size: 13px; font-weight: 600; }
.ow-acct-toggle .body .d { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.ow-acct-toggle.on .ow-tgl { background: var(--purple); }
.ow-acct-toggle.on .ow-tgl::after { transform: translateX(17px); }

.ow-card-field { position: relative; }
.ow-card-field .brand { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.ow-card-field .brand i { width: 26px; height: 16px; border-radius: 3px; display: block; }
.ow-card-field .brand i.visa { background: linear-gradient(135deg,#1a1f71,#2a3aa0); }
.ow-card-field .brand i.mc { background: linear-gradient(135deg,#eb001b,#f79e1b); }
.ow-trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.ow-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.ow-trust svg { color: var(--success); }

/* ============================================================
   RIGHT: live preview
   ============================================================ */
.ow-right {
  position: relative; height: 100vh; min-width: 0;
  border-left: 1px solid var(--hair-gold);
  background:
    radial-gradient(700px 600px at 80% -10%, rgba(179,71,255,0.14), transparent 60%),
    radial-gradient(600px 600px at 0% 110%, rgba(245,201,69,0.07), transparent 60%),
    linear-gradient(180deg, #0c1030 0%, #070a22 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 28px;
  overflow: hidden;
}
.ow-right-head { position: absolute; top: 24px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.ow-right-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.ow-live-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--gold-2); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 5px 13px; border-radius: 999px; white-space: nowrap; }
.ow-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(34,211,74,0.6); animation: ow-pulse 1.8s ease-out infinite; }
@keyframes ow-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,74,0.55); } 100% { box-shadow: 0 0 0 9px rgba(34,211,74,0); } }

/* phone */
.ow-phone {
  width: 312px; height: 648px; border-radius: 44px; flex-shrink: 0;
  background: #05070f; padding: 11px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.85), 0 0 0 2px rgba(212,175,102,0.22), 0 0 80px -20px rgba(179,71,255,0.3);
  position: relative;
}
.ow-phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #05070f; border-radius: 0 0 16px 16px; z-index: 6; }
.ow-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative; transition: background 0.5s ease; }
.ow-inv { position: absolute; inset: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 26px 40px; }
.ow-inv::-webkit-scrollbar { display: none; }
.ow-inv-eyebrow { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; opacity: 0.9; }
.ow-inv-name { font-family: var(--font-display); font-style: italic; font-size: 44px; font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; transition: color 0.4s; max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
.ow-inv-rule { width: 54px; height: 1px; margin: 18px 0; opacity: 0.8; }
.ow-inv-date { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.ow-inv-count { display: flex; gap: 14px; margin: 22px 0 8px; }
.ow-inv-count-u { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ow-inv-count-n { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ow-inv-count-l { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; font-weight: 600; }
.ow-inv-venue { font-family: var(--font-display); font-style: italic; font-size: 21px; font-weight: 600; line-height: 1.14; margin: 4px 0 3px; }
.ow-inv-city { font-size: 11px; opacity: 0.7; letter-spacing: 0.04em; }
.ow-inv-parents { margin-top: 22px; font-size: 11.5px; line-height: 1.7; opacity: 0.82; }
.ow-inv-parents .nm { font-weight: 600; }
.ow-inv-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 24px; }
.ow-inv-badge { font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid currentColor; opacity: 0.85; white-space: nowrap; }
.ow-inv-foot { margin-top: auto; padding-top: 28px; font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.45; font-weight: 600; }
.ow-inv-pill {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); color: #fff; z-index: 5;
}
.ow-right-foot { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 11.5px; color: var(--text-3); padding: 0 24px; line-height: 1.5; }
.ow-right-foot strong { color: var(--gold-2); font-weight: 600; }

/* mobile preview toggle */
.ow-prev-toggle { display: none; }

/* ============================================================
   ACCOUNT GATE (paso 1) — beneficio, no muro
   ============================================================ */
.ow-acct {
  background: linear-gradient(180deg, rgba(179,71,255,0.10), rgba(179,71,255,0.02));
  border: 1px solid rgba(179,71,255,0.34);
  border-radius: var(--r-xl);
  padding: 18px 18px 18px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 44px -18px rgba(179,71,255,0.45);
}
.ow-acct-top { display: flex; gap: 13px; margin-bottom: 16px; }
.ow-acct-ico {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(179,71,255,0.34), rgba(179,71,255,0.08));
  color: var(--purple-2); border: 1px solid rgba(179,71,255,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 18px rgba(179,71,255,0.32);
}
.ow-acct-title { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.ow-acct-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-top: 3px; }
.ow-acct-desc strong { color: var(--purple-2); font-weight: 600; }
.ow-google {
  display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%;
  height: 48px; border-radius: 12px; background: #fff; color: #1f1f23;
  font-size: 14px; font-weight: 600; transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.55);
}
.ow-google:hover { filter: brightness(0.97); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(0,0,0,0.6); }
.ow-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--text-4); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ow-or::before, .ow-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.ow-acct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ow-acct-form .ow-field.col-2 { grid-column: span 2; }
.ow-acct-submit {
  grid-column: span 2; margin-top: 4px; height: 46px; border-radius: 12px;
  background: var(--grad-purple); color: #fff; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 12px 28px -10px rgba(168,85,247,0.6);
  transition: transform 0.15s, filter 0.15s;
}
.ow-acct-submit:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ow-acct-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.ow-acct-mini { font-size: 11.5px; color: var(--text-3); text-align: center; margin-top: 12px; }
.ow-acct-mini .lk { color: var(--gold-2); font-weight: 600; cursor: pointer; }
.ow-acct-mini .lk:hover { text-decoration: underline; }
/* confirmed state */
.ow-acct-done { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.ow-acct-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #5bf07c, #16a34a); color: #06210e;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  box-shadow: 0 0 18px rgba(34,211,74,0.4);
}
.ow-acct-done-body { flex: 1; min-width: 120px; }
.ow-acct-done-name { font-size: 14px; font-weight: 700; }
.ow-acct-done-mail { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ow-acct-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--success-2); background: var(--success-soft); border: 1px solid rgba(34,211,74,0.3); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.ow-acct-change { font-size: 11.5px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.ow-acct-change:hover { color: var(--text); }

.ow-secure-pill.saved { color: var(--success-2); border-color: rgba(34,211,74,0.3); background: var(--success-soft); }
.ow-secure-pill.saved svg { color: var(--success-2); }

/* ============================================================
   SERVICIOS À LA CARTE (paso 1)
   ============================================================ */
.ow-svclist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.ow-svc {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px; border-radius: 15px; width: 100%; text-align: left;
  background: rgba(255,255,255,0.025); border: 1.5px solid var(--border);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
}
.ow-svc:hover { border-color: var(--border-2); background: rgba(255,255,255,0.05); }
.ow-svc.focus { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple), 0 0 32px -14px rgba(179,71,255,0.5); }
.ow-svc.on { border-color: var(--gold-line); background: linear-gradient(135deg, rgba(245,201,69,0.10), rgba(245,201,69,0.015)); }
.ow-svc.on.focus { box-shadow: 0 0 0 1px var(--gold), 0 0 32px -14px rgba(245,201,69,0.45); }
.ow-svc-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(179,71,255,0.28), rgba(179,71,255,0.06));
  color: var(--purple-2); border: 1px solid rgba(179,71,255,0.34); box-shadow: 0 0 16px rgba(179,71,255,0.2);
}
.ow-svc.on .ow-svc-ico { background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.08)); color: var(--gold-2); border-color: var(--gold-line); box-shadow: 0 0 16px rgba(245,201,69,0.25); }
.ow-svc-body { flex: 1; min-width: 0; }
.ow-svc-name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ow-svc-pop { font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--grad-purple); padding: 2px 8px; border-radius: 999px; }
.ow-svc-play { font-size: 10.5px; color: var(--purple-2); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ow-svc-desc { font-size: 11.5px; color: var(--text-3); margin-top: 2px; line-height: 1.4; }
.ow-svc-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ow-svc-price { font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ow-svc-price .was { display: block; font-size: 10.5px; color: var(--text-4); text-decoration: line-through; font-weight: 600; }
.ow-svc-price .free { color: var(--success-2); }
.ow-svc-add {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center;
  border: 1.5px solid var(--border-2); color: var(--text-2); background: rgba(255,255,255,0.03); transition: all 0.15s;
}
.ow-svc-add:hover { border-color: var(--gold); color: var(--gold); }
.ow-svc.on .ow-svc-add { background: var(--grad-gold); color: #0a0e2a; border-color: transparent; }
.ow-svc.base .ow-svc-add { background: var(--success); color: #06210e; border-color: transparent; cursor: default; }

/* PROMOS */
.ow-promos { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ow-promo { display: flex; align-items: center; gap: 13px; padding: 12px 15px; border-radius: 15px; border: 1px solid; }
.ow-promo.locked { background: rgba(245,201,69,0.05); border-color: var(--gold-line); }
.ow-promo.unlocked { background: var(--success-soft); border-color: rgba(34,211,74,0.3); }
.ow-promo-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.ow-promo.locked .ow-promo-ico { background: var(--gold-soft); color: var(--gold-2); border: 1px solid var(--gold-line); }
.ow-promo.unlocked .ow-promo-ico { background: linear-gradient(135deg, #5bf07c, #16a34a); color: #06210e; box-shadow: 0 0 16px rgba(34,211,74,0.35); }
.ow-promo-body { flex: 1; min-width: 0; }
.ow-promo-txt { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.ow-promo-txt strong { color: var(--text); font-weight: 700; }
.ow-promo.unlocked .ow-promo-txt strong { color: var(--success-2); }
.ow-promo-bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 8px; }
.ow-promo-bar i { display: block; height: 100%; background: var(--grad-progress); border-radius: 999px; transition: width 0.45s cubic-bezier(.2,.7,.3,1); }

/* ============================================================
   VIDEO SHOWCASE (panel derecho · paso 1)
   ============================================================ */
.ow-video-wrap { width: min(380px, 100%); display: flex; flex-direction: column; gap: 14px; }
.ow-player {
  position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--hair-gold);
  box-shadow: 0 44px 84px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(212,175,102,0.16), 0 0 70px -22px rgba(179,71,255,0.3);
}
.ow-player-poster { position: absolute; inset: 0; display: grid; place-items: center; transition: background 0.45s ease; }
.ow-player-badge { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; color: #fff; }
.ow-player-price { position: absolute; top: 12px; right: 12px; z-index: 3; font-size: 13px; font-weight: 800; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 999px; color: #fff; }
.ow-player-price .was { font-size: 10px; color: rgba(255,255,255,0.55); text-decoration: line-through; margin-right: 5px; }
.ow-player-center { display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 2; padding: 0 20px; }
.ow-play-btn { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,0.16); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,0.55); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.45); transition: transform 0.16s; }
.ow-play-btn:hover { transform: scale(1.08); }
.ow-player-name { font-family: var(--font-display); font-style: italic; font-size: 23px; font-weight: 600; color: #fff; text-align: center; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.ow-player-controls { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 13px; background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent); z-index: 3; }
.ow-player-controls .barwrap { flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.ow-player-controls .barwrap i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--gold); border-radius: 999px; }
.ow-player-controls .barwrap i.play { width: 100%; transition: width 18s linear; }
.ow-player-time { font-size: 10px; color: rgba(255,255,255,0.85); font-variant-numeric: tabular-nums; }
.ow-vcap-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ow-vcap-desc { font-size: 12.5px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }
.ow-vcap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.ow-vcap-price { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ow-vcap-price .free { color: var(--success-2); }
.ow-vcap-add { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 11px; font-size: 13px; font-weight: 700; transition: all 0.15s; }
.ow-vcap-add.off { background: var(--grad-orange); color: #2a1505; box-shadow: 0 10px 24px -8px rgba(251,146,60,0.5); }
.ow-vcap-add.off:hover { transform: translateY(-1px); }
.ow-vcap-add.on { background: var(--success-soft); color: var(--success-2); border: 1px solid rgba(34,211,74,0.4); }
.ow-vcap-add.base { background: rgba(255,255,255,0.05); color: var(--text-3); border: 1px solid var(--border); }
.ow-thumbs { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%); mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%); }
.ow-thumbs::-webkit-scrollbar { height: 0; width: 0; display: none; }
.ow-thumb { flex: 0 0 auto; width: 66px; height: 44px; border-radius: 10px; position: relative; overflow: hidden; border: 1.5px solid var(--border); cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s, transform 0.15s; }
.ow-thumb:hover { transform: translateY(-2px); }
.ow-thumb.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.ow-thumb svg { color: rgba(255,255,255,0.9); position: relative; z-index: 2; }
.ow-thumb .chk { position: absolute; top: 3px; right: 4px; z-index: 3; width: 13px; height: 13px; border-radius: 50%; background: var(--success); color: #06210e; display: grid; place-items: center; }

/* ============================================================
   PAGO Zelle / Venmo (paso 5)
   ============================================================ */
.ow-pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.ow-pay-methods.col { display: flex; flex-direction: column; gap: 10px; }
.ow-pm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ow-pm-main { min-width: 0; flex: 1; }
.ow-pm.featured { padding: 16px; border-radius: 18px; }
.ow-pm.featured.on { box-shadow: 0 0 0 1px var(--gold), 0 18px 40px -20px rgba(245,201,69,0.45); }
.ow-pm-logo.card { background: var(--grad-purple); }
.ow-pm-reco { display: inline-block; margin-left: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #2a1505; background: var(--grad-gold); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.ow-pm-sub.ok { color: var(--success-2); font-weight: 600; }
.ow-pm-check { width: 24px; height: 24px; border-radius: 50%; background: var(--grad-gold); color: #0a0e2a; display: grid; place-items: center; flex-shrink: 0; opacity: 0; transform: scale(0.5); transition: all 0.18s; }
.ow-pm.featured.on .ow-pm-check { opacity: 1; transform: scale(1); }
.ow-pay-feenote { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; line-height: 1.45; color: var(--text-3); margin: -6px 0 14px; padding: 0 2px; }
.ow-pay-feenote svg { color: var(--text-4); flex-shrink: 0; margin-top: 1px; }
.ow-stripe-note { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.5; color: var(--text-2); background: var(--purple-soft); border: 1px solid rgba(179,71,255,0.26); padding: 11px 14px; border-radius: 13px; margin-bottom: 4px; }
.ow-stripe-note svg { color: var(--purple-2); flex-shrink: 0; margin-top: 1px; }
.ow-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 52px; border-radius: 14px; margin: 14px 0 4px;
  background: linear-gradient(180deg, #25d366, #1da851); color: #ffffff;
  text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 12px 26px -14px rgba(29,168,81,0.7);
  transition: transform 0.16s, box-shadow 0.16s, filter 0.16s;
}
.ow-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 18px 32px -14px rgba(29,168,81,0.8); filter: brightness(1.03); }
.ow-wa-btn.secondary {
  height: 46px; font-size: 13.5px; font-weight: 600;
  background: rgba(34,211,74,0.12); color: var(--success-2);
  border: 1px solid rgba(34,211,74,0.34); box-shadow: none;
}
.ow-wa-btn.secondary:hover { background: rgba(34,211,74,0.18); transform: translateY(-1px); filter: none; }
.ow-pm { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-radius: 16px; border: 1.5px solid var(--border); background: rgba(255,255,255,0.025); text-align: left; transition: all 0.15s; }
.ow-pm:hover { border-color: var(--border-2); }
.ow-pm.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 34px -14px rgba(245,201,69,0.4); background: var(--gold-soft); }
.ow-pm-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff; flex-shrink: 0; }
.ow-pm-logo.zelle { background: linear-gradient(135deg, #6d1ed4, #a020f0); }
.ow-pm-logo.venmo { background: linear-gradient(135deg, #1f9cf0, #008CFF); }
.ow-pm-name { font-size: 14px; font-weight: 700; }
.ow-pm-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.ow-pay-detail { background: rgba(255,255,255,0.03); border: 1px solid var(--hair-gold); border-radius: 16px; padding: 6px 18px; margin-bottom: 16px; }
.ow-pay-detail-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.ow-pay-detail-row:last-child { border-bottom: none; }
.ow-pay-detail-k { font-size: 12px; color: var(--text-3); }
.ow-pay-detail-v { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 9px; }
.ow-pay-detail-v.big { font-size: 18px; color: var(--gold-2); }
.ow-copy { font-size: 10px; font-weight: 700; color: var(--gold-2); border: 1px solid var(--gold-line); padding: 3px 9px; border-radius: 7px; cursor: pointer; }
.ow-copy:hover { background: var(--gold-soft); }
.ow-wa-note { display: flex; gap: 11px; padding: 13px 15px; border-radius: 13px; background: rgba(34,211,74,0.10); border: 1px solid rgba(34,211,74,0.28); margin-top: 4px; }
.ow-wa-note svg { color: var(--success-2); flex-shrink: 0; margin-top: 1px; }
.ow-wa-note-txt { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.ow-wa-note-txt strong { color: var(--success-2); font-weight: 700; }

/* ============================================================
   PASO PAGO — comprobante, folio, checklist
   ============================================================ */
.ow-separator-lbl { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ow-separator-lbl::before, .ow-separator-lbl::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.ow-receipt {
  display: flex; align-items: center; gap: 13px; cursor: pointer;
  padding: 14px 16px; border-radius: 14px;
  border: 1.5px dashed var(--hair-gold); background: rgba(0,0,0,0.2);
  transition: border-color 0.15s, background 0.15s;
}
.ow-receipt:hover { border-color: var(--gold-line); background: rgba(245,201,69,0.05); }
.ow-receipt.done { border-style: solid; border-color: rgba(34,211,74,0.4); background: var(--success-soft); }
.ow-receipt-ico { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); border: 1px solid var(--gold-line); }
.ow-receipt-ico.done { background: var(--success-soft); color: var(--success-2); border-color: rgba(34,211,74,0.4); }
.ow-receipt-body { min-width: 0; }
.ow-receipt-t { font-size: 13.5px; font-weight: 600; }
.ow-receipt-d { font-size: 11.5px; color: var(--text-3); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Botón Copiar (estado "¡Copiado!") */
.ow-copy { font-family: inherit; line-height: 1.2; background: transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.ow-copy.is-done { color: var(--success-2); border-color: rgba(34,211,74,0.45); background: var(--success-soft); }

/* Comprobante: miniatura + acciones (reemplazar / quitar) */
.ow-receipt-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(34,211,74,0.4); }
.ow-receipt-actions { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.ow-receipt-act { font-size: 11px; font-weight: 700; color: var(--gold-2); border: 1px solid var(--gold-line); padding: 5px 11px; border-radius: 8px; cursor: pointer; background: transparent; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.ow-receipt-act:hover { background: var(--gold-soft); }
.ow-receipt-act.danger { color: #f0a5b0; border-color: rgba(244,63,94,0.4); }
.ow-receipt-act.danger:hover { background: rgba(244,63,94,0.12); }

.ow-folio-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-2); background: var(--gold-soft); border: 1px solid var(--gold-line);
  padding: 6px 14px; border-radius: 999px;
}
.ow-checklist {
  text-align: left; margin-top: 18px; padding: 16px;
  border-radius: 16px; border: 1px solid rgba(251,146,60,0.26); background: var(--orange-soft);
}
.ow-checklist-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--orange-2); margin-bottom: 12px; }
.ow-checklist-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ow-checklist-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); }
.ow-checklist-item.ok { color: var(--text-4); }
.ow-checklist-mark { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; background: rgba(251,146,60,0.2); color: var(--orange-2); }
.ow-checklist-item.ok .ow-checklist-mark { background: var(--success-soft); color: var(--success-2); }
.ow-checklist-cta {
  width: 100%; height: 46px; border-radius: 12px;
  background: var(--grad-orange); color: #2a1505; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(251,146,60,0.5);
}
.ow-checklist-cta:hover { filter: brightness(1.04); }

/* CTA dominante de la pantalla final — empieza el formulario, above the fold */
.ow-paid-cta {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 100%; padding: 16px 20px; margin-bottom: 18px;
  border-radius: 16px; text-decoration: none;
  background: var(--grad-gold, linear-gradient(135deg, var(--gold-2), var(--gold)));
  color: #1a1610;
  box-shadow: 0 14px 32px -12px rgba(245,201,69,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: filter .14s, transform .12s;
}
.ow-paid-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.ow-paid-cta-main { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.ow-paid-cta-sub { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; opacity: 0.78; }

/* ============================================================
   PASO SECCIONES (switches)
   ============================================================ */
.ow-secs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.ow-seclist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.ow-sec-wrap {
  border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}
.ow-sec-wrap.on { border-color: var(--gold-line); background: linear-gradient(135deg, rgba(245,201,69,0.08), rgba(245,201,69,0.015)); }
.ow-sec-wrap .ow-sec { width: 100%; background: none; border: none; border-radius: 0; }
.ow-sec-wrap .ow-sec:hover { background: rgba(255,255,255,0.03); }
.ow-sec-panel {
  padding: 4px 14px 14px; margin-top: -2px;
  animation: ow-slide 0.3s cubic-bezier(.2,.7,.3,1);
  border-top: 1px dashed var(--border-2);
}
.ow-sec-panel .ow-grid { margin-top: 12px; }
.ow-sec-panel .ow-field:first-child { margin-top: 12px; }
.ow-sec-note {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 12px;
  font-size: 11.5px; line-height: 1.45; color: var(--text-3);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  padding: 9px 12px; border-radius: 10px;
}
.ow-sec-note svg { color: var(--purple-2); flex-shrink: 0; margin-top: 1px; }
.ow-sec {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}
.ow-sec:not(.locked):hover { border-color: var(--border-2); background: rgba(255,255,255,0.05); }
.ow-sec.on { border-color: var(--gold-line); background: linear-gradient(135deg, rgba(245,201,69,0.10), rgba(245,201,69,0.02)); }
.ow-sec.locked { opacity: 0.6; cursor: not-allowed; }
.ow-sec-ico {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(179,71,255,0.28), rgba(179,71,255,0.06));
  color: var(--purple-2); border: 1px solid rgba(179,71,255,0.34);
  box-shadow: 0 0 14px rgba(179,71,255,0.2);
}
.ow-sec.on .ow-sec-ico { background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.08)); color: var(--gold-2); border-color: var(--gold-line); box-shadow: 0 0 14px rgba(245,201,69,0.25); }
.ow-sec.locked .ow-sec-ico { background: rgba(255,255,255,0.04); color: var(--text-4); border-color: var(--border); box-shadow: none; }
.ow-sec-body { flex: 1; min-width: 0; }
.ow-sec-name { font-size: 13px; font-weight: 600; }
.ow-sec-desc { font-size: 11px; color: var(--text-3); margin-top: 1px; line-height: 1.35; }
.ow-sec.on .ow-tgl { background: var(--gold); }
.ow-sec.on .ow-tgl::after { transform: translateX(17px); }
.ow-sec-lock { width: 40px; display: grid; place-items: center; color: var(--text-4); flex-shrink: 0; }

.ow-secfields { margin-top: 22px; }
.ow-lang { display: flex; gap: 8px; }
.ow-lang-opt {
  flex: 1; height: 44px; border-radius: 11px;
  border: 1.5px solid var(--border); background: rgba(255,255,255,0.025);
  color: var(--text-2); font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.15s;
}
.ow-lang-opt:hover { border-color: var(--border-2); color: var(--text); }
.ow-lang-opt.on { border-color: var(--gold); color: var(--gold-2); background: var(--gold-soft); }

/* recap de secciones (resumen) */
.ow-recap-secs { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px; margin-bottom: 18px; }
.ow-recap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ow-recap-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--text-2);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px;
}
.ow-recap-chip svg { color: var(--gold-2); }
.ow-recap-chip.pending { color: var(--orange-2); background: var(--orange-soft); border-color: rgba(251,146,60,0.3); }
.ow-recap-chip.pending svg { color: var(--orange-2); }
.ow-recap-pending {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 11px;
  font-size: 11.5px; line-height: 1.45; color: var(--orange-2);
  background: var(--orange-soft); border: 1px solid rgba(251,146,60,0.26);
  padding: 9px 12px; border-radius: 11px;
}
.ow-recap-pending svg { flex-shrink: 0; margin-top: 1px; }
.ow-sec-base {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-2); background: var(--gold-soft); border: 1px solid var(--gold-line);
  padding: 4px 9px; border-radius: 999px; flex-shrink: 0; white-space: nowrap;
}
.ow-sec.core { cursor: default; }
.ow-sec.core .ow-sec-ico { background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.08)); color: var(--gold-2); border-color: var(--gold-line); box-shadow: 0 0 14px rgba(245,201,69,0.22); }

/* preview: welcome + dress code */
.ow-inv-welcome { font-size: 11px; line-height: 1.5; opacity: 0.8; max-width: 200px; margin: 0 auto 14px; font-style: italic; }
.ow-inv-dress { display: inline-block; margin-top: 18px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border: 1px solid currentColor; border-radius: 999px; opacity: 0.8; }

/* ============================================================
   PAQUETES DE INICIO (paso 1)
   ============================================================ */
.ow-pkgrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.ow-pkgcard {
  position: relative; text-align: left; cursor: pointer;
  padding: 16px 14px 15px; border-radius: 16px;
  border: 1.5px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.18s cubic-bezier(.2,.7,.3,1), border-color 0.18s, box-shadow 0.18s, background 0.18s;
  display: flex; flex-direction: column;
}
.ow-pkgcard:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: 0 18px 38px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,102,0.18); }
.ow-pkgcard.pop { border-color: rgba(179,71,255,0.4); }
.ow-pkgcard.sel, .ow-pkgcard.pop.sel {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245,201,69,0.10), rgba(245,201,69,0.02));
  box-shadow: 0 0 0 1px var(--gold), 0 22px 50px -22px rgba(0,0,0,0.7), 0 0 44px -14px rgba(245,201,69,0.32);
}
.ow-pkgcard-pop {
  position: absolute; top: -9px; left: 14px;
  background: var(--grad-purple); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(168,85,247,0.6);
}
.ow-pkgcard-chk { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-gold); color: #0a0e2a; display: grid; place-items: center; }
.ow-pkgcard-ico {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 11px;
  background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.07));
  color: var(--gold-2); border: 1px solid var(--gold-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 16px rgba(245,201,69,0.2);
}
.ow-pkgcard.pop .ow-pkgcard-ico {
  background: linear-gradient(135deg, rgba(179,71,255,0.3), rgba(179,71,255,0.07));
  color: var(--purple-2); border-color: rgba(179,71,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 16px rgba(179,71,255,0.25);
}
.ow-pkgcard.sel .ow-pkgcard-ico, .ow-pkgcard.pop.sel .ow-pkgcard-ico {
  background: linear-gradient(135deg, rgba(245,201,69,0.3), rgba(245,201,69,0.07));
  color: var(--gold-2); border-color: var(--gold-line);
}
.ow-pkgcard-name { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.ow-pkgcard-tag { font-size: 11px; color: var(--text-3); line-height: 1.35; margin-top: 3px; min-height: 30px; }
.ow-pkgcard-price { margin-top: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ow-pkgcard-price small { font-size: 11px; color: var(--text-3); font-weight: 600; margin-left: 4px; }
.ow-pkgcard-was { font-size: 12px; color: var(--text-4); text-decoration: line-through; font-weight: 600; margin-left: 7px; }
.ow-pkgcard-save {
  align-self: flex-start; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--success-2); background: var(--success-soft);
  border: 1px solid rgba(34,211,74,0.3); padding: 3px 9px; border-radius: 999px;
}
.ow-pkgcard-save.flat { color: var(--text-3); background: rgba(255,255,255,0.04); border-color: var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  /* tablet / split view: package cards drop to two columns so text isn't crushed */
  .ow-pkgrow { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ≤900 — single column; preview becomes a full-screen slide-in
   ============================================================ */
@media (max-width: 900px) {
  /* BUG 1 FIX — mobile scrolls as a normal document instead of an inner
     flex-scroll region (which clips on the pay step in mobile browsers). */
  html, body { height: auto; min-height: 100%; overflow-x: hidden; }
  .ow { grid-template-columns: 1fr; height: auto; min-height: 100dvh; overflow: visible; }
  .ow-left { height: auto; min-height: 100dvh; }
  .ow-body { flex: 1 0 auto; overflow: visible; min-height: 0; }
  .ow-foot { position: sticky; bottom: 0; }
  .ow-right {
    position: fixed; inset: 0; z-index: 80;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
    border-left: none;
    /* start content below the floating close/head; let it scroll if the phone is tall */
    justify-content: flex-start;
    padding: 72px 20px 24px;
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }
  /* BUG 3/7 FIX — preview panel is a fully off-screen overlay until the
     user opens it; it can never push or overlap the form on mobile. */
  .ow-right { visibility: hidden; }
  .ow.show-prev .ow-right { transform: translateX(0); visibility: visible; }
  .ow-head { padding: 18px 20px 0; }
  .ow-body { padding-left: 20px; padding-right: 20px; }
  .ow-foot { padding-left: 20px; padding-right: 20px; }

  /* the floating "Ver demos" pill owns the top-right corner — hide the
     redundant secure pill so they never collide in the header */
  .ow-secure-pill { display: none; }
  .ow-brand { margin-bottom: 16px; min-height: 40px; align-items: center; }
  /* only reserve room for the floating toggle on the demos step (step 0) */
  .ow:not(.ow-single) .ow-brand { padding-right: 118px; }

  .ow-prev-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    position: fixed; top: 16px; right: 16px; z-index: 85;
    top: calc(16px + env(safe-area-inset-top, 0px));
    height: 42px; padding: 0 16px; border-radius: 999px;
    background: var(--grad-purple); color: #fff; font-size: 12.5px; font-weight: 700;
    box-shadow: 0 10px 26px -8px rgba(168,85,247,0.6);
  }
  .ow-right .ow-prev-close {
    display: inline-flex; position: fixed; top: 16px; right: 16px; z-index: 90;
    top: calc(16px + env(safe-area-inset-top, 0px));
    width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.55); border: 1px solid var(--border-2); color: #fff; backdrop-filter: blur(8px);
  }
  /* the live chip header sits inline above the content rather than absolute */
  .ow-right-head { position: static; margin-bottom: 18px; align-self: center; }
  .ow-right-foot { display: none; }
  .ow-video-wrap { margin: 0 auto; }

  /* phone preview: centered, scrolls within the panel if the device is short */
  .ow-right > .ow-screen, .ow-phone { flex-shrink: 0; }
}
@media (min-width: 901px) { .ow-prev-close { display: none; } }

/* ============================================================
   ≤600 — phone widths
   ============================================================ */
@media (max-width: 600px) {
  .ow-grid-2 { grid-template-columns: 1fr; }
  .ow-pkgrow { grid-template-columns: 1fr; }
  .ow-secs { grid-template-columns: 1fr; }
  .ow-field.col-2 { grid-column: span 1; }
  .ow-addons { grid-template-columns: 1fr; }
  .ow-themes { grid-template-columns: 1fr; }
  .ow-event-recap { grid-template-columns: 1fr; }
  .ow-pay-methods { grid-template-columns: 1fr; }
  .ow-pm-pair { grid-template-columns: 1fr; }
  .ow-acct-form { grid-template-columns: 1fr; }
  .ow-acct-form .ow-field.col-2 { grid-column: span 1; }

  .ow-step-title { font-size: 22px; }
  .ow-step-sub { font-size: 13px; margin-bottom: 18px; }
  .ow-body { padding-top: 22px; padding-bottom: 24px; }
  .ow-head, .ow-body, .ow-foot { padding-left: 16px; padding-right: 16px; }

  /* BUG 2 FIX — package cards stack one-per-row, full width (already 1 col
     via .ow-pkgrow); give the badge breathing room so nothing clips. */
  .ow-pkgrow { grid-template-columns: 1fr; gap: 14px; padding-top: 4px; }
  .ow-pkgcard { padding: 18px 16px 16px; }
  .ow-pkgcard-tag { min-height: 0; }
  /* BUG 5 FIX — "Más popular" badge tucked inside the card's top edge */
  .ow-pkgcard-pop { top: 14px; left: auto; right: 44px; }
  .ow-pkgcard.pop { padding-top: 18px; }

  /* BUG 6 FIX — footer wraps: total on its own line, buttons fill the row below
     so the price can never collide with the CTA. */
  .ow-foot { flex-wrap: wrap; row-gap: 12px; gap: 10px; padding-top: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .ow-foot-total { flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 8px; margin: 0; }
  .ow-foot-total .lbl { margin-right: 2px; }
  .ow-foot-total .val { font-size: 19px; }
  .ow-foot > .ow-btn-ghost { flex: 0 0 auto; }
  /* !important overrides the inline flex on the CTA so it fills the row */
  .ow-foot > .ow-btn-cta, .ow-foot > .ow-btn-pay { flex: 1 1 auto !important; }
  .ow-btn, .ow-btn-ghost { height: 50px; }
  .ow-btn { padding: 0 16px; font-size: 14.5px; }
  .ow-btn-ghost { padding: 0 16px; }
  .ow-btn-pay { padding: 0 16px; font-size: 14.5px; gap: 7px; }

  /* autosave toast was anchored to the desktop 40px gutter — bring it in */
  .ow-autosave { left: 16px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }

  /* roomier inputs / tap targets */
  .ow-input { height: 50px; font-size: 16px; } /* 16px avoids iOS zoom-on-focus */
  .ow-input.display { height: 56px; font-size: 22px; }
  .ow-dm { height: 42px; }
  /* tap targets ≥44px — the "+" add-service control */
  .ow-svc-add { width: 44px; height: 44px; border-radius: 11px; }
  /* "Copiar" (Zelle/Venmo) — comfortable thumb target */
  .ow-copy { font-size: 11px; padding: 9px 14px; min-height: 38px; }
  /* inline text actions get a bigger hit area without changing look */
  .ow-acct-change { padding: 8px 4px; margin: -8px -4px; }
  .ow-edit-link { padding: 6px 2px; margin: -6px -2px; }

  /* BUG 4 FIX — preview thumbnails stay on one swipeable row, sized to fit */
  .ow-video-wrap { width: 100%; }
  .ow-thumb { width: 58px; height: 40px; }

  /* preview phone fits a 360–390 screen with comfortable margins */
  .ow-phone { width: min(300px, 86vw); height: auto; aspect-ratio: 312 / 648; }
}

  /* very narrow (≤360) — tighten the package/service rows a touch */
@media (max-width: 360px) {
  .ow-step-title { font-size: 20px; }
  .ow-pkg { padding: 16px; }
  .ow-brand-name { font-size: 15px; }
  .ow-prev-toggle { padding: 0 13px; font-size: 12px; }
  .ow:not(.ow-single) .ow-brand { padding-right: 104px; }
}
