/* JKE Motors public site — jkemotors.eu */
:root {
  --pub-navy: #0b1f3a;
  --pub-navy-light: #14325a;
  --pub-accent: #f59e0b;
  --pub-accent-hover: #d97706;
  --pub-bg: #f8fafc;
  --pub-alt: #eef2f7;
  --pub-text: #1a1d24;
  --pub-muted: #5f6368;
  --pub-radius: 12px;
  --pub-shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
  --pub-max: 1120px;
}

.pub {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--pub-bg);
  color: var(--pub-text);
  line-height: 1.5;
}

.pub-header {
  background: var(--pub-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.pub-header__inner {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pub-logo img {
  display: block;
  height: 44px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
}

.pub-nav {
  display: none;
  gap: 1.1rem;
  align-items: center;
  margin-left: auto;
  font-size: 0.9rem;
}

.pub-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.pub-nav a:hover { color: #fff; }

.pub-nav__cta {
  background: var(--pub-accent) !important;
  color: var(--pub-navy) !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

/* Single header Get quote — always one button, not doubled with .pub-nav__cta */
.pub-header__quote {
  margin-left: auto;
  background: var(--pub-accent);
  color: var(--pub-navy) !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pub-header__quote:hover {
  background: var(--pub-accent-hover);
  color: #fff !important;
}

.pub-menu-btn {
  margin-left: 0.35rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 110;
  position: relative;
}

.pub-menu-btn.is-open {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--pub-accent);
  color: var(--pub-accent);
}

/* CRITICAL: display:flex must not override HTML [hidden] — that stuck the nav open */
.pub-mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.35rem 1rem 1.1rem;
  gap: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--pub-navy);
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pub-mobile-nav:not([hidden]) {
  display: flex;
}

.pub-mobile-nav[hidden] {
  display: none !important;
}

.pub-mobile-nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.pub-mobile-nav a:active {
  background: rgba(255, 255, 255, 0.08);
}

.pub-mobile-nav__cta {
  background: var(--pub-accent);
  color: var(--pub-navy) !important;
  text-align: center;
  border-radius: 10px;
  padding: 0.95rem !important;
  font-weight: 800;
  margin-top: 0.45rem;
  justify-content: center;
}

body.pub-nav-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .pub-nav { display: flex; }
  .pub-menu-btn { display: none; }
  .pub-header__quote { margin-left: 0.75rem; }
  .pub-mobile-nav,
  .pub-mobile-nav:not([hidden]) {
    display: none !important;
  }
  body.pub-nav-open { overflow: auto; }
}

.pub-main { min-height: 60vh; }

/* —— Hero: quote form is #1 (big), photo is support only —— */
.pub-hero {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.pub-hero__copy {
  min-width: 0;
}

/* Form is the star — wide, bold, first in the eye */
.pub-hero__form-wrap {
  min-width: 0;
  width: 100%;
  position: static;
  order: 2; /* mobile: form AFTER copy */
}

.pub-quote-form--hero {
  padding: 1.65rem 1.5rem 1.5rem;
  border: 2px solid #0b1f3a;
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.14);
  border-radius: 14px;
  overflow: visible;
}

.pub-quote-form--hero h2 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

/* Homepage hero Collect / Deliver — clear stack, no overlap */
.pub-hero-route {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 0.85rem;
  min-width: 0;
}

.pub-quote-form--hero .pub-hero-svc {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.pub-quote-form--hero .pub-route-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  margin: 0 0 0.7rem !important;
  padding: 0.75rem 0.8rem 0.8rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.pub-quote-form--hero .pub-route-field--from {
  z-index: 4;
}

.pub-quote-form--hero .pub-route-field--to {
  z-index: 3;
  margin-bottom: 0.15rem !important;
}

.pub-quote-form--hero .pub-route-field__label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0b1f3a;
  line-height: 1.35;
  margin: 0;
}

.pub-quote-form--hero .pub-route-field__hint {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.pub-quote-form--hero .pub-ac-wrap {
  display: block;
  width: 100%;
  min-width: 0;
  position: relative;
}

.pub-quote-form--hero .pub-route-input {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  padding: 0.75rem 0.85rem !important;
  box-sizing: border-box !important;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pub-quote-form--hero .pub-route-arrow {
  margin: 0.1rem 0 0.55rem;
  text-align: center;
  font-weight: 800;
  color: #047857;
}

/* Suggestions expand layout — never cover Deliver field */
.pub-quote-form--hero .pub-ac-menu {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0.4rem 0 0 !important;
  max-height: min(220px, 38vh);
  z-index: 5;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.pub-quote-form__lead {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--pub-muted);
  line-height: 1.4;
}

.pub-btn--hero {
  width: 100%;
  min-height: 52px;
  font-size: 1.05rem;
  padding: 0.95rem 1.25rem;
}

/* Hero photo under copy — full column width, sensible height cap */
.pub-hero__photo {
  margin: 1rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.12);
  border: 1px solid #e2e8f0;
  background: #e8eef5;
  width: 100%;
  max-width: 100%;
  max-height: min(52vw, 300px);
  aspect-ratio: 16 / 10;
  position: relative;
}

.pub-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (min-width: 900px) {
  .pub-hero--copy-first,
  .pub-hero--quote-first {
    /* Copy left · quote form RIGHT */
    grid-template-columns: minmax(300px, 1.05fr) minmax(340px, 0.95fr);
    gap: 2rem 2.75rem;
    padding: 2.75rem 1.25rem 3rem;
    align-items: start;
  }
  .pub-hero__copy {
    order: 1;
    text-align: left;
  }
  .pub-hero__form-wrap {
    order: 2;
    max-width: none;
  }
  .pub-hero__photo {
    max-width: 100%;
    max-height: 340px;
  }
  .pub-quote-form--hero {
    padding: 1.85rem 1.65rem 1.65rem;
  }
  .pub-quote-form--hero h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 899px) {
  .pub-hero--copy-first .pub-hero__copy,
  .pub-hero--quote-first .pub-hero__copy {
    order: 1;
    text-align: center;
  }
  .pub-hero--copy-first .pub-hero__form-wrap,
  .pub-hero--quote-first .pub-hero__form-wrap {
    order: 2;
  }
  .pub-hero--copy-first .pub-hero__sub,
  .pub-hero--quote-first .pub-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .pub-hero--copy-first .pub-hero__trust,
  .pub-hero--quote-first .pub-hero__trust {
    justify-content: center;
  }
  .pub-hero__photo {
    max-width: 100%;
    max-height: min(52vw, 300px);
    aspect-ratio: 16 / 10;
    margin-left: auto;
    margin-right: auto;
  }
}

.pub-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pub-accent);
  margin: 0 0 0.75rem;
}

.pub-hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--pub-navy);
  font-weight: 800;
}

.pub-hero__sub {
  font-size: 1.05rem;
  color: var(--pub-muted);
  margin: 0 0 1.25rem;
  max-width: 36em;
}

.pub-hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.92rem;
}

.pub-hero__trust li { color: var(--pub-navy); }

/* Form shells — only one surface (avoid double card on hero) */
.pub-quote-form,
.pub-quote-mini form,
.pub-driver-form {
  background: #fff;
  border-radius: var(--pub-radius);
  box-shadow: var(--pub-shadow);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.pub-hero__form-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.pub-quote-form h2,
.pub-quote-mini h3,
.pub-driver-form h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--pub-navy);
}

.pub-quote-form label,
.pub-book-form label,
.pub-quote-mini label,
.pub-driver-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.pub-quote-form input,
.pub-quote-form select,
.pub-quote-form textarea,
.pub-book-form input,
.pub-book-form select,
.pub-book-form textarea,
.pub-quote-mini input,
.pub-driver-form input,
.pub-driver-form select,
.pub-driver-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.pub-quote-preview {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.pub-quote-preview__price {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pub-navy);
}

.pub-quote-preview__note { font-size: 0.82rem; color: var(--pub-muted); }

.pub-btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
}

.pub-btn--primary {
  background: var(--pub-accent);
  color: var(--pub-navy);
}

.pub-btn--primary:hover { background: var(--pub-accent-hover); }

.pub-btn--ghost {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--pub-navy);
}

.pub-btn--block { width: 100%; }
.pub-btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

.pub-strip {
  background: var(--pub-navy);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.pub-section {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.pub-section--alt {
  background: var(--pub-alt);
  max-width: none;
  /* full-bleed band; inner content stays centered */
  padding-left: 0;
  padding-right: 0;
}
.pub-section--alt > * {
  max-width: var(--pub-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
.pub-section--narrow { max-width: 520px; }

.pub-section h2,
.pub-section__title {
  font-size: 1.5rem;
  color: var(--pub-navy);
  margin: 0 0 1.5rem;
  font-weight: 800;
  text-align: center;
  width: 100%;
}

.pub-steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pub-steps article {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid #dbe3ee;
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.05);
}

.pub-steps span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  background: var(--pub-navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.pub-steps h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.pub-steps p { margin: 0; font-size: 0.9rem; color: var(--pub-muted); }

.pub-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Service photo grid — equal cards, last row centered (not stuck left) */
.pub-cards--photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
}

.pub-cards--photo .pub-card--photo {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 560px) {
  .pub-cards--photo .pub-card--photo {
    flex: 1 1 calc(50% - 0.6rem);
    max-width: calc(50% - 0.6rem);
  }
}

@media (min-width: 960px) {
  .pub-cards--photo .pub-card--photo {
    flex: 0 1 calc(33.333% - 0.8rem);
    max-width: 340px;
    min-width: 260px;
  }
}

.pub-card {
  background: #fff;
  border-radius: var(--pub-radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.15s, transform 0.15s;
}

.pub-card:hover {
  box-shadow: var(--pub-shadow);
  transform: translateY(-2px);
}

.pub-card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.06);
  border-radius: 14px;
}

.pub-card--photo:hover {
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.12);
  border-color: #cbd5e1;
}

.pub-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eef5, #f1f5f9);
  flex-shrink: 0;
}

.pub-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.25s ease;
}

.pub-card--photo:hover .pub-card__img img {
  transform: scale(1.03);
}

.pub-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.pub-card h3 { margin: 0 0 0.25rem; color: var(--pub-navy); font-size: 1.05rem; }
.pub-card p { margin: 0 0 0.65rem; font-weight: 700; color: var(--pub-accent-hover); }
.pub-card ul { margin: 0 0 0.75rem; padding-left: 1.1rem; font-size: 0.85rem; color: var(--pub-muted); flex: 1; }
.pub-card__link { font-size: 0.88rem; font-weight: 700; color: var(--pub-navy); margin-top: auto; }

/* Tracking block: phone + copy side by side, contained */
.pub-feature-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .pub-feature-split {
    grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 0.95fr);
    gap: 2.5rem;
  }
}

.pub-feature-split__img {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eef5;
  border: 1px solid #e2e8f0;
  box-shadow: var(--pub-shadow);
  aspect-ratio: 4 / 3;
}

.pub-feature-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.pub-feature-split__copy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  color: var(--pub-navy);
}

.pub-feature-split__copy .pub-prose {
  margin: 0 0 1.25rem;
}

.pub-moves {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.pub-move {
  background: #fff;
  border-radius: var(--pub-radius);
  padding: 1rem;
  border: 1px solid #e2e8f0;
  flex: 1 1 170px;
  max-width: 220px;
  min-width: 150px;
  text-align: center;
}

.pub-move strong { display: block; font-size: 0.88rem; color: var(--pub-navy); }
.pub-move p { margin: 0.25rem 0; font-size: 0.82rem; color: var(--pub-muted); }
.pub-move__price { font-weight: 800; color: var(--pub-navy); }
.pub-move__stars { color: #f59e0b; font-size: 0.75rem; margin-left: 0.35rem; }

.pub-compare {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pub-compare h3 { margin: 0 0 0.75rem; color: var(--pub-navy); }
.pub-compare ul { margin: 0; padding-left: 1.2rem; font-size: 0.92rem; }
.pub-compare__them { opacity: 0.75; }

.pub-faq details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
}

.pub-faq summary { font-weight: 600; cursor: pointer; color: var(--pub-navy); }
.pub-faq p { margin: 0.65rem 0 0; font-size: 0.92rem; color: var(--pub-muted); }

.pub-cta-band {
  background: var(--pub-navy);
  color: #fff;
  text-align: center;
  padding: 3rem 1.25rem;
}

.pub-cta-band h2 { margin: 0 0 0.5rem; font-size: 1.65rem; }
.pub-cta-band p { margin: 0 0 1.25rem; opacity: 0.9; }

.pub-page-head {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  text-align: center;
}

.pub-page-head h1 { margin: 0 0 0.5rem; color: var(--pub-navy); font-size: clamp(1.65rem, 4vw, 2.25rem); }
.pub-page-head p { margin: 0 0 1rem; color: var(--pub-muted); }
.pub-page-head--service { padding-bottom: 1.25rem; }

/* Service page primary Get quote (Collect A / Deliver B) */
.pub-section--quote-first {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}

.pub-svc-quote {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.15rem 1rem 1.2rem;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
  border: 2px solid #34d399;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pub-svc-quote__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0b1f3a;
  text-align: center;
}

.pub-svc-quote__sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

.pub-svc-quote__form .pub-route-field {
  margin-bottom: 0.65rem;
}

.pub-svc-quote__cta {
  margin-top: 0.35rem;
  min-height: 52px;
  font-size: 1.05rem;
  font-weight: 800;
}

.pub-svc-quote__trust {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

.pub-service-price-line {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
}

.pub-quote-mini--side {
  align-self: start;
}

/* Sticky Get quote on service pages (phone) */
.pub-svc-sticky {
  display: none;
}

@media (max-width: 639px) {
  .pub-svc-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.96) 28%, #f8fafc);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .pub-svc-sticky.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }

  .pub-svc-sticky .pub-btn {
    min-height: 50px;
    font-size: 1.05rem;
    font-weight: 800;
  }

  body:has(.pub-svc-sticky) .pub-main {
    padding-bottom: 4.5rem;
  }

  .pub-svc-quote {
    margin: 0 0.15rem;
    padding: 1rem 0.85rem 1.1rem;
  }

  .pub-svc-quote .pub-route-field {
    padding: 0.65rem 0.65rem 0.7rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
  }

  .pub-svc-quote .pub-route-input {
    min-height: 52px;
    font-size: 16px !important;
  }

  .pub-page-head--service .pub-trust-visual {
    margin-top: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
  }

  .pub-page-head--service .pub-trust-visual__photo {
    max-height: 160px;
    width: 100%;
    object-fit: cover;
  }
}

/* Real crew photo + official JKE logo — one shot, no double-logo composites */
.pub-trust-visual {
  position: relative;
  max-width: 720px;
  margin: 1.25rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eef5, #f1f5f9);
  border: 1px solid #dbe3ee;
  box-shadow: var(--pub-shadow);
  aspect-ratio: 16 / 9;
}

.pub-trust-visual__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.pub-trust-visual__logo,
.pub-card__logo {
  display: none !important;
}

.pub-trust-visual__logo {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.18);
  line-height: 0;
}

.pub-trust-visual__logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 120px;
}

.pub-trust-visual--compact {
  max-width: 100%;
  margin: 0 0 1rem;
  aspect-ratio: 3 / 2;
}

