/* ============ Quote wizard — utilitarian checkout, same tokens as the main site ============ */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.quote-body {
  background: var(--canvas);
}

/* ---- Header (ported from the approved homepage glass topbar) ---- */
.quote-headwrap {
  position: sticky;
  top: 0;
  z-index: 40;
}
.foq-topbar {
  background: rgba(11,29,38,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--cream);
}
.foq-topbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.foq-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  flex-shrink: 0;
}
.foq-brand img { height: 34px; width: auto; display: block; }
.foq-brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
}
.foq-brand__word span {
  display: block;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: .22em;
  font-size: .62rem;
}
.foq-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: .82rem;
  font-weight: 500;
}
.foq-nav a { color: rgba(247,245,240,.75); transition: color .18s ease; }
@media (hover: hover) { .foq-nav a:hover { color: var(--lime); } }
.foq-topbar__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.foq-topbar__phone {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: rgba(247,245,240,.75);
  white-space: nowrap;
}
@media (hover: hover) { .foq-topbar__phone:hover { color: var(--lime); } }
.foq-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247,245,240,.3);
  background: transparent;
  color: var(--cream);
  border-radius: var(--radius);
  padding: 0;
}
.foq-menu-btn svg { width: 18px; height: 18px; pointer-events: none; }
.foq-mobile-nav {
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--navy-deep);
}
.foq-mobile-nav[hidden] { display: none; }
.foq-mobile-nav nav { display: flex; flex-direction: column; padding: 8px 20px 20px; }
.foq-mobile-nav a {
  color: rgba(247,245,240,.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .95rem;
}
.foq-mobile-nav a:last-child { border-bottom: none; color: var(--lime); font-family: var(--font-mono); font-size: .88rem; }

@media (max-width: 860px) {
  .foq-nav, .foq-topbar__phone { display: none; }
  .foq-menu-btn { display: flex; }
}

/* ---- Main / sections ---- */
.quote-main {
  max-width: 560px;
  margin: 0 auto;
  /* bottom clearance keeps the last section above the fixed mobile total bar */
  padding: 28px 20px calc(20px + 88px + env(safe-area-inset-bottom));
}

@media (min-width: 960px) {
  .quote-main {
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .quote-main__summary {
    position: sticky;
    top: 128px;
  }
}

.quote-form-error {
  position: fixed;
  bottom: calc(78px + env(safe-area-inset-bottom));
  left: 20px;
  right: 20px;
  z-index: 16;
  background: var(--error);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -10px rgba(179,38,30,.5);
}
@media (min-width: 640px) {
  .quote-form-error {
    max-width: 520px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
.quote-step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin: 0 0 6px;
}
.quote-step__hint {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.5;
  margin: 0 0 20px;
  overflow-wrap: break-word;
}

.quote-field {
  margin-bottom: 20px;
}
.quote-field > label {
  display: block;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.quote-field__note {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: .8125rem;
}
.quote-field--row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.quote-field--row > div { flex: 1; min-width: 0; }

.quote-field select,
.quote-end select,
.quote-field input[type="text"],
.quote-field input[type="tel"],
.quote-field input[type="date"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1rem;
  color: var(--ink);
}
.quote-field select:focus,
.quote-end select:focus,
.quote-field input:focus {
  border-color: var(--teal);
  outline: none;
}
.quote-field__other { margin-top: 10px; }

/* ---- Item quantity list (belongings step) ---- */
.quote-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.quote-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.quote-item-row__label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.quote-item-row[data-qty="0"] .quote-item-row__label { color: var(--ink-soft); font-weight: 500; }
.quote-item-row__stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.quote-item-row__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--panel);
  color: var(--navy-deep);
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .1s ease;
}
@media (hover: hover) {
  .quote-item-row__btn:hover:not(:disabled) { background: var(--lime); color: var(--navy-deep); }
}
.quote-item-row__btn:active:not(:disabled) { background: var(--lime); color: var(--navy-deep); transform: scale(.92); }
.quote-item-row__btn:disabled { background: var(--panel); color: var(--ink-mute); opacity: 1; cursor: not-allowed; }
.quote-item-row__qty {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
  text-align: center;
}

.quote-load-summary {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 12px 0 16px;
  font-variant-numeric: tabular-nums;
}
.quote-load-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: .85rem;
}
.quote-load-summary__row span:first-child {
  font-weight: 600;
  color: var(--ink-soft);
}
.quote-load-summary__row span:last-child {
  font-weight: 700;
  color: var(--teal-deep);
  text-align: right;
}

.quote-access-preview {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin: 10px 0 0;
}

.quote-text-link {
  background: none;
  border: none;
  padding: 6px 2px;
  margin: 12px -2px 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: underline;
  cursor: pointer;
}
@media (hover: hover) {
  .quote-text-link:hover { color: var(--teal); }
}
.quote-text-link:active { color: var(--teal); }

/* ---- Load assistant modal ---- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.quote-modal[hidden] {
  display: none;
}
.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,35,64,.55);
}
.quote-modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .quote-modal { align-items: center; }
  .quote-modal__panel { border-radius: var(--radius); max-height: 80vh; }
}
/* Landscape phones / short viewports: the sheet would otherwise eat the
   whole screen and leave almost nothing for the scrollable item list. */
@media (max-height: 480px) {
  .quote-modal__panel { max-height: 96vh; }
  .quote-modal__header { padding: 10px 16px; }
  .quote-modal__body { padding: 10px 16px; }
  .quote-modal__footer { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
}
.quote-modal__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.quote-modal__header h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin: 0;
}
.quote-modal__close {
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: none;
  background: var(--panel);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--navy-deep);
  cursor: pointer;
}
@media (hover: hover) {
  .quote-modal__close:hover { background: var(--line); }
}
.quote-modal__close:active { background: var(--line); transform: scale(.94); }
.quote-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.quote-modal__footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.quote-modal__recommendation {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.quote-modal__recommendation-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.quote-modal__recommendation strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quote-modal__recommendation span:last-child {
  font-size: .8125rem;
  color: var(--ink-soft);
}
.quote-modal__footer .quote-btn {
  flex: none;
  padding: 12px 22px;
}
/* Below ~480px the recommendation text and the button can't both fit on
   one line without truncating mid-word — stack them instead of squeezing. */
@media (max-width: 480px) {
  .quote-modal__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .quote-modal__recommendation strong {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .quote-modal__footer .quote-btn {
    width: 100%;
  }
}

/* ---- Custom date picker ---- */
.quote-date-trigger {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
}
@media (hover: hover) {
  .quote-date-trigger:hover { border-color: var(--teal); }
}
.quote-date-trigger:active { border-color: var(--teal); background: var(--panel); }
.quote-calendar {
  position: relative;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 12px 28px -10px rgba(11,35,64,.25);
}
.quote-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.quote-calendar__month {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy-deep);
}
.quote-calendar__nav {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--panel);
  border-radius: 50%;
  color: var(--navy-deep);
  font-size: 1rem;
  cursor: pointer;
}
@media (hover: hover) {
  .quote-calendar__nav:hover { background: var(--lime); color: var(--navy-deep); }
}
.quote-calendar__nav:active { background: var(--lime); color: var(--navy-deep); }
.quote-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.quote-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.quote-calendar__day {
  aspect-ratio: 1;
  min-height: 40px;
  border: none;
  background: none;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
@media (hover: hover) {
  .quote-calendar__day:hover:not(:disabled) { background: rgba(200,230,75,.12); }
}
.quote-calendar__day:active:not(:disabled) { background: rgba(200,230,75,.2); }
.quote-calendar__day:disabled { color: var(--ink-mute); opacity: .5; cursor: not-allowed; }
.quote-calendar__day[data-today] { box-shadow: inset 0 0 0 1px var(--navy-deep); }
.quote-calendar__day[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--navy-deep); }
.quote-calendar__day[data-selected],
.quote-calendar__day[aria-selected="true"] { background: var(--navy-deep); color: var(--cream); }
.quote-calendar__day:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.quote-calendar__day--blank { cursor: default; }

