/* Checkout only. Navy Tesla screen. Day colors stay red / green. */

body.prob-site #checkout-view {
  --pb-champagne: #f4f2fb;
  --pb-champagne-soft: rgba(244, 242, 251, 0.72);
  --pb-champagne-ink: #0f1220;
  --pb-link: #f4f2fb;
  --pb-card-line: rgba(244, 242, 251, 0.14);
  --pb-rule: rgba(110, 101, 195, 0.45);
  --pb-purple: #6e65c3;
  --text-primary: #f4f2fb;
  --text-secondary: rgba(244, 242, 251, 0.68);
  --text-tertiary: rgba(244, 242, 251, 0.46);
  --border-color: rgba(244, 242, 251, 0.14);
  --bg-card: transparent;
  --bg-glass: transparent;
  --bg-secondary: #0f1220;
  --accent-primary: #6e65c3;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #0f1220 !important;
  color: #f4f2fb;
  font-family: "DM Sans", "DM Sans Fallback", system-ui, sans-serif;
  padding: clamp(1.75rem, 4vw, 3.25rem) 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

body.prob-site.light-mode #checkout-view,
html.prob-theme-light body.prob-site #checkout-view {
  background: #0f1220 !important;
  color: #f4f2fb;
}

body.prob-site #checkout-view .container {
  width: min(880px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

body.prob-site #checkout-view .checkout-shell {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  overflow: visible;
}

body.prob-site #checkout-view .checkout-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0 1.5rem;
  border: 0;
}

body.prob-site #checkout-view .checkout-progress .step {
  border-radius: 999px !important;
  border: 1px solid rgba(244, 242, 251, 0.18) !important;
  background: transparent !important;
  color: rgba(244, 242, 251, 0.62) !important;
  -webkit-text-fill-color: rgba(244, 242, 251, 0.62) !important;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: "DM Sans", "DM Sans Fallback", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  box-shadow: none !important;
}

body.prob-site #checkout-view .checkout-progress .step.active {
  background: #0f1220 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(244, 242, 251, 0.72) !important;
}

body.prob-site #checkout-view .checkout-step {
  padding: 0.25rem 0 0.5rem;
}

body.prob-site #checkout-view .checkout-step h3 {
  margin: 0 0 1.15rem;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #f4f2fb !important;
  -webkit-text-fill-color: #f4f2fb !important;
}

body.prob-site #checkout-view .summary-table,
body.prob-site #checkout-view .calendar-shell,
body.prob-site #checkout-view .final-recap,
body.prob-site #checkout-view .success-ref-box,
body.prob-site #checkout-view .field-grid,
body.prob-site #checkout-view .pb-payment-note,
body.prob-site #checkout-view .slot-truck {
  border: 1px solid rgba(244, 242, 251, 0.14) !important;
  border-radius: 18px !important;
  background: #0c0e1a !important;
  box-shadow: none !important;
}

body.prob-site #checkout-view .summary-table {
  overflow: hidden;
}

body.prob-site #checkout-view .summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto auto auto;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(244, 242, 251, 0.08);
  color: #f4f2fb;
  font-size: 0.95rem;
}

body.prob-site #checkout-view .summary-row.head {
  background: transparent;
  color: rgba(244, 242, 251, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

body.prob-site #checkout-view .summary-row:last-child {
  border-bottom: 0;
}

body.prob-site #checkout-view .summary-row strong {
  color: #fff;
  font-weight: 650;
}

body.prob-site #checkout-view .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.9rem;
  padding: 1rem;
}

body.prob-site #checkout-view .field-grid label:first-child,
body.prob-site #checkout-view .checkout-step[data-step="4"] .field-grid label:nth-child(4) {
  grid-column: 1 / -1;
}

body.prob-site #checkout-view .field-grid label {
  color: rgba(244, 242, 251, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

body.prob-site #checkout-view .field-grid input,
body.prob-site #checkout-view .field-grid textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px !important;
  border: 1px solid rgba(244, 242, 251, 0.18) !important;
  background: #0f1220 !important;
  color: #f4f2fb !important;
  -webkit-text-fill-color: #f4f2fb !important;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: none !important;
}

body.prob-site #checkout-view .field-grid textarea {
  min-height: 6.5rem;
  resize: vertical;
}

body.prob-site #checkout-view .field-grid input:focus,
body.prob-site #checkout-view .field-grid textarea:focus {
  outline: 2px solid rgba(110, 101, 195, 0.85);
  outline-offset: 1px;
  border-color: #6e65c3 !important;
}

