/* ============================================================
   Kratos Moving — styles-additions.css
   Supplement to styles.css. Add <link> for this file in index.html.
   ============================================================ */

/* Step 1 — Next button aligned right */
.form-navigation--right {
  display: flex;
  justify-content: flex-end;
}

/* Step 4 — Estimate block */
#estimateBlock {
  background: #fff8f0;
  border: 1px solid #ff9902;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

#estimateBlock .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  font-size: 0.95rem;
}

#estimateBlock .summary-item span:first-child {
  font-weight: 600;
  color: #2c3e50;
  min-width: 180px;
}

#estimateBlock .summary-item span:last-child {
  color: #ff7700;
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
}

.estimate-disclaimer {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #888;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 153, 2, 0.25);
  padding-top: 8px;
}

/* Step 4 — Booking Summary rows with bold labels */
.booking-summary .summary-item span:first-child {
  font-weight: 600;
  color: #2c3e50;
}

/* Service config label required star */
.required-star {
  color: #e74c3c;
}

/* ============================================================
   v2 — Orange gradient page foundation
   ============================================================ */
body {
  background: linear-gradient(180deg, #FFF8EC 0%, #FFFFFF 60%);
  min-height: 100vh;
}

/* v2 content cards */
.k-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 27, 46, 0.06), 0 8px 24px rgba(243, 146, 0, 0.04);
  border: 1px solid rgba(229, 231, 235, 0.6);
  padding: 24px;
}

@media (min-width: 640px) {
  .k-card {
    padding: 32px;
  }
}

/* v2 selected-state badge (checkmark in top-right of service card) */
.k-service-check {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: #ff9902;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card {
  position: relative;
}

.service-card.selected .k-service-check {
  display: flex;
}

.service-card.selected {
  border: 2px solid #ff9902;
  background: #FFF5E6;
}

/* v2 primary CTA button */
.k-cta {
  height: 56px;
  background: #ff9902;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 153, 2, 0.25);
  transition: background 0.15s, box-shadow 0.15s;
}

.k-cta:hover,
.k-cta:active {
  background: #e88902;
  box-shadow: 0 2px 8px rgba(255, 153, 2, 0.2);
}

/* v2 input focus ring — brand orange only */
.k-input:focus {
  outline: none;
  border-color: #ff9902;
  box-shadow: 0 0 0 2px rgba(255, 153, 2, 0.2);
}

/* v2 service options: 2-column on desktop, stacked on mobile */
.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

@media (max-width: 600px) {
  .service-options {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Step 2 — Date info cards (last-minute + urgent relocation)
   ============================================================ */
.date-info-cards {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.date-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.date-info-card__icon {
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.date-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-info-card__body strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c3e50;
}

.date-info-card__body span {
  color: #555;
}

/* Warning card — last-minute fee */
.date-info-card--warning {
  background: #fff8f0;
  border: 1px solid #ff9902;
}

.date-info-card--warning .date-info-card__icon {
  color: #e67e00;
}

/* Info card — urgent relocation */
.date-info-card--info {
  background: #f0f7ff;
  border: 1px solid #5b8dee;
}

.date-info-card--info .date-info-card__icon {
  color: #5b8dee;
}



/* ============================================================
   Mobile Sticky Bottom Navigation Bar
   Visible ONLY on screens <= 768px
   ============================================================ */
.mobile-sticky-bar {
  display: none; /* hidden by default — shown only on mobile */
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #111111;
    border-top: 2px solid #ff6600;
    height: 60px;
    padding: 0 4px;
    gap: 4px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.40);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-sticky-bar--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-sticky-bar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sticky-bar__btn i {
    font-size: 1rem;
    margin-bottom: 1px;
  }

  .mobile-sticky-bar__btn--next {
    flex: 2;
    background: #ff6600;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.75rem;
  }

  .mobile-sticky-bar__btn--next:hover,
  .mobile-sticky-bar__btn--next:active {
    background: #e05500;
  }

  .mobile-sticky-bar__btn--back:hover,
  .mobile-sticky-bar__btn--back:active {
    background: #2a2a2a;
    color: #ffffff;
  }

  .mobile-sticky-bar__btn--help {
    color: #aaaaaa;
  }

  .mobile-sticky-bar__btn--help:hover,
  .mobile-sticky-bar__btn--help:active {
    background: #1e1e1e;
    color: #ff9902;
  }

  /* Invisible back button (step 1) — keeps layout stable */
  .mobile-sticky-bar__btn--invisible {
    opacity: 0;
    pointer-events: none;
  }

  /* Disabled next button */
  .mobile-sticky-bar__btn--disabled,
  .mobile-sticky-bar__btn--next:disabled {
    background: #444444 !important;
    color: #888888 !important;
    cursor: not-allowed;
  }
}

/* ============================================================
   Part B — Saved Progress Banner
   ============================================================ */
.saved-progress-banner {
  background: #fff8f0;
  border: 1px solid #ff9902;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
}

.saved-progress-banner__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: #2c3e50;
}

.saved-progress-banner__inner i {
  color: #ff9902;
  flex-shrink: 0;
}

.saved-progress-banner__inner span {
  flex: 1;
}

.saved-progress-banner__clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 102, 0, 0.4);
  color: #e05500;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.saved-progress-banner__clear:hover {
  background: #fff0e0;
  color: #c04000;
}

