/* jke-book.css — fresh phone-first book funnel v=fresh1 */
:root {
  --jb-navy: #0b1f3a;
  --jb-amber: #f59e0b;
  --jb-bg: #f8fafc;
  --jb-border: #e2e8f0;
  --jb-muted: #64748b;
  --jb-ok: #166534;
  --jb-err: #b91c1c;
  --jb-max: 420px;
  --jb-radius: 14px;
  --jb-safe: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.jke-book {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--jb-bg);
  color: #0f172a;
  min-height: 100dvh;
  overflow-x: hidden;
}
/* Scroll lock only — NEVER position:fixed (that shrinks the page under email pop) */
body.jke-book.jb-lock,
html.jb-gate-open,
html.jb-prices-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.jke-book.jb-lock {
  position: static !important;
  width: auto !important;
  max-width: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  zoom: 1 !important;
}
/* Keep header/footer full size while email gate is open */
body.jb-gate-open .jb-site-header,
body.jb-prices-locked .jb-site-header,
body.jb-gate-open .jb-site-footer,
body.jb-prices-locked .jb-site-footer {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  max-width: none !important;
}
/* Nuclear email overlay — full viewport, no shrink */
#jb-nuke-gate {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2147483646 !important;
  box-sizing: border-box !important;
  transform: none !important;
  zoom: 1 !important;
}
#jb-nuke-gate #jb-nuke-card {
  width: 100% !important;
  max-width: 420px !important;
  transform: none !important;
  zoom: 1 !important;
}
#jb-nuke-gate #jb-nuke-inp {
  font-size: 16px !important;
  transform: none !important;
  zoom: 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#jb-nuke-gate #jb-nuke-prices-inner {
  transform: none !important; /* no scale — was making teaser look zoomed/shrunk */
}

/* ===== Site header (logo + nav) ===== */
.jb-site-header {
  background: #0b1f3a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
}
.jb-site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.jb-site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.jb-site-logo img {
  display: block;
  height: 42px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 3px 7px;
}
.jb-site-nav {
  display: none;
  align-items: center;
  gap: 0.95rem;
  margin-left: auto;
  font-size: 0.88rem;
}
.jb-site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.jb-site-nav a:hover { color: #fff; text-decoration: underline; }
.jb-site-cta {
  margin-left: auto;
  background: #f59e0b;
  color: #0b1f3a;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}
.jb-site-phone {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .jb-site-nav { display: flex; }
  .jb-site-cta { margin-left: 0.35rem; }
  .jb-site-header__inner { flex-wrap: nowrap; }
}

/* legacy narrow brand (unused if site header present) */
.jb-header {
  max-width: var(--jb-max);
  margin: 0 auto;
  padding: 0.75rem 1rem 0.25rem;
}
.jb-brand {
  color: var(--jb-navy);
  font-weight: 900;
  text-decoration: none;
  font-size: 0.95rem;
}
.jb-main {
  max-width: var(--jb-max);
  margin: 0 auto;
  padding: 0.75rem 0.85rem 2.5rem;
}
.jb-mini {
  text-align: center;
  font-size: 0.72rem;
  color: var(--jb-muted);
  padding: 0 1rem calc(1rem + var(--jb-safe));
}

/* ===== Site footer ===== */
.jb-site-footer {
  margin-top: 2rem;
  background: #0b1f3a;
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 1rem calc(1.5rem + var(--jb-safe));
}
.jb-site-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem;
}
.jb-site-footer strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.jb-site-footer p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}
.jb-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jb-site-footer li {
  margin: 0.28rem 0;
  font-size: 0.85rem;
}
.jb-site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
}
.jb-site-footer a:hover { color: #fbbf24; text-decoration: underline; }
.jb-site-footer__legal {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.jb-site-footer__legal a { color: #fbbf24; }
@media (min-width: 700px) {
  .jb-site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.jb-card {
  background: #fff;
  border: 1px solid var(--jb-border);
  border-radius: 18px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.jb-card[hidden] { display: none !important; }

.jb-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--jb-muted);
  margin: 0 0 0.85rem;
}
.jb-steps span.is-on { color: var(--jb-navy); font-weight: 900; }
.jb-steps span.is-done { color: var(--jb-ok); }
.jb-steps i { font-style: normal; opacity: 0.45; }

h1 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--jb-navy);
  line-height: 1.2;
}
.jb-sub { margin: 0 0 1rem; color: var(--jb-muted); font-size: 0.92rem; line-height: 1.4; }
.jb-h2 { margin: 1rem 0 0.45rem; font-size: 0.95rem; font-weight: 900; color: var(--jb-navy); }
.jb-lab {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--jb-navy);
  margin: 0.65rem 0 0.3rem;
}
.jb-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--jb-navy);
  color: #fff;
  font-size: 0.75rem;
  margin-right: 0.25rem;
}
.jb-dot--b { background: var(--jb-amber); color: var(--jb-navy); }
.jb-arrow { text-align: center; color: var(--jb-muted); font-weight: 800; margin: 0.35rem 0; }

.jb-inp, .jb-sel {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--jb-border);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
}
.jb-inp:focus, .jb-sel:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.jb-inp.jke-place-locked {
  border-color: #86efac;
  background: #f0fdf4;
}

.jb-btn {
  display: block;
  width: 100%;
  min-height: 54px;
  margin-top: 0.85rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbbf24, var(--jb-amber));
  color: var(--jb-navy);
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}
.jb-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.jb-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--jb-muted);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}
.jb-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.jb-foot .jb-btn { flex: 1; margin-top: 0; }

.jb-msg {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--jb-navy);
}
.jb-msg.is-err { color: var(--jb-err); }
.jb-msg[hidden] { display: none !important; }