/* ---- Manual-quote branch (Step 5) ---- */
.quote-manual-quote {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  text-align: center;
}
.quote-manual-quote p {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 16px;
}
.quote-manual-quote .quote-btn { flex: none; padding: 12px 24px; }

.quote-subsection {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.quote-subsection:last-of-type {
  border-bottom: none;
}
.quote-subsection__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-deep);
  margin: 0 0 12px;
}

/* Same bordered-card language as .quote-checkbox below, just compact
   enough to sit inline next to the floor <select> in .quote-field--row. */
.quote-toggle-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
@media (hover: hover) {
  .quote-toggle-field:hover { border-color: var(--teal); }
}
.quote-toggle-field:has(input:checked) {
  border-color: var(--teal);
  background: rgba(200,230,75,.06);
}
.quote-toggle-field label {
  padding: 13px 0;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy-deep);
  cursor: pointer;
  flex: 1;
}
.quote-toggle-field input { width: 20px; height: 20px; accent-color: var(--navy-deep); flex-shrink: 0; }

.quote-zone-status {
  font-size: .88rem;
  font-weight: 600;
  margin: 4px 0 0;
  min-height: 1.2em;
}
.quote-zone-status[data-state="ok"] { color: var(--teal-deep); }
.quote-zone-status[data-state="error"] { color: var(--error); }

