/* ============================================================
   B2B Reservation – Premium CSS
   Inspired by SWORP Box design system.
   ============================================================ */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --b2b-green: #0d9f3e;
  --b2b-green-hover: #0b8534;
  --b2b-green-light: rgba(13, 159, 62, 0.15);
  --b2b-green-subtle: rgba(13, 159, 62, 0.06);
  --b2b-ink: #141414;
  --b2b-muted: #636363;
  --b2b-slate: #475569;
  --b2b-line: #e5e7eb;
  --b2b-line-light: #f0f0f0;
  --b2b-soft: #f8fafc;
  --b2b-white: #fff;
  --b2b-radius: 12px;
  --b2b-radius-sm: 10px;
  --b2b-radius-lg: 16px;
  --b2b-radius-xl: 20px;
  --b2b-radius-pill: 999px;
  --b2b-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
                0 10px 15px -3px rgba(0, 0, 0, 0.05),
                0 20px 40px -10px rgba(0, 0, 0, 0.05),
                0 0 0 1px rgba(0, 0, 0, 0.05);
  --b2b-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08),
                   0 0 0 1px rgba(0, 0, 0, 0.04);
  --b2b-shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
                      0 20px 40px -10px rgba(0, 0, 0, 0.06);
  --b2b-hour-height: 44px;
  --b2b-transition: 0.2s ease;
  --b2b-transition-fast: 0.15s ease;
  --b2b-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --b2b-font-heading: Satoshi, Arial, sans-serif;
  --b2b-font-body: Inter, Arial, sans-serif;
}

/* ── Shell ──────────────────────────────────────────────────── */
body.b2b-shell-body {
  background: var(--b2b-white);
  color: var(--b2b-ink);
}

#b2b-app-root,
#b2b-summary-root,
#b2b-order-root,
#reference-app-root {
  width: 100%;
}

.b2b-shell-wrapper {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 48px;
  padding-bottom: 80px;
  overflow: visible;
}

.b2b-shell-body .footer .logo-claim .logo {
  width: auto;
  max-width: min(100%, 260px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── Page roots ─────────────────────────────────────────────── */
.b2b-page,
.b2b-summary-page,
.b2b-order-page,
.reference-page {
  width: 100%;
  font-family: var(--b2b-font-body);
  color: var(--b2b-ink);
}

.b2b-page {
  display: grid;
  gap: 40px;
}

.reference-page {
  display: grid;
  gap: 32px;
}

.reference-hero {
  display: block;
}

.reference-hero-copy,
.reference-cta-card,
.reference-card,
.reference-intro-item {
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line-light);
  border-radius: 24px;
  box-shadow: var(--b2b-shadow);
}

.reference-hero-copy {
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(13, 159, 62, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3fbf5 100%);
}

.reference-hero-copy .h1,
.reference-cta-copy .h2,
.reference-section-heading .h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.reference-hero-copy .subtitle-down,
.reference-cta-copy .subtitle-down,
.reference-section-heading .subtitle-down {
  max-width: 760px;
  margin-bottom: 0;
}

.reference-hero-actions,
.reference-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.reference-hero-actions .button,
.reference-cta-actions .button {
  flex: 0 0 auto;
}

.reference-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.reference-hero-main {
  display: grid;
  align-content: start;
}

.reference-hero-side {
  padding: 28px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 159, 62, 0.12) 0%, rgba(13, 159, 62, 0.2) 100%);
  border: 1px solid rgba(13, 159, 62, 0.18);
}

.reference-hero-side-title {
  margin: 0 0 16px;
  font-family: var(--b2b-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--b2b-ink);
}

.reference-panel-list li::marker {
  color: var(--b2b-green);
}

.reference-panel-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--b2b-ink);
}