.jb-basket {
  border: 1.5px solid var(--jb-border);
  border-radius: var(--jb-radius);
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
  background: #fafbfc;
  min-height: 3rem;
}
.jb-empty { margin: 0; color: var(--jb-muted); font-size: 0.88rem; }
.jb-lines { list-style: none; margin: 0; padding: 0; }
.jb-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--jb-border);
  font-weight: 700;
  font-size: 0.92rem;
}
.jb-lines li:last-child { border-bottom: 0; }
.jb-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.jb-qty button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--jb-border);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.jb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.25rem;
}
.jb-chip {
  border: 1.5px solid var(--jb-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--jb-navy);
  cursor: pointer;
}
.jb-chip:active { background: #eff6ff; }
.jb-hits {
  margin-top: 0.35rem;
  border: 1.5px solid var(--jb-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.jb-hit {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--jb-border);
  background: #fff;
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.jb-hit:last-child { border-bottom: 0; }

.jb-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.jb-row2 label { font-size: 0.8rem; font-weight: 700; color: var(--jb-muted); }
.jb-fs {
  border: 1.5px solid var(--jb-border);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  margin: 0;
  font-size: 0.8rem;
}
.jb-fs legend { padding: 0 0.25rem; font-weight: 800; color: var(--jb-navy); }
.jb-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0.45rem 0;
}
.jb-trust {
  text-align: center;
  font-size: 0.78rem;
  color: var(--jb-muted);
  margin: 0.75rem 0 0;
}

/* Calendar */
.jb-skel > div {
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9, #e2e8f0);
  background-size: 200% 100%;
  animation: jbSk 1.1s ease infinite;
  margin-bottom: 0.45rem;
}
@keyframes jbSk {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.jb-cal { display: flex; flex-direction: column; gap: 0.45rem; }
.jb-day {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: center;
  min-height: 58px;
  padding: 0.55rem 0.65rem;
  border: 1.5px solid var(--jb-border);
  border-radius: 14px;
  background: #fff;
}
.jb-day.is-best { background: #ecfdf5; border-color: #86efac; }
.jb-day__d { font-weight: 900; font-size: 0.92rem; color: var(--jb-navy); }
.jb-day__prices {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.jb-day__px {
  min-width: 4.5rem;
  min-height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--jb-border);
  background: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--jb-navy);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  line-height: 1.2;
  text-align: center;
}
.jb-day__px-amt { display: block; }
.jb-day__px-lab {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.72;
  margin-top: 0.05rem;
}
.jb-day__px.is-on {
  background: var(--jb-navy);
  color: #fff;
  border-color: var(--jb-navy);
}
.jb-day__px.is-on .jb-day__px-lab { opacity: 0.9; }
.jb-day__px:disabled { opacity: 0.35; cursor: not-allowed; }

/* ===== GATE (z top) ===== */
.jb-gate {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw;
  height: 100%;
  font-family: inherit;
}
.jb-gate[hidden] { display: none !important; }
.jb-gate__prices {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 12px 160px;
  background: rgba(11, 31, 58, 0.48);
  overflow: hidden;
  pointer-events: none;
}
.jb-gate__prices[hidden] { display: none !important; }
.jb-gate__prices-inner {
  width: 100%;
  max-width: min(400px, 94vw);
  margin-top: 8px;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  transform: scale(1.05);
  transform-origin: top center;
  opacity: 0.95;
}
.jb-gate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.jb-gate__row.is-best { background: #ecfdf5; border-color: #86efac; }
.jb-gate__row.is-hot { background: #fffbeb; border-color: #fde68a; }
.jb-gate__px { font-weight: 900; color: var(--jb-navy); }

.jb-gate__spin {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(248, 250, 252, 0.98);
  text-align: center;
}
.jb-gate__spin[hidden] { display: none !important; }
.jb-gate__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: var(--jb-navy);
  border-right-color: var(--jb-amber);
  animation: jbSpin 0.75s linear infinite;
  margin: 0 auto 18px;
}
@keyframes jbSpin { to { transform: rotate(360deg); } }
.jb-gate__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--jb-navy);
  max-width: 18rem;
  line-height: 1.3;
}
.jb-gate__sub {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--jb-muted);
  max-width: 18rem;
  line-height: 1.4;
}

.jb-gate__email {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  background: transparent;
}
.jb-gate__email[hidden] { display: none !important; }
.jb-gate__card {
  pointer-events: auto;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 18px calc(18px + var(--jb-safe));
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.42);
}
@media (min-width: 480px) {
  .jb-gate__email { align-items: center; padding: 16px; }
  .jb-gate__card { border-radius: 18px; box-shadow: 0 22px 60px rgba(15, 23, 42, 0.32); }
}
.jb-gate__ready {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jb-ok);
  text-align: center;
}
.jb-gate__card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  color: #0f172a;
}
.jb-gate__lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--jb-muted);
  text-align: center;
  line-height: 1.4;
}
.jb-gate__consent {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--jb-muted);
  text-align: center;
}
.jb-gate__consent a { color: #2563eb; font-weight: 700; }

/* While gate open, hide items stage completely */
/* replaced by gatecal1 */

/* ===== PAY SHEET ===== */
.jb-pay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483100 !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.jb-pay[hidden] { display: none !important; }
.jb-pay__bd {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.jb-pay__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(92dvh, 92vh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  padding: 0.85rem 1.15rem calc(1.1rem + var(--jb-safe));
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 48px rgba(15, 23, 42, 0.35);
  animation: jbUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  box-sizing: border-box;
}
@keyframes jbUp {
  from { transform: translateY(100%); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}
.jb-pay__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.jb-pay__badge {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jb-ok);
}
.jb-pay__head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--jb-navy);
}
.jb-pay__total {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--jb-navy);
}
.jb-pay__ref {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--jb-muted);
  font-weight: 700;
}
.jb-pay__x {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--jb-border);
  background: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--jb-muted);
}
.jb-pay__load {
  margin: 0.65rem 0;
  font-weight: 700;
  color: var(--jb-muted);
  text-align: center;
  font-size: 0.95rem;
}
.jb-pay__el {
  min-height: 120px;
  margin: 0.5rem 0 0.75rem;
}
.jb-pay #jb-pay-go.jb-btn,
.jb-pay .jb-btn {
  min-height: 54px;
  font-size: 1.05rem;
  width: 100%;
  margin-top: 0.35rem;
}
.jb-pay__alt {
  display: block;
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2563eb;
}
.jb-pay__wallets {
  text-align: center;
  font-size: 0.8rem;
  color: var(--jb-muted);
  margin: 0.85rem 0 0;
  font-weight: 600;
}

/* Desktop/tablet: larger centred pay modal — not the squashed phone sheet */
@media (min-width: 600px) {
  .jb-pay {
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5rem !important;
  }
  .jb-pay__card {
    width: min(560px, calc(100vw - 2.5rem)) !important;
    max-width: 560px !important;
    min-width: min(480px, calc(100vw - 2.5rem));
    border-radius: 20px !important;
    padding: 1.35rem 1.6rem 1.5rem !important;
    max-height: min(90dvh, 90vh);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.32) !important;
    animation: jbPayIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .jb-pay__head h2 { font-size: 1.45rem; }
  .jb-pay__total { font-size: 1.3rem; }
  .jb-pay__badge { font-size: 0.78rem; }
  .jb-pay__el { min-height: 160px; margin: 0.65rem 0 1rem; }
  .jb-pay #jb-pay-go.jb-btn,
  .jb-pay .jb-btn {
    min-height: 58px;
    font-size: 1.1rem;
    border-radius: 14px;
  }
  .jb-pay__wallets { font-size: 0.85rem; margin-top: 1rem; }
}
@media (min-width: 900px) {
  .jb-pay__card {
    width: min(600px, calc(100vw - 3rem)) !important;
    max-width: 600px !important;
    min-width: 520px;
    padding: 1.5rem 1.75rem 1.65rem !important;
  }
  .jb-pay__el { min-height: 180px; }
}

