/* ===== Booking flow: 1 Choose your car → 2 Review & book → 3 Confirmation ===== */
.flow-page { background: var(--mist); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 18px; height: 18px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: 600 .95rem var(--body); color: var(--teal); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-big { padding: 18px 24px; font-size: 1.08rem; }
.flow-footer { padding: 28px 0 40px; color: var(--ink-soft); font-size: .95rem; text-align: center; }
.flow-footer a { font-weight: 600; }

/* ----- step indicator ----- */
.flowsteps { background: #fff; border-bottom: 1px solid var(--line); }
.flowsteps ol { list-style: none; display: flex; gap: clamp(12px, 3vw, 40px); padding: 14px 0; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.flowsteps li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.flowsteps li a { display: inherit; align-items: inherit; gap: inherit; color: inherit; text-decoration: none; }
.flowsteps li a:hover { color: var(--ink); }
.flowsteps li + li::before { content: ""; width: clamp(16px, 4vw, 48px); height: 2px; background: var(--line); margin-right: clamp(0px, 1vw, 6px); }
.flowsteps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: .85rem; }
.flowsteps .is-current { color: var(--ink); }
.flowsteps .is-current span { background: var(--ink); border-color: var(--ink); color: #fff; }
.flowsteps .is-done span { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ----- trip summary bar (step 1) ----- */
.trip-bar { background: var(--ink); color: #fff; }
.trip-bar-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 18px 0; flex-wrap: wrap; }
.trip-leg { display: flex; gap: 10px; align-items: flex-start; min-width: 0; flex: 1 1 220px; }
.trip-leg .ico { margin-top: 3px; color: var(--lavender); }
.trip-leg div { display: grid; line-height: 1.3; min-width: 0; }
.trip-leg strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-leg span:last-child { color: rgba(255,255,255,.78); font-size: .95rem; }
.trip-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lavender); font-weight: 700; }
.trip-days { font-size: .95rem; color: rgba(255,255,255,.85); white-space: nowrap; }
.trip-days strong { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.modify { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr .8fr 1fr .8fr auto; gap: 12px; align-items: end; padding: 0 0 20px; }
.modify label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.modify :is(input, select) { font: 500 1rem var(--body); padding: 11px 12px; border-radius: var(--r-sm); border: 0; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.modify .btn { padding-block: 13px; }

/* ----- results layout ----- */
.results { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px 0 24px; }
.filters { position: sticky; top: 102px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px 20px; display: grid; gap: 4px; max-height: calc(100vh - 122px); overflow: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; }
.filters-head h2 { font-size: 1.3rem; }
.filters-close, .filters-apply, .filters-open { display: none !important; }
.fgroup { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0 10px; display: grid; gap: 4px; }
.fgroup legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.fgroup legend + * { clear: both; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: .97rem; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; flex: none; }
.fcheck span { flex: 1; }
.fcheck em { font-style: normal; color: var(--ink-soft); font-size: .85rem; background: var(--mist); border-radius: 999px; padding: 1px 8px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 8px 4px; font-size: .9rem; font-weight: 600; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: -3px; }
.filters input[type=range] { width: 100%; accent-color: var(--teal); }
.range-label { font-size: .9rem; color: var(--ink-soft); }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.results-head p { font-size: 1.05rem; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.sort select { font: 600 .95rem var(--body); padding: 9px 34px 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2A33' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--ink); }
.fcount { background: var(--mango); color: var(--ink); border-radius: 999px; font-size: .78rem; padding: 0 7px; margin-left: 2px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.active-filters:empty { display: none; }
.afchip { display: inline-flex; align-items: center; gap: 8px; font: 600 .88rem var(--body); background: var(--lavender-50); border: 1px solid var(--lavender); border-radius: 999px; padding: 6px 10px 6px 14px; cursor: pointer; color: var(--ink); }
.afchip:hover { background: var(--lavender); }
.price-note { background: #E7F6F3; color: #0C5A51; border-radius: var(--r-sm); padding: 10px 14px; font-weight: 600; font-size: .95rem; margin-bottom: 12px; }
.results-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.results-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--r-md); padding: 36px; text-align: center; display: grid; gap: 10px; justify-items: center; }

/* ----- result card ----- */
.rcar { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.rcar:not(.is-taken):not(.is-skeleton):hover { border-color: #C5CED8; box-shadow: 0 10px 30px -14px rgba(19,43,75,.3); }
.rcar-media { position: relative; background: linear-gradient(160deg, var(--cream), var(--navy-50)); display: grid; place-items: center; padding: 14px; min-height: 180px; }
.rcar-media img { width: 100%; height: 100%; max-height: 180px; object-fit: contain; }
.rcar-badge { position: absolute; top: 12px; left: 12px; background: var(--mango); color: var(--ink); font-weight: 700; font-size: .82rem; border-radius: 999px; padding: 3px 10px; }
.rcar-body { padding: 18px 22px; display: grid; gap: 10px; align-content: start; }
.rcar-cat { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #B06F00; }
.rcar-body h3, .vehicle-body h3 { font-size: 1.45rem; font-weight: 800; }
.rcar-body h3 span, .vehicle-body h3 span { font-family: var(--body); font-size: .95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.cspecs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; font-size: .93rem; font-weight: 600; }
.cspecs li { display: inline-flex; align-items: center; gap: 6px; }
.cspecs .ico { color: var(--ink-soft); }
.feats { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-soft); }
.feats li { display: inline-flex; align-items: center; gap: 5px; }
.feats .ico { width: 15px; height: 15px; color: var(--teal); }
.rcar-incl { font-size: .85rem; color: #0C6B60; font-weight: 600; }
.rcar-price { border-left: 1px solid var(--line); padding: 18px 20px; display: grid; align-content: center; gap: 4px; text-align: right; background: #FCFCFD; }
.rcar-perday { color: var(--ink-soft); font-size: .95rem; }
.rcar-perday strong { color: var(--ink); font-size: 1.05rem; }
.rcar-total { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.rcar-total s { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.rcar-taxnote { font-size: .82rem; color: var(--ink-soft); margin-bottom: 10px; }
.rcar-taken { color: #A42A20; font-weight: 700; font-size: .92rem; }
.rcar.is-taken { opacity: .62; }
.rcar.is-taken .rcar-media img { filter: grayscale(.8); }
.rcar.is-skeleton { min-height: 200px; background: linear-gradient(90deg, #fff 0%, #F0F3F7 50%, #fff 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ----- review & book (step 2) ----- */
.flow-head { padding-top: 28px; }
.flow-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.review {
  display: grid; gap: 18px; align-items: start;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas: "trip quote" "car quote" "details quote" "remarks quote" "pay quote";
  padding: 22px 0 40px;
}
.review-trip { grid-area: trip; }
.review-car { grid-area: car; }
.review-details { grid-area: details; }
.review-remarks { grid-area: remarks; }
.review-pay { grid-area: pay; }
.estimate { grid-area: quote; align-self: start; position: sticky; top: 102px; }
.review-quote-spacer { display: none; }

.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; }
.rcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rcard-head h2 { font-size: 1.35rem; font-weight: 800; }
.rcard-head .hint { font-family: var(--body); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }

.legs { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; }
.leg { display: grid; gap: 2px; align-content: start; }
.leg + .leg { border-left: 1px solid var(--line); padding-left: 18px; }
.leg-label { display: flex; align-items: center; gap: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #0C6B60; }
.leg-label .ico { width: 15px; height: 15px; }
.leg-place { font-weight: 700; font-size: 1.05rem; }
.leg-when { color: var(--ink-soft); }
.leg-extra { font-size: .9rem; color: var(--ink-soft); margin-top: 4px; }
.leg-days .leg-place { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }

/* form fields on the review page (same look as the old form card) */
.form-fields { font-size: 1rem; }
.form-fields label, .form-fields .field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form-fields .hint { font-weight: 400; color: var(--ink-soft); font-size: .86rem; }
.form-fields input:not([type=checkbox]):not([type=radio]):not([type=file]), .form-fields select, .form-fields textarea {
  font: 500 1rem var(--body); padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; min-width: 0;
}
.form-fields textarea { resize: vertical; min-height: 96px; }
.form-fields :is(input, select, textarea):focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,78,137,.15); }
.form-fields [aria-invalid="true"] { border-color: #C2362B !important; }
.form-fields .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-fields .row-4 { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 12px; }
.trip-edit { display: grid; gap: 14px; }
.trip-edit .btn { justify-self: start; }
.delivery-row { display: grid; }
.submit-hint { text-align: center; }

.vehicle { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center; }
.vehicle-media { background: linear-gradient(160deg, var(--cream), var(--navy-50)); border-radius: var(--r-sm); aspect-ratio: 4/3; display: grid; place-items: center; padding: 10px; }
.vehicle-media img { width: 100%; height: 100%; object-fit: contain; }
.vehicle-body { display: grid; gap: 8px; }

/* price breakdown */
.estimate { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.quote-head { background: var(--ink); color: #fff; padding: 18px 22px; }
.quote-head h2 { font-size: 1.35rem; font-weight: 800; }
.quote-head p { color: rgba(255,255,255,.75); font-size: .92rem; margin-top: 2px; }
.quote-section { padding: 16px 22px 6px; }
.quote-section + .quote-section { border-top: 1px solid var(--line); }
.quote-section h3 { font-family: var(--body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.qlines { list-style: none; margin: 0; padding: 0 0 8px; display: grid; gap: 8px; }
.qlines li { display: flex; justify-content: space-between; gap: 14px; font-size: .97rem; }
.qlines li span:first-child { display: grid; }
.qlines li span:last-child { font-weight: 600; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.qlines small { font-size: .8rem; color: var(--ink-soft); font-weight: 400; }
.qlines .sub { border-top: 1px dashed var(--line); padding-top: 8px; font-weight: 700; }
.qlines .sub span:first-child { font-weight: 700; }
.qlines .deal span:last-child { color: #0C6B60; }
.qlines .incl span:last-child { color: var(--ink-soft); font-weight: 500; }
.qlines .muted { color: var(--ink-soft); }
.qlines .muted span:last-child { font-weight: 500; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 22px; background: var(--lavender-50); border-top: 1px solid var(--line); }
.quote-total span { font-weight: 700; }
.quote-total strong { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.qpay { padding: 12px 22px 4px; }
.qpay .due span:last-child { color: #0C6B60; }
.quote-fine { padding: 4px 22px 14px; font-size: .82rem; color: var(--ink-soft); }
.quote-actions { display: flex; gap: 8px; padding: 0 22px 18px; flex-wrap: wrap; }
.quote-actions .btn { flex: 1 1 auto; padding-inline: 14px; white-space: nowrap; font-size: .9rem; }
.email-quote { padding: 0 22px 20px; display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.email-quote-row { display: flex; gap: 8px; }
.email-quote input { flex: 1; min-width: 0; font: 500 1rem var(--body); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); }
.email-quote input:focus { outline: none; border-color: var(--teal); }
.email-quote-msg { font-weight: 600; font-size: .9rem; padding: 8px 12px; border-radius: var(--r-sm); }
.email-quote-msg.is-ok { background: #E7F6F3; color: #0C5A51; }
.email-quote-msg.is-bad { background: #FDECEA; color: #A42A20; }

/* ----- confirmation page breakdown (step 3) ----- */
.details .qsub { font-weight: 700; }

/* ----- responsive ----- */
@media (max-width: 1060px) {
  .rcar { grid-template-columns: 210px minmax(0, 1fr) 190px; }
  .modify { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .modify label:nth-of-type(1), .modify label:nth-of-type(2) { grid-column: span 2; }
}
@media (max-width: 960px) {
  .results { grid-template-columns: 1fr; padding-top: 18px; }
  .filters-open { display: inline-flex !important; }
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(340px, 88vw); max-height: none; border-radius: 0;
    transform: translateX(-102%); transition: transform .25s ease; align-content: start; padding-bottom: 90px;
  }
  body.filters-open .filters { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  body.filters-open { overflow: hidden; }
  .filters-close { display: grid !important; place-items: center; width: 36px; height: 36px; border: 0; background: var(--mist); border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
  .filters-head { gap: 12px; }
  .filters-head h2 { flex: 1; }
  .filters-apply { display: flex !important; position: sticky; bottom: 0; margin-top: 10px; }
  .filters-backdrop { position: fixed; inset: 0; background: rgba(19,43,75,.45); z-index: 55; }

  .review { grid-template-columns: 1fr; grid-template-areas: "trip" "car" "quote" "details" "remarks" "pay"; }
  .estimate { position: static; }
}
@media (max-width: 760px) {
  .rcar { grid-template-columns: 1fr; }
  .rcar-media { min-height: 0; aspect-ratio: 16/9; }
  .rcar-media img { max-height: 190px; }
  .rcar-price { border-left: 0; border-top: 1px solid var(--line); text-align: left; grid-template-columns: 1fr auto; align-items: center; }
  .rcar-price .btn { grid-column: 2; grid-row: 1 / span 3; width: auto; padding-inline: 28px; }
  .rcar-taxnote { margin: 0; }
  .trip-bar-inner { gap: 12px 18px; }
  .trip-leg { flex-basis: calc(50% - 18px); }
  .trip-bar-inner .btn { flex: 1; }
  .modify { grid-template-columns: 1fr 1fr; }
  .modify label:nth-of-type(1), .modify label:nth-of-type(2) { grid-column: span 2; }
  .modify .btn { grid-column: span 2; }
  .legs { grid-template-columns: 1fr 1fr; }
  .leg-days { grid-column: span 2; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); padding-top: 12px; display: flex; gap: 10px; align-items: baseline; }
  .vehicle { grid-template-columns: 1fr; }
  .vehicle-media { aspect-ratio: 16/9; }
  .form-fields .row, .form-fields .row-4 { grid-template-columns: 1fr 1fr; }
  .results-head { align-items: stretch; }
  .results-tools { width: 100%; }
  .results-tools .filters-open { flex: 1; }
  .sort span, .sort { font-size: 0; gap: 0; }
  .sort select { font-size: .95rem; }
}
@media (max-width: 460px) {
  .form-fields .row { grid-template-columns: 1fr; }
  .trip-leg { flex-basis: 100%; }
  .flowsteps li { font-size: .85rem; }
}

/* ----- printing the quote ----- */
@media print {
  .site-header, .flowsteps, .back-link, .review-details, .review-remarks, .review-pay, .quote-actions, .email-quote, .flow-footer, .link-btn, .trip-edit, #whatsFab { display: none !important; }
  .flow-page { background: #fff; }
  .review { display: block; }
  .rcard, .estimate { border: 1px solid #999; break-inside: avoid; margin-bottom: 14px; }
  .estimate { position: static; }
  .quote-head { background: #fff; color: #000; border-bottom: 1px solid #999; }
  .quote-head p { color: #333; }
}

/* ===== Steps 2–3 on one page: Details & extras → Review & book ===== */
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; padding: 22px 0 40px; }
.flow-main, .view { display: grid; gap: 18px; min-width: 0; }
.flow-layout .estimate { position: sticky; top: 102px; grid-area: auto; }
.step-link { all: unset; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.step-link:disabled { cursor: default; }
.step-link:not(:disabled):hover { color: var(--ink); }
.step-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.rcard-note { color: var(--ink-soft); font-size: .9rem; }
.rcard-subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rcard-subhead h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.trip-box { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.vehicle-sm { grid-template-columns: 150px minmax(0, 1fr); }
.vehicle-sm h3 { font-size: 1.25rem; }

/* cover cards */
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.cover-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 18px 16px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cover-card:hover { border-color: #B7C2CE; }
.cover-card input { position: absolute; opacity: 0; pointer-events: none; }
.cover-card:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.cover-card.is-on { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,78,137,.16); background: #F3F6FB; }
.cover-card.is-on::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cover-top { display: grid; gap: 2px; padding-right: 26px; }
.cover-badge { justify-self: start; background: var(--mango); color: var(--ink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 2px 9px; margin-bottom: 4px; }
.cover-name { font-family: var(--display); font-size: 1.2rem; font-weight: 800; }
.cover-price { font-weight: 700; font-size: 1.05rem; }
.cover-price small { font-weight: 500; color: var(--ink-soft); }
.cover-sub { font-size: .85rem; color: var(--ink-soft); }
.cover-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.cover-incl li { display: flex; gap: 6px; align-items: flex-start; line-height: 1.35; }
.cover-incl .ico { width: 15px; height: 15px; color: var(--teal); margin-top: 2px; }
.cover-excess { justify-self: start; font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #FDF1E1; color: #8A5300; }
.cover-excess.is-zero { background: #E7F6F3; color: #0C5A51; }

/* protection + add-on rows */
.opt-list { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .15s, background .15s; }
.opt.is-on { border-color: var(--teal); background: #F3F6FB; }
.opt.is-included { background: var(--mist); }
.opt-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--lavender-50); display: grid; place-items: center; color: #B06F00; }
.opt-ico .ico { width: 22px; height: 22px; }
.opt-body { display: grid; gap: 2px; }
.opt-body strong { font-size: 1rem; }
.opt-body span { font-size: .88rem; color: var(--ink-soft); line-height: 1.4; }
.opt-price { display: grid; text-align: right; white-space: nowrap; }
.opt-price strong small { font-weight: 500; color: var(--ink-soft); }
.opt-price > small { font-size: .8rem; color: var(--ink-soft); }
.opt-included { color: #0C6B60 !important; font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 38px; height: 38px; border: 0; background: none; font: 700 1.2rem var(--body); color: var(--ink); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--mist); }
.stepper button:disabled { color: #B9C3CD; cursor: default; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.toggle { position: relative; display: inline-flex; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: .92rem; }
.toggle input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.toggle b { font-weight: inherit; }
.toggle .t-on, .toggle .t-inc { display: none; }
.toggle input:checked + span .t-off { display: none; }
.toggle input:checked + span .t-on { display: inline; }
.opt.is-included .toggle .t-on, .opt.is-included .toggle .t-off { display: none; }
.opt.is-included .toggle .t-inc { display: inline; }
.toggle input:disabled + span { opacity: .7; cursor: default; }
.toggle input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.step-actions { display: grid; gap: 12px; justify-items: end; }
.step-actions .form-error { justify-self: stretch; }
.step-actions .btn { min-width: 280px; }

/* review summaries */
.kv { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; }
.kv div { display: grid; gap: 2px; }
.kv dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-soft); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.summary-list li { display: flex; gap: 10px; align-items: flex-start; }
.summary-list .ico { color: var(--teal); margin-top: 3px; }
.summary-list em { font-style: normal; color: var(--ink-soft); font-size: .9rem; }
.summary-list .muted { color: var(--ink-soft); padding-left: 28px; }
.inline-breakdown { display: none; }
.inline-breakdown #inlineBreakdown { margin: 0 -26px -26px; }
.inline-breakdown .quote-section:first-child { border-top: 0; padding-top: 4px; }
.mobile-total { display: none; }

@media (max-width: 960px) {
  .flow-layout { grid-template-columns: 1fr; }
  .flow-layout .estimate { display: none; }
  .inline-breakdown { display: grid; }
  .inline-breakdown #inlineBreakdown { margin: 0 calc(-1 * clamp(18px, 2.4vw, 26px)) calc(-1 * clamp(18px, 2.4vw, 26px)); }
  body[data-view="details"] .mobile-total {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 14px; align-items: center; justify-content: space-between;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(19,43,75,.25);
  }
  .mobile-total div { display: grid; line-height: 1.2; }
  .mobile-total span { font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
  .mobile-total strong { font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
  .mobile-total .btn { padding-inline: 30px; }
  body[data-view="details"] .flow-footer { padding-bottom: 100px; }
  .step-actions { justify-items: stretch; }
  .step-actions .btn { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .opt { grid-template-columns: 38px minmax(0, 1fr); gap: 10px 12px; }
  .opt-ico { width: 38px; height: 38px; }
  .opt-price { grid-column: 2; text-align: left; }
  .opt-ctl { grid-column: 2; justify-self: start; }
  .opt { grid-template-areas: none; }
  .cover-grid { grid-template-columns: 1fr; }
  .vehicle-sm { grid-template-columns: 110px minmax(0, 1fr); }
}
@media print {
  .view#viewDetails, .mobile-total, .inline-breakdown, .flowsteps { display: none !important; }
  .flow-layout { display: block; }
  .flow-layout .estimate { position: static; display: block !important; }
}

/* ----- confirmation page: ways out ----- */
.header-links { display: flex; gap: 8px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
@media (max-width: 520px) {
  .done-actions .btn { flex: 1 1 100%; }
  .header-links .btn:first-child { display: none; }
}
@media print {
  .done-actions, .header-links, .contact-box .btn { display: none !important; }
}
.header-links { align-items: center; }
.quote-charged { padding: 0 22px 8px; text-align: right; font-size: .9rem; font-weight: 600; color: var(--ink-soft); background: var(--lavender-50); margin-top: -8px; }
.results-main .currency-note { margin-bottom: 12px; }
@media (max-width: 520px) { .header-links .btn[href^="tel"] { display: none; } }

/* While a new price is on its way, fade the old one so nobody reads a stale total */
#breakdown, #inlineBreakdown, #mtTotal { transition: opacity .2s; }
body.is-pricing #breakdown, body.is-pricing #inlineBreakdown, body.is-pricing #mtTotal { opacity: .45; }