.pub-trust-visual--compact .pub-trust-visual__logo img {
  height: 30px;
}

.pub-card__img--brand .pub-card__logo {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  background: #fff;
  border-radius: 7px;
  padding: 0.28rem 0.45rem;
  box-shadow: 0 3px 12px rgba(11, 31, 58, 0.16);
  line-height: 0;
}

.pub-card__img--brand .pub-card__logo img {
  display: block;
  height: 26px;
  width: auto;
}

.pub-book-form {
  max-width: var(--pub-max);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.pub-book-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .pub-book-grid { grid-template-columns: 1fr 1fr; }
}

.pub-book-form fieldset {
  border: 1px solid #e2e8f0;
  border-radius: var(--pub-radius);
  background: #fff;
  padding: 1.25rem;
  margin: 0;
}

.pub-book-form legend {
  font-weight: 700;
  color: var(--pub-navy);
  padding: 0 0.35rem;
}

.pub-book-floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: end;
}
.pub-book-floors > label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  min-width: 0;
}
.pub-book-floors input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
}

/* Access — lift vs stairs (no misunderstanding) */
.pub-access-block {
  margin: 1rem 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.pub-access-block .pub-wizard-subh {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.pub-access-ends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.65rem;
}
@media (max-width: 640px) {
  .pub-access-ends { grid-template-columns: 1fr; }
}
.pub-access-end {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
}
.pub-access-end__title {
  display: block;
  font-size: 0.92rem;
  color: #0b1f3a;
  margin-bottom: 0.45rem;
}
.pub-access-floor-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
}
.pub-access-floor {
  width: 100%;
  margin-top: 0.3rem;
}
.pub-lift-pick {
  margin-top: 0.65rem;
}
.pub-lift-pick__q {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}
.pub-lift-pick__opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}
.pub-lift-opt {
  display: block;
  margin: 0;
  cursor: pointer;
}
.pub-lift-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.pub-lift-opt__card {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.pub-lift-opt__card--stairs {
  border-color: #fdba74;
}
.pub-lift-opt input:checked + .pub-lift-opt__card {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2563eb;
}
.pub-lift-opt input:checked + .pub-lift-opt__card--stairs {
  border-color: #ea580c;
  background: #fff7ed;
  box-shadow: 0 0 0 1px #ea580c;
}
.pub-lift-opt__title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}
.pub-lift-opt__sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}
.pub-access-price-hint {
  margin: 0.7rem 0 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 600;
}
.pub-access-price-hint.is-lift {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.pub-access-price-hint.is-mixed {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.pub-quote-box {
  background: linear-gradient(135deg, #0b1f3a 0%, #14325a 100%);
  color: #fff;
  border-radius: var(--pub-radius);
  padding: 1.25rem;
  margin: 1rem 0;
}

.pub-quote-box__label { margin: 0; font-size: 0.82rem; opacity: 0.85; }
.pub-quote-box__total { margin: 0.25rem 0; font-size: 2rem; font-weight: 800; }
.pub-quote-box__deposit,
.pub-quote-box__balance { margin: 0.15rem 0; font-size: 0.92rem; }
.pub-quote-box__note { margin: 0.65rem 0 0; font-size: 0.78rem; opacity: 0.75; }

.pub-book-legal { font-size: 0.78rem; color: var(--pub-muted); margin: 0 0 1rem; }

/* ── Complete booking wizard ── */
.pub-wizard {
  max-width: 560px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem 2rem;
}

.pub-wizard-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pub-wizard-step {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 0.55rem 0.35rem;
  border-radius: 8px;
  background: #eef2f7;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  line-height: 1.2;
  white-space: nowrap;
}
.pub-wizard-step__t {
  display: inline;
}

.pub-wizard-step.is-active {
  color: #0b1f3a;
  background: #fff;
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.08);
}

.pub-wizard-step.is-done {
  color: #047857;
  background: #ecfdf5;
}

.pub-wizard-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.07);
  overflow: visible;
}

.pub-wizard-panel[hidden] {
  display: none !important;
}

.pub-wizard-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--pub-navy);
}

.pub-wizard-panel label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--pub-navy);
  min-width: 0;
}
.pub-wizard-panel label > .pub-ac-wrap,
.pub-wizard-panel label > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.pub-wizard-panel label > select {
  width: 100%;
  min-width: 0;
}

/* Text/select fields only — NEVER strip checkboxes (terms tick was invisible) */
.pub-wizard-panel input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.pub-wizard-panel select,
.pub-wizard-panel textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px; /* iOS: no zoom on focus */
  line-height: 1.3;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.pub-wizard-panel input:not([type="checkbox"]):not([type="radio"]):focus,
.pub-wizard-panel select:focus,
.pub-wizard-panel textarea:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 1px;
  border-color: #f59e0b;
}

.pub-wizard-hint {
  font-size: 0.88rem;
  color: var(--pub-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.pub-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pub-wizard-actions .pub-btn {
  flex: 1 1 auto;
  min-width: 120px;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
}

.pub-wizard-actions .pub-btn--primary {
  flex: 1.4 1 auto;
}

body.pub--book .pub-wizard-panel {
  padding-bottom: 1.25rem;
}

/* room for fixed sticky CTA on mobile */
body.pub--book .pub-wizard {
  padding-bottom: 5.5rem;
}

@media (min-width: 900px) {
  body.pub--book .pub-wizard {
    padding-bottom: 2rem;
  }
}

.pub-wizard-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  color: var(--pub-text);
}

.pub-quote-reveal {
  background: linear-gradient(135deg, #0b1f3a 0%, #14325a 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  margin: 0 0 1.15rem;
  text-align: center;
}

.pub-quote-reveal .pub-quote-box__label {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.pub-quote-reveal .pub-quote-box__total {
  margin: 0.35rem 0 0.5rem;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pub-quote-reveal .pub-quote-box__note {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.85;
  line-height: 1.4;
}

.pub-wizard-status {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

body.pub--book .pub-page-head {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pub-wizard-trust {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #047857;
  font-weight: 600;
}

.pub-wizard-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--pub-navy);
}

.pub-wizard-perks li {
  padding: 0.3rem 0;
}

.pub-wizard-subh {
  margin: 1.1rem 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pub-navy);
  letter-spacing: 0.01em;
}

.pub-wizard-subh:first-of-type {
  margin-top: 0.35rem;
}

/* Book — terms accept checkbox (chargeback evidence) */
.pub-wizard-panel .pub-terms-accept,
.pub-terms-accept {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  padding: 0.95rem 1rem;
  background: #eff6ff;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.pub-terms-accept.is-on {
  background: #ecfdf5;
  border-color: #10b981;
}
/* Explicit native checkbox — override appearance:none + width:100% */
.pub-wizard-panel input#w-terms-accept[type="checkbox"],
.pub-terms-accept input[type="checkbox"],
input#w-terms-accept {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 1.4rem !important;
  height: 1.4rem !important;
  min-width: 1.4rem !important;
  min-height: 1.4rem !important;
  max-width: 1.4rem !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  border: 2px solid #1d4ed8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  accent-color: #059669;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
  opacity: 1 !important;
  visibility: visible !important;
}
.pub-terms-accept a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
  pointer-events: auto;
}
.pub-terms-accept span {
  flex: 1;
  min-width: 0;
}

/* ── Legal / terms pages ── */
.pub-legal {
  max-width: 46rem;
  margin: 0 auto;
}
.pub-legal__highlights {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
}
.pub-legal__highlights-title {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #047857;
  margin-bottom: 0.5rem;
}
.pub-legal__highlights ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #0f172a;
  line-height: 1.5;
}
.pub-legal__highlights li {
  margin: 0.25rem 0;
}
.pub-legal__toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.75rem;
}
.pub-legal__toc strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #0b1f3a;
}
.pub-legal__toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 1;
}
@media (min-width: 640px) {
  .pub-legal__toc ol {
    columns: 2;
    column-gap: 1.5rem;
  }
}
.pub-legal__toc li {
  margin: 0.2rem 0;
  break-inside: avoid;
  font-size: 0.88rem;
  line-height: 1.35;
}
.pub-legal__toc a {
  color: #1d4ed8;
  text-decoration: none;
}
.pub-legal__toc a:hover {
  text-decoration: underline;
}
.pub-legal__block {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.pub-legal__block:last-of-type {
  border-bottom: none;
}
.pub-legal__block h2 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  color: #0b1f3a;
  line-height: 1.3;
}
.pub-legal__block p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}
.pub-terms-gate {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1.1rem 1.15rem !important;
}
.pub-terms-gate__link {
  font-weight: 700;
  color: #1d4ed8;
}
.pub-terms-request {
  display: grid;
  gap: 0.75rem;
  max-width: 22rem;
}
.pub-terms-request__label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.pub-terms-request input {
  padding: 0.65rem 0.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
}
.pub-terms-gate__done {
  text-align: center;
  padding: 0.5rem 0;
}
.pub-terms-gate__tick {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: #059669;
}

/* ── Cookie consent banner (modern Accept / Necessary only) ── */
#jke-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100050;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
#jke-cookie-banner[hidden] {
  display: none !important;
}
.jke-cookie-banner__card {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  background: #0b1f3a;
  color: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35);
  padding: 1.1rem 1.15rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.jke-cookie-banner__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.jke-cookie-banner__text {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}
.jke-cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
  font-weight: 600;
}
.jke-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.jke-cookie-banner__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 10px;
  padding: 0.7rem 1.05rem;
  line-height: 1.2;
}
.jke-cookie-banner__btn--accept {
  background: #c9a227;
  color: #0b1f3a;
}
.jke-cookie-banner__btn--accept:hover {
  filter: brightness(1.05);
}
.jke-cookie-banner__btn--necessary {
  background: transparent;
  color: #e2e8f0;
  border: 1.5px solid rgba(226, 232, 240, 0.45);
}
.jke-cookie-banner__btn--necessary:hover {
  border-color: #fff;
  color: #fff;
}
.jke-cookie-banner__fine {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}
body.jke-cookie-open {
  /* leave room so sticky CTAs aren’t fully covered on short phones */
  padding-bottom: 0;
}
@media (max-width: 520px) {
  .jke-cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .jke-cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

/* /book on phone — slim cookie bar above sticky CTA, not a wall of text */
@media (max-width: 639px) {
  body.pub--book.jke-cookie-open #jke-cookie-banner {
    padding: 0.35rem 0.55rem;
    z-index: 93;
  }

  body.pub--book.jke-cookie-book-compact #jke-cookie-banner {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.pub--book.jke-cookie-book-compact.pub-step-1 #jke-cookie-banner {
    bottom: calc(0.25rem + env(safe-area-inset-bottom, 0px));
  }

  body.pub--book.jke-cookie-book-compact.pub-step-2 #jke-cookie-banner,
  body.pub--book.jke-cookie-book-compact.pub-step2-when #jke-cookie-banner {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.pub--book.jke-cookie-book-compact.pub-step-3 #jke-cookie-banner {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.pub--book.jke-cookie-book-compact .jke-cookie-banner__card {
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    max-width: none;
  }

  body.pub--book.jke-cookie-book-compact .jke-cookie-banner__title {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
  }

  body.pub--book.jke-cookie-book-compact .jke-cookie-banner__text,
  body.pub--book.jke-cookie-book-compact .jke-cookie-banner__fine {
    display: none;
  }

  body.pub--book.jke-cookie-book-compact .jke-cookie-banner__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  body.pub--book.jke-cookie-book-compact .jke-cookie-banner__btn {
    flex: 1;
    width: auto;
    min-height: 40px;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }

  body.pub--book.pub-step-1 .pub-footer,
  body.pub--book.pub-step-2 .pub-footer,
  body.pub--book.pub-step-3 .pub-footer {
    display: none !important;
  }

  body.pub--book .pub-book-layout {
    min-height: auto;
  }
}

