/* ============================================================
   ROSSA — Booking Overlay (Vehicle selection + Contact form)
   Full-screen overlay following the picker pattern
   ============================================================ */

/* ─────────────────────────────────────────────────
   OVERLAY SHELL
   ───────────────────────────────────────────────── */

.booking-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--paper);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity .2s ease;
  overflow: hidden;
}
.booking-overlay.is-open { display: flex; opacity: 1; }
body.is-booking-open { overflow: hidden; }

/* ── Header ─────────────────────────────────────── */
.booking-overlay__head {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--ink-line);
  flex-shrink: 0;
}
.booking-overlay__head .brand { height: auto; }
.booking-overlay__head .rossa-mark { width: 120px; }

.booking-overlay__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-ui);
  font-size: 13px;
  color: rgba(246, 243, 238, .7);
  letter-spacing: .02em;
  justify-self: end;
}
.booking-overlay__summary .sep { color: rgba(255,255,255,.25); }
.booking-overlay__summary strong { color: var(--paper); font-weight: 600; }

.booking-overlay__close {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--paper);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.booking-overlay__close:hover { background: rgba(255,255,255,.08); border-color: var(--paper); }

/* ── Body (scrollable) ──────────────────────────── */
.booking-overlay__body {
  flex: 1;
  overflow-y: auto;
  padding: 40px var(--gutter) 80px;
}

.booking-overlay__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────
   STEP INDICATOR
   ───────────────────────────────────────────────── */

.booking-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.booking-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--paper-warm);
  border: 1px solid transparent;
  transition: all .2s;
}
.booking-step.is-active {
  color: var(--ink);
  background: #fff;
  border-color: var(--ink);
}
.booking-step.is-done {
  color: #fff;
  background: var(--rossa);
  border-color: var(--rossa);
}
.booking-step__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  color: var(--rossa-bright);
}
.booking-step.is-active .booking-step__num { color: var(--rossa); }
.booking-step.is-done .booking-step__num { color: rgba(255,255,255,.8); }
.booking-steps__sep {
  color: var(--paper-line);
  font-size: 14px;
}

/* ─────────────────────────────────────────────────
   SECTION TITLES
   ───────────────────────────────────────────────── */

.bo-section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -.01em;
  margin: 0 0 8px;
  line-height: 1.1;
}
.bo-section-title em { font-style: italic; color: var(--rossa); font-weight: 500; }
.bo-section-sub {
  font-family: var(--f-ui);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────────
   VEHICLE GRID
   ───────────────────────────────────────────────── */

.bo-vehicles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.bo-vehicle-card {
  background: #fff;
  border: 2px solid var(--paper-line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.bo-vehicle-card:hover {
  border-color: var(--chrome-2);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.bo-vehicle-card.is-selected {
  border-color: var(--rossa);
  box-shadow: 0 0 0 3px var(--rossa-tint), 0 8px 24px -8px rgba(193,39,45,.2);
}

.bo-vehicle-card__img {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--paper-warm);
  overflow: hidden;
}
.bo-vehicle-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bo-vehicle-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.bo-vehicle-card__check {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: var(--rossa);
  color: #fff;
  border-radius: 999px;
  display: none;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.bo-vehicle-card.is-selected .bo-vehicle-card__check { display: grid; }

.bo-vehicle-card__body {
  padding: 16px 18px 18px;
}
.bo-vehicle-card__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.bo-vehicle-card__specs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.bo-vehicle-card__spec {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--paper-warm);
  border-radius: 4px;
}
.bo-vehicle-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.bo-vehicle-card__price .amount {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--rossa);
}
.bo-vehicle-card__price .period {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────
   CONTACT FORM (Step 2)
   ───────────────────────────────────────────────── */

.bo-form {
  max-width: 680px;
}

.bo-form__selected-car {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--paper-warm);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  margin-bottom: 32px;
}
.bo-form__selected-car .car-thumb {
  width: 80px; height: 50px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--chrome-2);
}
.bo-form__selected-car .car-info {
  flex: 1;
}
.bo-form__selected-car .car-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  margin: 0;
}
.bo-form__selected-car .car-price {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--muted);
}
.bo-form__selected-car .change-btn {
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rossa);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--paper-line);
  transition: border-color .2s;
}
.bo-form__selected-car .change-btn:hover { border-color: var(--rossa); }