.reference-intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reference-intro-item {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.reference-intro-item strong {
  font-family: var(--b2b-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--b2b-ink);
}

.reference-intro-item span {
  color: var(--b2b-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.reference-list-section {
  display: grid;
  gap: 24px;
}

.reference-feature-list {
  display: grid;
  gap: 24px;
}

.reference-feature {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line-light);
  border-radius: 24px;
  box-shadow: var(--b2b-shadow);
}

.reference-feature.is-screenshot {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  align-items: stretch;
}

.reference-feature-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.reference-feature.is-screenshot .reference-feature-media {
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  align-items: flex-start;
  overflow: hidden;
}

.reference-feature-image {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: var(--b2b-shadow-sm);
}

.reference-feature-image.is-screenshot {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 12px;
}

.reference-feature-body {
  display: grid;
  gap: 18px;
}

.reference-feature-placeholder {
  width: 100%;
  min-height: 200px;
  padding: 20px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  border: 1px dashed var(--b2b-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: var(--b2b-slate);
}

.reference-feature-placeholder strong {
  font-family: var(--b2b-font-heading);
  font-size: 18px;
  color: var(--b2b-ink);
}

.reference-placeholder-avatar {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-placeholder-avatar svg {
  width: 72px;
  height: 72px;
  display: block;
}

.reference-section-heading {
  display: grid;
  gap: 12px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.reference-card {
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: start;
  transition: transform var(--b2b-transition), box-shadow var(--b2b-transition);
}

.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--b2b-shadow-hover);
}

.reference-card-top {
  display: flex;
  justify-content: flex-start;
}

.reference-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--b2b-radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reference-badge.is-host {
  background: rgba(13, 159, 62, 0.12);
  color: var(--b2b-green);
}

.reference-badge.is-speaker {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.reference-badge.is-tenant {
  background: rgba(20, 20, 20, 0.08);
  color: var(--b2b-ink);
}

.reference-badge.is-client {
  background: rgba(234, 88, 12, 0.14);
  color: #c2410c;
}

.reference-quote {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--b2b-ink);
  text-wrap: pretty;
}

.reference-author {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--b2b-line);
}

.reference-author strong {
  font-family: var(--b2b-font-heading);
  font-size: 18px;
  font-weight: 700;
}

.reference-author span {
  color: var(--b2b-muted);
  line-height: 1.5;
}

.reference-source-note {
  color: var(--b2b-slate);
  font-size: 13px;
  font-weight: 600;
}

.reference-review-invite-card,
.reference-cta-card {
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(13, 159, 62, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
}

.reference-review-invite-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reference-review-invite-copy,
.reference-cta-copy {
  max-width: 720px;
}

.reference-review-invite-copy {
  max-width: 880px;
}

.reference-review-invite-copy .subtitle-down {
  max-width: 840px;
  margin-inline: auto;
}

.reference-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--b2b-font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--b2b-green);
}

.reference-cta-copy .reference-eyebrow {
  margin-bottom: 24px;
}

.reference-review-invite-title .detail {
  display: block;
  margin-top: 8px;
}

.reference-review-invite-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (max-width: 991px) {
  .reference-hero-grid,
  .reference-intro-strip,
  .reference-review-invite-card,
  .reference-cta-card {
    grid-template-columns: 1fr;
  }

  .reference-feature,
  .reference-feature.is-screenshot {
    grid-template-columns: 1fr;
  }

  .reference-feature-image {
    max-width: 220px;
  }

  .reference-review-invite-card,
  .reference-cta-card {
    display: grid;
  }
}

@media (max-width: 767px) {
  .reference-hero-copy,
  .reference-hero-panel-card,
  .reference-card,
  .reference-feature,
  .reference-review-invite-card,
  .reference-cta-card,
  .reference-intro-item {
    border-radius: 18px;
  }

  .reference-hero-copy,
  .reference-review-invite-card,
  .reference-cta-card {
    padding: 28px 22px;
  }

  .reference-card {
    padding: 22px;
  }

  .reference-feature {
    padding: 20px;
    gap: 18px;
  }

  .reference-quote {
    font-size: 18px;
  }

  .reference-hero-actions,
  .reference-review-invite-actions,
  .reference-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reference-hero-actions .button,
  .reference-review-invite-actions .button,
  .reference-cta-actions .button {
    width: 100%;
  }
}

.b2b-summary-page,
.b2b-order-page {
  display: grid;
  gap: 28px;
}

.b2b-order-page {
  max-width: 780px;
  margin: 0 auto;
  gap: 16px;
}

.b2b-summary-page--order-style {
  display: block;
  min-height: auto;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8faf9 0%, #e5f7e5 100%);
  border-radius: 24px;
}

.b2b-summary-page--order-style .order-summary-container {
  max-width: 760px;
  margin: 0 auto;
}

.b2b-summary-page--order-style .order-summary-title {
  margin: 0 0 28px;
  font-family: var(--b2b-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--b2b-ink);
  text-align: center;
  letter-spacing: -0.4px;
}

.b2b-summary-page--order-style .order-summary-section {
  margin-bottom: 16px;
  padding: 24px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line-light);
  border-radius: var(--b2b-radius);
  box-shadow: 0 0 30px 0 rgb(76 135 107 / 0.08);
}

.b2b-summary-page--order-style .order-summary-section h2 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--b2b-line-light);
  font-family: var(--b2b-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--b2b-green);
}

.b2b-summary-page--order-style .order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f7f7f7;
}

.b2b-summary-page--order-style .order-summary-row:last-child {
  border-bottom: none;
}

.b2b-summary-page--order-style .order-summary-label {
  font-size: 14px;
  color: var(--b2b-muted);
}

.b2b-summary-page--order-style .order-summary-value {
  max-width: 62%;
  font-size: 14px;
  font-weight: 500;
  color: var(--b2b-ink);
  text-align: right;
  word-break: break-word;
}

.b2b-summary-page--order-style .order-summary-note {
  display: block;
  white-space: pre-wrap;
  text-align: left;
}

.b2b-summary-page--order-style .order-summary-pricing {
  background: linear-gradient(135deg, #e5f7e5 0%, #ecfdf5 100%);
  border-color: var(--b2b-green);
}

.b2b-summary-page--order-style .order-summary-total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 2px solid #bbf7d0;
}

.b2b-summary-page--order-style .order-summary-total .order-summary-label,
.b2b-summary-page--order-style .order-summary-total .order-summary-value {
  font-family: var(--b2b-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--b2b-green);
}

.b2b-summary-page--order-style .order-summary-vat-notice {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid #d7ead7;
  font-size: 13px;
  color: var(--b2b-muted);
  font-style: italic;
}

.b2b-summary-page--order-style .order-summary-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: var(--b2b-radius);
}

.b2b-summary-page--order-style .order-summary-checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.b2b-summary-page--order-style .order-summary-checkbox-group.has-error .formular-checkbox-custom {
  border-color: #dc2626;
}

.b2b-summary-page--order-style .order-summary-checkbox-error {
  margin: -4px 0 0 44px;
  font-size: 13px;
  color: #dc2626;
}

.b2b-summary-page--order-style .formular-checkbox-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.b2b-summary-page--order-style .formular-checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.b2b-summary-page--order-style .formular-checkbox-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid #494949;
  border-radius: 4px;
  transition: all var(--b2b-transition);
  box-sizing: border-box;
}

.b2b-summary-page--order-style .formular-checkbox-wrapper input[type="checkbox"]:checked + .formular-checkbox-custom {
  background: var(--b2b-green);
  border-color: var(--b2b-green);
}