body.prob-site #checkout-view .inline-info {
  margin-top: 0.85rem;
}

body.prob-site #checkout-view .department-badge {
  border-radius: 999px;
  border: 1px solid rgba(110, 101, 195, 0.55);
  background: transparent;
  color: #d4d0f4;
  letter-spacing: 0.04em;
}

body.prob-site #checkout-view .delivery-text {
  color: rgba(244, 242, 251, 0.72);
}

body.prob-site #checkout-view .calendar-shell {
  padding: 1rem 0.85rem 1.05rem;
}

body.prob-site #checkout-view .calendar-month {
  color: #f4f2fb;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.prob-site #checkout-view .calendar-nav {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 999px !important;
  border: 1px solid rgba(244, 242, 251, 0.22) !important;
  background: #0f1220 !important;
  color: #f4f2fb !important;
  -webkit-text-fill-color: #f4f2fb !important;
}

body.prob-site #checkout-view .calendar-grid {
  gap: 0.35rem;
  width: 100%;
}

body.prob-site #checkout-view .pb-next-delivery {
  display: flex;
  width: 100%;
  margin: 0.9rem 0 0;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 242, 251, 0.72);
  background: #0f1220;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: "DM Sans", "DM Sans Fallback", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

body.prob-site #checkout-view .pb-next-delivery:hover,
body.prob-site #checkout-view .pb-next-delivery:focus-visible {
  border-color: #6e65c3;
  outline: none;
}

body.prob-site #checkout-view .pb-next-delivery__msg {
  margin: 0.65rem 0 0;
  text-align: center;
  color: rgba(244, 242, 251, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

body.prob-site #checkout-view .day-btn {
  min-width: 0;
  min-height: 64px;
  border-radius: 12px !important;
  background: transparent !important;
  color: #f4f2fb;
  border: 1px solid rgba(244, 242, 251, 0.12) !important;
  box-shadow: none !important;
}

body.prob-site #checkout-view .day-btn .day-top {
  color: rgba(244, 242, 251, 0.5);
  font-size: 0.68rem;
}

body.prob-site #checkout-view .day-btn .day-num {
  color: #f4f2fb;
  font-size: 1rem;
}

body.prob-site #checkout-view .day-btn.day-open:not(.active):not(.selected) {
  border-color: #10b981 !important;
}

body.prob-site #checkout-view .day-btn.day-full,
body.prob-site #checkout-view .day-btn.today.day-full,
body.prob-site #checkout-view .day-btn.day-full.active,
body.prob-site #checkout-view .day-btn.day-full.selected {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.16) !important;
  color: #ef4444 !important;
  -webkit-text-fill-color: #ef4444 !important;
  opacity: 1 !important;
}

body.prob-site #checkout-view .day-btn.day-full .day-top,
body.prob-site #checkout-view .day-btn.day-full .day-num {
  color: #ef4444 !important;
  -webkit-text-fill-color: #ef4444 !important;
}

body.prob-site #checkout-view .day-btn.active:not(.day-full),
body.prob-site #checkout-view .day-btn.selected:not(.day-full) {
  background: #0f1220 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #6e65c3 !important;
}

body.prob-site #checkout-view .day-btn.disabled:not(.day-full) {
  opacity: 0.38;
}

body.prob-site #checkout-view .dot-green { background: #10b981 !important; }
body.prob-site #checkout-view .dot-red { background: #ef4444 !important; }

body.prob-site #checkout-view .far-day-cap-note,
body.prob-site #checkout-view .slot-overflow-note {
  border: 1px solid rgba(244, 242, 251, 0.16) !important;
  background: #0c0e1a !important;
  color: #f4f2fb !important;
  border-radius: 14px;
}

body.prob-site #checkout-view .slots {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.prob-site #checkout-view .slot-header {
  margin: 1rem 0 0.7rem;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(244, 242, 251, 0.55);
}

body.prob-site #checkout-view .slot-truck {
  padding: 0.9rem;
  min-height: 0;
  box-shadow: none !important;
}

body.prob-site #checkout-view .slot-truck-head {
  border-bottom-color: rgba(244, 242, 251, 0.1);
}

body.prob-site #checkout-view .slot-truck-title,
body.prob-site #checkout-view .slot-truck-cap {
  color: #f4f2fb;
}

body.prob-site #checkout-view .slot-truck-cap {
  color: rgba(244, 242, 251, 0.62);
  font-weight: 500;
}

body.prob-site #checkout-view .slot-truck-brand {
  background: transparent;
  border: 1px solid rgba(110, 101, 195, 0.7);
  color: #d4d0f4;
}