/* Step 3: route + price locked — only house numbers editable */
.pub-route-locked {
  background: #ecfdf5;
  border: 2px solid #34d399;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 1.15rem;
}
.pub-route-locked__head {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
  margin-bottom: 0.35rem;
}
.pub-route-locked__path {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}
.pub-route-locked__addr {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
  word-break: break-word;
}
.pub-route-locked__addr::before {
  font-weight: 800;
  color: #047857;
}
#w-route-locked-from::before { content: "Collect: "; }
#w-route-locked-to::before { content: "Deliver: "; }
.pub-route-locked__price {
  margin-top: 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1f3a;
}
.pub-route-locked__change {
  margin-top: 0.65rem;
  background: none;
  border: none;
  padding: 0;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.pub-route-locked__change:hover { color: #1e3a8a; }
.pub-input--locked,
input.pub-input--locked[readonly] {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed;
  opacity: 0.95;
}
.pub-door-area {
  margin: -0.25rem 0 0.5rem;
  font-weight: 600;
  color: #334155;
}

.pub-door-hint {
  margin: 0 0 0.65rem;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Door address preview — street/PC locked + full “Driver will see” line */
.pub-door-block {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.pub-door-route {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.35;
}
.pub-door-full {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  padding: 0.4rem 0.55rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}
.pub-door-full.is-ready {
  color: #166534;
  border-color: #86efac;
  background: #f0fdf4;
  font-weight: 600;
}

.pub-lock-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Running booking story — never forget what they already told us */
.pub-wizard-story {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.pub-wizard-story[hidden] {
  display: none !important;
}

.pub-wizard-story strong {
  color: #047857;
}

/* ── Book page: clean wizard + order rail (no stacked banners) ── */
body.pub--book .pub-page-head--book {
  padding: 1.1rem 1.25rem 0.35rem;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
}

body.pub--book .pub-page-head--book h1 {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

body.pub--book .pub-page-head__sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--pub-muted);
  line-height: 1.4;
}

.pub-route-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #0f172a;
}

.pub-route-chip[hidden] {
  display: none !important;
}

.pub-route-chip__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1d4ed8;
}

.pub-route-chip__path {
  font-weight: 600;
  word-break: break-word;
}

.pub-book-layout {
  display: grid;
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  /* Order summary left · booking wizard RIGHT */
  .pub-book-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
  }

  .pub-book-layout > .pub-book-rail {
    order: 1;
  }

  .pub-book-layout > .pub-wizard {
    order: 2;
  }
}

body.pub--book .pub-wizard {
  max-width: none;
  margin: 0;
  min-width: 0;
  overflow: visible;
}

/* Hide legacy banners if JS re-shows them */
body.pub--book .pub-continue-banner,
body.pub--book .pub-wizard-story,
body.pub--book .pub-wizard-trust {
  display: none !important;
}

/* Step 2: basket first on phone, picker + basket side by side on wider screens */
.pub-items-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

@media (max-width: 959px) {
  /* On phone: only the wizard — order rail / live stats go away (were stacking & overlapping) */
  .pub-book-rail {
    display: none !important;
  }
}

@media (max-width: 639px) {
  .pub-items-layout {
    grid-template-columns: 1fr;
  }

  .pub-items-basket {
    order: -1;
    position: sticky;
    top: 0;
    z-index: 25;
    max-height: 28vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pub-items-main {
    order: 0;
  }

  .pub-quick-chips {
    display: flex;
    flex-wrap: wrap;
  }

  body.pub--book .pub-page-head--book {
    padding: 0.85rem 0.9rem 0.25rem;
  }

  body.pub--book .pub-page-head--book h1 {
    font-size: 1.28rem;
  }

  body.pub--book .pub-book-layout {
    padding: 0 0.9rem 5.5rem;
    margin-bottom: 1rem;
  }

  body.pub--book .pub-wizard-panel {
    padding: 1rem 0.9rem 1.15rem;
  }
}

@media (min-width: 640px) {
  .pub-items-layout {
    /* main (floors/search) wide LEFT — basket narrow RIGHT (DOM has basket first) */
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 1.15rem;
  }
  .pub-items-layout > .pub-items-main {
    grid-column: 1;
    grid-row: 1;
  }
  .pub-items-layout > .pub-items-basket {
    grid-column: 2;
    grid-row: 1;
  }
}

.pub-items-main {
  min-width: 0;
}

.pub-items-basket {
  background: #fff;
  border: 2px solid #93c5fd;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

@media (min-width: 640px) {
  .pub-items-basket {
    position: sticky;
    top: 0.75rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
}

.pub-items-basket__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pub-items-basket__head strong {
  font-size: 0.95rem;
}

.pub-items-basket__head .pub-mini-note {
  margin: 0;
  white-space: nowrap;
}

.pub-items-basket__list {
  min-height: 1.2rem;
}

.pub-items-basket__empty {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.pub-items-basket__flash {
  margin: 0.5rem 0 0;
  padding: 0.45rem 0.6rem;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 8px;
  color: #065f46;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Client /book — van fill is internal sizing only */
body.pub--book .pub-van-meter,
body.pub--book .pub-van-hint,
body.pub--book #order-load-m3 {
  display: none !important;
}

.pub-van-meter {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
}

.pub-van-meter__track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.pub-van-meter__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  transition: width 0.25s ease;
}

.pub-van-meter__label {
  font-size: 0.8rem;
  color: #475569;
  white-space: nowrap;
}

.pub-items-search-label {
  margin: 0;
}

.pub-items-search {
  width: 100%;
  margin-top: 6px;
  padding: 0.7rem 0.85rem;
  border: 2px solid #93c5fd;
  border-radius: 10px;
  font-size: 1rem;
}

.pub-cat-status {
  margin: 0.35rem 0 0.4rem;
}

.pub-search-results {
  margin: 0 0 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pub-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.pub-quick-chips button {
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.88rem;
  cursor: pointer;
  font-weight: 700;
  color: #1e293b;
  touch-action: manipulation;
  transition: transform 0.08s ease, border-color 0.12s ease, background 0.12s ease;
}

.pub-quick-chips button:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.pub-quick-chips button:active,
.pub-quick-chips button.is-tapped {
  transform: scale(0.96);
  background: #dbeafe;
}

.pub-items-extra {
  margin-bottom: 0;
}

.pub-items-extra textarea {
  margin-top: 0.4rem;
  width: 100%;
}

.pub-btn.is-busy {
  opacity: 0.88;
  pointer-events: none;
  position: relative;
}

.pub-btn.is-busy::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.45em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.1em;
  animation: pub-btn-spin 0.65s linear infinite;
}

@keyframes pub-btn-spin {
  to { transform: rotate(360deg); }
}

/* One whole-row control — never nest a second Add button inside */
.pub-search-results .pub-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.pub-search-results .pub-search-row:hover,
.pub-search-results .pub-search-row:focus-visible {
  background: #eff6ff;
  outline: none;
}

.pub-search-results .pub-search-row:active,
.pub-search-results .pub-search-row.is-added {
  background: #dbeafe;
}

.pub-search-results .pub-search-row:last-child {
  border-bottom: none;
}

.pub-search-row__info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pub-search-row__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
}

.pub-search-row__meta {
  font-size: 0.78rem;
  color: #64748b;
}

/* Single Add label per row — not a nested .pub-btn */
.pub-search-row__add {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: var(--pub-accent, #fbbf24);
  color: var(--pub-navy, #0b1f3a);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none; /* whole row is the hit target */
}

.pub-search-results .pub-search-row mark {
  background: #fef08a;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.pub-search-empty {
  padding: 0.75rem;
  font-size: 0.88rem;
  color: #64748b;
}

.pub-search-empty__cta,
.pub-search-empty button {
  margin-top: 0.5rem;
}

.pub-quick-chips[hidden] {
  display: none !important;
}

.pub-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.pub-quick-chip__plus {
  font-weight: 800;
  color: #2563eb;
}

.pub-custom-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0.75rem 1rem;
  min-height: 48px;
  border: 1px dashed #93c5fd;
  border-radius: 10px;
  background: #f8fafc;
  color: #1d4ed8;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.pub-custom-open:hover {
  background: #eff6ff;
  border-color: #3b82f6;
}

.pub-custom-gate__photo {
  width: 100%;
  min-height: 48px !important;
  margin-bottom: 0.35rem;
}

.pub-custom-gate__photo-name {
  margin: 0 0 0.65rem;
  text-align: center;
  color: #047857;
  font-weight: 600;
}

.pub-custom-gate__dims {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
}

.pub-custom-gate__dims summary {
  cursor: pointer;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.45rem;
}

.pub-custom-item {
  margin-top: 0.5rem;
  padding: 0.85rem 0.9rem;
  background: #f8fafc;
  border: 1px dashed #93c5fd;
  border-radius: 12px;
}

.pub-custom-item__lead {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #334155;
}

.pub-custom-item__desc {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.pub-custom-item__desc input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
}

.pub-custom-dims {
  margin-bottom: 0.65rem;
}

.pub-custom-dims__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.pub-custom-dims__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pub-custom-dims__row input {
  width: 4.2rem;
  padding: 0.5rem 0.4rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.pub-custom-dims__row span {
  color: #94a3b8;
  font-weight: 700;
}

.pub-custom-photo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.pub-custom-photo__btn {
  padding: 0.45rem 0.75rem !important;
  font-size: 0.85rem !important;
  width: auto !important;
}

.pub-custom-preview {
  margin: 0 0 0.65rem;
  padding: 0.5rem 0.65rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #1e40af;
}

.pub-custom-add {
  width: 100%;
}

.pub-custom-item.is-highlight {
  border-color: #2563eb;
  border-style: solid;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.pub-proceed-hint {
  margin: 0.5rem 0 0;
  color: #047857;
}
.pub-proceed-hint.is-error {
  color: #b45309;
  font-weight: 600;
}

.pub-btn.is-ready.pub-btn--primary {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.pub-btn.is-pulse {
  animation: pub-cta-pulse 1.6s ease-in-out infinite;
}

@keyframes pub-cta-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.pub-items-basket.is-nudge {
  animation: pub-basket-nudge 0.55s ease;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  border-radius: 10px;
}

@keyframes pub-basket-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

/* Order rail cards */
.pub-rail-card--order {
  border: 2px solid #93c5fd;
  background: #f8fafc;
  position: sticky;
  top: 1rem;
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
}

.pub-rail-card__head {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

/* Never show trust / live blocks under receipt (killed for good) */
.pub-rail-card--trust,
.pub-rail-trust-line,
.pub-book-rail .pub-rail-list,
#live-activity,
#rail-motives,
#stat-searching,
#stat-loading,
#live-feed,
#van-cargo {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.order-line {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #cbd5e1;
}

.order-line:last-of-type {
  border-bottom: none;
}

.order-line__k {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
}

.order-line__v {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.12rem;
  color: #0f172a;
  word-break: break-word;
  line-height: 1.35;
}

.order-line__price {
  font-size: 1.3rem;
  font-weight: 800;
}

.order-load-lines {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
}

.order-confirm {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.7rem;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 0.86rem;
  color: #065f46;
  font-weight: 600;
}


/* Sticky bottom basket strip (phone CTA) */
.pub-sticky-basket {
  max-width: 520px;
  margin: 0 auto 0.45rem;
  padding: 0 0.1rem;
}
.pub-sticky-basket[hidden] {
  display: none !important;
}
.pub-sticky-basket__head {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1d4ed8;
  margin: 0 0 0.3rem;
}
.pub-sticky-basket__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
  max-height: 3.4rem;
}
.pub-sticky-basket__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem 0.55rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #0f172a;
  white-space: nowrap;
}
.pub-sticky-basket__chip strong {
  font-weight: 700;
}
.pub-sticky-flash {
  max-width: 520px;
  margin: 0 auto 0.35rem;
  padding: 0.4rem 0.65rem;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #065f46;
  text-align: center;
}
.pub-sticky-flash[hidden] {
  display: none !important;
}
.pub-sticky-cta:has(.pub-sticky-basket:not([hidden])) {
  padding-top: 0.5rem;
}

.pub-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
}

.pub-sticky-cta__inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pub-sticky-cta__price {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
}

.pub-sticky-cta .pub-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 9.5rem;
  margin: 0;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .pub-sticky-cta {
    display: none !important;
  }
}

.pub-wizard-panel.is-pricing .pub-wizard-summary::after {
  content: " · price loading…";
  color: #64748b;
  font-weight: 500;
}

/* Homepage continuation banner */
.pub-continue-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #065f46;
  line-height: 1.4;
  font-weight: 600;
}

.pub-continue-banner[hidden] {
  display: none !important;
}

.pub-continue-banner__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pub-pulse-dot 1.6s ease-out infinite;
}

@keyframes pub-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Side rail — only the receipt card; no second sticky stack underneath */
.pub-book-rail {
  display: block;
  position: relative;
  top: auto;
  align-self: start;
  min-width: 0;
}

.pub-book-rail #order-ticket {
  position: sticky;
  top: 1rem;
  z-index: 2;
  margin: 0;
}

.pub-rail-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pub-rail-card--live {
  background: linear-gradient(165deg, #0b1f3a 0%, #14325a 55%, #0f2744 100%);
  color: #e2e8f0;
  border-color: #1e3a5f;
}

.pub-rail-card--soft {
  background: #f8fafc;
}

.pub-rail-live-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: #94a3b8;
}

.pub-rail-live-head strong {
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pub-rail-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pub-pulse-dot 1.4s ease-out infinite;
}

.pub-rail-stats {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pub-rail-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.7rem;
  align-items: baseline;
}

.pub-rail-stat__n {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  min-width: 2.2ch;
  line-height: 1;
}

.pub-rail-stat__l {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.25;
}

/* Simple van silhouette with loading cargo */
.pub-rail-van {
  position: relative;
  height: 56px;
  margin: 0.35rem 0 0.85rem;
  overflow: hidden;
}

.pub-rail-van__body {
  position: absolute;
  left: 8px;
  bottom: 14px;
  width: 62%;
  height: 28px;
  background: #f8fafc;
  border-radius: 4px 6px 2px 2px;
  border: 2px solid #94a3b8;
  overflow: hidden;
}

.pub-rail-van__cargo {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  padding: 3px 5px;
  flex-wrap: nowrap;
}

.pub-cargo-box {
  display: block;
  width: 10px;
  height: 10px;
  background: #f59e0b;
  border-radius: 2px;
  flex: 0 0 auto;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.pub-cargo-box:nth-child(3n) { background: #38bdf8; height: 12px; }
.pub-cargo-box:nth-child(3n+1) { background: #fbbf24; height: 9px; }
.pub-cargo-box:nth-child(3n+2) { background: #a78bfa; height: 14px; }

.pub-cargo-box.is-loading {
  transform: translateY(18px);
  opacity: 0;
}

.pub-cargo-box.is-loaded {
  transform: translateY(0);
  opacity: 1;
}

.pub-rail-van__cab {
  position: absolute;
  right: 18%;
  bottom: 14px;
  width: 22%;
  height: 22px;
  background: #e2e8f0;
  border: 2px solid #94a3b8;
  border-radius: 4px 8px 2px 2px;
  border-left: none;
}

.pub-rail-van__cab::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 4px;
  width: 10px;
  height: 8px;
  background: #7dd3fc;
  border-radius: 2px;
}

.pub-rail-van__wheel {
  position: absolute;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #334155;
  border: 2px solid #94a3b8;
  animation: pub-wheel-spin 1.2s linear infinite;
}

.pub-rail-van__wheel--1 { left: 18%; }
.pub-rail-van__wheel--2 { left: 55%; }

@keyframes pub-wheel-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pub-rail-feed {
  margin: 0;
  font-size: 0.8rem;
  color: #a7f3d0;
  line-height: 1.35;
  min-height: 2.4em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pub-rail-feed.is-swap {
  opacity: 0;
  transform: translateY(4px);
}

.pub-rail-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pub-navy);
}

.pub-rail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: var(--pub-text);
  line-height: 1.4;
}

.pub-rail-list li {
  padding: 0.55rem 0.65rem;
  margin: 0 0 0.35rem;
  border-radius: 8px;
  border-left: 3px solid transparent;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.pub-rail-list li strong {
  color: var(--pub-navy);
}

.pub-rail-list li.is-active {
  background: #eff6ff;
  border-left-color: #2563eb;
}

.pub-rail-list li.is-done {
  opacity: 0.72;
  border-left-color: #10b981;
}

.pub-rail-card--soft .pub-wizard-perks {
  margin: 0;
  color: var(--pub-navy);
}

@media (max-width: 959px) {
  .pub-book-layout {
    display: grid;
    gap: 1rem;
  }

  .pub-book-layout > .pub-wizard {
    order: 0;
  }

  /* Never park a second card under the receipt on tablet/phone */
  .pub-book-layout > .pub-book-rail {
    display: none !important;
  }
}

.pub-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .pub-split { grid-template-columns: 1fr 340px; align-items: start; }
}

.pub-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pub-checklist li {
  padding: 0.45rem 0 0.45rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
}

.pub-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

.pub-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.pub-chips--center {
  justify-content: center;
}

.pub-chip {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--pub-navy);
  font-weight: 500;
}

.pub-chip:hover { border-color: var(--pub-navy); }

.pub-done {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
}

.pub-done h1 { color: var(--pub-navy); margin: 0 0 0.5rem; }
.pub-done__ref { font-size: 1.1rem; margin-bottom: 1.5rem; }

.pub-done__banner {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.pub-done__banner--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.pub-done__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pub-radius);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pub-done__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
  font-size: 0.92rem;
}

.pub-done__dl dt { color: var(--pub-muted); font-weight: 500; }
.pub-done__dl dd { margin: 0; font-weight: 600; }

.pub-done__alt { font-size: 0.88rem; color: var(--pub-muted); margin: 1rem 0; }
.pub-done__track { margin: 2rem 0; text-align: left; }
.pub-done__track-link {
  display: block;
  word-break: break-all;
  font-size: 0.88rem;
  color: #1a73e8;
  margin-top: 0.5rem;
}

.pub-done__help { font-size: 0.9rem; color: var(--pub-muted); margin-bottom: 1.5rem; }

.pub-code {
  display: block;
  background: #f1f5f9;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin: 0.75rem 0 1.25rem;
  word-break: break-all;
}

/* Sticky WhatsApp — floating chip (must never render as inline footer text) */
.jke-sticky-wa {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.jke-sticky-wa__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: min(18.5rem, calc(100vw - 1.7rem));
  padding: 0.7rem 0.95rem 0.7rem 0.75rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.jke-sticky-wa__btn:hover {
  background: #1ebe57;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.32);
}

.jke-sticky-wa__icon {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.15rem;
  line-height: 1;
}

.jke-sticky-wa__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  line-height: 1.2;
}