/* Place list from jke-place.js */
#jke-place-list {
  z-index: 10000 !important;
}


/* streetfix1 place list — never clip under card */
.jb-main, .jb-card {
  overflow: visible !important;
}
#jke-place-list {
  z-index: 2147482000 !important;
  position: fixed !important;
  max-height: min(50vh, 320px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22) !important;
}


/* ===== Stage 2 route strip + map + extras (s2map1) ===== */
.jb-route-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--jb-border);
  background: #f1f5f9;
}
.jb-route-strip__text {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--jb-navy);
  line-height: 1.35;
}
.jb-route-strip__lab {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jb-muted);
  margin-bottom: 0.15rem;
}
.jb-route-strip__change {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
}
.jb-btn-map {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 0.75rem;
  border: 1.5px solid var(--jb-border);
  border-radius: 12px;
  background: #fff;
  color: var(--jb-navy);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
}
.jb-btn-map.is-open {
  border-color: #93c5fd;
  background: #eff6ff;
}
.jb-map-panel {
  margin: 0 0 0.85rem;
  border-radius: 14px;
  border: 1.5px solid var(--jb-border);
  overflow: hidden;
  background: #fff;
}
.jb-map-panel[hidden] { display: none !important; }
.jb-map-panel__miles {
  margin: 0;
  padding: 0.5rem 0.75rem 0.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--jb-muted);
}
.jb-map,
.jb-desk-map {
  width: 100% !important;
  height: 240px !important;
  min-height: 240px !important;
  background: #cfd8e3 !important;
  z-index: 1;
  position: relative;
  border-radius: 12px;
}
/* Leaflet needs real tile layer size — never leave grey empty */
.jb-map.leaflet-container,
.jb-desk-map.leaflet-container {
  width: 100% !important;
  height: 240px !important;
  min-height: 240px !important;
  background: #d4dde8 !important;
  font: inherit;
}
.jb-map .leaflet-tile-pane,
.jb-desk-map .leaflet-tile-pane {
  opacity: 1 !important;
}
.jb-map .leaflet-tile,
.jb-desk-map .leaflet-tile {
  max-width: none !important;
}
.jb-map-note {
  margin: 0;
  padding: 0.4rem 0.75rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--jb-muted);
}
.jb-map-pin {
  background: transparent !important;
  border: 0 !important;
}
.jb-map-pin span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.88rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.4);
  border: 2px solid #fff;
}
.jb-map-pin--a span { background: #0b1f3a; }
.jb-map-pin--b span { background: #f59e0b; color: #0b1f3a; }
.jb-map-popup {
  font-weight: 800;
  font-size: 0.85rem;
  color: #0b1f3a;
}

.jb-access {
  margin: 0.85rem 0 0.5rem;
  padding: 0.85rem 0.8rem;
  border-radius: 14px;
  border: 1.5px solid var(--jb-border);
  background: #fff;
}
.jb-access__head { margin-bottom: 0.55rem; }
.jb-access__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--jb-navy);
}
.jb-access__sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jb-muted);
  margin-top: 0.15rem;
}
.jb-access__hint {
  margin: 0.55rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.8rem;
  font-weight: 700;
}
.jb-access__hint[hidden] { display: none !important; }

.jb-extras {
  margin: 0.75rem 0 0.5rem;
  padding: 0.85rem 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1.5px solid var(--jb-border);
  background: #fffbeb;
}
.jb-extras__lead {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #92400e;
}
.jb-extra-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  padding: 0.7rem 0.65rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--jb-border);
}
.jb-extra-qty:last-child { margin-bottom: 0; }
.jb-extra-qty.is-on {
  border-color: #fbbf24;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18);
}
.jb-extra-qty__body { flex: 1 1 10rem; min-width: 0; }
.jb-extra-qty__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--jb-navy);
}
.jb-extra-qty__fee {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.88rem;
  font-weight: 900;
  color: #b45309;
}
.jb-extra-qty__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--jb-muted);
  font-weight: 600;
  line-height: 1.35;
}
.jb-extra-qty__ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}
.jb-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--jb-border);
  background: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--jb-navy);
}
.jb-qty-btn--plus {
  background: #fffbeb;
  border-color: #fbbf24;
}
.jb-qty-n {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--jb-navy);
}


/* ===== gatecal1: email ONLY on pricing — no skeleton bars, no items ===== */
body.jb-gate-open #jb-s1,
body.jb-gate-open #jb-s2,
body.jb-prices-locked #jb-s1,
body.jb-prices-locked #jb-s2 {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Hide real calendar under gate — gate paints its own day list (avoids double-blur bars) */
body.jb-gate-open #jb-s3,
body.jb-prices-locked #jb-s3 {
  visibility: hidden !important;
  pointer-events: none !important;
  /* keep in layout for stage state, but invisible */
  opacity: 0 !important;
  filter: none !important;
}
body.jb-gate-open #jb-cal-skel,
body.jb-prices-locked #jb-cal-skel {
  display: none !important;
}

#jb-gate {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  background: #f8fafc !important; /* solid — no bleed of stage 2 */
}
#jb-gate[data-mode="spin"] {
  background: rgba(248, 250, 252, 0.98) !important;
}
#jb-gate[data-mode="email"] {
  background: #0b1f3a !important;
}

#jb-gate-prices {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 12px 12px 180px !important;
  background: rgba(11, 31, 58, 0.55) !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
#jb-gate-prices[hidden] {
  display: none !important;
}
#jb-gate-prices-inner {
  width: 100% !important;
  max-width: min(400px, 94vw) !important;
  margin-top: 10px !important;
  filter: blur(7px) !important;
  -webkit-filter: blur(7px) !important;
  transform: scale(1.04) !important;
  transform-origin: top center !important;
  opacity: 0.97 !important;
}
/* Day rows — look like calendar, not random horizontal bars */
#jb-gate-prices-inner .jb-gate__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 54px !important;
  margin: 0 0 8px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
}
#jb-gate-prices-inner .jb-gate__row.is-best {
  background: #ecfdf5 !important;
  border-color: #86efac !important;
}
#jb-gate-prices-inner .jb-gate__row.is-hot {
  background: #fffbeb !important;
  border-color: #fde68a !important;
}
#jb-gate-prices-inner .jb-gate__px {
  font-weight: 900 !important;
  color: #0b1f3a !important;
  font-variant-numeric: tabular-nums !important;
}

#jb-gate-email {
  z-index: 10 !important;
}
#jb-gate-spin {
  z-index: 5 !important;
  background: rgba(248, 250, 252, 0.98) !important;
}