/* ---- Radio cards (size/tier/vehicle/time slot) ---- */
.quote-radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.quote-radio-card {
  position: relative;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 48px;
  justify-content: center;
  transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
}
@media (hover: hover) {
  .quote-radio-card:hover {
    border-color: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -12px rgba(11,35,64,.3);
  }
}
.quote-radio-card:active {
  border-color: var(--teal);
  background: rgba(200,230,75,.06);
  transform: translateY(0) scale(.98);
}
.quote-radio-card span {
  font-weight: 400;
  font-size: .8125rem;
  color: var(--ink-soft);
}
.quote-radio-card[aria-pressed="true"] {
  border-color: var(--teal);
  background: rgba(200,230,75,.06);
  color: var(--teal-deep);
}
.quote-radio-card[aria-pressed="true"] strong { color: var(--teal-deep); }
.quote-radio-card__price {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.quote-radio-card--vehicle {
  padding-top: 0;
  overflow: hidden;
}
.quote-radio-card__image {
  width: calc(100% + 32px);
  margin: 0 -16px 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

/* ---- Checkboxes ---- */
.quote-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quote-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
@media (hover: hover) {
  .quote-checkbox:hover { border-color: var(--teal); }
}
.quote-checkbox:active { border-color: var(--teal); background: rgba(200,230,75,.06); }
.quote-checkbox:has(input:checked) {
  border-color: var(--teal);
  background: rgba(200,230,75,.06);
}
.quote-checkbox input { width: 20px; height: 20px; accent-color: var(--navy-deep); }
.quote-checkbox__fee {
  margin-left: auto;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: .8125rem;
}

/* ---- Stepper (crew size) ---- */
.quote-stepper {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
}
.quote-stepper__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--navy-deep);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
@media (hover: hover) {
  .quote-stepper__btn:hover:not(:disabled) { background: var(--lime); color: var(--navy-deep); }
}
.quote-stepper__btn:active:not(:disabled) { transform: scale(.92); }
/* Disabled = clearly inert, not a lower-contrast secondary button (item 12) */
.quote-stepper__btn:disabled {
  background: transparent;
  color: var(--ink-mute);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 1;
  cursor: not-allowed;
}
.quote-stepper__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
  text-align: center;
}

/* ---- Receipt / itemized total ---- */
.quote-receipt {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.quote-receipt__loading { color: var(--ink-soft); font-size: .9rem; }
.quote-receipt__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--line);
}
.quote-receipt__row:last-of-type { border-bottom: none; }
.quote-receipt__total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-deep);
}
.quote-receipt__deposit {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.quote-receipt__balance {
  display: flex;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--ink-soft);
}