.jke-sticky-wa__text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: 0.01em;
}

.jke-sticky-wa__text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 520px) {
  .jke-sticky-wa__text small {
    display: none;
  }
  .jke-sticky-wa__btn {
    padding: 0.65rem 0.9rem 0.65rem 0.65rem;
  }
}

/* Booking wizard: WhatsApp FAB not rendered (see sticky_whatsapp block) */
body.pub--book .jke-sticky-wa {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.pub-footer {
  background: var(--pub-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.88rem;
}

.pub-footer__grid {
  max-width: var(--pub-max);
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.pub-footer strong { display: block; margin-bottom: 0.5rem; color: #fff; }
.pub-footer ul { list-style: none; padding: 0; margin: 0; }
.pub-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.pub-footer a:hover { color: #fff; }
.pub-footer li { margin-bottom: 0.35rem; }

.pub-footer__address {
  max-width: var(--pub-max);
  margin: 0 auto 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.pub-footer__address strong {
  display: inline;
  color: #fff;
}

.pub-footer__legal {
  max-width: var(--pub-max);
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.65;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

/* ── Contact list (About / support emails) ── */
.pub-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.pub-contact-list li {
  display: grid;
  gap: 0.15rem;
}

.pub-contact-list__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pub-muted);
}

.pub-contact-list a {
  color: var(--pub-navy);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.pub-contact-list a:hover {
  text-decoration: underline;
}

.pub-footer__address a {
  color: #fbbf24;
  text-decoration: none;
}

.pub-footer__address a:hover {
  text-decoration: underline;
}

/* ── About page ── */
.pub-address {
  display: block;
  font-style: normal;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pub-radius);
  padding: 1.25rem 1.35rem;
  line-height: 1.55;
  color: var(--pub-navy);
  box-shadow: var(--pub-shadow);
  max-width: 28rem;
}

.pub-card--static {
  cursor: default;
}

.pub-card--static:hover {
  transform: none;
}

.pub-checklist--warn li::before {
  content: "!";
  color: #b45309;
  font-weight: 800;
}

.pub-about-pain h3 {
  margin-top: 0;
}

.pub-about-band {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.pub-about-band__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pub-about-band__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pub-radius);
  padding: 1.25rem;
}

.pub-about-band__card h3 {
  margin: 0 0 0.5rem;
  color: var(--pub-navy);
  font-size: 1.05rem;
}

.pub-about-band__card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--pub-muted);
}

/* ── SEO breadcrumbs + footer link packs ── */
.pub-crumbs {
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0;
  font-size: 0.82rem;
  color: var(--pub-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  align-items: center;
}

.pub-crumbs a {
  color: var(--pub-navy);
  text-decoration: none;
  font-weight: 600;
}

.pub-crumbs a:hover { text-decoration: underline; }

.pub-prose {
  font-size: 1rem;
  color: var(--pub-muted);
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 48em;
}

.pub-mini-note {
  font-size: 0.78rem;
  color: var(--pub-muted);
  margin: 0.65rem 0 0;
  text-align: center;
}

.pub-chip--static {
  cursor: default;
  background: var(--pub-alt);
}

.pub-footer__seo {
  max-width: var(--pub-max);
  margin: 0 auto 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pub-footer__seo strong {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: 0.85rem;
}

.pub-footer__seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.pub-footer__seo-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.pub-footer__seo-links a:hover { color: #fff; }

/* Phone: suggestions MUST sit under the field (keyboard covers bottom sheets) */
.pub-ac-menu:not(.pub-ac-menu--sheet) {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0.35rem 0 0.5rem !important;
  max-height: min(240px, 40vh);
  z-index: 40;
  border: 2px solid #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}
.pub-ac-open {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.pub-ac-status {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
}
.pub-ac-item {
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ── Address autocomplete (proactive / Stripe-smooth) ── */
.pub-ac-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

/* Book wizard: dropdown sits in flow — never covers Deliver to / Next */
.pub-wizard-panel .pub-ac-menu {
  position: relative;
  top: 0.35rem;
  left: 0;
  right: 0;
  margin: 0 0 0.5rem;
  z-index: 2;
}

.pub-ac-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 500;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.16);
  max-height: min(340px, 55vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: pub-ac-in 0.12s ease-out;
}
@keyframes pub-ac-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Steady list — no re-animation flicker while typing */
.pub-ac-menu--live {
  animation: none;
}
.pub-ac-foot:empty {
  display: none;
}
.pub-ac-status--inline {
  border-top: 1px solid #e8eef5;
  margin-top: 0.15rem;
  padding-top: 0.45rem;
  font-size: 0.78rem;
  color: #64748b;
}
.pub-ac-item.is-active,
.pub-ac-item:hover {
  background: #eff6ff;
}
.pub-ac-item__main {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.98rem;
}
.pub-ac-item__main strong {
  font-weight: 700;
}
.pub-ac-item__sub {
  font-size: 0.8rem;
  color: #64748b;
}
.pub-ac-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #334155;
  flex-shrink: 0;
}
.pub-ac-badge--eu {
  background: #dbeafe;
  color: #1d4ed8;
}
.pub-ac-badge--addr {
  background: #dcfce7;
  color: #166534;
}
.pub-ac-item__hint {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: #15803d;
  margin-top: 0.2rem;
  line-height: 1.3;
}
.pub-ac-hl {
  background: #fef08a;
  color: inherit;
  font-weight: 800;
  border-radius: 2px;
  padding: 0 1px;
}

.pub-ac-backdrop { display: none !important; opacity: 0 !important; pointer-events: none !important; background: transparent !important; }

.pub-ac-backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
}

body.pub-ac-sheet-open {
  overflow: hidden;
}

.pub-ac-menu--sheet {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  margin: 0 !important;
  max-height: min(52vh, 420px) !important;
  border-radius: 16px 16px 0 0 !important;
  border-bottom: none !important;
  z-index: 9999 !important;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -12px 40px rgba(11, 31, 58, 0.22) !important;
}

.pub-ac-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem 0.45rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.pub-ac-sheet-close {
  border: none;
  background: #f1f5f9;
  color: #64748b;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.pub-ac-menu--sheet .pub-ac-item {
  min-height: 52px;
  padding: 0.75rem 0.85rem;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  display: block;
  box-sizing: border-box;
}

.pub-ac-status {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: #64748b;
}
.pub-lazy-lead {
  margin-top: 0;
  color: #475569;
}
.pub-lazy-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 0.75rem;
}
.pub-lazy-routes--intent {
  margin-top: 0.45rem;
}
.pub-lazy-chip {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  touch-action: manipulation;
}
.pub-lazy-chip:active {
  transform: scale(0.98);
  background: #eff6ff;
  border-color: #93c5fd;
}
.pub-lazy-auto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.85rem;
}
.pub-btn--pulse {
  animation: pub-btn-pulse 1.2s ease-in-out infinite;
}
@keyframes pub-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}
.pub-ac-intent {
  display: block;
  font-size: 0.72rem;
  color: #2563eb;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Lazy book: lift toggles + assembly + door confirm */
.pub-access-lift,
.pub-check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.45rem 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}
.pub-access-lift input,
.pub-check-line input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.pub-check-line__hint {
  font-weight: 500;
  color: #64748b;
  font-size: 0.82rem;
}
.pub-book-extras {
  margin: 0.85rem 0 0.5rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.pub-door-confirm {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: #f0f7ff;
}
.pub-door-confirm label {
  display: block;
  margin-bottom: 0.65rem;
}
.pub-intent-panel {
  margin: 0.5rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #c7d7f5;
  background: linear-gradient(180deg, #f0f6ff 0%, #f8fafc 100%);
  clear: both;
}
.pub-intent-panel[hidden] {
  display: none !important;
  margin: 0;
  padding: 0;
  border: 0;
}
.pub-intent-panel__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.15rem;
}
.pub-intent-panel__title {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}
.pub-intent-panel__sub {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #475569;
}
.pub-intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
  max-height: 5.5rem;
  overflow-y: auto;
}
.pub-intent-chip {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.pub-intent-chip.is-van {
  border-color: #f59e0b;
  background: #fffbeb;
}
.pub-intent-chip mark {
  background: #fef08a;
  font-weight: 700;
}
.pub-intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.pub-intent-links a {
  font-size: 0.78rem;
  color: #1d4ed8;
  text-decoration: none;
  border-bottom: 1px dotted #93c5fd;
}
.pub-next-week-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0.35rem 0 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #86efac;
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
}
.pub-next-week-offer__copy strong {
  display: block;
  color: #14532d;
  font-size: 0.95rem;
}
.pub-next-week-offer__btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.cal-slot.is-next-week-sweet {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.pub-ac-status {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
}
.pub-ac-input--busy {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.08) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: pub-ac-shimmer 1.1s linear infinite;
}
@keyframes pub-ac-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
/* Item search — keep results stable, no layout thrash */
.pub-search-results {
  contain: content;
}
.pub-quick-chips button {
  touch-action: manipulation;
  min-height: 40px;
}

/* Don't clip the suggestion dropdown */
.pub-quote-form,
.pub-hero__form-wrap,
.pub-hero,
.pub-wizard,
.pub-wizard-panel {
  overflow: visible;
}

.pub-ac-menu[hidden] {
  display: none !important;
}

.pub-ac-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--pub-text);
  min-height: 48px;
  touch-action: manipulation;
}

.pub-ac-item:last-child { border-bottom: 0; }

.pub-ac-item.is-active,
.pub-ac-item:hover,
.pub-ac-item:focus {
  background: #eef3ff;
  outline: none;
}

.pub-ac-item__main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pub-ac-item__main strong {
  font-weight: 700;
  color: var(--pub-navy);
}

.pub-ac-item__sub {
  font-size: 0.78rem;
  color: var(--pub-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.pub-ac-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
}

.pub-ac-badge--eu {
  background: #fef3c7;
  color: #92400e;
}

/* ── Mobile-first booking polish ── */
@media (max-width: 799px) {
  .pub-header__inner {
    padding: 0.55rem 0.9rem;
  }

  .pub-logo img {
    height: 38px;
  }

  .pub-hero {
    padding: 1.25rem 0.9rem 1.75rem;
    gap: 1.25rem;
  }

  .pub-hero h1 {
    font-size: 1.75rem;
  }

  .pub-hero__sub {
    font-size: 0.95rem;
  }

  .pub-hero__form-wrap,
  .pub-quote-form {
    padding: 1rem 0.85rem 1.1rem;
  }

  .pub-quote-form--hero {
    padding: 1.1rem 0.85rem 1.15rem !important;
  }

  .pub-quote-form--hero h2 {
    font-size: 1.2rem !important;
    margin-bottom: 0.65rem !important;
  }

  .pub-quote-form--hero .pub-route-field {
    margin-bottom: 0.75rem !important;
    padding: 0.7rem 0.7rem 0.75rem !important;
    gap: 0.35rem !important;
  }

  .pub-quote-form--hero .pub-route-input,
  .pub-quote-form input,
  .pub-quote-form select,
  .pub-book-form input,
  .pub-book-form select,
  .pub-book-form textarea {
    font-size: 16px !important; /* prevent iOS zoom */
    padding: 0.8rem 0.85rem !important;
    min-height: 50px !important;
  }

  .pub-quote-form--hero .pub-ac-menu:not(.pub-ac-menu--sheet) {
    position: relative !important;
    max-height: min(180px, 32vh);
  }

  .pub-btn {
    min-height: 48px;
    padding: 0.9rem 1.2rem;
    width: 100%;
  }

  .pub-page-head {
    padding: 1.25rem 0.9rem 0.5rem;
    text-align: left;
  }

  .pub-book-form {
    padding: 0 0.9rem 5.5rem; /* room for sticky quote CTA */
  }

  .pub-book-form fieldset {
    padding: 1rem;
  }

  .pub-book-floors {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pub-book-floors > label {
    margin-bottom: 0.75rem;
  }
  .pub-wizard-panel .pub-ac-menu {
    max-height: min(240px, 42vh);
  }

  .pub-quote-box--sticky {
    position: sticky;
    bottom: 0.5rem;
    z-index: 50;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  }

  .pub-section {
    padding: 1.75rem 0.9rem;
  }

  .pub-strip {
    gap: 0.65rem 1rem;
    font-size: 0.8rem;
    padding: 0.75rem 0.9rem;
  }

  .pub-footer {
    padding: 1.75rem 0.9rem 1.25rem;
  }

  .pub-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .pub-header__inner {
    padding-left: max(0.9rem, env(safe-area-inset-left));
    padding-right: max(0.9rem, env(safe-area-inset-right));
  }
  .pub-mobile-nav:not([hidden]) {
    padding-bottom: max(1.1rem, env(safe-area-inset-bottom));
  }
  .pub-quote-box--sticky {
    bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
}

/* ── Booking wizard calendar (up to 6 months) ── */
.pub-cal {
  margin: 1.1rem 0 0.75rem;
  padding: 0.9rem 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pub-radius);
  box-shadow: var(--pub-shadow);
}

/* Day-picker chrome — all widths (was phone-only → looked unstyled) */
.pub-step2-when-head {
  margin: 0 0 0.75rem;
  padding: 0.85rem 0.9rem 0.95rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.pub-step2-when-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0b1f3a;
  letter-spacing: -0.02em;
}

.pub-step2-when-sub {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
}

.pub-step2-edit-items.pub-btn,
button.pub-step2-edit-items {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 0 0.7rem;
  padding: 0.45rem 0.9rem !important;
  width: auto !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  color: #1e3a5f !important;
  font: inherit;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.pub-step2-edit-items.pub-btn:hover,
button.pub-step2-edit-items:hover {
  border-color: #93c5fd !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.pub-day-trust {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.75rem;
  display: grid;
  gap: 0.4rem;
  background: linear-gradient(165deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
}

.pub-day-trust li {
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #334155;
}

.pub-day-trust li strong {
  color: #0f172a;
  font-weight: 800;
}

.pub-day-trust--inline {
  display: block;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e3a5f;
  line-height: 1.35;
  text-align: center;
}

/* Avoid double "Pick your day" when when-head is showing */
body.pub-step2-when .pub-cal .pub-cal-ready__title,
body.pub-step2-when .pub-cal .pub-wizard-subh {
  display: none;
}

body.pub-step2-when .pub-day-trust--inline {
  display: none;
}

body.pub-step2-when .pub-cal {
  margin-top: 0.35rem;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

@media (max-width: 720px) {
  body.pub-step2-when .pub-cal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
}

.pub-cal-any-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: flex-end;
  margin: 0.55rem 0 0.35rem;
}

.pub-cal-any-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  flex: 1;
  min-width: 180px;
}

.pub-cal-any-input {
  font: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  min-height: 44px;
  max-width: 220px;
}

.pub-cal-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.pub-cal-page-btn {
  min-height: 40px !important;
  width: auto !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.85rem !important;
}

.cal-slot.is-long .cal-slot__badge {
  background: #0f766e;
  color: #fff;
}

.pub-cal .pub-wizard-subh {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.pub-cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0 0.85rem;
}

.pub-cal.is-loading {
  opacity: 0.92;
}

.pub-cal.is-prices-ready .cal-slot__jke,
.pub-cal.is-prices-ready .cal-slot__save {
  animation: pub-price-in 0.45s ease both;
}

.pub-cal.is-prices-ready #w-cal-selected {
  animation: pub-price-in 0.5s ease both;
}

@keyframes pub-price-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cal-slot--masked .cal-slot__jke {
  color: #94a3b8;
  letter-spacing: 0.12em;
}

.cal-slot__save--pending {
  color: #94a3b8;
  font-style: italic;
}

.pub-cal-selected {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 2px solid #93c5fd;
  background: #f0f9ff;
}

.pub-cal.is-loading #w-cal-meta::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.4rem;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  border-radius: 50%;
  vertical-align: -0.1rem;
  animation: pub-btn-spin 0.65s linear infinite;
}

.cal-skel {
  min-height: 9.5rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: pub-skel 1.1s ease-in-out infinite;
}

@keyframes pub-skel {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Basket qty — fat touch targets */
.pub-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pub-qty-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  color: #0f172a;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.pub-qty-btn--plus {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.pub-qty-btn:active {
  transform: scale(0.96);
}

.pub-qty-n {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.cal-slot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0.45rem 0.45rem 0.55rem;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  font: inherit;
  color: inherit;
  min-height: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.cal-slot:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.cal-slot:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.cal-slot.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2563eb;
}

.cal-slot.is-suggested {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.cal-slot.is-best {
  border-color: #16a34a;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 55%);
}

.cal-slot.is-best.is-selected {
  border-color: #15803d;
  box-shadow: 0 0 0 1px #16a34a;
}

.cal-slot.is-premium {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 60%);
}

.cal-slot.is-organiser .cal-slot__badge {
  background: #166534;
  color: #fff;
}

.cal-slot.is-smart .cal-slot__badge,
.cal-slot.is-danger .cal-slot__badge {
  background: #1d4ed8;
  color: #fff;
}

.cal-slot.is-premium .cal-slot__badge {
  background: #b45309;
  color: #fff;
}

.cal-slot__badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
  background: #e2e8f0;
  color: #334155;
  margin-bottom: 0.25rem;
  min-height: 1.85em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
}