.b2b-summary-page--order-style .formular-checkbox-custom svg {
  display: none;
  width: 16px;
  height: 16px;
}

.b2b-summary-page--order-style .formular-checkbox-wrapper input[type="checkbox"]:checked + .formular-checkbox-custom svg {
  display: block;
}

.b2b-summary-page--order-style .formular-checkbox-label {
  flex: 1;
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #494949;
  cursor: pointer;
}

.b2b-summary-page--order-style .formular-checkbox-label a {
  color: #494949;
  text-decoration: underline;
}

.b2b-summary-page--order-style .order-summary-required {
  margin-left: 2px;
  color: #dc2626;
}

.b2b-summary-page--order-style .order-summary-turnstile {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.b2b-summary-page--order-style .order-summary-error {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--b2b-radius);
  color: #dc2626;
  font-size: 14px;
}

.b2b-summary-page--order-style .order-summary-actions {
  display: flex;
  gap: 12px;
}

.b2b-summary-page--order-style .order-summary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: var(--b2b-radius);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--b2b-transition);
}

.b2b-summary-page--order-style .order-summary-btn-secondary {
  background: #f0f0f0;
  color: var(--b2b-ink);
}

.b2b-summary-page--order-style .order-summary-btn-secondary:hover {
  background: var(--b2b-ink);
  color: var(--b2b-white);
}

.b2b-summary-page--order-style .order-summary-btn-primary {
  background: var(--b2b-green);
  color: var(--b2b-white);
}

.b2b-summary-page--order-style .order-summary-btn-primary:hover {
  background: var(--b2b-green-hover);
}

.b2b-summary-page--order-style .order-summary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ── Hero ───────────────────────────────────────────────────── */
.b2b-hero {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  text-align: center;
  padding: 20px 0 0;
}

.b2b-hero .h1,
.b2b-page h2,
.b2b-summary-page h1,
.b2b-order-page h1 {
  margin: 0;
  font-family: var(--b2b-font-heading);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--b2b-ink);
}

.b2b-hero .subtitle-down {
  margin: 0 auto;
  max-width: 640px;
  color: var(--b2b-muted);
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
}

/* ── Section headings ───────────────────────────────────────── */
.b2b-space-section,
.b2b-planner-section {
  scroll-margin-top: 120px;
}

.b2b-section-heading {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.b2b-section-heading h2 {
  font-family: var(--b2b-font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
}

.b2b-section-heading p,
.b2b-panel-head-copy p {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 16px;
  line-height: 24px;
}

/* ── Space stage: gallery + chooser ─────────────────────────── */
.b2b-space-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.b2b-gallery,
.b2b-calendar-panel,
.b2b-summary-panel,
.b2b-form-panel,
.b2b-simple-panel {
  display: grid;
  gap: 24px;
}

.b2b-space-chooser {
  display: grid;
  gap: 16px;
  height: 100%;
}

.b2b-gallery {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  position: sticky;
  top: 120px;
  align-self: stretch;
  height: 100%;
}

.b2b-space-chooser > div {
  display: grid;
  gap: 0;
  height: 100%;
  padding: 20px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-xl);
  box-shadow: var(--b2b-shadow);
}

/* ── Gallery ────────────────────────────────────────────────── */
.b2b-main-image {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--b2b-radius-lg);
  background: var(--b2b-soft);
  box-shadow: var(--b2b-shadow-sm);
  transition: transform 0.4s var(--b2b-ease-out), box-shadow 0.4s var(--b2b-ease-out);
}

.b2b-thumbs {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
}

.b2b-thumb {
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity var(--b2b-transition), transform var(--b2b-transition), box-shadow var(--b2b-transition);
  border-radius: var(--b2b-radius-sm);
  overflow: hidden;
}

.b2b-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.b2b-thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2.5px var(--b2b-green);
}

.b2b-thumb img {
  width: 100%;
  height: 100%;
  min-height: 94px;
  object-fit: cover;
  border-radius: var(--b2b-radius-sm);
  display: block;
}

/* ── Space list / meta / price / included ───────────────────── */
.b2b-space-list,
.b2b-space-meta-list,
.b2b-price-list,
.b2b-included-list,
.b2b-summary-list {
  display: grid;
  gap: 0;
}

.b2b-space-list {
  gap: 12px;
}

.b2b-space-meta-compact,
.b2b-price-compact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--b2b-line-light);
}

.b2b-meta-item,
.b2b-price-item {
  font-size: 13px;
  color: var(--b2b-muted);
}

.b2b-meta-item strong,
.b2b-price-item strong {
  margin-right: 4px;
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-weight: 600;
}

.b2b-included-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding-top: 2px;
}

.b2b-included-tag {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 13px;
  color: var(--b2b-muted);
  line-height: 1.45;
}

.b2b-included-icon {
  color: var(--b2b-green);
  font-weight: 700;
  line-height: 1.2;
}

.b2b-space-item,
.b2b-meta-row,
.b2b-price-row,
.b2b-included-row,
.b2b-summary-item,
.b2b-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--b2b-line-light);
  transition: background var(--b2b-transition-fast), transform var(--b2b-transition-fast);
}