.quote-disclosure {
  font-size: .8125rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.quote-checkout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.quote-checkout__signed-in {
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.quote-pay-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  transition: background .2s ease, transform .15s ease;
}
@media (hover: hover) {
  .quote-pay-btn:hover:not(:disabled) { background: var(--gold-bright); transform: translateY(-2px); }
}
.quote-pay-btn:active:not(:disabled) { background: var(--gold-bright); transform: scale(.98); }
.quote-pay-btn:disabled { opacity: .5; cursor: not-allowed; }
.quote-whatsapp-fallback {
  display: inline-block;
  padding: 6px 2px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: underline;
}
@media (hover: hover) {
  .quote-whatsapp-fallback:hover { color: var(--teal); }
}
.quote-whatsapp-fallback:active { color: var(--teal); }

/* ---- Confirmation ---- */
.quote-confirmation-screen {
  max-width: 560px;
  margin: 0 auto;
}
.quote-confirmation {
  text-align: center;
  padding: 40px 20px;
}
.quote-confirmation__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: quote-confirm-in .5s cubic-bezier(.16,1,.3,1);
}
.quote-confirmation__icon svg { width: 32px; height: 32px; }
@keyframes quote-confirm-in {
  from { transform: scale(.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.quote-confirmation h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 10px;
}
.quote-confirmation p {
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 24px;
}
.quote-confirmation__bank {
  text-align: left;
  margin: 0 auto 20px;
}
.quote-confirmation__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.quote-confirmation__actions .quote-btn {
  flex: none;
  width: 100%;
}
.quote-confirmation__home {
  margin-top: 8px;
}

.quote-btn {
  flex: 1;
  display: inline-block;
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--navy-deep);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.quote-btn--filled {
  background: var(--navy-deep);
  color: #fff;
}
.quote-btn--ghost {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-deep);
}
.quote-btn--whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
@media (hover: hover) {
  .quote-btn--filled:hover:not(:disabled) { background: var(--teal-deep); }
  .quote-btn--ghost:hover:not(:disabled) { background: rgba(200,230,75,.08); }
  .quote-btn--whatsapp:hover:not(:disabled) { background: #1DA851; border-color: #1DA851; }
}
.quote-btn--filled:active:not(:disabled) { background: var(--teal-deep); }
.quote-btn--ghost:active:not(:disabled) { background: rgba(200,230,75,.08); }
.quote-btn--whatsapp:active:not(:disabled) { background: #1DA851; border-color: #1DA851; }
.quote-btn:active:not(:disabled) { transform: scale(.97); }
.quote-btn:disabled { opacity: .4; cursor: not-allowed; }


/* ============================================================= */
/* UI-audit follow-ups (analyse-the-ui-and-curious-stream.md)      */
/* ============================================================= */

/* ---- Section eyebrow + "Optional" tag (items 7, 13) ---- */
.quote-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.quote-section__eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ink-mute);
}
.quote-section__tag {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}
.quote-section--optional { opacity: .96; }
.quote-section--optional .quote-step__title { font-size: 1.25rem; }

/* small helper note under the truck cards (item 16) */
.quote-cards-note {
  font-size: .8125rem;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

/* ---- Inline field validation (item 5) ---- */
.quote-field--invalid > label { color: var(--error); }
.quote-field--invalid input,
.quote-field--invalid select,
.quote-field--invalid .quote-date-trigger {
  border-color: var(--error);
  background: rgba(179,38,30,.04);
}
.quote-field__error {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--error);
}
.quote-field--invalid .quote-field__error { display: flex; }
.quote-radio-cards--invalid,
.quote-invalid-outline {
  outline: 1px solid var(--error);
  outline-offset: 4px;
}

/* ---- Load-assistant accordions (item 6) ---- */
.quote-accordion { border-bottom: 1px solid var(--line); }
.quote-accordion:first-of-type { border-top: 1px solid var(--line); }
.quote-accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 2px;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
}
.quote-accordion__head > span:first-child { flex: 1; }
.quote-accordion__count {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  color: var(--navy-deep);
  background: var(--lime);
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}
.quote-accordion__count[data-empty] {
  color: var(--ink-mute);
  background: var(--panel);
}
.quote-accordion__chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .2s ease;
  color: var(--ink-mute);
}
.quote-accordion[data-open] .quote-accordion__chev { transform: rotate(180deg); }
.quote-accordion__panel { padding: 0 0 14px; }
.quote-accordion__panel[hidden] { display: none; }