.cal-slot__dow {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.cal-slot__day {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
  color: #0f172a;
}

.cal-slot__mon {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.3rem;
}

.cal-slot__lab {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 0.12rem;
}

.cal-slot__jke {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}

.cal-slot__save {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #15803d;
  line-height: 1.2;
}

.cal-slot__save--empty {
  min-height: 0.9rem;
}

.cal-slot__premium-tag {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
}

.pub-cal-selected {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.pub-cal-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.pub-cal-crew {
  margin-top: 0.65rem;
}

.pub-cal-crew-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pub-cal-crew .crew-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.55rem 0.5rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font: inherit;
  text-align: center;
}

.pub-cal-crew .crew-btn.is-on {
  border-color: #2563eb;
  background: #eff6ff;
}

.pub-cal-crew .crew-btn.is-disabled,
.pub-cal-crew .crew-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.pub-cal-crew-note {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.pub-cal-crew .crew-price {
  display: block;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.pub-cal-crew .crew-save {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
  margin-top: 0.15rem;
}

#w-from.is-error,
#w-to.is-error,
.pub-wizard input.is-error,
.pub-wizard textarea.is-error,
.pub-wizard select.is-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

#w-from-hint.is-error,
#w-to-hint.is-error {
  color: #b91c1c;
  font-weight: 700;
}

/* Small red required-field messages — appear when wrong, gone when fixed */
.pub-field-err {
  display: block;
  margin: 0.28rem 0 0;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
  color: #b91c1c;
}
.pub-field-err[hidden] {
  display: none !important;
}
.pub-wizard label:has(input.is-error),
.pub-wizard label:has(textarea.is-error) {
  color: #7f1d1d;
}
.pub-terms-accept.is-error {
  outline: 2px solid #dc2626;
  outline-offset: 3px;
  border-radius: 8px;
}
#w-terms-accept-err {
  font-size: 0.78rem;
  font-weight: 600;
  color: #b91c1c;
  margin: 0.35rem 0 0;
}

/* After email: items gone — calendar only */
body.pub-prices-only .pub-items-layout,
body.pub-prices-only #w-step2-load-title,
body.pub-prices-only #w-access-fold {
  display: none !important;
}
body.pub-prices-only #w-step2-when-head {
  display: block !important;
}
body.pub-prices-only #w-cal-section {
  display: block !important;
}

/* Full-screen joke theatre while prices load — calendar completely hidden */
body.pub-price-theatre .pub-sticky-cta,
body.pub-price-theatre #w-phone-bar {
  opacity: 0.4;
  pointer-events: none;
}
body.pub-price-theatre #w-cal-section,
.pub-cal.is-theatre {
  min-height: 280px; /* paycal1 was 48vh */
}
body.pub-price-theatre #w-cal-ready,
.pub-cal.is-theatre #w-cal-ready {
  display: none !important;
}
body.pub-price-theatre .pub-wizard-actions .pub-btn--primary,
body.pub-price-theatre #w-proceed-book {
  pointer-events: none;
  opacity: 0.5;
}

/* Joke card — the only thing visible while loading */
.pub-price-theatre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  min-height: 0; /* paycal1 was 42vh */
  margin: 0.5rem 0 1rem;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 18px;
  border: 2px solid #93c5fd;
  background: linear-gradient(165deg, #eff6ff 0%, #fff 55%, #f8fafc 100%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  animation: pub-price-in 0.4s ease both;
}
.pub-price-theatre-card[hidden] {
  display: none !important;
}
.pub-price-theatre-card__spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid #bfdbfe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: pub-btn-spin 0.7s linear infinite;
}
.pub-price-theatre-card__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}
.pub-price-theatre-card__joke {
  margin: 0;
  max-width: 22rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}
.pub-price-theatre-card__hint {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}
.pub-cal-ready[hidden] {
  display: none !important;
}

@media (max-width: 639px) {
  body.pub-price-theatre #w-cal-section,
  .pub-cal.is-theatre {
    min-height: 0; /* paycal1 was 58vh */
    padding: 0.5rem 0.15rem 1rem;
  }
  .pub-price-theatre-card {
    min-height: 0; /* paycal1 was 52vh */
    padding: 2rem 1.1rem 1.75rem;
  }
  .pub-price-theatre-card__joke {
    font-size: 1.28rem;
  }
  .pub-ac-item {
    min-height: 48px;
    padding: 0.75rem 0.85rem !important;
  }
  .pub-sticky-cta .pub-btn,
  #w-proceed-book-sticky {
    min-height: 48px;
    font-size: 1.05rem;
  }
  body.pub-prices-only .pub-wizard-actions .pub-btn--primary {
    min-height: 48px;
    width: 100%;
  }
}

@media (max-width: 799px) {
  .pub-cal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .cal-slot {
    padding: 0.35rem 0.35rem 0.4rem;
  }
  .cal-slot__day {
    font-size: 1.15rem;
  }
  .cal-slot__jke {
    font-size: 0.95rem;
  }
  .pub-cal-any-row {
    flex-direction: column;
    align-items: stretch;
  }
  .pub-cal-any-input {
    max-width: none;
    width: 100%;
  }
  .pub-wizard-actions {
    flex-direction: column;
  }
  .pub-wizard-actions .pub-btn {
    width: 100%;
    min-width: 0;
  }
  .pub-wizard-actions .pub-btn--ghost {
    order: 2;
  }
  .pub-wizard-actions .pub-btn--primary {
    order: 1;
  }
  /* don't force calendar pager buttons full-bleed */
  .pub-cal-pager .pub-btn {
    width: auto !important;
    min-width: 0;
  }
  .pub-sticky-cta__inner {
    flex-wrap: nowrap;
  }
  .pub-sticky-cta .pub-btn {
    min-height: 48px;
    font-size: 0.95rem;
    padding: 0.65rem 0.9rem;
  }
}

/* ── Book flow — step 1: addresses first ── */
.pub-route-hero {
  margin: 0 0 0.85rem;
  padding: 1rem 0.9rem 0.85rem;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  border: 2px solid #34d399;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pub-route-hero.is-complete {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Map pin badges — teardrop pins, not circles */
.pub-route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.35rem;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  vertical-align: middle;
  border-radius: 50% 50% 50% 3px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
}

.pub-route-badge--a {
  background: linear-gradient(145deg, #10b981, #059669);
}

.pub-route-badge--b {
  background: linear-gradient(145deg, #3b82f6, #2563eb);
}

.pub-route-field__label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.pub-route-badge--pin {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.7rem;
  border-radius: 50% 50% 50% 4px;
  margin-right: 0;
}

.pub-route-strip {
  padding: 0.55rem 0.65rem 0.4rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.pub-route-strip__ends {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.pub-route-strip__line {
  flex: 1;
  max-width: 5.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #059669, #0d9488 45%, #2563eb);
}

.pub-route-strip__text {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-height: 3.6em;
  overflow: hidden;
}

/* Out-of-area visitors (US/CA etc.) — protect UK ad spend */
.pub-uk-banner {
  margin: 0;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  border-bottom: 1px solid #f59e0b;
}

.pub-uk-gate {
  max-width: 34rem;
  margin: 1.25rem auto 2rem;
  padding: 0 0.75rem;
}

.pub-uk-gate__card {
  padding: 1.35rem 1.15rem 1.2rem;
  border-radius: 14px;
  border: 2px solid #fbbf24;
  background: #fffbeb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pub-uk-gate__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b45309;
}

.pub-uk-gate__card h1 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #0f172a;
}

.pub-uk-gate__lead,
.pub-uk-gate__sub {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #334155;
}

.pub-uk-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0.5rem;
}

.pub-uk-gate__hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

@media (max-width: 639px) {
  .pub-uk-gate {
    margin-top: 0.65rem;
  }

  .pub-uk-gate__actions .pub-btn {
    flex: 1 1 100%;
    min-height: 48px;
  }
}

.pub-route-map-wrap {
  margin: 0 0 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #e8f0f7 0%, #f1f5f9 100%);
}

.pub-route-map-wrap--order {
  margin: 0.45rem 0 0.65rem;
}

/* Adaptive map height — phone-first: take a real slice of the viewport */
.pub-route-map {
  height: clamp(240px, 42vh, 420px);
  min-height: 240px;
  width: 100%;
  z-index: 1;
  background: #dbe4ee;
}

.pub-route-map-wrap--order .pub-route-map {
  height: clamp(220px, 30vh, 340px);
  min-height: 220px;
}

.pub-route-map-slot {
  position: relative;
  width: 100%;
  min-height: 220px;
  isolation: isolate;
  z-index: 1;
  background: #dbe4ee;
}

.pub-route-strip--order {
  padding: 0.4rem 0.55rem 0.25rem;
}

@media (min-width: 640px) {
  .pub-route-map {
    height: clamp(260px, 38vh, 440px);
    min-height: 260px;
  }
  .pub-route-map-wrap--order .pub-route-map {
    height: clamp(240px, 28vh, 360px);
    min-height: 240px;
  }
  .pub-route-map-slot {
    min-height: 240px;
  }
}

@media (min-width: 960px) {
  .pub-route-map {
    height: clamp(300px, 36vh, 480px);
    min-height: 300px;
  }
  .pub-book-rail .pub-route-map-wrap--order {
    display: block;
  }
  .pub-route-map-wrap--order .pub-route-map {
    height: clamp(260px, 32vh, 400px);
    min-height: 260px;
  }
  .pub-route-map-slot {
    min-height: 260px;
  }
}

.pub-route-map__meta {
  margin: 0;
  padding: 0.45rem 0.65rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.pub-map-pin-wrap {
  background: transparent !important;
  border: none !important;
}

.pub-map-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pub-map-pin__svg {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.28));
}

.pub-map-pin__name {
  display: inline-block;
  margin-top: 2px;
  margin-left: -4px;
  max-width: 9.5rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  pointer-events: none;
}

.pub-route-map .leaflet-control-attribution {
  font-size: 9px;
  opacity: 0.65;
}

.pub-route-map__meta {
  margin: 0;
  padding: 0.35rem 0.65rem 0.45rem;
  font-size: 0.78rem;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}

.pub-wizard-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  margin-right: 0;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  vertical-align: middle;
}

.pub-wizard-step.is-active .pub-wizard-step__n {
  background: #0d9488;
  color: #fff;
}

.pub-wizard-step.is-done .pub-wizard-step__n {
  background: #bbf7d0;
  color: #047857;
}

.pub-route-extras__multidrop,
.pub-assembly-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: #334155;
  cursor: pointer;
}

.pub-route-extras__multidrop input,
.pub-assembly-opt input {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.pub-route-extras__stop {
  display: block;
  margin-top: 0.45rem;
}

.pub-route-extras__stop > span:first-child {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  /* heights set above via clamp — do not squash back to 200px */
}

.pub-route-hero__lead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.pub-route-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Avoid double margin from .pub-wizard-panel label */
.pub-wizard-panel label.pub-route-field {
  margin-bottom: 0.85rem;
  gap: 0.35rem;
}

.pub-route-field__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0b1f3a;
  letter-spacing: 0.01em;
  line-height: 1.3;
  min-width: 0;
}

.pub-route-field__hint {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
  min-height: 1.1em;
  order: 0;
}

.pub-route-field .pub-ac-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  z-index: 2;
}

.pub-route-input {
  width: 100%;
  max-width: 100%;
  min-height: 54px;
  padding: 0.85rem 0.95rem !important;
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.35 !important;
  border: 2px solid #94a3b8 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box;
  /* Long addresses: wrap instead of overlapping the next field */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pub-route-input:focus {
  border-color: #f59e0b !important;
  outline: 2px solid #f59e0b;
  outline-offset: 1px;
}

.pub-route-input.is-filled {
  border-color: #34d399 !important;
  background: #f0fdf4 !important;
}

.pub-route-arrow {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #047857;
  line-height: 1;
  margin: 0.15rem 0 0.5rem;
  flex-shrink: 0;
}

.pub-route-extras {
  margin: 0 0 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.pub-route-extras > summary {
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.pub-route-extras > summary::-webkit-details-marker {
  display: none;
}

.pub-route-extras > summary::after {
  content: " ▾";
  font-size: 0.75rem;
}

.pub-route-extras[open] > summary::after {
  content: " ▴";
}

.pub-route-extras__service,
.pub-route-extras .pub-lazy-routes {
  margin: 0 0.75rem 0.75rem;
}

.pub-route-extras__service {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.pub-step1-cta {
  margin-top: 0.35rem;
}

.pub-step1-trust {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #047857;
  line-height: 1.4;
}

.pub-book-head-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--pub-muted);
  line-height: 1.4;
}

.pub-wizard-hint--uk {
  margin: -0.35rem 0 0.75rem;
  padding: 0.55rem 0.65rem;
  background: #eff6ff;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  font-size: 0.85rem;
}

.pub-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  background: #ecfdf5;
  border: 2px solid #34d399;
  border-radius: 12px;
}

.pub-phone-bar__main {
  min-width: 0;
  flex: 1;
}

.pub-phone-bar__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
}

.pub-phone-bar__route {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  word-break: break-word;
}

.pub-phone-bar__price {
  flex-shrink: 0;
  font-size: 1rem;
  color: #047857;
  white-space: nowrap;
}