.b2b-space-item {
  border: 1px solid var(--b2b-line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 18px;
  margin: 0;
  border-radius: var(--b2b-radius);
  border-bottom: 1px solid var(--b2b-line);
}

.b2b-space-item:hover {
  background: var(--b2b-soft);
  transform: translateY(-1px);
  box-shadow: var(--b2b-shadow-sm);
}

.b2b-space-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-family: var(--b2b-font-heading);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.b2b-space-item p,
.b2b-included-row,
.b2b-meta-row span,
.b2b-summary-item span,
.b2b-summary-row span {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 13px;
  line-height: 1.5;
}

.b2b-space-item.is-active {
  background: rgba(13, 159, 62, 0.06);
  border-color: rgba(13, 159, 62, 0.3);
  box-shadow: inset 0 0 0 2px var(--b2b-green);
}

.b2b-space-item.is-active strong {
  color: var(--b2b-green);
}

.b2b-space-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.b2b-space-item:disabled:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.b2b-badge {
  align-self: center;
  color: #503318;
  background: #ffe8cd;
  padding: 5px 12px;
  border-radius: var(--b2b-radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b2b-meta-row strong,
.b2b-price-row strong,
.b2b-summary-item strong,
.b2b-summary-row strong {
  text-align: right;
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-weight: 700;
}

.b2b-included-row {
  grid-template-columns: 1fr;
  padding: 12px 0;
  font-size: 14px;
  color: var(--b2b-muted);
}

.b2b-included-row::before {
  content: "✓";
  display: inline;
  margin-right: 8px;
  color: var(--b2b-green);
  font-weight: 700;
}

.b2b-planner-stack {
  display: grid;
  gap: 40px;
}

.b2b-planner-window {
  display: flex;
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-xl);
  box-shadow: var(--b2b-shadow);
}

.b2b-planner-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  flex: 0 0 320px;
}

.b2b-planner-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  align-self: center;
}