/* ===== Basket scoreboard (baskscore1) ===== */
.jb-basket {
  border: 1.5px solid var(--jb-border);
  border-radius: 14px;
  padding: 0 !important;
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
  min-height: 0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.jb-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  background: #0b1f3a;
  color: #fff;
  padding: 0.75rem 0.9rem 0.55rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.jb-score.has-items {
  background: linear-gradient(135deg, #0b1f3a 0%, #1e3a5f 100%);
}
.jb-score__left { min-width: 0; flex: 1; }
.jb-score__title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}
.jb-score__meta {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}
.jb-score__right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}
.jb-score__pct {
  font-size: 1.05rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: rgba(245, 158, 11, 0.95);
  color: #0b1f3a;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  min-width: 3rem;
  text-align: center;
}
.jb-score__chev {
  font-size: 0.75rem;
  opacity: 0.8;
}
.jb-score__bar {
  height: 6px;
  background: rgba(15, 23, 42, 0.15);
  margin: 0;
}
.jb-score__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 0.25s ease;
}
.jb-score__bar i.is-high {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}
.jb-score__bar i.is-full {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
}
.jb-basket__body {
  padding: 0.35rem 0.65rem 0.55rem;
  background: #fafbfc;
}
.jb-basket__body[hidden] {
  display: none !important;
}
.jb-empty {
  margin: 0.4rem 0;
  color: var(--jb-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.jb-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 11.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.jb-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.15rem;
  border-bottom: 1px solid var(--jb-border);
  font-weight: 700;
  font-size: 0.9rem;
}
.jb-lines li:last-child { border-bottom: 0; }
.jb-line__name {
  min-width: 0;
  flex: 1;
  line-height: 1.3;
}
.jb-line__m3 {
  display: inline-block;
  margin-left: 0.25rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jb-muted);
}


/* Basket tap target — obvious on add */
.jb-score {
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.jb-score.has-items {
  box-shadow: 0 0 0 2px #f59e0b inset, 0 8px 20px rgba(245, 158, 11, 0.25);
}
.jb-score.is-pulse {
  animation: jbScorePulse 0.55s ease;
  box-shadow: 0 0 0 3px #fbbf24, 0 10px 28px rgba(245, 158, 11, 0.4);
}
@keyframes jbScorePulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.jb-score__title::after {
  content: " · tap to view";
  font-weight: 700;
  opacity: 0.65;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7rem;
}
.jb-score.is-open .jb-score__title::after {
  content: " · tap to hide";
}


/* ===== emailfresh1: email unlocks prices, blur list visible ===== */
#jb-gate {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
}
#jb-gate[hidden] {
  display: none !important;
}
#jb-gate[data-mode="spin"] {
  background: #f8fafc !important;
}
#jb-gate[data-mode="email"] {
  background: #0b1f3a !important;
}
body.jb-gate-open #jb-s1,
body.jb-gate-open #jb-s2,
body.jb-prices-locked #jb-s1,
body.jb-prices-locked #jb-s2 {
  display: none !important;
  visibility: hidden !important;
}
body.jb-gate-open #jb-s3,
body.jb-prices-locked #jb-s3 {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  filter: none !important;
}
body.jb-gate-open #jb-cal-skel {
  display: none !important;
}
#jb-gate-prices {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 14px 12px 200px !important;
  background: rgba(11, 31, 58, 0.5) !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
#jb-gate-prices[hidden] { display: none !important; }
#jb-gate-prices-inner {
  width: 100%;
  max-width: min(400px, 94vw);
  margin-top: 8px;
  filter: blur(6px);
  -webkit-filter: blur(6px);
  transform: scale(1.04);
  transform-origin: top center;
  opacity: 0.98;
}
#jb-gate-prices-inner .jb-gate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}
#jb-gate-prices-inner .jb-gate__row.is-best {
  background: #ecfdf5;
  border-color: #86efac;
}
#jb-gate-prices-inner .jb-gate__row.is-hot {
  background: #fffbeb;
  border-color: #fde68a;
}
#jb-gate-prices-inner .jb-gate__px {
  font-weight: 900;
  color: #0b1f3a;
}
#jb-gate-email {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  pointer-events: none !important;
  background: transparent !important;
}
#jb-gate-email[hidden] { display: none !important; }
#jb-gate-email .jb-gate__card,
#jb-gate-email #jb-pg-card {
  pointer-events: auto !important;
}
.jb-gate__card {
  pointer-events: auto !important;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.45);
}
@media (min-width: 480px) {
  #jb-gate-email { align-items: center !important; padding: 16px !important; }
  .jb-gate__card { border-radius: 18px; }
}
.jb-gate__ready {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #166534;
  text-align: center;
}
.jb-gate__card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  color: #0f172a;
}
.jb-gate__lead {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}
.jb-gate__consent {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}
#jb-gate-spin {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  text-align: center !important;
  padding: 24px !important;
}
#jb-gate-spin[hidden] { display: none !important; }


/* ===== Confirm step (confirm2) ===== */
.jb-lab__hint {
  font-weight: 600;
  color: var(--jb-muted);
  font-size: 0.8rem;
}
.jb-inp--locked {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 700;
}
.jb-addr-block {
  margin: 1rem 0 0.75rem;
  padding: 0.85rem 0.8rem;
  border-radius: 14px;
  border: 1.5px solid var(--jb-border);
  background: #fafbfc;
}
.jb-addr-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.jb-addr-block .jb-h2 { margin: 0; }
.jb-link-change {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
}
.jb-addr-locked {
  margin: 0 0 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--jb-navy);
  line-height: 1.35;
}
.jb-addr-note {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jb-muted);
  line-height: 1.4;
}
.jb-same-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.35rem 0 0.5rem;
}
.jb-same-btn {
  min-height: 48px;
  border-radius: 12px;
  border: 2px solid var(--jb-border);
  background: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--jb-navy);
  cursor: pointer;
  padding: 0.4rem 0.5rem;
}
.jb-same-btn.is-on {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.jb-contact-extra {
  margin-top: 0.35rem;
}
.jb-contact-extra[hidden] { display: none !important; }
.jb-house-row {
  margin: 0.55rem 0 0.35rem;
}
.jb-house-row.is-need .jb-inp {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}
.jb-house-row .jb-inp.is-ok {
  border-color: #86efac;
  background: #f0fdf4;
}
.jb-house-hint {
  color: #b45309 !important;
  font-weight: 700 !important;
}
.jb-house-hint[hidden],
.jb-addr-note.jb-house-hint[hidden] {
  display: none !important;
}
.jb-inp--need {
  border-color: #f59e0b !important;
  background: #fffbeb;
}
.jb-pickup-contact {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid #e2e8f0;
}
.jb-note-panel {
  margin: 0.85rem 0 0.5rem;
}
.jb-textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.4;
  font-weight: 600;
  font-family: inherit;
}
.jb-pickup-contact .jb-addr-note {
  margin-bottom: 0.45rem;
}
.jb-pickup-contact #jb-pick-extra {
  display: block !important;
}
.jb-pickup-contact .jb-inp--locked {
  background: #f1f5f9;
}
.jb-check--soft {
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
}