/* ---- Sticky summary support block (item 8) ---- */
.quote-aside-support {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px 18px;
}
.quote-aside-support__title {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 12px;
}
.quote-aside-support ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quote-aside-support li {
  display: flex;
  gap: 10px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.quote-aside-support li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--navy-deep);
}
.quote-aside-support li strong { color: var(--ink); font-weight: 700; }
@media (max-width: 959px) {
  .quote-aside-support { display: none; }
}

/* ---- Copy-to-clipboard on EFT bank details (item 14) ---- */
.quote-receipt__row--copy { align-items: center; }
.quote-copy-btn {
  margin-left: 10px;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
@media (hover: hover) {
  .quote-copy-btn:hover { background: var(--lime); color: var(--navy-deep); border-color: var(--lime); }
}
.quote-copy-btn[data-copied] { background: var(--navy-deep); color: var(--lime); border-color: var(--navy-deep); }
.quote-receipt__row .quote-receipt__copywrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

/* ---- Footer (site credit) ---- */
.quote-footer {
  background: var(--navy-deep);
  color: rgba(247,245,240,.45);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: .78rem;
  border-top: 1px solid rgba(247,245,240,.1);
}
.quote-footer a { color: rgba(247,245,240,.45); }
@media (hover: hover) {
  .quote-footer a:hover { color: var(--lime-bright); }
}
@media (min-width: 640px) {
  .quote-footer { padding-left: 32px; padding-right: 32px; }
}

/* ============================================================= */
/* Staged journey: road progress, one step per screen            */
/* ============================================================= */

/* ---- Road progress (under the top bar, same navy band) ---- */
.quote-road {
  --pos: 0;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 8px 32px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.quote-road[hidden] { display: none; }
.quote-road__track {
  position: relative;
  max-width: 520px;
  margin: 26px auto 0;
  height: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(247,245,240,.45) 0 8px, transparent 8px 16px) center / 100% 2px no-repeat,
    var(--navy-soft);
}
.quote-road__done {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--pos) * 100%);
  background: var(--lime);
  transition: width .52s cubic-bezier(.16,1,.3,1);
}
.quote-road__stops {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quote-road__stops li { width: 0; display: flex; justify-content: center; }
.quote-road__stops button {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(247,245,240,.55);
  background: var(--navy-deep);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
/* 32px tap target around a 12px dot */
.quote-road__stops button::before { content: ""; position: absolute; inset: -10px; }
.quote-road__stops button[data-state="done"] { background: var(--lime); border-color: var(--lime); }
.quote-road__stops button[data-state="here"] { border-color: var(--lime); transform: scale(1.25); }
.quote-road__stops button:disabled { cursor: default; }
.quote-road__stops button:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.quote-road__bakkie {
  position: absolute;
  bottom: 7px;
  left: calc(var(--pos) * 100%);
  width: 46px;
  height: 22px;
  transform: translateX(-50%);
  transition: left .52s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
@media (min-width: 960px) {
  /* Line the road up with the form column, like the bottom bar. */
  .quote-road { padding-left: max(32px, calc((100vw - 1040px) / 2 + 32px)); padding-right: max(32px, calc((100vw - 1040px) / 2 + 412px)); }
  .quote-road__track, .quote-road__label { max-width: none; }
}
.quote-road__label {
  max-width: 520px;
  margin: 8px auto 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: rgba(247,245,240,.82);
}

/* ---- Stages ---- */
.quote-stage { padding-bottom: 8px; }
/* Short steps keep the footer below the fold instead of floating mid-screen. */
.quote-main { min-height: calc(100vh - 130px); min-height: calc(100svh - 130px); }
.quote-stage[hidden] { display: none; }
.quote-stage.is-entering-fwd { animation: foq-enter-fwd .28s cubic-bezier(.16,1,.3,1); }
.quote-stage.is-entering-back { animation: foq-enter-back .28s cubic-bezier(.16,1,.3,1); }
@keyframes foq-enter-fwd { from { opacity: .35; transform: translateX(18px); } }
@keyframes foq-enter-back { from { opacity: .35; transform: translateX(-18px); } }

.quote-stage__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
}
.quote-stage__peep { width: 76px; height: auto; margin-bottom: -6px; }
.quote-stage__peep--wide { width: 104px; }
.quote-stage--opener .quote-stage__head { margin-bottom: 18px; align-items: center; }
@media (min-width: 640px) { .quote-stage--opener .quote-stage__head { align-items: end; } }
.quote-stage--opener .quote-stage__lede { font-size: .92rem; }
.quote-stage--opener .quote-choice { min-height: 108px; }
.quote-stage__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  margin: 0 0 10px;
  text-wrap: balance;
}
.quote-stage__title:focus { outline: none; }
.quote-stage__title--hero {
  font-size: 2.05rem;
  margin-bottom: 4px;
  animation: foq-rise .5s cubic-bezier(.16,1,.3,1);
}
@keyframes foq-rise { from { opacity: .3; transform: translateY(8px); } }
.quote-stage__lede {
  font-size: .98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
}
.quote-stage__lede strong { color: var(--navy-deep); }
@media (min-width: 640px) {
  .quote-stage__title { font-size: 2.2rem; }
  .quote-stage__title--hero { font-size: 2.75rem; }
  .quote-stage__peep { width: 104px; }
  .quote-stage__peep--wide { width: 176px; }
}

/* ---- Step 1 choices ---- */
.quote-ask {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin: 0 0 12px;
}
.quote-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 640px) {
  .quote-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.quote-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 124px;
  padding: 16px 14px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.quote-choice__icon { width: 30px; height: 30px; color: var(--navy-deep); margin-bottom: 6px; }
.quote-choice strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--navy-deep);
}
.quote-choice span { font-size: .84rem; line-height: 1.35; color: var(--ink-soft); }
.quote-choice__tick {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy-deep);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .18s cubic-bezier(.16,1,.3,1);
}
@media (hover: hover) {
  .quote-choice:hover { border-color: var(--navy-deep); }
}
.quote-choice:active { transform: scale(.98); }
.quote-choice:focus-visible { outline: 3px solid var(--navy-deep); outline-offset: 2px; }
.quote-choice[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--navy-deep);
}
.quote-choice[aria-pressed="true"] span { color: var(--navy-deep); }
.quote-choice[aria-pressed="true"] .quote-choice__tick { stroke-dashoffset: 0; }
.quote-choice--out {
  border-style: dashed;
  background: transparent;
}