.pub-quote-form--hero .pub-ac-menu {
  position: relative;
  top: 0.35rem;
  left: 0;
  right: 0;
  margin: 0 0 0.5rem;
  z-index: 2;
}

@media (max-width: 639px) {
  body.pub-step-1 .pub-page-head--book {
    display: none;
  }

  body.pub-step-1 #w-phone-bar,
  body.pub-step-1 .pub-route-chip,
  body.pub-step-1 #w-intent-panel,
  body.pub-step-1 #w-lazy-auto-next,
  body.pub-step-1 .pub-route-extras {
    display: none !important;
  }

  body.pub-step-1 .pub-wizard-steps {
    margin-bottom: 0.5rem;
    gap: 0.35rem;
  }

  body.pub-step-1 .pub-wizard-step {
    font-size: 0.72rem;
    padding: 0.5rem 0.25rem;
    min-height: 40px;
  }

  body.pub-step-1 .pub-book-layout {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  body.pub-step-1 .pub-wizard-panel[data-panel="1"] {
    padding: 0.5rem 0 1rem;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  body.pub-step-1 .pub-route-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.65rem;
    padding: 0.9rem 0.8rem 0.85rem;
    overflow: visible;
  }

  body.pub-step-1 .pub-route-hero__lead {
    font-size: 1.05rem;
    margin: 0 0 0.85rem;
    line-height: 1.3;
  }

  /* Collect / Deliver as separate clear cards — no overlap on small phones */
  body.pub-step-1 .pub-route-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    padding: 0.7rem 0.7rem 0.75rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    min-width: 0;
    overflow: visible;
    z-index: auto;
  }

  body.pub-step-1 .pub-route-field--from {
    z-index: 3;
  }

  body.pub-step-1 .pub-route-field--to {
    z-index: 2;
    margin-bottom: 0.15rem;
  }

  body.pub-step-1 .pub-wizard-panel label.pub-route-field {
    margin-bottom: 0.75rem;
  }

  body.pub-step-1 .pub-route-field__label {
    font-size: 0.9rem;
    line-height: 1.35;
    margin: 0;
  }

  body.pub-step-1 .pub-route-field__hint {
    font-size: 0.74rem;
    line-height: 1.35;
    margin: 0;
    color: #64748b;
  }

  body.pub-step-1 .pub-route-field .pub-ac-wrap {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  body.pub-step-1 .pub-route-arrow {
    margin: 0.15rem 0 0.55rem;
    line-height: 1.2;
  }

  body.pub-step-1 .pub-route-input {
    min-height: 52px;
    max-height: none;
    font-size: 16px !important; /* iOS no-zoom */
    padding: 0.75rem 0.8rem !important;
    line-height: 1.35 !important;
  }

  /* In-flow suggestions push Deliver down — never cover the next box */
  body.pub-step-1 .pub-route-field .pub-ac-menu:not(.pub-ac-menu--sheet) {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0.4rem 0 0 !important;
    max-height: min(200px, 36vh);
    z-index: 5;
  }

  body.pub-step-1 .pub-route-map-wrap {
    display: none !important;
  }

  body.pub-step-1.pub-has-route .pub-route-map-wrap:not([hidden]) {
    display: block !important;
    margin-top: 0.5rem;
    margin-bottom: 0.55rem;
    border-radius: 10px;
    overflow: hidden;
  }

  body.pub-step-2 .pub-route-map-wrap,
  body.pub-step-3 .pub-route-map-wrap {
    margin-bottom: 0.45rem;
    border-radius: 10px;
  }

  body.pub-step-1.pub-has-route .pub-route-map {
    height: clamp(260px, 48dvh, 440px);
    min-height: 260px;
  }

  body.pub-step-1.pub-has-route .pub-route-map-slot {
    min-height: 260px;
  }

  body.pub-step-2 .pub-route-map {
    height: clamp(220px, 38dvh, 360px);
    min-height: 220px;
  }

  body.pub-step-2 .pub-route-map-slot {
    min-height: 220px;
  }

  body.pub-step-3 .pub-route-map {
    height: clamp(180px, 28dvh, 280px);
    min-height: 180px;
  }

  /* Phone: strip text lives in route chip — free the map */
  body.pub-step-2 .pub-route-strip,
  body.pub-step-1.pub-has-route .pub-route-strip {
    display: none;
  }

  /* Keep pin name chips from spilling outside the map */
  body.pub-step-1 .pub-map-pin__name {
    max-width: 7.5rem;
    font-size: 0.62rem;
  }

  body.pub-step-1 .pub-route-map__meta {
    display: block;
    font-size: 0.78rem;
    padding: 0.4rem 0.55rem;
    line-height: 1.35;
  }

  body.pub-step-2 .pub-route-map__meta,
  body.pub-step-3 .pub-route-map__meta {
    display: none;
  }

  body.pub-step-1 .pub-step1-cta {
    position: sticky;
    bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
    z-index: 4;
    margin-top: 0.65rem;
    padding: 0.45rem 0 0;
    background: linear-gradient(180deg, transparent 0%, #f8fafc 30%, #f8fafc 100%);
  }

  body.pub-step-1 .pub-step1-trust {
    margin-top: 0.4rem;
  }

  body.pub-ac-sheet-open .pub-step1-cta {
    z-index: 1;
  }

  .pub-wizard-panel .pub-ac-menu:not(.pub-ac-menu--sheet) {
    position: relative;
    margin-bottom: 0.35rem;
  }

  .pub-wizard-steps {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .pub-wizard-step {
    font-size: 0.78rem;
    padding: 0.65rem 0.35rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.pub--book .pub-book-layout {
    padding-bottom: 6.5rem;
  }

  body.pub--book .pub-wizard {
    padding-bottom: 4.5rem;
  }

  body.pub-step-1.pub--book .pub-wizard {
    padding-bottom: 0.5rem;
  }

  body.pub-step-1.pub--book .pub-book-layout {
    padding-bottom: 0.75rem;
  }

  body.pub-step-2.pub-step2-load.pub--book .pub-book-layout {
    padding-bottom: 4.25rem;
  }

  .pub-wizard-panel .pub-btn--step1,
  .pub-wizard-panel .pub-btn--primary#w-step1-next {
    width: 100%;
    margin-top: 0.35rem;
    min-height: 52px;
    font-size: 1.05rem;
  }

  .pub-sticky-cta__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .pub-sticky-cta__price {
    text-align: center;
    font-size: 0.88rem;
  }

  .pub-sticky-cta .pub-btn {
    width: 100%;
    min-width: 0;
  }

  .pub-terms-accept input[type="checkbox"],
  input#w-terms-accept {
    width: 1.55rem !important;
    height: 1.55rem !important;
    min-width: 1.55rem !important;
    min-height: 1.55rem !important;
    max-width: 1.55rem !important;
  }

  .pub-email-gate {
    align-items: flex-end;
    padding: 0;
  }

  .pub-email-gate__card {
    width: 100%;
    max-width: none;
    border-radius: 16px 16px 0 0;
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }

  .pub-route-locked__price {
    font-size: 1.35rem;
  }

  #w-quote-total.pub-cal-total {
    font-size: 1.45rem;
  }
}

@media (min-width: 900px) {
  .pub-phone-bar {
    display: none !important;
  }
}

/* Drop-off contact (person at delivery) */
.pub-dropoff-contact {
  margin: 1.15rem 0 0.5rem;
  padding: 1rem 0.95rem 0.85rem;
  border-radius: 14px;
  border: 2px solid #bfdbfe;
  background: #f8fbff;
}
.pub-dropoff-contact .pub-wizard-subh {
  margin-top: 0;
}
.pub-check-same {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}
.pub-check-same input {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.pub-optional {
  font-weight: 500;
  color: #64748b;
  font-size: 0.85em;
}

/* Email gate — single step before calendar / price reveal */
.pub-email-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pub-email-gate[hidden] {
  display: none !important;
}

.pub-email-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.pub-email-gate__card {
  position: relative;
  width: min(100%, 420px);
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 16px;
  border: 2px solid #93c5fd;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  animation: pub-price-in 0.35s ease both;
}

.pub-email-gate__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}

.pub-email-gate__title {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #0f172a;
}

.pub-email-gate__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #475569;
}

.pub-email-gate__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.65rem;
}

.pub-email-gate__input {
  font: inherit;
  font-size: 1.05rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  min-height: 48px;
}

.pub-email-gate__input:focus {
  outline: 2px solid #93c5fd;
  border-color: #3b82f6;
}

.pub-email-gate__err {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: #b91c1c;
  font-weight: 600;
}

.pub-email-gate__cta {
  width: 100%;
  min-height: 50px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
}

.pub-email-gate__fine {
  margin: 0.65rem 0 0;
  text-align: center;
  color: #64748b;
}

body.pub-email-gate-open {
  overflow: hidden;
}

/* ── Careers / work with us ── */
.pub-careers-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.5rem;
}
.pub-careers-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0.5rem;
}
@media (max-width: 800px) {
  .pub-careers-hero { grid-template-columns: 1fr; }
}
.pub-careers-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0b1f3a;
}
.pub-careers-lead {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}
.pub-careers-lead--de {
  font-size: 0.95rem;
  color: #64748b;
}
.pub-careers-hero__cta,
.pub-careers-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.pub-careers-hero__media .pub-trust-visual__photo,
.pub-career-hero__media .pub-trust-visual__photo {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.12);
}
.pub-careers-why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 800px) {
  .pub-careers-why-grid { grid-template-columns: 1fr 1fr; }
}
.pub-careers-why-grid li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pub-careers-why-grid strong { color: #0b1f3a; }
.pub-careers-why-grid span { font-size: 0.88rem; color: #64748b; }
.pub-careers-sub { color: #64748b; margin: 0 0 1.25rem; }
.pub-careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
@media (max-width: 960px) {
  .pub-careers-grid { grid-template-columns: 1fr; max-width: 520px; }
}
.pub-careers-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.pub-careers-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}
.pub-careers-card__img-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}
.pub-careers-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-careers-card__badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(11, 31, 58, 0.9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.pub-careers-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}
.pub-careers-card__body h3 {
  margin: 0;
  font-size: 1.1rem;
}
.pub-careers-card__body h3 a {
  color: #0b1f3a;
  text-decoration: none;
}
.pub-careers-card__body h3 a:hover { color: #2563eb; }
.pub-careers-card__short {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.45;
  flex: 1;
}
.pub-careers-card__pay {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #047857;
}
.pub-careers-card__bullets {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
  font-size: 0.88rem;
}
.pub-careers-card__actions { margin-top: auto; padding-top: 0.5rem; }

.pub-careers-crumb {
  max-width: 1100px;
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pub-careers-crumb a { color: #2563eb; font-weight: 600; }
.pub-career-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  align-items: center;
}
@media (max-width: 800px) {
  .pub-career-hero { grid-template-columns: 1fr; }
}
.pub-career-hero__media { position: relative; }
.pub-career-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
}
@media (max-width: 800px) {
  .pub-career-grid2 { grid-template-columns: 1fr; }
}
.pub-careers-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
  line-height: 1.55;
}
.pub-career-apply__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 800px) {
  .pub-career-apply__layout { grid-template-columns: 1fr; }
}
.pub-career-form,
.pub-driver-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  display: grid;
  gap: 0.7rem;
}
.pub-career-form h3,
.pub-driver-form h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #0b1f3a;
}
.pub-career-form label,
.pub-driver-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin: 0;
}
.pub-career-form input,
.pub-career-form select,
.pub-career-form textarea,
.pub-driver-form input,
.pub-driver-form select,
.pub-driver-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.pub-career-form input:focus,
.pub-career-form select:focus,
.pub-career-form textarea:focus {
  outline: 2px solid #93c5fd;
  border-color: #3b82f6;
}
.pub-careers-err {
  max-width: 1100px;
  margin: 0.75rem auto;
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 10px;
  font-weight: 600;
}
.pub-career-apply__done {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}
.pub-careers-foot { text-align: center; }

/* ── Phone book wizard — all steps (tight, one column, sticky actions) ── */
.pub-step2-route {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #047857;
  line-height: 1.35;
  word-break: break-word;
}