/* Proper terms accept (not a tiny lame checkbox) */
.jb-terms {
  display: block;
  margin: 1.1rem 0 0.5rem;
  cursor: pointer;
}
.jb-terms input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.jb-terms__card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  background: #fff;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
}
.jb-terms__tick {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid #94a3b8;
  background: #fff;
  margin-top: 0.1rem;
  position: relative;
}
.jb-terms input:checked + .jb-terms__card {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.jb-terms input:checked + .jb-terms__card .jb-terms__tick {
  border-color: #16a34a;
  background: #16a34a;
}
.jb-terms input:checked + .jb-terms__card .jb-terms__tick::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}
.jb-terms__copy {
  flex: 1;
  min-width: 0;
}
.jb-terms__copy strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--jb-navy);
  margin-bottom: 0.25rem;
}
.jb-terms__sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.4;
}
.jb-terms__sub a {
  color: #2563eb;
  font-weight: 800;
}


/* ===== gatepop1: email over ALWAYS-visible blurred day prices ===== */
#jb-gate.jb-gate,
#jb-gate {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  height: 100% !important;
  min-height: 100dvh !important;
  /* ONE stable dim navy — never flash white then blue */
  background: #1e293b !important;
  font-family: inherit !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
#jb-gate[hidden] {
  display: none !important;
}
#jb-gate[data-mode],
#jb-gate[data-mode="spin"],
#jb-gate[data-mode="email"],
#jb-gate[data-mode="prices"],
#jb-gate[data-mode="loading"] {
  background: #1e293b !important;
}

body.jb-gate-open #jb-s1,
body.jb-gate-open #jb-s2,
body.jb-prices-locked #jb-s1,
body.jb-prices-locked #jb-s2 {
  display: none !important;
  visibility: hidden !important;
}
body.jb-gate-open #jb-s3,
body.jb-prices-locked #jb-s3 {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Day prices — always painted, slightly blurred so user wants unlock */
#jb-gate-prices,
#jb-gate .jb-gate__prices {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 16px 14px 220px !important;
  background: transparent !important;
  overflow: hidden !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}
#jb-gate-prices[hidden] {
  /* never force-hide when gate is open — JS removes hidden */
  display: none !important;
}
#jb-gate:not([hidden]) #jb-gate-prices:not([hidden]) {
  display: flex !important;
}

#jb-gate-prices-inner,
#jb-gate .jb-gate__prices-inner {
  width: 100% !important;
  max-width: min(400px, 94vw) !important;
  margin-top: 12px !important;
  filter: blur(5px) !important;
  -webkit-filter: blur(5px) !important;
  transform: scale(1.03) !important;
  transform-origin: top center !important;
  opacity: 1 !important;
}

#jb-gate-prices-inner .jb-gate__row,
.jb-gate__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 56px !important;
  margin: 0 0 10px !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  background: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  color: #0f172a !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}
#jb-gate-prices-inner .jb-gate__row.is-best {
  background: #ecfdf5 !important;
  border-color: #86efac !important;
}
#jb-gate-prices-inner .jb-gate__row.is-hot {
  background: #fffbeb !important;
  border-color: #fde68a !important;
}
.jb-gate__px {
  font-weight: 900 !important;
  color: #0b1f3a !important;
  font-size: 1.05rem !important;
}

/* Kill full-screen white spinner */
#jb-gate-spin,
.jb-gate__spin {
  display: none !important;
}

/* Email sheet — bottom sheet, transparent so prices show above it */
#jb-gate-email,
.jb-gate__email {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  pointer-events: none !important;
  background: transparent !important;
  padding: 0 !important;
}
#jb-gate-email[hidden] {
  display: none !important;
}
#jb-gate:not([hidden]) #jb-gate-email:not([hidden]) {
  display: flex !important;
}

.jb-gate__card {
  pointer-events: auto !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  padding: 22px 18px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  background: #fff !important;
  border-radius: 20px 20px 0 0 !important;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45) !important;
  box-sizing: border-box !important;
}
@media (min-width: 480px) {
  #jb-gate-email {
    align-items: center !important;
    padding: 16px !important;
  }
  .jb-gate__card {
    border-radius: 18px !important;
  }
}
.jb-gate__ready {
  margin: 0 0 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #166534 !important;
  text-align: center !important;
}
.jb-gate__card h2 {
  margin: 0 0 6px !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  color: #0f172a !important;
}
.jb-gate__lead {
  margin: 0 0 14px !important;
  font-size: 0.92rem !important;
  color: #64748b !important;
  text-align: center !important;
  line-height: 1.4 !important;
}
.jb-gate__consent {
  margin: 12px 0 0 !important;
  font-size: 11px !important;
  color: #64748b !important;
  text-align: center !important;
}
#jb-gate-go.jb-btn {
  margin-top: 12px !important;
}


/* gatenuke1 — legacy #jb-gate unused; nuclear overlay owns the UI */
#jb-gate { display: none !important; }


/* gatemid1 */
#jb-gate { display: none !important; }


/* emailfirst1 — hide real calendar while gate open; hide legacy gate */
#jb-gate { display: none !important; }
body.jb-gate-open #jb-s1,
body.jb-gate-open #jb-s2,
body.jb-gate-open #jb-s3,
body.jb-gate-open #jb-s4,
body.jb-prices-locked #jb-s1,
body.jb-prices-locked #jb-s2,
body.jb-prices-locked #jb-s3,
body.jb-prices-locked #jb-s4 {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.jb-gate-open .jb-main,
body.jb-prices-locked .jb-main {
  visibility: hidden !important;
}


/* addr stay on pay */
.jb-addr-edit {
  margin: 0.45rem 0 0.55rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1.5px dashed #93c5fd;
  background: #eff6ff;
}
.jb-addr-edit[hidden] { display: none !important; }
.jb-addr-edit .jb-ghost {
  margin-top: 0.35rem;
  color: #64748b;
}

/* =========================================================
   deskconf1 — DESKTOP vs PHONE
   Phone: single column, existing flow, compact summary strip
   Desktop ≥900px: wide shell, confirm 60/40 form | sticky map
   ========================================================= */