body.prob-site #checkout-view .slot-btn {
  border-radius: 999px !important;
  border: 1px solid rgba(244, 242, 251, 0.2) !important;
  background: #0f1220 !important;
  color: #f4f2fb !important;
  -webkit-text-fill-color: #f4f2fb !important;
  min-height: 48px;
  box-shadow: none !important;
}

body.prob-site #checkout-view .slot-btn.selected,
body.prob-site #checkout-view .slot-btn.active,
body.prob-site #checkout-view .slot-available.selected {
  background: #0f1220 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #6e65c3 !important;
}

body.prob-site #checkout-view .slot-btn.unavailable,
body.prob-site #checkout-view .slot-taken {
  background: transparent !important;
  color: rgba(244, 242, 251, 0.38) !important;
  -webkit-text-fill-color: rgba(244, 242, 251, 0.38) !important;
  border-color: rgba(244, 242, 251, 0.1) !important;
}

body.prob-site #checkout-view .pb-payment-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  color: rgba(244, 242, 251, 0.72);
  line-height: 1.5;
}

body.prob-site #checkout-view .pb-payment-note strong {
  color: #fff;
}

body.prob-site #checkout-view #checkout-nl-hint,
body.prob-site #checkout-view #checkout-nl-msg {
  color: rgba(244, 242, 251, 0.68) !important;
  text-align: center;
}

body.prob-site #checkout-view .final-recap {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  color: rgba(244, 242, 251, 0.82);
  line-height: 1.5;
}

body.prob-site #checkout-view .checkout-nav {
  position: static;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.35rem;
  padding: 0.35rem 0 calc(0.4rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
}

body.prob-site #checkout-view .prob-btn,
body.prob-site #checkout-view a.prob-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px !important;
  padding: 0.8rem 1.25rem !important;
  border-radius: 999px !important;
  font-family: "DM Sans", "DM Sans Fallback", system-ui, sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

body.prob-site #checkout-view .prob-btn-primary,
body.prob-site #checkout-view .prob-btn-primary:hover,
body.prob-site #checkout-view .prob-btn-primary:focus-visible {
  background: #0f1220 !important;
  background-color: #0f1220 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(244, 242, 251, 0.72) !important;
}

body.prob-site #checkout-view .prob-btn-outline,
body.prob-site #checkout-view .prob-btn-outline:hover,
body.prob-site #checkout-view .prob-btn-outline:focus-visible,
body.prob-site #checkout-view .prob-btn-secondary,
body.prob-site #checkout-view .prob-btn-secondary:hover,
body.prob-site #checkout-view .prob-btn-secondary:focus-visible {
  background: #12162a !important;
  color: #f4f2fb !important;
  -webkit-text-fill-color: #f4f2fb !important;
  border: 1px solid rgba(244, 242, 251, 0.28) !important;
}

body.prob-site #checkout-view .success-check circle,
body.prob-site #checkout-view .success-check path {
  stroke: #6e65c3;
}

body.prob-site #checkout-view a:not(.prob-btn) {
  color: #d4d0f4;
}

@media (max-width: 720px) {
  body.prob-site #checkout-view .container {
    width: min(100% - 1.25rem, 880px);
  }

  body.prob-site #checkout-view .summary-row,
  body.prob-site #checkout-view .summary-row.head {
    grid-template-columns: minmax(0, 1fr) auto;
    font-size: 0.88rem;
  }

  body.prob-site #checkout-view .field-grid {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  body.prob-site #checkout-view .checkout-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  body.prob-site #checkout-view .checkout-nav .prob-btn {
    width: 100%;
  }

  body.prob-site #checkout-view .day-btn {
    min-height: 52px;
    padding: 0.2rem 0.15rem;
  }

  body.prob-site #checkout-view .day-btn .day-top {
    font-size: 0.58rem;
  }

  body.prob-site #checkout-view .day-btn .day-num {
    font-size: 0.92rem;
  }

  body.prob-site #checkout-view .calendar-grid {
    gap: 0.22rem;
  }
}

body.prob-site:has(#checkout-view:not(.hidden)) .mobile-cart-bar,
body.prob-site:has(#checkout-view:not(.hidden)) .pb-desktop-cart {
  display: none !important;
}

body.prob-site:has(#checkout-view:not(.hidden)) .prob-site-float {
  top: 0.45rem;
  bottom: auto;
  right: 0.45rem;
  left: auto;
  width: 2.75rem;
  max-width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  z-index: 30;
}