.pub-phone-fold {
  margin: 0.75rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.pub-phone-fold > summary {
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.pub-phone-fold > summary::-webkit-details-marker {
  display: none;
}

.pub-phone-fold[open] > summary {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}

.pub-phone-fold .pub-access-block {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0.65rem 0.75rem 0.35rem;
}

.pub-phone-fold__helpers {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0 0.75rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .pub-phone-fold {
    border: none;
    background: transparent;
    margin: 1rem 0;
  }

  .pub-phone-fold > summary {
    display: none;
  }

  .pub-phone-fold .pub-access-block {
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
  }

  .pub-phone-fold__helpers {
    padding: 0;
    margin-top: 0.85rem;
  }

  .pub-step2-route {
    display: none !important;
  }
}

@media (max-width: 639px) {
  body.pub--book {
    background: #f1f5f9;
  }

  body.pub--book .pub-wizard {
    padding-left: 0;
    padding-right: 0;
  }

  body.pub-step-2 .pub-wizard-panel--what,
  body.pub-step-3 .pub-wizard-panel--book {
    padding: 0.75rem 0.65rem 1rem;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  body.pub-step-2 .pub-wizard-panel--what > h2,
  body.pub-step-3 .pub-wizard-panel--book > h2 {
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
  }

  body.pub-step-2 .pub-phone-bar,
  body.pub-step-3 .pub-phone-bar {
    display: flex !important;
    margin: 0 0 0.6rem;
    padding: 0.55rem 0.65rem;
  }

  body.pub-step-2 .pub-wizard-steps,
  body.pub-step-3 .pub-wizard-steps {
    margin-bottom: 0.55rem;
  }

  /* Step 2 load: sticky top basket always visible while browsing */
  body.pub-step-2.pub-step2-load .pub-items-basket {
    order: -1;
    position: sticky;
    top: 0;
    z-index: 25;
    margin-top: 0;
    margin-bottom: 0.65rem;
    max-height: 28vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 2px solid #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
  }

  body.pub-step-2.pub-step2-load .pub-items-main {
    order: 0;
  }

  body.pub-step-2.pub-step2-load .pub-quick-chips {
    gap: 0.4rem;
    margin: 0.45rem 0 0.55rem;
  }

  body.pub-step-2.pub-step2-load .pub-quick-chips button {
    font-size: 0.82rem;
    padding: 0.45rem 0.65rem;
  }

  body.pub-step-2.pub-step2-load .pub-items-basket.is-empty {
    max-height: none;
    padding: 0.55rem 0.7rem;
    border-width: 1px;
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: none;
  }

  body.pub-step-2.pub-step2-load .pub-items-basket.is-empty #w-cart,
  body.pub-step-2.pub-step2-load .pub-items-basket.is-empty .pub-items-basket__flash {
    display: none;
  }

  body.pub-step-2 .pub-items-search-label {
    font-size: 0;
  }

  body.pub-step-2 .pub-items-search-label::before {
    content: none;
  }

  body.pub-step-2 .pub-items-search {
    font-size: 17px;
    min-height: 52px;
    padding: 0.8rem 0.9rem;
  }

  body.pub-step-2.pub-step2-load .pub-items-basket__empty {
    font-size: 0.88rem;
    color: #64748b;
    text-align: center;
    padding: 0.35rem 0;
  }

  body.pub-step-2 .pub-search-results {
    max-height: min(42vh, 280px);
    position: relative;
    z-index: 2;
  }

  body.pub-step-2 .pub-search-results .pub-search-row {
    min-height: 52px;
    padding: 0.65rem 0.75rem;
  }

  body.pub-step-2 .pub-quick-chips button {
    min-height: 46px;
    padding: 0.5rem 0.8rem;
  }

  body.pub-step-2 .pub-custom-open {
    width: 100%;
    min-height: 46px;
    margin-bottom: 0.5rem;
  }

  /* Hide duplicate Get price/Back on phone item-picking — sticky CTA only */
  body.pub-step-2.pub-step2-load .pub-wizard-panel--what > .pub-wizard-actions,
  body.pub-step-2.pub-step2-load .pub-wizard-actions,
  body.pub-step-2.pub-step2-load #w-proceed-book,
  body.pub-step-2.pub-step2-load .pub-wizard-panel--what > .pub-wizard-actions .pub-btn {
    display: none !important;
  }

  /* Step 2b: calendar-only screen — items hidden via JS */
  .pub-step2-when-head {
    margin: 0 0 0.55rem;
    padding: 0.75rem 0.75rem 0.8rem;
  }

  .pub-step2-when-head h2 {
    font-size: 1.18rem;
    margin: 0 0 0.2rem;
  }

  .pub-step2-when-sub {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: #64748b;
  }

  .pub-day-trust {
    padding: 0.55rem 0.65rem;
    gap: 0.35rem;
  }

  .pub-day-trust li {
    font-size: 0.8rem;
  }

  .pub-step2-edit-items.pub-btn,
  button.pub-step2-edit-items {
    min-height: 44px;
    margin: 0 0 0.55rem;
    width: 100% !important;
    justify-content: center;
  }

  body.pub-step-2.pub-step2-when .pub-cal {
    margin-top: 0;
    padding: 0.7rem 0.6rem 0.85rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
  }

  body.pub-step-2.pub-step2-when .pub-cal .pub-wizard-subh {
    display: none;
  }

  body.pub-step-2.pub-step2-when #w-cal-meta,
  body.pub-step-2.pub-step2-when #w-cal-page-label {
    display: none !important;
  }

  body.pub-step-2.pub-step2-when #w-next-week-offer {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.65rem;
  }

  body.pub-step-2.pub-step2-when #w-next-week-offer[hidden] {
    display: none !important;
  }

  body.pub-step-2.pub-step2-when .pub-next-week-offer__btn {
    width: 100%;
    min-height: 48px;
  }

  body.pub-step-2.pub-step2-when #w-cal-next {
    display: none !important;
  }

  body.pub-step-2.pub-step2-when #w-cal-prev {
    display: inline-flex !important;
    min-height: 40px;
    font-size: 0.82rem;
  }

  body.pub-step-2.pub-step2-when .pub-wizard-steps {
    display: none;
  }

  body.pub-step-2.pub-step2-when .pub-cal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.35rem;
    padding-bottom: 5.75rem;
  }

  body.pub-step-2.pub-step2-when .cal-slot {
    min-height: 84px;
    padding: 0.4rem 0.35rem;
  }

  body.pub-step-2.pub-step2-when .cal-slot__badge {
    font-size: 0.62rem;
    padding: 0.12rem 0.3rem;
  }

  body.pub-step-2.pub-step2-when .cal-slot__day {
    font-size: 1.25rem;
  }

  body.pub-step-2.pub-step2-when .cal-slot__lab {
    font-size: 0.68rem;
    color: #64748b;
  }

  body.pub-step-2.pub-step2-when .cal-slot__jke--phone {
    font-size: 1.08rem;
    font-weight: 800;
  }

  body.pub-step-2.pub-step2-when .cal-slot.is-best {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  }

  body.pub-step-2.pub-step2-when .cal-slot.is-best .cal-slot__badge {
    background: #16a34a;
    color: #fff;
  }

  .pub-cal-more {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0.35rem 0 0.5rem;
    padding: 0.55rem 0.75rem;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    background: #f8fafc;
    color: #2563eb;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.pub-step-2.pub-step2-when .pub-cal-any-row {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
  }

  body.pub-step-2.pub-step2-when .pub-cal-any-label {
    font-size: 0.82rem;
    color: #64748b;
  }

  body.pub-step-2.pub-step2-when #w-cal-selected {
    margin-top: 0.65rem;
    padding: 0.75rem 0.85rem;
  }

  body.pub-step-2.pub-step2-when #w-quote-total.pub-cal-total {
    font-size: 1.55rem;
  }

  body.pub-step-2.pub-step2-when .pub-cal-any-row {
    margin-top: 0.35rem;
  }

  body.pub-step-2.pub-step2-when .pub-cal-any-input {
    max-width: none;
    width: 100%;
    font-size: 17px;
    min-height: 48px;
  }

  body.pub-step-2.pub-step2-when .pub-sticky-cta__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  body.pub-step-2.pub-step2-when .pub-sticky-cta__price[hidden] {
    display: none !important;
  }

  body.pub-step-2.pub-step2-when .pub-sticky-cta .pub-btn {
    width: 100%;
  }

  body.pub-step-2.pub-step2-when .pub-sticky-cta .pub-btn:disabled {
    opacity: 0.72;
  }

  /* Keep map on items step — only tuck chip/phone chrome */
  body.pub-step-2.pub-step2-load .pub-route-chip,
  body.pub-step-2.pub-step2-load #w-phone-bar,
  body.pub-step-3 .pub-route-map-wrap,
  body.pub-step-3 #w-route-chip,
  body.pub-step-3 .pub-phone-bar {
    display: none !important;
  }

  body.pub-ac-sheet-open .pub-ac-backdrop {
    z-index: 9998;
  }

  /* Step 3: fixed pay bar */
  body.pub-step-3 .pub-wizard-panel--book {
    padding-bottom: 5.75rem;
  }

  body.pub-step-3 .pub-route-locked {
    margin-bottom: 0.65rem;
    padding: 0.65rem 0.7rem;
  }

  body.pub-step-3 .pub-route-locked__price {
    font-size: 1.5rem;
  }

  body.pub-step-3 .pub-wizard-subh {
    margin: 0.55rem 0 0.2rem;
    font-size: 0.95rem;
  }

  body.pub-step-3 .pub-door-hint {
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  body.pub-step-3 .pub-wizard-panel--book label {
    font-size: 0.86rem;
    margin-bottom: 0.4rem;
  }

  body.pub-step-3 .pub-wizard-panel--book input:not(.pub-input--locked) {
    font-size: 17px;
    min-height: 48px;
  }

  body.pub-step-3 .pub-wizard-panel--book input.pub-input--locked {
    font-size: 0.92rem;
    min-height: 42px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  body.pub-step-3 #w-pay {
    font-size: 1.08rem;
    font-weight: 800;
  }

  body.pub-step-3 .pub-book-floors {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  body.pub-step-3 .pub-wizard-panel--book .pub-wizard-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 92;
    margin: 0;
    padding: 0.6rem 0.65rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    gap: 0.45rem;
  }

  body.pub-step-3 .pub-wizard-panel--book .pub-wizard-actions .pub-btn {
    width: 100%;
    min-height: 52px;
    margin: 0;
    font-size: 1.05rem;
  }

  body.pub-step-3 .pub-wizard-panel--book .pub-wizard-actions .pub-btn--ghost {
    order: 2;
    min-height: 44px;
    font-size: 0.9rem;
  }

  body.pub-step-3 .pub-wizard-panel--book .pub-wizard-actions .pub-btn--primary {
    order: 1;
  }

  body.pub-step-3 .pub-sticky-cta {
    display: none !important;
  }

  .pub-sticky-cta {
    z-index: 91;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .pub-sticky-cta .pub-btn {
    min-height: 52px;
    font-size: 1.02rem;
    font-weight: 800;
  }

  body.pub-step-2 .pub-book-layout {
    padding-bottom: 5.25rem;
  }

  body.pub-step-3 .pub-book-layout {
    padding-bottom: 4.75rem;
  }

  body.pub-step-2 .pub-wizard-steps {
    margin-bottom: 0.45rem;
  }

  .pub-ac-menu--sheet .pub-ac-item {
    min-height: 56px;
    padding: 0.85rem 0.9rem;
  }
}

/* /man-and-van coverage hub — compact directory, not endless H2 spam */
.pub-coverage-dir {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 52rem;
  margin-top: 1rem;
}
.pub-coverage-dir__item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.pub-coverage-dir__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #0b1f3a;
}
.pub-coverage-dir__item summary::-webkit-details-marker { display: none; }
.pub-coverage-dir__item summary::after {
  content: "+";
  font-weight: 800;
  color: #64748b;
}
.pub-coverage-dir__item[open] summary::after { content: "–"; }
.pub-coverage-dir__count {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-left: auto;
  margin-right: 0.5rem;
}
.pub-coverage-dir__item .pub-chips {
  padding: 0 1rem 0.9rem;
}
.pub-chips--compact .pub-chip {
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
}
.pub-chip--muted {
  opacity: 0.85;
  border-style: dashed;
}




/* === Postcode dropdown MUST show (never clipped) === */
.pub-ac-wrap {
  position: relative !important;
  overflow: visible !important;
  z-index: 20;
}
.pub-ac-menu {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 4px) !important;
  z-index: 99999 !important;
  display: block;
  background: #fff !important;
  border: 1px solid #64748b !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.22) !important;
  max-height: min(280px, 50vh);
  overflow-y: auto !important;
}
.pub-ac-menu[hidden] {
  display: none !important;
}
.pub-hero__form-wrap,
.pub-quote-form,
.pub-quote-form--hero,
.pub-home-hero,
.pub-wizard-panel,
.pub-route-field {
  overflow: visible !important;
}
.pub-ac-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: #0f172a;
}
.pub-ac-item:hover,
.pub-ac-item.is-active {
  background: #eff6ff;
}


/* ── Big-finger optional ticks (special note / assembly) ── */
.pub-extra-ticks {
  margin: 0.85rem 0 0.35rem;
  padding: 0.75rem 0.7rem 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.pub-extra-ticks__lead {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.pub-tick-row {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.55rem !important;
  padding: 0.7rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.pub-tick-row:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.pub-tick-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.pub-tick-row__box {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 0.1rem;
  border: 2.5px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
  position: relative;
}
.pub-tick-row:has(input:checked) .pub-tick-row__box {
  border-color: #2563eb;
  background: #2563eb;
}
.pub-tick-row:has(input:checked) .pub-tick-row__box::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 14px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.pub-tick-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pub-tick-row__title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.pub-tick-row__title em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
  color: #64748b;
  margin-left: 0.2rem;
}
.pub-tick-row__fee {
  display: inline-block;
  margin-left: 0.35rem;
  color: #1d4ed8;
  font-weight: 800;
}
.pub-tick-row__sub {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
  font-weight: 500;
}
.pub-special-opt__box {
  margin: -0.2rem 0 0.65rem;
  padding: 0.55rem 0.55rem 0.45rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #bfdbfe;
}
.pub-special-opt__textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  font-size: 16px !important;
  padding: 0.65rem 0.7rem !important;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.4;
}
.pub-special-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.45rem 0 0.25rem;
}
.pub-special-chip {
  min-height: 40px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pub-special-chip:active {
  background: #dbeafe;
  border-color: #93c5fd;
}
.pub-special-opt__meta {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}
@media (max-width: 639px) {
  .pub-tick-row {
    min-height: 60px;
    padding: 0.8rem 0.7rem;
  }
  .pub-tick-row__box {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .pub-tick-row:has(input:checked) .pub-tick-row__box::after {
    left: 10px;
    top: 4px;
  }
  .pub-special-chip {
    min-height: 44px;
    font-size: 0.88rem;
  }
}


/* Typing must stay LIGHT — never dim the whole book screen */
.pub-ac-backdrop,
.pub-ac-backdrop[hidden],
body.pub-ac-sheet-open .pub-ac-backdrop {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
}
body.pub-ac-sheet-open {
  overflow: auto !important; /* don't lock/darken page while typing */
}

/* w-step1-next always tappable */
#w-step1-next,
.pub-btn--step1 {
  position: relative;
  z-index: 50 !important;
  pointer-events: auto !important;
  min-height: 52px !important;
  touch-action: manipulation;
}
#w-step1-next.is-busy {
  opacity: 0.85;
  pointer-events: auto !important; /* still allow second tap if stuck */
}

/* jke-next-hard-fix */
#w-step1-next {
  pointer-events: auto !important;
  opacity: 1 !important;
  z-index: 300 !important;
  position: relative !important;
  cursor: pointer !important;
  min-height: 52px !important;
}
#w-step1-next[disabled],
#w-step1-next.is-busy {
  pointer-events: auto !important;
  opacity: 1 !important;
}
body.pub-step-2 .pub-wizard-panel[data-panel="1"] { display: none !important; }
body.pub-step-2 .pub-wizard-panel[data-panel="2"] {
  display: block !important;
  visibility: visible !important;
}
body.pub-step-2 .pub-wizard-panel[data-panel="2"][hidden] {
  display: block !important;
  visibility: visible !important;
}

/* jke-smooth-v1 */
#w-step1-next {
  pointer-events: auto !important;
  opacity: 1 !important;
  z-index: 500 !important;
  position: relative !important;
  cursor: pointer !important;
  min-height: 54px !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#w-step1-next.is-busy, #w-step1-next[disabled] {
  pointer-events: auto !important;
  opacity: 1 !important;
}
.jke-sm-menu { -webkit-overflow-scrolling: touch; }
body.pub-step-2 .pub-wizard-panel[data-panel="1"] { display: none !important; }
body.pub-step-2 .pub-wizard-panel[data-panel="2"] {
  display: block !important;
  visibility: visible !important;
}
body.pub-step-2 .pub-wizard-panel[data-panel="2"][hidden] {
  display: block !important;
}

/* jke-sm2-force */
#w-step1-next {
  pointer-events: auto !important;
  opacity: 1 !important;
  z-index: 999 !important;
  position: relative !important;
  cursor: pointer !important;
  min-height: 54px !important;
  touch-action: manipulation !important;
}
body.pub-step-2 .pub-wizard-panel[data-panel="1"] {
  display: none !important;
  visibility: hidden !important;
}
body.pub-step-2 .pub-wizard-panel[data-panel="2"],
body.pub-step-2 .pub-wizard-panel[data-panel="2"][hidden] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.jke-sm-menu { -webkit-overflow-scrolling: touch; }