.bo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.bo-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.bo-form__row .bo-form__group { margin-bottom: 0; }

.bo-form__label {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bo-form__input,
.bo-form__select,
.bo-form__textarea {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  font-family: var(--f-ui);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.bo-form__input:focus,
.bo-form__select:focus,
.bo-form__textarea:focus {
  outline: none;
  border-color: var(--rossa);
  box-shadow: 0 0 0 3px var(--rossa-tint);
}
.bo-form__textarea {
  min-height: 100px;
  resize: vertical;
}
.bo-form__input::placeholder,
.bo-form__textarea::placeholder {
  color: var(--chrome-3);
}

.bo-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  background: var(--rossa);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.bo-form__submit:hover { background: var(--rossa-deep); }
.bo-form__submit:active { transform: translateY(1px); }
.bo-form__submit:disabled { opacity: .6; cursor: not-allowed; }

/* ─────────────────────────────────────────────────
   SUCCESS STATE
   ───────────────────────────────────────────────── */

.bo-success {
  text-align: center;
  padding: 60px 20px;
  max-width: 520px;
  margin: 0 auto;
}
.bo-success__icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: var(--rossa-tint);
  color: var(--rossa);
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 32px;
}
.bo-success__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 12px;
}
.bo-success__text {
  font-family: var(--f-ui);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}
.bo-success__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 8px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
}
.bo-success__btn:hover { background: var(--ink-soft); }

/* ─────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────── */