.quote-zone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 18px 0 0;
  font-size: .86rem;
  color: var(--ink-soft);
}
.quote-zone-line svg { width: 17px; height: 17px; color: var(--navy-deep); flex-shrink: 0; }
.quote-zone-line a { color: var(--navy-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Step 2 trucks ---- */
.quote-radio-card .quote-radio-card__suggested {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-deep);
  background: var(--lime);
  padding: 3px 7px;
  border-radius: var(--radius);
}

/* ---- Step 3 route ---- */
.quote-zone-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Step 4 stairs & extras ---- */
.quote-ends {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .quote-ends { grid-template-columns: 1fr 1fr; }
}
.quote-end {
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-width: 0;
}
.quote-end legend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-deep);
}
.quote-end legend svg { width: 20px; height: 20px; }
.quote-end > label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.quote-end select { width: 100%; }
.quote-lift { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.quote-lift[hidden] { display: none; }
.quote-extras {
  display: grid;
  gap: 4px 12px;
}
@media (min-width: 520px) {
  .quote-extras { grid-template-columns: 1fr 1fr; }
}
.quote-checkbox--lead { font-weight: 600; }
.quote-field .quote-checkbox { display: flex; }
.quote-checkbox[hidden] { display: none; }
.quote-checkbox--lead svg { width: 18px; height: 18px; color: var(--navy-deep); flex-shrink: 0; }
.quote-packing { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.quote-packing[hidden] { display: none; }

/* ---- Step 5 date ---- */
.quote-date-trigger { display: flex; align-items: center; gap: 10px; }
.quote-date-trigger svg { width: 20px; height: 20px; color: var(--navy-deep); flex-shrink: 0; }

/* ---- Step 6 cover ---- */
.quote-cover { display: flex; flex-direction: column; gap: 12px; }

/* ---- Summary (sidebar on desktop, step 6 on phones) ---- */
.quote-summary__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin: 0 0 14px;
}
.quote-receipt__note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: .8rem;
  color: var(--ink-soft);
}
.quote-receipt__total.is-pulsing { animation: foq-flash .7s cubic-bezier(.16,1,.3,1); }
@keyframes foq-flash { 0%, 25% { background: var(--lime); } }
.quote-receipt-extras { margin: -6px 0 18px; }
.quote-receipt-extras[hidden] { display: none; }
.quote-receipt-extras .quote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.quote-receipt-extras .quote-btn svg { width: 18px; height: 18px; }
.quote-aside-support__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy-deep);
}
.quote-aside-support li svg { stroke: currentColor; fill: none; }