/* ============================================================
   Part C — Estimated Subtotal value (green)
   ============================================================ */
.estimate-subtotal-value {
  color: #1a9e4a !important; /* override the default orange from #estimateBlock span:last-child */
  font-weight: 700;
  font-size: 1rem;
}

/* Ensure the time value keeps normal orange styling */
#summaryEstimatedTime {
  color: #ff7700;
  font-weight: 700;
}

/* ============================================================
   Success Page — Redesign
   ============================================================ */

/* Header block */
.success-header {
  margin-bottom: 32px;
}

/* Two-column grid: summary left, timeline right */
.success-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Each panel */
.success-panel {
  border: 1.5px solid rgba(255, 153, 2, 0.22);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255, 249, 242, 0.75);
}

.success-panel > h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ff9902;
  margin: 0 0 16px 0;
}

/* Neutralise the standalone border/bg of summary elements when inside a panel */
.success-panel .success-summary,
.success-panel .success-materials,
.success-panel .materials-total-line {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  margin-bottom: 14px;
}

.success-panel .success-materials:empty,
.success-panel .materials-total-line:empty {
  display: none;
}

/* --- Vertical Timeline --- */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-step {
  display: flex;
  gap: 14px;
  position: relative;
}

/* Connecting line between steps */
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  width: 2px;
  bottom: -6px;
  background: #e2e8f0;
}

.timeline-step.completed:not(:last-child)::after {
  background: #48bb78;
}

.timeline-step__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.timeline-step.completed .timeline-step__dot {
  background: #48bb78;
  color: #fff;
}

.timeline-step.pending .timeline-step__dot {
  background: #edf2f7;
  border: 2px solid #cbd5e0;
}

.timeline-step__content {
  padding-bottom: 22px;
  flex: 1;
}

.timeline-step:last-child .timeline-step__content {
  padding-bottom: 0;
}

.timeline-step__title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 3px 0;
  color: #1f2a37;
}

.timeline-step.pending .timeline-step__title {
  color: #718096;
}

.timeline-step__meta {
  font-size: 11.5px;
  color: #a0aec0;
  margin: 0;
  line-height: 1.45;
}

.timeline-step.completed .timeline-step__meta {
  color: #68d391;
}

/* --- Kratos Account placeholder --- */
.success-loyalty {
  border: 1.5px dashed rgba(255, 153, 2, 0.32);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 28px;
  background: rgba(255, 249, 242, 0.35);
}

.success-loyalty__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.success-loyalty__header h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ff9902;
  margin: 0;
}

.loyalty-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 153, 2, 0.75);
  padding: 2px 8px;
  border-radius: 20px;
}

.loyalty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.loyalty-card {
  background: #fff;
  border: 1px solid rgba(255, 153, 2, 0.13);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loyalty-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 153, 2, 0.1);
  color: #ff9902;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.loyalty-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #1f2a37;
  margin: 0;
}

.loyalty-card__desc {
  font-size: 11.5px;
  color: #a0aec0;
  margin: 0;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 640px) {
  .success-body-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }

  .loyalty-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .success-loyalty {
    padding: 18px;
    margin-bottom: 20px;
  }
}

/* ============================================================
   Phase 2 — Map Panel (Step 4: Addresses)
   ============================================================ */

.address-map-hint {
  font-size: 0.82rem;
  color: #8a97a8;
  margin: 6px 0 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.address-map-hint i {
  font-size: 0.78rem;
  flex-shrink: 0;
  opacity: 0.75;
}
#moveMap {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  margin-top: 24px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: #f8fafc;
}

@media (max-width: 768px) {
  #moveMap {
    height: 240px;
    margin-top: 16px;
    border-radius: 8px;
  }
}