@media (max-width: 900px) {
  .bo-vehicles {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .booking-overlay__summary { display: none; }
}

@media (max-width: 560px) {
  .booking-overlay__body { padding: 24px var(--gutter) 60px; }
  .bo-vehicles { grid-template-columns: 1fr; gap: 14px; }
  .bo-form__row { grid-template-columns: 1fr; }
  .booking-steps { flex-wrap: wrap; gap: 8px; }
}

/* ── Toast animation ─────────────────────────────── */
@keyframes boToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Estimate line ─────────────────────────────── */
.bo-form__estimate {
  padding: 14px 20px;
  background: var(--paper-warm);
  border-radius: 8px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.bo-form__estimate strong {
  color: var(--rossa);
  font-weight: 600;
  font-size: 18px;
}

/* ── Deal label ─────────────────────────────── */
.bo-deal-label {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── Strikethrough old price ───────────────── */
.bo-price-old {
  text-decoration: line-through;
  color: var(--muted, #999) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-right: 6px;
  opacity: .7;
}

/* ─────────────────────────────────────────────────────────────────
   STEP 2 — Two-Column Detail Layout
   ───────────────────────────────────────────────────────────────── */
.bo-detail-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  margin-top: 24px;
}

/* Left column: Vehicle info */
.bo-detail__vehicle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bo-detail__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm, #f8f6f3);
}
.bo-detail__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
}
.bo-detail__change {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line, #e0e0e0);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--f-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rossa, #c0392b);
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.bo-detail__change:hover {
  background: #fff;
  transform: scale(1.03);
}
.bo-detail__name {
  font-family: var(--f-display, serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}
.bo-detail__specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bo-detail__spec {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line, #e0e0e0);
  border-radius: 4px;
  font-family: var(--f-ui, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #777);
}
.bo-detail__price {
  font-family: var(--f-display, serif);
  font-size: 18px;
  color: var(--ink, #1a1a1a);
}
.bo-detail__price strong {
  color: var(--rossa, #c0392b);
  font-size: 22px;
}
.bo-detail__price span {
  font-size: 14px;
  color: var(--muted, #777);
}

/* Tier mini-table in detail view */
.bo-detail__tiers {
  display: flex;
  gap: 0;
  border: 1px solid var(--line, #e0e0e0);
  border-radius: 8px;
  overflow: hidden;
}
.bo-detail__tier {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-right: 1px solid var(--line, #e0e0e0);
  transition: background .2s;
}
.bo-detail__tier:last-child { border-right: 0; }
.bo-detail__tier.is-active {
  background: var(--warm, #f8f6f3);
}
.bo-detail__tier .tier-days {
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #777);
  margin-bottom: 3px;
}
.bo-detail__tier .tier-price {
  font-family: var(--f-display, serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}
.bo-detail__tier.is-active .tier-price {
  color: var(--rossa, #c0392b);
}
.bo-detail__tier .tier-price.is-deal {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rossa, #c0392b);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Total estimate in detail view */
.bo-detail__total {
  padding: 12px 16px;
  background: var(--warm, #f8f6f3);
  border-radius: 8px;
  font-family: var(--f-ui, sans-serif);
  font-size: 14px;
  color: var(--ink, #1a1a1a);
}
.bo-detail__total .label {
  color: var(--muted, #777);
}
.bo-detail__total strong {
  color: var(--rossa, #c0392b);
  font-size: 18px;
}
.bo-detail__total .days-info {
  font-size: 12px;
  color: var(--muted, #777);
}

/* Right column: Form */
.bo-detail__form-wrap {
  display: flex;
  flex-direction: column;
}
.bo-detail__form-wrap .bo-section-title {
  font-size: 22px;
  margin-bottom: 4px;
}
.bo-detail__form-wrap .bo-section-sub {
  margin-bottom: 20px;
}
.bo-detail__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .bo-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   RESERVE MODAL (Fleet card → direct reservation)
   ───────────────────────────────────────────────────────────────── */

.reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.reserve-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.reserve-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, .55);
  backdrop-filter: blur(4px);
}

.reserve-modal__dialog {
  position: relative;
  background: var(--paper, #f6f3ee);
  border-radius: 16px;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,.3);
  max-width: 920px;
  width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.reserve-modal.is-open .reserve-modal__dialog {
  transform: translateY(0);
}

.reserve-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--paper-line, #e0e0e0);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #1a1a1a);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  z-index: 5;
}
.reserve-modal__close:hover {
  background: var(--paper-warm, #f0ece6);
  border-color: var(--ink, #1a1a1a);
}

/* ── Two-column layout ───────────────────────── */
.reserve-modal__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}

/* ── Left: Vehicle info ──────────────────────── */
.reserve-modal__vehicle {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reserve-modal__img-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink, #1a1a1a);
}
.reserve-modal__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
}
.reserve-modal__name {
  font-family: var(--f-display, serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  margin: 0;
}
.reserve-modal__specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.reserve-modal__spec {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--paper-line, #e0e0e0);
  border-radius: 4px;
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #777);
  background: #fff;
}

/* ── Tier pills in modal ─────────────────────── */
.rm-tiers {
  display: flex;
  gap: 0;
  border: 1px solid var(--paper-line, #e0e0e0);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4px;
}
.rm-tier {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-right: 1px solid var(--paper-line, #e0e0e0);
  transition: background .2s;
}
.rm-tier:last-child { border-right: 0; }
.rm-tier.is-active {
  background: var(--paper-warm, #f0ece6);
}
.rm-tier__days {
  font-family: var(--f-mono, monospace);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #777);
  margin-bottom: 3px;
}
.rm-tier__price {
  font-family: var(--f-display, serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}
.rm-tier.is-active .rm-tier__price {
  color: var(--rossa, #c0392b);
}
.rm-deal {
  display: inline-block;
  font-family: var(--f-ui, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rossa, #c0392b);
  padding: 3px 8px;
  border-radius: 3px;
}

/* ── Right: Form side ────────────────────────── */
.reserve-modal__form-side {
  display: flex;
  flex-direction: column;
}
.reserve-modal__title {
  font-family: var(--f-display, serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink, #1a1a1a);
  margin: 0 0 4px;
}
.reserve-modal__title em {
  font-style: italic;
  color: var(--rossa, #c0392b);
}
.reserve-modal__sub {
  font-family: var(--f-ui, sans-serif);
  font-size: 13px;
  color: var(--muted, #777);
  margin-bottom: 16px;
}

/* ── Form elements ───────────────────────────── */
.reserve-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rm-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.rm-form__row--2col {
  grid-template-columns: 1fr 1fr;
}
.rm-form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rm-form__label {
  font-family: var(--f-ui, sans-serif);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted, #777);
}
.rm-form__input,
.rm-form__select {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--paper-line, #e0e0e0);
  border-radius: 8px;
  font-family: var(--f-ui, sans-serif);
  font-size: 14px;
  color: var(--ink, #1a1a1a);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.rm-form__input:focus,
.rm-form__select:focus {
  outline: none;
  border-color: var(--rossa, #c0392b);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
}
.rm-form__input::placeholder {
  color: var(--chrome-3, #bbb);
}

.rm-divider {
  border: none;
  border-top: 1px solid var(--paper-line, #e0e0e0);
  margin: 8px 0 12px;
}

.rm-estimate {
  padding: 10px 14px;
  background: var(--paper-warm, #f0ece6);
  border-radius: 8px;
  font-family: var(--f-ui, sans-serif);
  font-size: 14px;
  color: var(--ink, #1a1a1a);
  margin-bottom: 8px;
}
.rm-estimate strong {
  color: var(--rossa, #c0392b);
  font-weight: 600;
}

.rm-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--rossa, #c0392b);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--f-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.rm-form__submit:hover { background: var(--rossa-deep, #a93226); }
.rm-form__submit:active { transform: translateY(1px); }
.rm-form__submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── Success state in reserve modal ──────────── */
.rm-success {
  text-align: center;
  padding: 40px 20px;
}
.rm-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(192, 57, 43, .1);
  color: var(--rossa, #c0392b);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
}
.rm-success__title {
  font-family: var(--f-display, serif);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink, #1a1a1a);
}
.rm-success__text {
  font-family: var(--f-ui, sans-serif);
  font-size: 14px;
  color: var(--muted, #777);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .reserve-modal__dialog {
    width: 96vw;
    padding: 20px;
    max-height: 95vh;
    border-radius: 12px;
  }
  .reserve-modal__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rm-form__row--2col {
    grid-template-columns: 1fr;
  }
  .reserve-modal__img-wrap {
    max-height: 180px;
  }
  .reserve-modal__img {
    aspect-ratio: auto;
    max-height: 180px;
  }
}

@media (max-width: 480px) {
  .reserve-modal__dialog {
    padding: 16px;
    border-radius: 10px;
  }
  .rm-tiers {
    flex-direction: column;
  }
  .rm-tier {
    flex-direction: row;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--paper-line, #e0e0e0);
    padding: 8px 12px;
  }
  .rm-tier:last-child { border-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────────
   STEP 2 — Insurance Package Selection (Booking Overlay)
   ───────────────────────────────────────────────────────────────── */

.bo-insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.ins-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--paper-line, #e0e0e0);
  border-radius: 14px;
  padding: 24px 22px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.ins-card:hover {
  border-color: var(--chrome-2, #ccc);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.ins-card.is-selected {
  border-color: var(--rossa, #c0392b);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .12), 0 8px 24px -8px rgba(192, 57, 43, .18);
}
.ins-card.is-recommended {
  border-color: var(--rossa, #c0392b);
}

/* Badge */
.ins-card__badge {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 3px 12px;
  background: var(--rossa, #c0392b);
  color: #fff;
  font-family: var(--f-ui, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
}
.ins-card__badge--popular {
  background: var(--ink, #1a1a1a);
}

/* Header row */
.ins-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ins-card__name {
  font-family: var(--f-display, serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  margin: 0;
}

/* Radio indicator */
.ins-card__radio {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--paper-line, #e0e0e0);
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: border-color .2s;
}
.ins-card__radio.is-checked {
  border-color: var(--rossa, #c0392b);
}
.ins-card__radio.is-checked::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 10px; height: 10px;
  background: var(--rossa, #c0392b);
  border-radius: 999px;
}

/* Deductible */
.ins-card__deductible {
  font-family: var(--f-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink, #1a1a1a);
  margin-bottom: 16px;
}
.ins-card__deductible.is-red {
  color: var(--rossa, #c0392b);
}
.ins-card__deductible.is-green {
  color: #27ae60;
}

/* Features list */
.ins-card__features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ins-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui, sans-serif);
  font-size: 13px;
  color: var(--ink, #1a1a1a);
}
.ins-card__feature.is-excluded {
  color: var(--muted, #999);
}
.ins-card__feature-icon {
  width: 18px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}
.ins-card__feature.is-included .ins-card__feature-icon {
  color: #27ae60;
}
.ins-card__feature.is-excluded .ins-card__feature-icon {
  color: var(--muted, #999);
}

/* Price */
.ins-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line, #e0e0e0);
}
.ins-card__price-amount {
  font-family: var(--f-display, serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
}
.ins-card__price-period {
  font-family: var(--f-ui, sans-serif);
  font-size: 13px;
  color: var(--muted, #777);
}
.ins-card__total {
  font-family: var(--f-ui, sans-serif);
  font-size: 12px;
  color: var(--muted, #777);
  margin-top: 4px;
}

/* Continue button */
.bo-insurance-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}
.bo-insurance-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--ink, #1a1a1a);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--f-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.bo-insurance-continue:hover { background: var(--ink-soft, #333); }
.bo-insurance-continue:active { transform: translateY(1px); }

/* Detail summary lines */
.bo-detail__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--paper-warm, #f0ece6);
  border-radius: 10px;
}
.bo-detail__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-ui, sans-serif);
  font-size: 14px;
  color: var(--muted, #777);
}
.bo-detail__line span:last-child {
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}
.bo-detail__line--total {
  padding-top: 8px;
  border-top: 1px solid var(--paper-line, #e0e0e0);
  font-weight: 600;
}
.bo-detail__line--total span:last-child {
  font-size: 18px;
  color: var(--rossa, #c0392b);
}

/* ─────────────────────────────────────────────────────────────────
   INSURANCE IN RESERVE MODAL (compact inline cards)
   ───────────────────────────────────────────────────────────────── */

.rm-insurance {
  margin-bottom: 8px;
}
.rm-insurance-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.rm-ins-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #fff;
  border: 2px solid var(--paper-line, #e0e0e0);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.rm-ins-card:hover {
  border-color: var(--chrome-2, #ccc);
}
.rm-ins-card.is-selected {
  border-color: var(--rossa, #c0392b);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, .1);
}

.rm-ins-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.rm-ins-card__radio {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--paper-line, #e0e0e0);
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: border-color .2s;
}
.rm-ins-card__radio.is-checked {
  border-color: var(--rossa, #c0392b);
}
.rm-ins-card__radio.is-checked::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  background: var(--rossa, #c0392b);
  border-radius: 999px;
}

.rm-ins-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rm-ins-card__info strong {
  font-family: var(--f-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
}
.rm-ins-card__deductible {
  font-family: var(--f-ui, sans-serif);
  font-size: 11px;
  color: var(--muted, #777);
}
.rm-ins-card__price {
  font-family: var(--f-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--rossa, #c0392b);
  text-align: right;
  white-space: nowrap;
}

.rm-ins-card__features {
  list-style: none;
  margin: 0;
  padding: 8px 14px 12px 44px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--paper-line, #e8e8e8);
}
.rm-ins-card__features li {
  font-family: var(--f-ui, sans-serif);
  font-size: 12px;
  color: var(--muted, #777);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rm-ins-card__features li.is-included {
  color: var(--ink, #1a1a1a);
}
.rm-ins-card__features li.is-excluded {
  color: var(--chrome-2, #bbb);
  text-decoration: line-through;
}
.rm-ins-feat-icon {
  font-size: 11px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.rm-ins-card__features li.is-included .rm-ins-feat-icon {
  color: #27ae60;
}
.rm-ins-card__features li.is-excluded .rm-ins-feat-icon {
  color: var(--chrome-2, #bbb);
}

/* Responsive */
@media (max-width: 768px) {
  .bo-insurance-grid {
    grid-template-columns: 1fr;
  }
  .bo-insurance-actions {
    justify-content: stretch;
  }
  .bo-insurance-continue {
    width: 100%;
    justify-content: center;
  }
}