@media (max-width: 959px) {
  /* On phones the full quote is the last step, not a block under every step. */
  body:not([data-stage="6"]) .quote-main__summary { display: none; }
  .quote-summary { margin-top: 20px; }
  /* The bottom bar's "Book this move" does the booking on phones. */
  #acceptQuoteBtn { display: none; }
}
@media (min-width: 960px) {
  .quote-summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
  }
  .quote-main__summary { top: 150px; }
}

/* ---- Bottom bar: back, price, WhatsApp, next ---- */
.quote-stagenav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  color: var(--cream);
  border-top: 1px solid rgba(255,255,255,.08);
}
.quote-stagenav[hidden] { display: none; }
.quote-stagenav__back,
.quote-stagenav__wa {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247,245,240,.35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.quote-stagenav__back[hidden],
.quote-stagenav__wa[hidden],
.quote-stagenav__price[hidden] { display: none; }
.quote-stagenav__back svg,
.quote-stagenav__wa svg { width: 22px; height: 22px; }
.quote-stagenav__wa { color: var(--lime); }
.quote-stagenav__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  min-width: 0;
}
.quote-stagenav__label { font-size: .75rem; color: rgba(247,245,240,.78); }
.quote-stagenav__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--lime);
  padding: 0 2px;
  margin: 0 -2px;
}
.quote-stagenav__price.is-pulsing .quote-stagenav__value { animation: foq-flash-dark .7s cubic-bezier(.16,1,.3,1); }
@keyframes foq-flash-dark { 0%, 25% { background: var(--lime); color: var(--navy-deep); } }
.quote-stagenav__next {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.quote-stagenav__next svg { width: 20px; height: 20px; }
/* Phones: "Next" alone; the road label already names the next stop. */
@media (max-width: 479px) {
  .quote-stagenav__to { display: none; }
  .quote-stagenav__next { padding: 0 16px; }
}
@media (hover: hover) {
  .quote-stagenav__next:hover { background: var(--lime-bright); }
  .quote-stagenav__back:hover, .quote-stagenav__wa:hover { border-color: var(--lime); }
}
.quote-stagenav__next:active { transform: scale(.97); }
.quote-stagenav button:focus-visible,
.quote-stagenav a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (min-width: 960px) {
  .quote-stagenav {
    padding-left: max(20px, calc((100vw - 1040px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1040px) / 2 + 400px));
  }
  /* The sidebar already shows the price and the WhatsApp button. */
  .quote-stagenav__price, .quote-stagenav__wa { display: none !important; }
}

.quote-form-error { bottom: calc(80px + env(safe-area-inset-bottom)); }

@media (prefers-reduced-motion: reduce) {
  .quote-road__done, .quote-road__bakkie, .quote-road__stops button,
  .quote-choice, .quote-choice__tick { transition: none; }
  .quote-stage.is-entering-fwd, .quote-stage.is-entering-back,
  .quote-stage__title--hero { animation: none; }
}

/* ---- "Your stuff": tiles + fit meter ---- */
/* The footer (and the site credit in it) must clear the fixed bottom bar. */
.quote-body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

.quote-text-link { display: inline-flex; align-items: center; gap: 8px; }
.quote-text-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.quote-fit {
  position: sticky;
  top: 132px;
  z-index: 5;
  margin: 0 -20px 18px;
  padding: 14px 20px 12px;
  background: var(--navy-deep);
  color: var(--cream);
}
@media (min-width: 640px) { .quote-fit { margin: 0 0 18px; } }
.quote-fit__top { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.quote-fit__label { font-size: .85rem; color: rgba(247,245,240,.78); }
.quote-fit__top strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--lime);
}
.quote-fit[data-state="over"] .quote-fit__top strong { color: var(--cream); }
.quote-fit:not([data-state="fits"]):not([data-state="over"]) .quote-fit__label { display: none; }
.quote-fit:not([data-state="fits"]):not([data-state="over"]) .quote-fit__top strong { color: var(--cream); font-size: 1.15rem; }
.quote-fit__bar {
  position: relative;
  height: 12px;
  margin: 12px 0 26px;
  background: var(--navy-soft);
}
.quote-fit__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--lime);
  transition: width .45s cubic-bezier(.16,1,.3,1);
}
.quote-fit__mark {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  margin-left: -1px;
  background: var(--cream);
}
.quote-fit__mark span {
  position: absolute;
  top: 20px;
  right: 0;
  font-size: .7rem;
  line-height: 1;
  white-space: nowrap;
  color: rgba(247,245,240,.7);
}
.quote-fit__mark[data-state="here"] span { color: var(--lime); font-weight: 700; }
.quote-fit__note { margin: 0; font-size: .82rem; line-height: 1.4; color: rgba(247,245,240,.85); }
.quote-fit__note a { color: var(--lime); }
.quote-fit.is-pulsing { animation: foq-fit-pulse .6s cubic-bezier(.16,1,.3,1); }
@keyframes foq-fit-pulse { 0%, 20% { background: var(--navy-soft); } }