/* mfix-android-center — no sideways blue pan; copy then book; center phone */
html.jke-css-ready,
html:has(body.pub),
html {
  background: #f8fafc !important;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.pub {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
body.pub .pub-main,
body.pub .pub-home,
body.pub .pub-book-layout,
body.pub .pub-wizard,
body.pub .pub-hero,
body.pub .pub-page-shell {
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}
body.pub img,
body.pub video,
body.pub iframe,
body.pub svg,
body.pub table {
  max-width: 100%;
}
/* avoid page-wide max-width:* (breaks fixed sheets); clamp common wide offenders */
body.pub .pub-strip,
body.pub .pub-cards,
body.pub .pub-moves,
body.pub .pub-chips,
body.pub .pub-wizard-steps,
body.pub .pub-route-map-wrap,
body.pub .pub-sticky-cta__inner {
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 899px) {
  body.pub-home-page .pub-hero,
  body.pub-home-page .pub-hero__copy {
    text-align: center !important;
  }
  body.pub-home-page .pub-hero__sub {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.pub-home-page .pub-hero__trust {
    justify-content: center !important;
  }
  body.pub-home-page .pub-eyebrow {
    text-align: center;
  }
  body.pub--book .pub-page-head--book {
    text-align: center !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  body.pub--book .pub-book-head-sub,
  body.pub--book .pub-book-eyebrow {
    text-align: center !important;
  }
  body.pub--book .pub-wizard,
  body.pub--book .pub-book-layout {
    margin-left: auto;
    margin-right: auto;
  }
  body.pub--book .pub-route-hero,
  body.pub--book .pub-step1-cta {
    text-align: center;
  }
  body.pub--book .pub-route-field {
    text-align: left; /* fields stay readable left */
  }
  body.pub--book .pub-wizard-steps {
    justify-content: center;
  }
}
.pub-book-eyebrow {
  margin: 0 0 0.35rem;
}


/* ac-sticky-phone — one clear list under field until you pick */
.pub-ac-menu:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.pub-ac-menu.is-selecting {
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 12px 28px rgba(15, 23, 42, 0.18) !important;
}
.pub-ac-menu .pub-ac-item {
  min-height: 52px !important;
  padding: 0.8rem 0.9rem !important;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.pub-ac-menu .pub-ac-item.is-active,
.pub-ac-menu .pub-ac-item:active {
  background: #dbeafe !important;
}
/* Kill leftover dual smooth menus */
.jke-sm-menu {
  display: none !important;
}
@media (max-width: 899px) {
  .pub-ac-wrap {
    position: relative !important;
    z-index: 30;
  }
  .pub-route-field:focus-within,
  .pub-route-field:has(.pub-ac-open),
  .pub-route-field:has(.pub-ac-menu:not([hidden])) {
    z-index: 40;
  }
  .pub-ac-menu:not(.pub-ac-menu--sheet):not([hidden]) {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.4rem 0 0.55rem !important;
    max-height: min(280px, 42vh) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border: 2px solid #2563eb !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.2) !important;
    z-index: 50 !important;
  }
  /* Route fields stack cleanly — not scattered */
  .pub-route-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    align-items: stretch !important;
  }
  .pub-route-field {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.pub-step-1 .pub-wizard-panel[data-panel="1"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem;
  }
  body.pub-step-1 .pub-step1-cta {
    position: static !important; /* don't jump over the list */
    background: transparent !important;
    margin-top: 0.75rem !important;
    padding-top: 0.25rem !important;
  }
}


/* FORCE-HIDE phone step2-load Get price/Back */
@media (max-width: 899px) {
  body.pub-step-2.pub-step2-load .pub-wizard-panel--what > .pub-wizard-actions,
  body.pub-step-2.pub-step2-load .pub-wizard-actions,
  body.pub-step-2.pub-step2-load #w-proceed-book,
  body.pub-step-2.pub-step2-load .pub-wizard-panel--what > .pub-wizard-actions [data-back] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/* Homepage SEO/CRO v3 */
.pub-hero__ctas{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0 .5rem}
.pub-hero__trust-line{margin:.35rem 0 1rem;font-size:.92rem;color:#334155;font-weight:600}
.pub-strip__item{display:flex;flex-direction:column;gap:.2rem}
.pub-strip__item strong{font-weight:800}
.pub-strip__item span{font-size:.82rem;opacity:.85;font-weight:500}
.pub-card__badge{display:inline-block;background:#f59e0b;color:#0b1f3a;font-size:.72rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase;padding:.2rem .5rem;border-radius:999px;margin-bottom:.35rem}
.pub-card--priority{outline:2px solid #f59e0b;outline-offset:0}
.pub-home-steps-cta{margin-top:1.25rem}
.pub-btn--ghost{background:transparent;border:2px solid #0b1f3a;color:#0b1f3a;text-decoration:none;font-weight:800;padding:.65rem 1.1rem;border-radius:999px;display:inline-flex;align-items:center}
.pub-btn--ghost:hover{background:#0b1f3a;color:#fff}
.pub-home-page .jke-sticky-wa{display:none!important}

/* Item category tabs — browse by group instead of one flat list */
.pub-cat-tabs {
  display: flex;
  gap: 0.15rem;
  margin: 0 0 0.6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid #e2e8f0;
}

.pub-cat-tabs::-webkit-scrollbar {
  display: none;
}

.pub-cat-tabs[hidden] {
  display: none !important;
}

.pub-cat-tab {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: color 0.12s ease, border-color 0.12s ease;
}

.pub-cat-tab:hover {
  color: #1e293b;
}

.pub-cat-tab.is-active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* Property size picker — sizes the van and shows in the summary */
.pub-prop-pick {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.pub-prop-pick__lead {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.pub-prop-pick__opt {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.pub-prop-pick__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.pub-prop-pick__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pub-prop-pick__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.pub-prop-select {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}

.pub-prop-select:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

@media (max-width: 520px) {
  .pub-prop-pick__row {
    grid-template-columns: 1fr;
  }
}

/* Explicit re-price notice — the number must never move silently */
.pub-price-changed {
  margin: 0 0 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.88rem;
  font-weight: 700;
}

.pub-price-changed[hidden] {
  display: none !important;
}

.pub-price-changed.is-down {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.pub-price-changed.is-up {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}


/* === calfix1: when-phase UX — hide picker + long basket; force flex only on load === */
body.pub-prices-only .pub-items-layout,
body.pub-prices-only #w-quick-chips,
body.pub-prices-only #w-item-search,
body.pub-prices-only .pub-items-search,
body.pub-prices-only .pub-items-main,
body.pub-prices-only #w-catalogue,
body.pub-prices-only .pub-cat-tabs {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.pub-prices-only #w-cart,
body.pub-prices-only .pub-items-basket__list,
body.pub-prices-only .pub-items-basket__flash,
body.pub-prices-only .pub-items-basket__empty {
  display: none !important;
}
body.pub-prices-only .pub-items-basket {
  display: none !important;
}
/* flex items layout ONLY while picking load — never under prices-only */
body.pub-step-2.pub-step2-load:not(.pub-prices-only) .pub-items-layout {
  display: flex !important;
}
body.pub-prices-only .pub-step2-when-head,
body.pub-prices-only #w-step2-when-head {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.pub-step2-edit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0.35rem 0 0.65rem;
}
.pub-when-items-count {
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
}
/* Fail card: no empty white void under theatre */
body.pub-price-theatre #w-cal-section.is-theatre,
body.pub-price-theatre .pub-cal.is-theatre {
  min-height: 0 !important;
  background: transparent !important;
}
body.pub-price-theatre #w-cal-grid:empty,
.pub-cal.is-theatre #w-cal-grid:empty {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
}
body.pub-price-theatre #w-cal-meta,
.pub-cal.is-theatre #w-cal-meta {
  display: none !important;
}
#w-price-theatre #w-price-retry {
  margin-top: 12px;
  width: 100%;
  min-height: 48px;
}
.pub-price-theatre-card {
  min-height: auto;
}
@media (max-width: 639px) {
  .pub-price-theatre-card {
    min-height: auto;
  }
  body.pub-price-theatre #w-cal-section,
  .pub-cal.is-theatre {
    min-height: 0 !important;
  }
}

/* === calfix3: calendar-first when-phase (phone-universal; no 100vh/fixed traps) === */
body.pub-price-theatre #w-price-theatre,
#w-price-theatre:not([hidden]) {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  text-align: left;
  min-height: 0 !important;
  max-height: none;
  margin: 0 0 0.65rem !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 12px !important;
  border: 1px solid #93c5fd;
  background: #eff6ff !important;
  color: #0f172a !important;
  box-shadow: none !important;
  z-index: 2 !important;
}
.pub-price-theatre-card__spinner {
  width: 1.15rem;
  height: 1.15rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  border-width: 2px;
  margin: 0;
}
.pub-price-theatre-card__copy {
  min-width: 0;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}
.pub-price-theatre-card__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #1d4ed8 !important;
}
#w-price-theatre-joke,
.pub-price-theatre-card__joke {
  margin: 0.1rem 0 0 !important;
  max-width: none;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #334155 !important;
}
.pub-price-theatre-card__hint { display: none !important; }

/* paycal2: calendar hidden during theatre — see paycal2 block */
body.pub-price-theatre #w-cal-section,
.pub-cal.is-theatre,
body.pub-price-theatre #w-cal-section.is-theatre {
  min-height: 0 !important;
  overflow: visible !important;
}
body.pub-price-theatre #w-next-week-offer,
body.pub-price-theatre .pub-cal-any-row,
body.pub-price-theatre #w-cal-more,
body.pub-price-theatre #w-cal-selected,
body.pub-price-theatre #w-price-changed,
.pub-cal.is-theatre #w-next-week-offer,
.pub-cal.is-theatre .pub-cal-any-row,
.pub-cal.is-theatre #w-cal-more,
.pub-cal.is-theatre #w-cal-selected {
  display: none !important;
}
/* paycal2: grid hidden during theatre */
.cal-slot--skel {
  pointer-events: none !important;
  opacity: 0.55;
  background: #f8fafc;
  border-style: dashed;
}
.cal-slot--skel .cal-slot__jke,
.cal-slot--skel .cal-slot__day {
  color: #94a3b8 !important;
}
.pub-cal-crew-legend {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
body.pub-step2-when .pub-cal-crew-legend {
  display: block;
}
@media (max-width: 720px) {
  body.pub-step2-when .pub-cal-grid,
  #w-cal-grid.pub-cal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .cal-slot {
    min-height: 88px !important;
    padding: 0.45rem 0.4rem 0.5rem !important;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
  }
  .cal-slot__lab {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.15rem;
  }
  .cal-slot__jke,
  .cal-slot__jke--phone,
  .cal-slot__jke--2 {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }
  .cal-slot__jke--2 {
    color: #1e3a5f;
  }
  body.pub-price-theatre #w-price-theatre,
  #w-price-theatre:not([hidden]) {
    margin: 0 0 0.5rem !important;
    padding: 0.5rem 0.65rem !important;
  }
  .pub-cal-crew-legend {
    font-size: 0.78rem;
  }
}
#w-price-theatre #w-price-retry,
#w-price-retry {
  display: none !important;
}

/* === paycal1: calendar declutter + anti-shake + theatre conflict cleanup === */
body.pub-prices-only #w-step2-when-head .pub-day-trust,
body.pub-price-theatre #w-step2-when-head .pub-day-trust,
#w-when-trust[hidden] {
  display: none !important;
}
body.pub-prices-only #w-cal-crew-legend.is-demoted[hidden],
body.pub-prices-only #w-cal-crew-legend[hidden],
#w-next-week-offer.is-demoted[hidden] {
  display: none !important;
}
#w-quote-total[hidden] {
  display: none !important;
}
/* Hide sticky basket pills on when-phase */
body.pub-prices-only #w-sticky-basket,
body.pub-step2-when #w-sticky-basket,
body.pub-prices-only .pub-sticky-basket {
  display: none !important;
}
/* Fixed min-heights reduce layout shake while skeleton paints */
#w-cal-section {
  min-height: 280px;
}
#w-cal-grid {
  min-height: 220px;
}
body.pub-price-theatre #w-cal-section,
.pub-cal.is-theatre {
  min-height: 280px !important;
}
/* Kill old 42/58vh theatre void conflict (calfix3 compact bar wins) */
.pub-price-theatre-card {
  min-height: 0 !important;
}
@media (max-width: 639px) {
  body.pub-price-theatre #w-cal-section,
  .pub-cal.is-theatre {
    min-height: 260px !important;
  }
  .pub-price-theatre-card {
    min-height: 0 !important;
  }
  #w-cal-grid {
    min-height: 200px;
  }
}

/* === paycal2: big theatre; calendar only when ready; when declutter wins === */
body.pub-price-theatre #w-cal-ready,
.pub-cal.is-theatre #w-cal-ready,
body.pub-price-theatre #w-cal-grid,
.pub-cal.is-theatre #w-cal-grid,
body.pub-price-theatre #w-cal-crew-legend,
body.pub-price-theatre #w-next-week-offer,
body.pub-price-theatre .pub-cal-any-row,
body.pub-price-theatre #w-cal-more,
body.pub-price-theatre #w-cal-selected,
body.pub-price-theatre .pub-day-trust--inline {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  min-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.pub-prices-only #w-basket,
body.pub-prices-only .pub-items-basket,
body.pub-prices-only #w-quick-chips,
body.pub-prices-only .pub-items-layout,
body.pub-prices-only .pub-items-main,
body.pub-prices-only #w-catalogue,
body.pub-prices-only .pub-cat-tabs,
body.pub-prices-only #w-item-search,
body.pub-price-theatre #w-basket,
body.pub-price-theatre .pub-items-basket,
body.pub-price-theatre #w-quick-chips,
body.pub-price-theatre .pub-items-layout {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.pub-price-theatre #w-price-theatre,
#w-price-theatre:not([hidden]) {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  min-height: 220px !important;
  margin: 0.75rem 0 1rem !important;
  padding: 1.35rem 1.1rem !important;
  border-radius: 16px !important;
  border: 2px solid #93c5fd !important;
  background: #eff6ff !important;
  color: #0f172a !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}
.pub-price-theatre-card__spinner {
  width: 2.1rem !important;
  height: 2.1rem !important;
  border-width: 3px !important;
  margin: 0 auto !important;
}
.pub-price-theatre-card__eyebrow,
#w-price-theatre-eyebrow {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #1d4ed8 !important;
}
#w-price-theatre-joke,
.pub-price-theatre-card__joke {
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  max-width: 28rem;
  margin: 0.25rem auto 0 !important;
  color: #334155 !important;
}
body.pub-prices-only .pub-day-trust--inline,
body.pub-step2-when .pub-day-trust--inline {
  display: block !important;
}



/* === paycal2 phone beaters: prices-only wins over shell force-show === */
@media (max-width: 899px) {
  body.pub--book.pub-step-2.pub-prices-only #w-basket,
  body.pub--book.pub-step-2.pub-prices-only .pub-items-basket,
  body.pub--book.pub-step-2.pub-prices-only #w-quick-chips,
  body.pub--book.pub-step-2.pub-prices-only .pub-quick-chips,
  body.pub--book.pub-step-2.pub-prices-only .pub-items-layout,
  body.pub--book.pub-step-2.pub-prices-only .pub-items-main,
  body.pub--book.pub-step-2.pub-prices-only #w-catalogue,
  body.pub--book.pub-step-2.pub-prices-only #w-item-search,
  body.pub--book.pub-step-2.pub-prices-only .pub-items-search,
  body.pub--book.pub-step-2.pub-price-theatre #w-basket,
  body.pub--book.pub-step-2.pub-price-theatre #w-quick-chips,
  body.pub--book.pub-step-2.pub-price-theatre .pub-items-layout,
  body.pub--book.pub-step-2.pub-price-theatre .pub-items-main {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