/* ============================================================
   Compact mobile step indicator (≤480px)
   Replaces the 6-circle labeled indicator with a text line
   above the existing progress bar. Desktop (>480px) unchanged.
   ============================================================ */
.mobile-step-label {
  display: none;
}

@media (max-width: 480px) {
  .mobile-step-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 8px;
    font-size: 13px;
    color: #7f8c8d;
  }

  .progress-steps {
    display: none;
  }

  .progress-bar {
    margin-bottom: 0;
  }
}

/* ============================================================
   Phase 3 — Uber-grade mobile visual overhaul (≤480px)
   ============================================================ */

/* Google Maps autocomplete dropdown — always above sticky bar */
.pac-container {
  z-index: 9999 !important;
}

/* Mobile CTA bar: hidden on desktop, shown on mobile via media query */
.k-mobile-cta {
  display: none;
}

@media (max-width: 480px) {
  /* --- Foundation --- */
  body {
    background: #F9FAFB;
  }

  .main-content {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .container {
    padding: 0;
  }

  .booking-form {
    padding: 0;
  }

  /* --- Section header --- */
  .section-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 0;
    background: #fff;
  }

  .section-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    color: #0F1B2E;
  }

  .section-header h2 i {
    display: none;
  }

  .section-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-top: 6px;
    line-height: 1.5;
  }

  /* --- Step 1: Service cards --- */
  .service-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    background: #fff;
  }

  .service-card {
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: none;
    transition: border-color 0.15s, background 0.15s;
  }

  .service-card:last-child {
    margin-bottom: 0;
  }

  .service-card.selected {
    border-color: #ff9902;
    background: #FFF8EC;
  }

  .service-card .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF3E0;
    color: #ff9902;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0F1B2E;
    margin: 0 0 6px 0;
  }

  .service-card p {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.55;
    margin: 0;
  }

  /* --- Form sections & native nav hidden on mobile --- */
  .form-section {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .form-navigation {
    display: none;
  }

  /* --- Step 2: Scheduling --- */
  .scheduling-container {
    padding: 16px 20px;
  }

  .date-picker-card,
  .time-slots-card {
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px;
    box-shadow: none;
  }

  .time-option {
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
  }

  .time-option:has(input:checked) {
    border-color: #ff9902;
    background: #FFF8EC;
  }

  .availability-note {
    margin: 0 20px 16px;
  }

  /* --- Step 3: Form fields --- */
  .form-grid {
    padding: 16px 20px;
    gap: 14px;
  }

  .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #0F1B2E;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 14px;
    color: #0F1B2E;
    background: #fff;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: #ff9902;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 153, 2, 0.12);
  }

  /* --- Step 6: Terms checkbox tap area --- */
  .terms-checkbox {
    padding: 14px 0;
  }

  .terms-checkbox label {
    font-size: 14px;
    line-height: 1.5;
    color: #0F1B2E;
  }

  .terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
  }

  /* --- Mobile CTA bar --- */
  .k-mobile-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #E5E7EB;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  }

  .k-btn-secondary {
    flex: 0 0 auto;
    min-width: 80px;
    height: 50px;
    background: #F3F4F6;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #0F1B2E;
    cursor: pointer;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
  }

  .k-btn-secondary:hover,
  .k-btn-secondary:active {
    background: #E5E7EB;
  }

  .k-btn-primary {
    flex: 1;
    height: 50px;
    background: #ff9902;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    -webkit-tap-highlight-color: transparent;
  }

  .k-btn-primary:hover,
  .k-btn-primary:active {
    background: #e88902;
  }

  .k-btn-primary:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
  }
}

/* ============================================================
   Step 1 — Service icon halo
   ============================================================ */
.service-icon-halo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #FFF5E6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 8px;
}

.service-card p {
  font-size: 14px;
  color: #5a6c7d;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Step 3 — Location Details
   ============================================================ */
.loc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .loc-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.loc-detail-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
}

.loc-detail-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.loc-detail-card__pin {
  flex-shrink: 0;
  margin-top: 2px;
}

.loc-detail-card__addr-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.loc-detail-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff9902;
}

.loc-detail-card__addr-text {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
  word-break: break-word;
}

.loc-detail-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loc-field-row:only-child,
.loc-field-row.loc-cond-stories,
.loc-field-row.loc-cond-apt {
  grid-template-columns: 1fr 1fr;
}

.loc-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loc-field-group label {
  font-size: 13px;
  font-weight: 400;
  color: #6B7280;
}

.loc-optional {
  font-size: 12px;
  color: #9CA3AF;
}