/* ── Form panel card ────────────────────────────────────────── */
.b2b-form-panel {
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-xl);
  padding: 28px;
  box-shadow: var(--b2b-shadow);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.b2b-form-panel h2 {
  font-family: var(--b2b-font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.b2b-request-shell {
  display: grid;
  gap: 24px;
}

.b2b-request-header-simple {
  display: grid;
  gap: 8px;
}

.b2b-request-header-simple p,
.b2b-form-summary-head p,
.b2b-form-actions-hint {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 14px;
  line-height: 1.65;
}
.b2b-request-section {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-lg);
  box-shadow: var(--b2b-shadow-sm);
}

.b2b-request-section-title {
  margin: 0;
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.b2b-request-status {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: var(--b2b-radius-pill);
  background: #f3f4f6;
  color: var(--b2b-slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.b2b-request-status.is-ready {
  background: rgba(13, 159, 62, 0.1);
  color: var(--b2b-green);
}

.b2b-request-status.is-warning {
  background: rgba(176, 35, 24, 0.08);
  color: #b42318;
}

.b2b-request-status.is-idle {
  background: rgba(71, 85, 105, 0.08);
  color: var(--b2b-slate);
}

.b2b-planner-sidebar-panel {
  display: grid;
  gap: 20px;
  padding-right: 28px;
  border-right: 1px solid var(--b2b-line);
  height: 100%;
}

.b2b-panel-head-copy {
  display: grid;
  gap: 0;
}

.b2b-panel-head-copy h2 {
  font-family: var(--b2b-font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

/* ── Selection state ────────────────────────────────────────── */
.b2b-selection-state {
  color: var(--b2b-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.b2b-summary-caption {
  color: var(--b2b-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.b2b-selection-state.is-ready {
  color: var(--b2b-green);
}

.b2b-selection-state.is-warning {
  color: #b42318;
}

/* ── Legend ──────────────────────────────────────────────────── */
.b2b-legend {
  display: grid;
  gap: 10px;
  color: var(--b2b-muted);
  font-size: 13px;
  padding: 16px;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: middle;
}

.dot.green  { background: #22c55e; }
.dot.yellow { background: #facc15; }
.dot.red    { background: #ef4444; }

/* ── Week toolbar ───────────────────────────────────────────── */
.b2b-week-toolbar {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.b2b-week-range {
  font-family: var(--b2b-font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: center;
}

/* ── Disabled navigation buttons ─────────────────────────── */
.button.style2[disabled],
.button.style2:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Week grid ──────────────────────────────────────────────── */
.b2b-week-grid {
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
}

.b2b-week-grid-head {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 14px 10px;
  border-right: 1px solid var(--b2b-line);
  border-bottom: 2px solid var(--b2b-line);
  text-align: center;
  background: var(--b2b-soft);
}

.b2b-week-grid-head.is-past {
  opacity: 0.4;
}

.b2b-week-grid-head span {
  display: block;
  color: var(--b2b-slate);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b2b-week-grid-head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--b2b-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--b2b-ink);
}

.b2b-week-time-cell {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--b2b-slate);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--b2b-soft);
  border-bottom: 2px solid var(--b2b-line);
}

.b2b-week-time-column {
  position: sticky;
  left: 0;
  z-index: 5;
  display: grid;
  grid-auto-rows: var(--b2b-hour-height);
  border-right: 1px solid var(--b2b-line);
  background: var(--b2b-white);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.03);
}

.b2b-week-time-label {
  padding: 6px 8px 0;
  color: var(--b2b-slate);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--b2b-line-light);
}

.b2b-week-day-column {
  position: relative;
  height: calc(var(--b2b-hour-height) * 24);
  border-right: 1px solid var(--b2b-line-light);
  transition: opacity 0.2s ease;
}

.b2b-week-day-column.is-past {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0, 0, 0, 0.015) 8px,
    rgba(0, 0, 0, 0.015) 16px
  );
  opacity: 0.45;
  pointer-events: none;
}

.b2b-week-day-column.is-past::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
  pointer-events: none;
  border-right: 1px solid var(--b2b-line-light);
}

.b2b-week-slot {
  display: block;
  width: 100%;
  height: var(--b2b-hour-height);
  border: 0;
  border-bottom: 1px solid var(--b2b-line-light);
  background: var(--b2b-white);
  cursor: pointer;
  transition: background var(--b2b-transition-fast);
}

.b2b-week-slot:hover {
  background: rgba(13, 159, 62, 0.06);
}

.b2b-week-slot.is-disabled {
  background: #fafafa;
  cursor: not-allowed;
}

.b2b-week-slot.is-disabled:hover {
  background: #fafafa;
}

.b2b-week-view {
  display: grid;
  gap: 20px;
}

.b2b-week-scroll {
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  background: var(--b2b-white);
  max-height: min(72vh, calc(var(--b2b-hour-height) * 10 + 60px));
  scrollbar-gutter: stable both-edges;
  box-shadow: inset 0 0 0 0 transparent;
}

/* ── Month overview ─────────────────────────────────────────── */
.b2b-month-overview {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-lg);
}

.b2b-month-overview-head {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
  gap: 12px;
  align-items: center;
}

.b2b-month-overview-title {
  font-family: var(--b2b-font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: capitalize;
  color: var(--b2b-ink);
  justify-self: center;
}

.b2b-month-overview-head > .b2b-mini-nav.button.style2 {
  min-height: 34px;
  height: 34px;
  width: 76px;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 12px;
  justify-self: stretch;
}

.b2b-month-overview-head .b2b-mini-nav:first-child {
  justify-self: start;
}

.b2b-month-overview-head .b2b-mini-nav:last-child {
  justify-self: end;
}

.b2b-month-weekdays,
.b2b-month-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.b2b-month-weekdays span {
  color: var(--b2b-slate);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b2b-month-mini-day {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: var(--b2b-radius-sm);
  background: var(--b2b-white);
  font-family: var(--b2b-font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--b2b-transition-fast);
  color: var(--b2b-ink);
}

.b2b-month-mini-day:hover {
  background: var(--b2b-green-subtle);
  border-color: rgba(13, 159, 62, 0.4);
  transform: translateY(-1px);
}

.b2b-month-mini-day.is-outside {
  opacity: 0.3;
}

.b2b-month-mini-day.is-past {
  opacity: 0.4;
}

.b2b-month-mini-day.is-current-week {
  background: var(--b2b-green);
  color: var(--b2b-white);
  border-color: var(--b2b-green);
  box-shadow: 0 4px 10px -4px rgba(13, 159, 62, 0.5);
}

.b2b-month-mini-day.is-current-week:hover {
  background: var(--b2b-green-hover);
  border-color: var(--b2b-green-hover);
}

.b2b-month-mini-day:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Booking & selection chips ──────────────────────────────── */
.b2b-week-booking,
.b2b-week-selection {
  position: absolute;
  left: 4px;
  right: 4px;
  padding: 8px 10px;
  border-radius: var(--b2b-radius-sm);
  overflow: hidden;
  transition: opacity var(--b2b-transition-fast), transform var(--b2b-transition-fast);
}

.b2b-week-booking strong,
.b2b-week-selection strong {
  display: block;
  font-family: var(--b2b-font-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.b2b-week-booking span,
.b2b-week-selection span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.8;
}

.b2b-week-selection small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.b2b-week-selection-price {
  font-weight: 700;
  opacity: 0.95;
}

.b2b-week-selection-hint,
.b2b-week-selection-hint-detail {
  opacity: 0.92;
}

.b2b-week-booking.is-yellow {
  background: #fff8dc;
  color: #503318;
  border-left: 3px solid #facc15;
}

.b2b-week-booking.is-red {
  background: #fdeae5;
  color: #7a2e21;
  border-left: 3px solid #ef4444;
}

.b2b-week-booking.is-green,
.b2b-week-selection {
  background: #effaf1;
  color: #062b0b;
  border-left: 3px solid #22c55e;
}

.b2b-week-selection.is-preview {
  opacity: 0.75;
  border-left-style: dashed;
}

.b2b-week-selection.is-mobile-target {
  cursor: pointer;
}

.b2b-mobile-editor {
  display: none;
}

@keyframes b2b-mobile-editor-slide-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Summary total price ────────────────────────────────────── */
.b2b-summary-item.is-total {
  padding-top: 20px;
  margin-top: 4px;
  border-top: 2px solid var(--b2b-ink);
  border-bottom: none;
}

.b2b-summary-item.is-total strong {
  font-family: var(--b2b-font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--b2b-green);
}

.b2b-form-summary {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-lg);
}

.b2b-form-summary-box {
  background: linear-gradient(180deg, #ffffff, #f8faf8);
}

.b2b-form-summary-addon {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--b2b-line);
}

.b2b-form-summary-addon-title {
  margin: 0;
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.b2b-form-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.b2b-selected-terms {
  display: grid;
  gap: 10px;
}

.b2b-selected-term,
.b2b-selected-term-empty {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.b2b-selected-term {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.b2b-selected-term strong {
  display: block;
  margin-bottom: 4px;
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-size: 15px;
  font-weight: 700;
}

.b2b-selected-term span,
.b2b-selected-term-empty {
  color: var(--b2b-muted);
  font-size: 13px;
  line-height: 1.5;
}

.b2b-selected-term-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.b2b-selected-term-remove {
  border: 0;
  background: transparent;
  color: var(--b2b-green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.b2b-selected-term-remove:hover {
  text-decoration: underline;
}

.b2b-request-form {
  display: grid;
  gap: 20px;
}

.b2b-pricing-explainer {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #ffffff, #f7fbf7);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-lg);
}

.b2b-pricing-explainer-inline {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.b2b-pricing-explainer-copy {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 14px;
  line-height: 1.6;
}

.b2b-pricing-examples {
  display: grid;
  gap: 10px;
}

.b2b-pricing-example {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
}

.b2b-pricing-example strong {
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.b2b-pricing-example span {
  color: var(--b2b-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ── Form ───────────────────────────────────────────────────── */
.b2b-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.b2b-form-grid-compact {
  gap: 18px;
}

.b2b-full-width {
  grid-column: 1 / -1;
}

.b2b-form-col-wide {
  grid-column: span 2;
}

.b2b-form-col label {
  display: block;
  margin-bottom: 8px;
  color: var(--b2b-ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.b2b-form-col input,
.b2b-form-col textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid #bbb;
  border-radius: var(--b2b-radius);
  padding: 12px 16px;
  background: var(--b2b-white);
  color: var(--b2b-ink);
  font-family: var(--b2b-font-body);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color var(--b2b-transition), box-shadow var(--b2b-transition);
}

.b2b-form-col input:hover,
.b2b-form-col textarea:hover {
  border-color: #bbb;
}

.b2b-form-col input:focus,
.b2b-form-col textarea:focus {
  border-color: var(--b2b-green);
  box-shadow: 0 0 0 3px var(--b2b-green-light);
}

.b2b-form-col input::placeholder,
.b2b-form-col textarea::placeholder {
  color: #bbb;
}

.b2b-form-col textarea {
  min-height: 132px;
  resize: vertical;
}

.b2b-form-actions {
  margin-top: 8px;
}

.b2b-form-actions-inline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 0;
}

.b2b-form-actions-hint {
  max-width: 42ch;
}

.b2b-discount-row {
  display: grid;
  gap: 12px;
}

.b2b-discount-status {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--b2b-line);
  color: var(--b2b-muted);
  font-size: 14px;
  line-height: 1.5;
}

.b2b-discount-status.is-success {
  background: rgba(13, 159, 62, 0.08);
  border-color: rgba(13, 159, 62, 0.25);
  color: var(--b2b-green);
}

.b2b-discount-status.is-error {
  background: rgba(176, 35, 24, 0.06);
  border-color: rgba(176, 35, 24, 0.18);
  color: #b42318;
}

/* ── Button overrides ──────────────────────────────────────── */
.b2b-button-reset {
  border: 0;
  cursor: pointer;
}

.b2b-button-fullwidth {
  width: 100%;
}

/* Hover lift for all buttons in b2b context */
.b2b-page .button,
.b2b-summary-page .button,
.b2b-order-page .button {
  transition: all var(--b2b-transition);
}

.b2b-page .button:not(:disabled):hover,
.b2b-summary-page .button:not(:disabled):hover,
.b2b-order-page .button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 159, 62, 0.3);
}

.b2b-page .button:not(:disabled):active,
.b2b-summary-page .button:not(:disabled):active,
.b2b-order-page .button:not(:disabled):active {
  transform: scale(0.98);
  box-shadow: none;
}

.b2b-page .button.style2:not(:disabled):hover,
.b2b-summary-page .button.style2:not(:disabled):hover,
.b2b-order-page .button.style2:not(:disabled):hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Disabled state for primary CTA */
.button[disabled],
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Summary checks ─────────────────────────────────────────── */
.b2b-summary-checks {
  display: grid;
  gap: 16px;
}

.b2b-summary-checks label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
  padding: 12px 16px;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  background: var(--b2b-white);
  transition: border-color var(--b2b-transition-fast), background var(--b2b-transition-fast);
}

.b2b-summary-checks label:hover {
  border-color: rgba(13, 159, 62, 0.4);
  background: var(--b2b-green-subtle);
}

.b2b-summary-checks input[type="checkbox"] {
  accent-color: var(--b2b-green);
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.b2b-summary-checks input[type="checkbox"]:checked + span,
.b2b-summary-checks label:has(input:checked) {
  border-color: var(--b2b-green);
  background: rgba(13, 159, 62, 0.04);
}

.b2b-summary-checks a,
.b2b-qr-wrap a {
  color: var(--b2b-green);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--b2b-transition-fast);
}

.b2b-summary-checks a:hover,
.b2b-qr-wrap a:hover {
  text-decoration: underline;
  color: var(--b2b-green-hover);
}

/* ── Summary actions ────────────────────────────────────────── */
.b2b-summary-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.b2b-request-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-request-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--b2b-muted);
  font-size: 14px;
  line-height: 1.6;
}

.b2b-request-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--b2b-green);
}

.b2b-request-contact-name {
  color: var(--b2b-ink);
  font-family: var(--b2b-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.b2b-request-contact-link {
  display: inline-flex;
  width: fit-content;
  color: var(--b2b-green);
  font-weight: 700;
  text-decoration: none;
}

.b2b-request-contact-link:hover {
  text-decoration: underline;
}

/* ── Status chip ────────────────────────────────────────────── */
.b2b-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 18px;
  border-radius: var(--b2b-radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.b2b-status-chip.awaiting   { background: #fff8dc; color: #503318; }
.b2b-status-chip.paid       { background: #effaf1; color: #062b0b; }
.b2b-status-chip.completed  { background: #eef5ff; color: #0f4f66; }
.b2b-status-chip.expired    { background: #fdeae5; color: #7a2e21; }

/* ── QR ─────────────────────────────────────────────────────── */
.b2b-qr-wrap {
  margin-top: 24px;
  text-align: center;
}

.b2b-qr-wrap img {
  width: 220px;
  max-width: 100%;
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow-sm);
}

/* ── Turnstile ──────────────────────────────────────────────── */
.b2b-turnstile {
  min-height: 70px;
}

/* ── Error ──────────────────────────────────────────────────── */
.b2b-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: var(--b2b-radius);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

/* ── Loading ────────────────────────────────────────────────── */
.b2b-loading,
.b2b-loading-inline {
  color: var(--b2b-muted);
  text-align: center;
  font-size: 15px;
}

.b2b-loading {
  padding: 48px 0;
}

.b2b-loading-inline {
  padding: 24px 0;
}

@keyframes b2b-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.b2b-loading,
.b2b-loading-inline {
  animation: b2b-pulse 1.8s ease-in-out infinite;
}

/* ── Simple panel (summary/order) ──────────────────────────── */
.b2b-simple-panel {
  padding: 28px;
  background: var(--b2b-white);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-xl);
  box-shadow: var(--b2b-shadow);
}

.b2b-order-page .b2b-simple-panel {
  gap: 14px;
  padding: 20px;
}

.b2b-order-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #f8faf9 0%, #e5f7e5 100%);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius-xl);
  box-shadow: var(--b2b-shadow);
}

.b2b-order-page .b2b-order-hero {
  gap: 14px;
  padding: 20px;
}

.b2b-status-illustration {
  width: 88px;
  height: 88px;
  display: block;
}

.b2b-order-page .b2b-status-illustration {
  width: 64px;
  height: 64px;
}

.b2b-order-hero-copy h2 {
  margin: 0 0 10px;
  font-family: var(--b2b-font-heading);
  font-size: 28px;
  line-height: 1.15;
}

.b2b-order-page h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1;
}

.b2b-order-page .b2b-order-hero-copy h2 {
  margin-bottom: 6px;
  font-size: 23px;
}

.b2b-order-hero-copy p {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 15px;
  line-height: 1.65;
}

.b2b-order-page .b2b-order-hero-copy p {
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.5;
}

.b2b-order-timer {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff7d8;
  color: #6f5010;
  font-size: 13px;
  font-weight: 700;
}

.b2b-order-page .b2b-order-timer {
  margin-top: 10px;
  padding: 7px 11px;
  font-size: 12px;
}

.b2b-panel-title {
  margin: 0 0 10px;
  font-family: var(--b2b-font-heading);
  font-size: 22px;
  line-height: 1.2;
}

.b2b-order-page .b2b-panel-title {
  margin-bottom: 4px;
  font-size: 19px;
}

.b2b-status-note {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 15px;
  line-height: 1.7;
}

.b2b-order-page .b2b-status-note {
  font-size: 13px;
  line-height: 1.5;
}

.b2b-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.b2b-order-page .b2b-order-actions {
  gap: 8px;
}

.b2b-simple-panel .b2b-order-actions {
  margin-top: 20px;
}

.b2b-order-page .b2b-summary-row {
  gap: 10px;
  padding: 10px 0;
}

.b2b-order-page .b2b-summary-row span {
  font-size: 12px;
  line-height: 1.3;
}

.b2b-order-page .b2b-summary-row strong {
  font-size: 14px;
  line-height: 1.3;
}

.b2b-simple-panel--payment {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: center;
}

.b2b-payment-details {
  display: grid;
  min-width: 0;
}

.b2b-simple-panel--payment .b2b-qr-wrap {
  margin-top: 0;
}

.b2b-simple-panel--payment .b2b-qr-wrap img {
  width: 148px;
}

.b2b-simple-panel--payment .b2b-qr-wrap p {
  margin: 8px 0 0;
}

/* ── Responsive: ≤ 1120px ───────────────────────────────────── */
@media (max-width: 1120px) {
  .b2b-space-stage {
    grid-template-columns: 1fr;
  }

  .b2b-gallery {
    position: static;
  }

  .b2b-planner-sidebar {
    position: static;
    flex-basis: auto;
  }

  .b2b-included-compact {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-planner-window {
    display: grid;
    grid-template-columns: 1fr;
  }

  .b2b-planner-sidebar-panel {
    padding-right: 0;
    padding-bottom: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--b2b-line);
  }

  .b2b-form-panel {
    padding: 28px;
  }

  .b2b-order-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .b2b-simple-panel--payment {
    grid-template-columns: 1fr;
  }

  .b2b-simple-panel--payment .b2b-qr-wrap {
    margin-top: 4px;
  }
}

/* ── Responsive: ≤ 767px ────────────────────────────────────── */
@media (max-width: 767px) {
  .b2b-summary-page--order-style {
    padding: 24px 12px;
  }

  .b2b-summary-page--order-style .order-summary-title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .b2b-summary-page--order-style .order-summary-section {
    padding: 18px;
  }

  .b2b-summary-page--order-style .order-summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .b2b-summary-page--order-style .order-summary-value {
    max-width: 100%;
    text-align: left;
  }

  .b2b-summary-page--order-style .order-summary-actions {
    flex-direction: column;
  }

  .b2b-summary-page--order-style .order-summary-checkboxes {
    padding: 16px;
  }

  .b2b-summary-page--order-style .order-summary-checkbox-error {
    margin-left: 0;
  }

  .b2b-gallery {
    grid-template-columns: 1fr;
  }

  .b2b-main-image,
  .b2b-thumbs {
    grid-column: auto;
    grid-row: auto;
  }

  .b2b-main-image {
    min-height: 0;
  }

  .b2b-shell-wrapper {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .b2b-order-hero,
  .b2b-simple-panel {
    padding: 20px;
  }

  .b2b-order-page {
    gap: 16px;
  }

  .b2b-order-page h1 {
    font-size: 34px;
    line-height: 36px;
  }

  .b2b-order-hero-copy h2 {
    font-size: 24px;
  }

  .b2b-order-page .b2b-order-hero-copy h2 {
    font-size: 21px;
  }

  .b2b-order-actions {
    flex-direction: column;
  }

  .b2b-page {
    gap: 28px;
  }

  .b2b-planner-stack {
    gap: 24px;
  }

  .b2b-hero .h1 {
    font-size: 36px;
    line-height: 38px;
  }

  .b2b-section-heading {
    margin-bottom: 28px;
  }

  .b2b-section-heading h2 {
    font-size: 28px;
  }

  .b2b-week-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .b2b-week-toolbar .button.style2 {
    width: 100%;
    justify-content: center;
  }

  .b2b-week-grid {
    grid-template-columns: 56px repeat(7, minmax(84px, 1fr));
    width: max(100%, 720px);
  }

  .b2b-week-range {
    font-size: 18px;
  }

  .b2b-week-grid-head strong {
    font-size: 15px;
  }

  .b2b-planner-main {
    min-height: 100svh;
  }

  .b2b-week-view {
    height: 100svh;
    min-height: 100svh;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
  }

  .b2b-week-view.has-mobile-editor {
    padding-bottom: calc(220px + env(safe-area-inset-bottom, 0px));
  }

  .b2b-week-scroll {
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    margin-inline: -4px;
    width: calc(100% + 8px);
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: auto;
  }

  .b2b-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .b2b-form-summary-head {
    grid-template-columns: 1fr;
  }

  .b2b-selected-term {
    grid-template-columns: 1fr;
  }

  .b2b-selected-term-meta {
    justify-items: start;
  }

  .b2b-request-status {
    width: fit-content;
  }

  .b2b-form-grid {
    grid-template-columns: 1fr;
  }

  .b2b-planner-window,
  .b2b-form-panel,
  .b2b-simple-panel {
    padding: 16px;
  }

  .b2b-planner-window {
    gap: 16px;
    border-radius: 18px;
    min-height: calc(100svh - 32px);
  }

  .b2b-space-chooser > div {
    padding: 14px;
    border-radius: var(--b2b-radius-lg);
  }

  .b2b-space-chooser > div:last-child > div {
    gap: 8px;
  }

  .b2b-space-item {
    padding: 14px 12px;
  }

  .b2b-meta-row,
  .b2b-price-row,
  .b2b-summary-item,
  .b2b-summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .b2b-meta-row strong,
  .b2b-price-row strong,
  .b2b-summary-item strong,
  .b2b-summary-row strong {
    text-align: left;
  }

  .b2b-simple-panel--payment .b2b-qr-wrap img {
    width: 176px;
  }

  .b2b-summary-actions {
    flex-direction: column;
  }

  .b2b-panel-head-copy h2 {
    font-size: 22px;
  }

  .b2b-planner-sidebar-panel {
    gap: 16px;
    padding-bottom: 16px;
  }

  .b2b-form-col input,
  .b2b-form-col textarea {
    font-size: 16px;
    min-height: 50px;
  }

  .b2b-form-col textarea {
    min-height: 172px;
  }

  .b2b-form-summary {
    padding: 16px;
  }

  .b2b-request-section {
    padding: 16px;
  }

  .b2b-form-actions-inline {
    grid-template-columns: 1fr;
  }

  .b2b-form-actions-inline {
    display: grid;
    justify-content: stretch;
  }

  .b2b-month-overview {
    padding: 14px;
  }

  .b2b-legend {
    padding: 12px;
  }

  .b2b-week-booking,
  .b2b-week-selection {
    left: 3px;
    right: 3px;
  }

  .b2b-mobile-editor {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 40;
    display: block;
    padding-bottom: 0;
    animation: b2b-mobile-editor-slide-up 220ms var(--b2b-ease-out);
    pointer-events: none;
  }

  .b2b-mobile-editor-card {
    width: min(100%, 540px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(20, 20, 20, 0.14);
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  .b2b-mobile-editor-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
  }

  .b2b-mobile-editor-head h3,
  .b2b-mobile-editor-head p,
  .b2b-mobile-editor-head strong {
    margin: 0;
  }

  .b2b-mobile-editor-head h3 {
    margin-top: 4px;
    font-family: var(--b2b-font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
  }

  .b2b-mobile-editor-head p {
    margin-top: 4px;
    color: var(--b2b-muted);
    font-size: 13px;
    line-height: 1.5;
  }

  .b2b-mobile-editor-head strong {
    color: var(--b2b-green);
    font-family: var(--b2b-font-heading);
    font-size: 20px;
    font-weight: 700;
    text-align: right;
  }

  .b2b-mobile-editor-duration {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .b2b-mobile-editor-option {
    min-height: 46px;
    border: 1px solid var(--b2b-line);
    border-radius: 14px;
    background: var(--b2b-white);
    color: var(--b2b-ink);
    font-family: var(--b2b-font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--b2b-transition-fast);
  }

  .b2b-mobile-editor-option.is-active {
    background: rgba(13, 159, 62, 0.08);
    border-color: rgba(13, 159, 62, 0.32);
    box-shadow: inset 0 0 0 1px var(--b2b-green);
    color: var(--b2b-green);
  }

  .b2b-mobile-editor-option:disabled {
    opacity: 0.42;
    cursor: not-allowed;
  }

  .b2b-mobile-editor-hint {
    margin: 0;
    color: var(--b2b-muted);
    font-size: 13px;
    line-height: 1.5;
  }

  .b2b-mobile-editor-hint.is-error {
    color: #b42318;
  }

  .b2b-mobile-editor-pricing-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(13, 159, 62, 0.18);
    background: rgba(13, 159, 62, 0.08);
    color: #0c5d26;
  }

  .b2b-mobile-editor-pricing-note strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
  }

  .b2b-mobile-editor-pricing-note span {
    font-size: 13px;
    line-height: 1.45;
  }

  .b2b-mobile-editor-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .b2b-mobile-editor-remove.button.style2 {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.18);
  }

  .b2b-pricing-example {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