/* --- Confirm: mobile-first base (phone keeps single column) --- */
.jb-s4-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.jb-s4-top__left { flex: 1; min-width: 0; }
.jb-s4-top__left h1 { margin-bottom: 0.25rem; }
.jb-s4-top__left .jb-sub { margin-bottom: 0.65rem; }
.jb-s4-top__right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  padding-top: 0.15rem;
}
.jb-s4-ref {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--jb-muted);
  letter-spacing: 0.02em;
}
.jb-s4-ref[hidden] { display: none !important; }
.jb-s4-phone {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
  /* Clearly our help line — not the customer's mobile */
  opacity: 0.95;
}
.jb-s4-phone:hover { text-decoration: underline; }
.jb-s4-top__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  text-align: right;
}

.jb-s4-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.jb-s4-form { min-width: 0; }

/* On phone: summary sits above form as compact card (order swap) */
.jb-s4-side {
  order: -1;
}
.jb-s4-side__sticky {
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1.5px solid var(--jb-border);
  background: #f8fafc;
}
.jb-s4-map-wrap {
  display: none; /* phone: no map on confirm (keeps funnel light) */
}
.jb-s4-map {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}
.jb-s4-route {
  margin: 0 0 0.15rem;
  font-weight: 900;
  font-size: 0.92rem;
  color: var(--jb-navy);
  line-height: 1.3;
}
.jb-s4-miles {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--jb-muted);
}
.jb-s4-block {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid #e2e8f0;
}
.jb-s4-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.jb-s4-block__h {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jb-muted);
}
.jb-s4-inv,
.jb-s4-addons {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jb-s4-inv li,
.jb-s4-addons li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  padding: 0.2rem 0;
  line-height: 1.35;
}
.jb-s4-inv li span:last-child,
.jb-s4-addons li span:last-child {
  color: var(--jb-muted);
  font-weight: 800;
  white-space: nowrap;
}
.jb-s4-day {
  margin: 0 0 0.25rem;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--jb-navy);
}
.jb-s4-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: var(--jb-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.jb-s4-total strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.jb-s4-trust {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--jb-muted);
  text-align: center;
}

.jb-panel {
  margin: 0 0 0.85rem;
}
.jb-panel__h {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--jb-navy);
}
.jb-row2--email-phone {
  /* phone: stack email/phone */
  display: flex;
  flex-direction: column;
  gap: 0;
}
.jb-row2--email-phone > div { min-width: 0; }

.jb-foot--s4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.jb-foot--s4 .jb-ghost { flex: 0 0 auto; }
.jb-foot--s4 .jb-btn { flex: 1 1 auto; min-width: 8rem; }
.jb-pci {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--jb-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  order: 3;
  width: 100%;
  text-align: center;
  margin-top: 0.15rem;
}

/* ===== Persistent desktop right rail (steps 2–4) ===== */
.jb-desk-shell {
  display: block;
  width: 100%;
}
.jb-desk-main { min-width: 0; }
/* Phone: rail hidden — use View map on items */
.jb-desk-rail {
  display: none;
}
.jb-desk-rail__sticky { min-width: 0; }
.jb-desk-rail__label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jb-muted);
}
.jb-desk-ref {
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  background: #0b1f3a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.jb-desk-ref[hidden] { display: none !important; }
.jb-s4-ref {
  font-size: 0.88rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em;
  color: var(--jb-navy) !important;
  background: #eef2ff;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}
.jb-desk-map-wrap {
  margin: 0 0 0.65rem;
}
.jb-desk-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #cfd8e3;
}
.jb-desk-route {
  margin: 0 0 0.15rem;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--jb-navy);
  line-height: 1.3;
}
.jb-desk-miles {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--jb-muted);
}
.jb-desk-block {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid #e2e8f0;
}
.jb-desk-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.jb-desk-block__h {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jb-muted);
}
.jb-desk-inv,
.jb-desk-addons {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jb-desk-inv li,
.jb-desk-addons li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  padding: 0.2rem 0;
  line-height: 1.35;
}
.jb-desk-inv li span:last-child,
.jb-desk-addons li span:last-child {
  color: var(--jb-muted);
  font-weight: 800;
  white-space: nowrap;
}
.jb-desk-day {
  margin: 0 0 0.25rem;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--jb-navy);
}
.jb-desk-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: var(--jb-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.jb-desk-total[hidden] { display: none !important; }
.jb-desk-total strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.jb-desk-trust {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--jb-muted);
  text-align: center;
}