.quote-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) { .quote-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.quote-tile { position: relative; }
.quote-tile__add {
  width: 100%;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 6px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy-deep);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.quote-tile__icon { width: 28px; height: 28px; }
.quote-tile__label { font-size: .85rem; font-weight: 600; line-height: 1.2; text-align: center; }
.quote-tile__qty {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  border-radius: 12px;
}
.quote-tile__minus {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 28px;
  height: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-deep);
  border-radius: 50%;
  background: #fff;
  color: var(--navy-deep);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.quote-tile:not([data-qty="0"]) .quote-tile__add { background: var(--lime); border-color: var(--navy-deep); }
.quote-tile:not([data-qty="0"]) .quote-tile__qty,
.quote-tile:not([data-qty="0"]) .quote-tile__minus { display: inline-flex; }
@media (hover: hover) { .quote-tile__add:hover { border-color: var(--navy-deep); } }
.quote-tile__add:active { transform: scale(.96); }
.quote-tile__add:focus-visible, .quote-tile__minus:focus-visible { outline: 3px solid var(--navy-deep); outline-offset: 2px; }
.quote-tile.is-pulsing .quote-tile__qty { animation: foq-pop .3s cubic-bezier(.16,1,.3,1); }
@keyframes foq-pop { from { transform: scale(1.35); } }

.quote-more { margin-top: 18px; }
.quote-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  border: 1px dashed var(--navy-deep);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-deep);
}
.quote-more > summary::-webkit-details-marker { display: none; }
.quote-more > summary span { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.quote-more[open] > summary { margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  .quote-fit__fill { transition: none; }
  .quote-fit.is-pulsing, .quote-tile.is-pulsing .quote-tile__qty { animation: none; }
}