.loc-select,
.loc-input {
  height: 52px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  color: #2c3e50;
  background: #FFFFFF;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.loc-input {
  background-image: none;
}

.loc-select:focus,
.loc-input:focus {
  outline: none;
  border-color: #ff9902;
  box-shadow: 0 0 0 2px rgba(255, 153, 2, 0.2);
}

/* Smooth show/hide for conditional rows */
.loc-field-row[style*="display:none"] {
  display: none !important;
}

/* ============================================================
   Step 4 — Inventory
   ============================================================ */
.inv-section-header {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
}

.inv-counter-grid {
  display: grid;
  gap: 12px;
}

.inv-counter-grid--5 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
  .inv-counter-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .inv-counter-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.inv-counter-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.inv-counter-card.inv-selected {
  border: 2px solid #ff9902;
  background: #FFF5E6;
}

.inv-counter-label {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  line-height: 1.3;
}

.inv-counter-icon {
  flex-shrink: 0;
}

.inv-counter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inv-btn-minus,
.inv-btn-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.inv-btn-minus {
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #6B7280;
}

.inv-btn-minus:disabled {
  opacity: 0.35;
  cursor: default;
}

.inv-btn-plus {
  background: #ff9902;
  color: #FFFFFF;
}

.inv-btn-plus:hover {
  background: #e88902;
}

.inv-count {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  min-width: 24px;
  text-align: center;
}

/* Big-ticket items */
.inv-bigtick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 600px) {
  .inv-bigtick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .inv-bigtick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.inv-bigtick-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.inv-bigtick-card:has(.inv-bigtick-cb:checked) {
  border: 2px solid #ff9902;
  background: #FFF5E6;
}

.inv-bigtick-cb {
  display: none;
}

.inv-bigtick-check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid #D1D5DB;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.inv-bigtick-card:has(.inv-bigtick-cb:checked) .inv-bigtick-check {
  background: #ff9902;
  border-color: #ff9902;
}

.inv-bigtick-card:has(.inv-bigtick-cb:checked) .inv-bigtick-check::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.inv-bigtick-name {
  font-size: 13px;
  font-weight: 500;
  color: #2c3e50;
  line-height: 1.3;
}

/* ============================================================
   Step 6 — Add-ons
   ============================================================ */
.addon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 769px) {
  .addon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.addon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.addon-card.addon-selected {
  border: 2px solid #ff9902;
  background: #FFF5E6;
}

.addon-card__icon {
  flex-shrink: 0;
}

.addon-card__body {
  flex: 1;
}

.addon-card__title {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.addon-card__desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
}

/* iOS-style toggle */
.addon-toggle {
  align-self: flex-end;
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.addon-toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.addon-toggle__track {
  display: block;
  width: 44px;
  height: 24px;
  background: #D1D5DB;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}

.addon-toggle__track::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}

.addon-toggle__input:checked + .addon-toggle__track {
  background: #ff9902;
}

.addon-toggle__input:checked + .addon-toggle__track::after {
  transform: translateX(20px);
}

.addon-note {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 8px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ============================================================
   Step 4 — Home-size selection cards
   ============================================================ */
.homesize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .homesize-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.homesize-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: center;
  user-select: none;
}

.homesize-card:hover {
  border-color: #ff9902;
  background: #fff8f0;
  box-shadow: 0 2px 8px rgba(255, 153, 2, 0.12);
}

.homesize-card.homesize-selected {
  border-color: #ff9902;
  background: #fff3e0;
  box-shadow: 0 0 0 3px rgba(255, 153, 2, 0.18);
}

.homesize-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

.homesize-label {
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

.homesize-sub {
  font-size: 11px;
  color: #7f8c8d;
  line-height: 1.2;
}

/* Step 2 — dropoff optional hint */
.dropoff-optional-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #7f8c8d;
  line-height: 1.4;
}

/* ============================================================
   Step indicator — Roman numeral circles
   Bumped to 44px to comfortably fit "VIII"
   ============================================================ */
.step-number {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  font-size: 11px !important;
  letter-spacing: 0.5px;
}

/* ============================================================
   Step header illustrations (Steps 2–7)
   ============================================================ */
.step-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.step-illustration svg {
  display: block;
}

/* ============================================================
   Step 7 — Risk-free cancellation banner
   ============================================================ */
.risk-free-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0FDF4;
  border-left: 3px solid #10B981;
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
  line-height: 1.5;
}

.risk-free-banner__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.risk-free-banner strong {
  font-weight: 700;
}