/* ===== DESKTOP ≥900px — left ~62% form | right ~38% rail ALWAYS for 2–4 ===== */
@media (min-width: 900px) {
  .jb-phone-only {
    display: none !important;
  }

  body.jke-book.jb-wide .jb-header,
  body.jke-book.jb-wide .jb-main,
  body.jke-book[data-stage="2"] .jb-header,
  body.jke-book[data-stage="3"] .jb-header,
  body.jke-book[data-stage="4"] .jb-header,
  body.jke-book[data-stage="2"] .jb-main,
  body.jke-book[data-stage="3"] .jb-main,
  body.jke-book[data-stage="4"] .jb-main {
    max-width: 1180px !important;
    width: 100% !important;
  }
  body.jke-book.jb-wide .jb-main,
  body.jke-book[data-stage="2"] .jb-main,
  body.jke-book[data-stage="3"] .jb-main,
  body.jke-book[data-stage="4"] .jb-main {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Shell: form column + sticky rail that NEVER leaves on steps 2–4 */
  body.jke-book.jb-wide .jb-desk-shell,
  body.jke-book[data-stage="2"] .jb-desk-shell,
  body.jke-book[data-stage="3"] .jb-desk-shell,
  body.jke-book[data-stage="4"] .jb-desk-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.95fr) !important;
    gap: 1.5rem 1.75rem !important;
    align-items: start !important;
    width: 100% !important;
  }
  body.jke-book.jb-wide .jb-desk-rail,
  body.jke-book[data-stage="2"] .jb-desk-rail,
  body.jke-book[data-stage="3"] .jb-desk-rail,
  body.jke-book[data-stage="4"] .jb-desk-rail {
    display: block !important;
    position: sticky !important;
    top: 0.85rem !important;
    align-self: start !important;
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.jke-book.jb-wide .jb-desk-rail__sticky {
    padding: 1rem 1.05rem !important;
    border-radius: 16px !important;
    border: 1.5px solid var(--jb-border) !important;
    background: #fff !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
  }
  body.jke-book.jb-wide .jb-desk-map {
    height: 240px !important;
  }

  body.jke-book.jb-wide .jb-desk-main .jb-card,
  body.jke-book.jb-wide #jb-s2,
  body.jke-book.jb-wide #jb-s3,
  body.jke-book.jb-wide #jb-s4 {
    max-width: none !important;
    width: 100% !important;
    padding: 1.35rem 1.45rem 1.5rem;
  }

  /* Hide legacy per-step sides if any remain */
  .jb-s2-side,
  .jb-s4-side {
    display: none !important;
  }

  /* Calendar: 2-up day cards */
  body.jke-book.jb-wide .jb-cal,
  body.jke-book[data-stage="3"] .jb-cal,
  #jb-s3 .jb-cal {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  body.jke-book.jb-wide .jb-day,
  #jb-s3 .jb-day {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0.45rem;
    min-height: 0;
    padding: 0.8rem 0.9rem;
  }
  #jb-s3 .jb-day__d { font-size: 1.02rem; }
  #jb-s3 .jb-day__prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  #jb-s3 .jb-day__px {
    min-width: 0;
    min-height: 50px;
    font-size: 0.9rem;
    padding: 0.4rem 0.45rem;
    line-height: 1.25;
  }
  #jb-s3 .jb-day__px-lab {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.75;
  }

  /* Confirm: LEFT form ~62% | RIGHT sticky map/summary ~38% */
  #jb-s4 .jb-s4-layout,
  body.jke-book.jb-wide .jb-s4-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr) !important;
    gap: 1.75rem !important;
    align-items: start !important;
  }
  #jb-s4 .jb-s4-form {
    order: 0 !important;
    min-width: 0;
  }
  #jb-s4 .jb-s4-side {
    order: 0 !important; /* not on top like phone */
    position: sticky !important;
    top: 1rem !important;
    align-self: start !important;
    max-width: none !important;
  }
  #jb-s4 .jb-s4-side__sticky {
    padding: 1rem 1.05rem !important;
    border-radius: 16px !important;
    border: 1.5px solid var(--jb-border) !important;
    background: #fff !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
  }
  /* MAP on the right — always on desktop */
  #jb-s4 .jb-s4-map-wrap {
    display: block !important;
    margin-bottom: 0.75rem !important;
  }
  #jb-s4 .jb-s4-map {
    height: 220px !important;
    border-radius: 12px !important;
  }
  #jb-s4 .jb-s4-route {
    font-size: 1rem !important;
  }

  /* Form panels as cards */
  #jb-s4 .jb-panel,
  #jb-s4 .jb-addr-block {
    margin: 0 0 1rem !important;
    padding: 1.05rem 1.1rem !important;
    border-radius: 14px !important;
    border: 1.5px solid var(--jb-border) !important;
    background: #fafbfc !important;
  }
  #jb-s4 .jb-panel__h {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
  }
  #jb-s4 .jb-row2--email-phone {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
  }
  #jb-s4 .jb-row2--email-phone .jb-lab { margin-top: 0.4rem; }

  #jb-s4 .jb-foot--s4 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.85rem !important;
    margin-top: 0.5rem;
  }
  #jb-s4 .jb-foot--s4 .jb-btn {
    flex: 0 1 auto !important;
    min-width: 12rem !important;
    margin-left: auto !important;
  }
  #jb-s4 .jb-pci {
    order: 0 !important;
    width: auto !important;
    margin-top: 0 !important;
    font-size: 0.78rem !important;
  }
  #jb-s4 .jb-s4-phone { font-size: 0.95rem; }

  /* Step 1 only stays phone-narrow on large screens */
  body.jke-book[data-stage="1"] .jb-main,
  body.jke-book.jb-wide[data-stage="1"] .jb-main {
    max-width: 480px !important;
  }
}

@keyframes jbPayIn {
  from { transform: translateY(12px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Instant smooth map appear */
.jb-map, .jb-desk-map {
  transition: opacity 0.18s ease;
}
.jb-map.leaflet-container, .jb-desk-map.leaflet-container {
  opacity: 1;
}

/* ===== PRICE-ONLY BLUR GATE (priceblur1) =====
   Real Pick-your-day page fully visible (map, days, inventory).
   ONLY calendar £ prices are blurred until email.
*/
#jb-gate { display: none !important; }

/* Page stays sharp — no full-page blur */
body.jb-gate-open .jb-main,
body.jb-prices-locked .jb-main,
html.jb-gate-open .jb-main,
html.jb-prices-locked .jb-main {
  visibility: visible !important;
  display: block !important;
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

/* Hide only other stages */
body.jb-gate-open #jb-s1,
body.jb-gate-open #jb-s2,
body.jb-gate-open #jb-s4,
body.jb-prices-locked #jb-s1,
body.jb-prices-locked #jb-s2,
body.jb-prices-locked #jb-s4 {
  display: none !important;
  visibility: hidden !important;
}

/* Real pick-your-day fully visible */
body.jb-gate-open #jb-s3,
body.jb-prices-locked #jb-s3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  pointer-events: auto !important;
}

/* Map + inventory rail sharp (desktop) */
body.jb-gate-open .jb-desk-shell,
body.jb-prices-locked .jb-desk-shell,
body.jb-gate-open .jb-desk-rail,
body.jb-prices-locked .jb-desk-rail,
body.jb-gate-open .jb-desk-main,
body.jb-prices-locked .jb-desk-main {
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  pointer-events: auto !important;
}
body.jb-gate-open .jb-desk-shell,
body.jb-prices-locked .jb-desk-shell {
  display: grid !important;
}
@media (max-width: 899px) {
  body.jb-gate-open .jb-desk-shell,
  body.jb-prices-locked .jb-desk-shell {
    display: block !important;
  }
  body.jb-gate-open .jb-desk-rail,
  body.jb-prices-locked .jb-desk-rail {
    display: none !important;
  }
}

/* ★ ONLY blur the calendar prices (the £ amounts) */
body.jb-prices-locked #jb-cal .jb-day__px,
body.jb-gate-open #jb-cal .jb-day__px,
body.jb-prices-locked #jb-cal .jb-day__px-amt,
body.jb-gate-open #jb-cal .jb-day__px-amt {
  filter: blur(9px) !important;
  -webkit-filter: blur(9px) !important;
  pointer-events: none !important;
  user-select: none !important;
  cursor: default !important;
}
/* Day labels stay sharp */
body.jb-prices-locked #jb-cal .jb-day__d,
body.jb-gate-open #jb-cal .jb-day__d,
body.jb-prices-locked #jb-cal .jb-day__px-lab,
body.jb-gate-open #jb-cal .jb-day__px-lab {
  filter: none !important;
  -webkit-filter: none !important;
}
/* Block continue until unlocked */
body.jb-prices-locked #jb-s3-go,
body.jb-gate-open #jb-s3-go {
  pointer-events: none !important;
  opacity: 0.45 !important;
}

body.jb-gate-open .jb-site-header,
body.jb-prices-locked .jb-site-header {
  filter: none !important;
  /* Header must NOT steal taps from the email button on phone */
  pointer-events: none !important;
  visibility: visible !important;
}

/* ===== EMAIL GATE WINS ON PHONE (gatebtn1) =====
   Previous CSS set gate pointer-events:none + re-enabled #jb-s3 under it.
   That made "View my prices" dead on mobile (page/map/cookie stole taps).
*/
body.jb-gate-open #jb-s3,
body.jb-prices-locked #jb-s3,
body.jb-gate-email #jb-s3 {
  pointer-events: none !important;
}
body.jb-gate-open .jb-desk-shell,
body.jb-prices-locked .jb-desk-shell,
body.jb-gate-open .jb-desk-rail,
body.jb-prices-locked .jb-desk-rail,
body.jb-gate-open .jb-desk-main,
body.jb-prices-locked .jb-desk-main,
body.jb-gate-open .jb-main,
body.jb-prices-locked .jb-main {
  pointer-events: none !important;
}
/* Still show the calendar (blurred £) but it cannot intercept touches */
body.jb-gate-open #jb-s3,
body.jb-prices-locked #jb-s3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Gate: full-screen interactive — nothing underneath fights the button */
#jb-nuke-gate {
  background: transparent !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
}
#jb-nuke-gate[hidden] {
  display: none !important;
  pointer-events: none !important;
}
#jb-nuke-gate #jb-nuke-spin {
  pointer-events: auto !important;
  background: rgba(15, 23, 42, 0.55) !important;
}
#jb-nuke-gate #jb-nuke-email-wrap {
  pointer-events: auto !important;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 40%, rgba(15, 23, 42, 0.08) 100%) !important;
  z-index: 30 !important;
}
#jb-nuke-gate #jb-nuke-card,
#jb-nuke-gate #jb-nuke-inp,
#jb-nuke-gate #jb-nuke-go {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(245, 158, 11, 0.25);
}
#jb-nuke-gate #jb-nuke-go {
  position: relative !important;
  z-index: 5 !important;
  min-height: 56px !important;
  cursor: pointer !important;
  opacity: 1 !important;
}
#jb-nuke-gate #jb-nuke-go[disabled],
#jb-nuke-gate #jb-nuke-go[aria-busy="true"] {
  opacity: 0.92 !important;
  pointer-events: auto !important; /* still allow retry if stuck */
}

/* Cookie banner must never cover the email button */
body.jb-gate-open #jke-cookie-banner,
body.jb-prices-locked #jke-cookie-banner,
body.jb-gate-email #jke-cookie-banner,
html.jb-gate-open #jke-cookie-banner {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ===== PRICE REVEAL v1 — single clean lock set (wins last) ===== */
#jb-gate,
#jb-nuke-gate {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#jb-pr-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}
#jb-pr-root[hidden] {
  display: none !important;
  pointer-events: none !important;
}
#jb-pr-spin,
#jb-pr-email,
#jb-pr-card,
#jb-pr-inp,
#jb-pr-go {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}
#jb-pr-go {
  cursor: pointer !important;
  opacity: 1 !important;
  min-height: 56px !important;
}

/* While locked: show stage 3 calendar under gate; blur only £ prices */
body.jb-prices-locked #jb-s1,
body.jb-gate-open #jb-s1,
body.jb-prices-locked #jb-s2,
body.jb-gate-open #jb-s2,
body.jb-prices-locked #jb-s4,
body.jb-gate-open #jb-s4 {
  display: none !important;
}
body.jb-prices-locked #jb-s3,
body.jb-gate-open #jb-s3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  pointer-events: none !important;
}
body.jb-prices-locked .jb-main,
body.jb-gate-open .jb-main,
body.jb-prices-locked .jb-desk-shell,
body.jb-gate-open .jb-desk-shell,
body.jb-prices-locked .jb-desk-rail,
body.jb-gate-open .jb-desk-rail,
body.jb-prices-locked .jb-desk-main,
body.jb-gate-open .jb-desk-main {
  filter: none !important;
  -webkit-filter: none !important;
  pointer-events: none !important;
}

/* ONLY blur price amounts while locked */
body.jb-prices-locked #jb-cal .jb-day__px,
body.jb-gate-open #jb-cal .jb-day__px,
body.jb-prices-locked #jb-cal .jb-day__px-amt,
body.jb-gate-open #jb-cal .jb-day__px-amt {
  filter: blur(9px) !important;
  -webkit-filter: blur(9px) !important;
  pointer-events: none !important;
  user-select: none !important;
}
body.jb-prices-locked #jb-s3-go,
body.jb-gate-open #jb-s3-go {
  pointer-events: none !important;
  opacity: 0.45 !important;
}

/* Cookie banner never covers email CTA */
body.jb-gate-open #jke-cookie-banner,
body.jb-prices-locked #jke-cookie-banner,
body.jb-gate-email #jke-cookie-banner {
  display: none !important;
  pointer-events: none !important;
}

/* UNLOCKED: no blur, full interaction (classes removed by gateHide) */
body:not(.jb-prices-locked):not(.jb-gate-open) #jb-cal .jb-day__px,
body:not(.jb-prices-locked):not(.jb-gate-open) #jb-cal .jb-day__px-amt {
  filter: none !important;
  -webkit-filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
  cursor: pointer !important;
}
body:not(.jb-prices-locked):not(.jb-gate-open) #jb-s3 {
  pointer-events: auto !important;
  filter: none !important;
  -webkit-filter: none !important;
}
body:not(.jb-prices-locked):not(.jb-gate-open) #jb-s3-go {
  pointer-events: auto !important;
  opacity: 1 !important;
}


/* Can't-find strip — same visual family as search chips */
.jb-custom-link-wrap{margin:8px 0 4px;text-align:left}
.jb-custom-link{background:none;border:0;padding:0;color:#2563eb;font-size:.9rem;font-weight:700;cursor:pointer;text-decoration:underline}
.jb-custom-link:hover{color:#1d4ed8}
.jb-custom{margin:8px 0 12px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.jb-custom[hidden]{display:none!important}
.jb-custom__hint{margin:0 0 10px;font-size:.85rem;color:#64748b}
.jb-custom__sizes{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.jb-custom__sizes .jb-chip{font-size:.85rem}
.jb-custom__sizes .jb-chip.is-on{outline:2px solid #0b1f3a;background:#e2e8f0}
.jb-custom__dims{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.jb-custom__num{width:72px;min-height:40px;padding:8px}
.jb-custom__m3{font-size:.9rem;font-weight:800;color:#0f172a}
.jb-hit span:first-child{flex:1;text-align:left}


/* qtyfix1: +/− must not jump under finger */
.jb-qty button,
.jb-qty-act {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  flex: 0 0 auto;
}
.jb-qty-n {
  min-width: 1.4rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.jb-lines li {
  /* keep row height stable when qty changes */
  min-height: 44px;
}
