/* ================================================================
   AG MOTORS MIAMI — car-booking.css
   New car-page Hero (photo + smart calendar) and the shared
   reservation modal that replaces the old booking.html page.
   ================================================================ */

/* ── Hero shell ─────────────────────────────────────────────────── */
.car-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 14px) var(--pad-x) 20px;
  background: var(--c-black);
}
.car-hero__grid {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  grid-template-areas: "book photo";
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.car-hero__photo { grid-area: photo; }
.car-hero__book  { grid-area: book; }

.car-hero__eyebrow {
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-orange);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.car-hero__eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--c-orange);
}
.car-hero__title {
  font-family: var(--f-head);
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.car-hero__frame {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--c-black-3);
}
.car-hero__frame img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ── Calendar card ──────────────────────────────────────────────── */
.car-cal {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: clamp(18px, 1.8vw, 24px);
}
.car-cal__rate { margin-bottom: 14px; }
.car-cal__rate-num {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(34px, 3vw, 40px);
  color: var(--c-white);
}
.car-cal__rate-unit {
  font-size: 17px;
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
}

.car-cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.car-cal__month {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.car-cal__nav {
  width: 29px; height: 29px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s;
}
.car-cal__nav:hover { border-color: var(--c-orange); color: var(--c-orange); }
.car-cal__nav svg { width: 13px; height: 13px; }

.car-cal__weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  margin-bottom: 8px;
}
.car-cal__days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}
.car-cal__day {
  aspect-ratio: 1;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.car-cal__day--empty { visibility: hidden; }
.car-cal__day--past { color: rgba(255,255,255,0.15); cursor: not-allowed; }
.car-cal__day:not(:disabled):hover { background: rgba(255,255,255,0.08); }
.car-cal__day.is-in-range { background: rgba(255,85,0,0.18); color: #fff; }
.car-cal__day.is-edge { background: #fff; color: #0a0a0a; font-weight: 800; }

.car-cal__discounts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.car-cal__discount {
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, background 0.3s;
}
.car-cal__discount-pct {
  display: block;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 17px;
  color: var(--c-white);
}
.car-cal__discount-cond {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.car-cal__discount.is-active {
  border-color: var(--c-orange);
  background: rgba(255,85,0,0.12);
}
.car-cal__discount.is-active .car-cal__discount-pct { color: var(--c-orange); }

.car-cal__summary {
  padding-top: 12px;
  margin-bottom: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.car-cal__summary[hidden] { display: none; }
.car-cal__summary-range {
  font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.car-cal__summary-price {
  display: flex; align-items: baseline; gap: 10px;
}
.car-cal__price-was {
  text-decoration: line-through;
  color: rgba(255,255,255,0.35);
  font-size: 16px;
}
.car-cal__price-was[hidden] { display: none; }
.car-cal__price-total {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 32px;
  color: var(--c-white);
}
.car-cal__price-est {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.car-cal__savings {
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #3ddc84;
}
.car-cal__savings[hidden] { display: none; }

.car-cal__book {
  width: 100%;
  padding: 15px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #0a0a0a;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s, opacity 0.3s;
}
.car-cal__book:hover:not(:disabled) {
  background: var(--c-orange);
  color: #fff;
  transform: translateY(-1px);
}
.car-cal__book:disabled {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
  cursor: not-allowed;
}
.car-cal__clear {
  display: block;
  margin: 9px auto 0;
  background: none; border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--f-body);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.car-cal__clear[hidden] { display: none; }

/* ── Buttons repurposed as JS booking triggers ─────────────────── */
button.btn-glass.js-book-cta,
button.btn-hero-book.js-book-cta {
  cursor: pointer;
  font: inherit;
  font-family: var(--f-body);
}

/* ── Responsive (mobile keeps the earlier compact sizing) ────────── */
@media (max-width: 900px) {
  .car-hero { min-height: auto; padding-top: calc(var(--header-h) + 16px); }
  .car-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "book";
    max-width: 460px;
    gap: 18px;
  }
  .car-hero__eyebrow { font-size: 9px; font-weight: 500; gap: 10px; margin-bottom: 10px; }
  .car-hero__eyebrow::before { width: 24px; }
  .car-hero__title { font-size: clamp(26px, 6vw, 34px); margin-bottom: 14px; white-space: normal; }

  .car-cal { padding: clamp(14px, 4vw, 20px); border-radius: 14px; }
  .car-cal__rate { margin-bottom: 12px; }
  .car-cal__rate-num { font-size: clamp(18px, 5vw, 22px); }
  .car-cal__rate-unit { font-size: 11px; }
  .car-cal__head { margin-bottom: 10px; }
  .car-cal__month { font-size: 13px; }
  .car-cal__nav { width: 22px; height: 22px; }
  .car-cal__nav svg { width: 11px; height: 11px; }
  .car-cal__weekdays { font-size: 8.5px; font-weight: 400; margin-bottom: 4px; }
  .car-cal__days { gap: 2px; margin-bottom: 12px; }
  .car-cal__day { font-size: 10.5px; font-weight: 600; border-radius: 5px; }
  .car-cal__discounts { gap: 6px; margin-bottom: 12px; }
  .car-cal__discount { padding: 6px 4px; border-radius: 8px; }
  .car-cal__discount-pct { font-size: 11px; }
  .car-cal__discount-cond { font-size: 8px; font-weight: 400; }
  .car-cal__summary { padding-top: 10px; margin-bottom: 12px; }
  .car-cal__summary-range { font-size: 11px; font-weight: 500; }
  .car-cal__price-was { font-size: 11px; }
  .car-cal__price-total { font-size: 19px; }
  .car-cal__price-est { font-size: 9.5px; }
  .car-cal__savings { font-size: 10.5px; font-weight: 400; }
  .car-cal__book { padding: 11px; font-size: 12px; font-weight: 700; }
  .car-cal__clear { font-size: 10px; margin-top: 8px; }
}

/* ================================================================
   BOOKING MODAL
   ================================================================ */
.booking-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.booking-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}
.booking-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.booking-modal__box {
  position: relative;
  width: min(380px, 100%);
  max-height: min(92vh, 92svh);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 22px 20px 18px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s var(--ease-expo);
}
.booking-modal.is-visible .booking-modal__box {
  transform: translateY(0) scale(1);
}
.booking-modal__x {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.booking-modal__x:hover { background: rgba(255,255,255,0.14); }
.booking-modal__x svg { width: 13px; height: 13px; }

.booking-modal__eyebrow {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 6px;
}
.booking-modal__car {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.booking-modal__summary {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.booking-modal__form { display: flex; flex-direction: column; gap: 9px; }
.bm-row { display: grid; gap: 9px; }
.bm-row--2 { grid-template-columns: 1fr 1fr; }

.bm-field__input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-white);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.bm-field__input::placeholder { color: rgba(255,255,255,0.35); }
.bm-field__input:focus {
  border-color: var(--c-orange);
  background: rgba(255,85,0,0.05);
}
.bm-field__input[type="date"] { color-scheme: dark; }
.bm-field__label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.bm-field--invalid .bm-field__input {
  border-color: #ff5252;
  background: rgba(255,82,82,0.05);
}

.bm-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
}
.bm-toggle-row__label { font-size: 12px; font-weight: 600; }
.bm-switch { position: relative; display: inline-block; width: 38px; height: 21px; flex-shrink: 0; }
.bm-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.bm-switch__track {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: background 0.3s;
}
.bm-switch__thumb {
  position: absolute; top: 2px; left: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}
.bm-switch input:checked + .bm-switch__track { background: var(--c-orange); }
.bm-switch input:checked + .bm-switch__track .bm-switch__thumb { transform: translateX(17px); }

.bm-form-error {
  font-size: 11.5px;
  line-height: 1.4;
  color: #ff5252;
  background: rgba(255,82,82,0.08);
  border: 1px solid rgba(255,82,82,0.3);
  border-radius: 10px;
  padding: 9px 12px;
  margin: 0;
}

.bm-book-btn {
  margin-top: 2px;
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #0a0a0a;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.bm-book-btn:hover { background: var(--c-orange); color: #fff; }
.bm-book-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.bm-whatsapp-btn {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: #008000;
  color: #fff;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  box-shadow: 0 6px 20px rgba(0,128,0,0.4);
  transition: filter 0.3s, transform 0.3s;
}
.bm-whatsapp-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }
.bm-whatsapp-dot { display: none; }

.bm-deposit {
  padding: 12px 14px;
  background: rgba(255,85,0,0.1);
  border: 1px solid rgba(255,85,0,0.35);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.bm-deposit__title { font-size: 15px; font-weight: 700; line-height: 1.25; color: #ff7a33; }
.bm-deposit__text { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.85); }

.bm-insurance {
  padding: 4px 2px 2px;
  display: flex; flex-direction: column; gap: 5px;
}
.bm-insurance__title { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.bm-insurance__text { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.85); }

.bm-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
  line-height: 1.4;
}

.bm-mileage {
  margin: 10px 0 2px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  background: rgba(255,0,0,0.12);
  border: 1.5px solid #ff0000;
  border-radius: 10px;
}
.bm-mileage strong { color: #ff0000; font-weight: 800; }

.bm-success-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,85,0,0.12);
  border: 1px solid var(--c-orange);
  color: var(--c-orange);
  display: flex; align-items: center; justify-content: center;
  margin: 4px auto 18px;
}
.bm-success-icon svg { width: 20px; height: 20px; }
.bm-thanks-text {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
}
.bm-close-btn {
  display: block;
  margin: 0 auto;
  padding: 12px 36px;
  border-radius: 999px;
  border: none;
  background: var(--c-orange);
  color: #0a0a0a;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.bm-close-btn:hover { background: #ff6a1a; }

@media (max-width: 480px) {
  .bm-row--2 { grid-template-columns: 1fr; }
  .booking-modal__box { padding: 20px 16px 16px; border-radius: 14px; }
}

/* Deposit & insurance section on the car page */
.car-terms { padding: clamp(56px, 8vw, 110px) 0 clamp(24px, 4vw, 56px); }
.car-terms .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px);
}
.car-terms__card {
  position: relative; overflow: hidden;
  padding: clamp(26px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(26px, 3vw, 44px) clamp(28px, 3.4vw, 50px);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}
.car-terms__card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--c-orange);
}
.car-terms__card--deposit { background: linear-gradient(160deg, rgba(255,85,0,0.16), rgba(255,85,0,0.02)); border-color: rgba(255,85,0,0.5); }
.car-terms__kicker {
  display: block;
  font-family: var(--f-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--c-orange);
}
.car-terms__big {
  margin: 4px 0 0;
  font-family: var(--f-head); font-weight: 900;
  font-size: clamp(64px, 8vw, 120px); line-height: 0.95;
  letter-spacing: -0.02em; color: #fff;
}
.car-terms__big--script {
  font-family: 'Kaushan Script', cursive; font-weight: 400;
  letter-spacing: 0; color: var(--c-orange);
  font-size: clamp(56px, 7vw, 104px);
}
.car-terms__card h3 {
  margin: 0 0 16px;
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05;
}
.car-terms__card p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.car-terms__opts { list-style: none; margin: 0; padding: 0; }
.car-terms__opts li {
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.16);
  display: flex; flex-direction: column; gap: 4px;
}
.car-terms__opts strong { font-family: var(--f-head); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.car-terms__opts span { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.85); }
@media (max-width: 720px) {
  .car-terms .container { grid-template-columns: 1fr; }
}

/* Desktop: long horizontal strips — big figure on the left, text on the right */
@media (min-width: 901px) {
  .car-terms .container { grid-template-columns: 1fr; gap: 16px; }
  .car-terms__card {
    display: grid;
    grid-template-columns: minmax(300px, 30%) 1fr;
    column-gap: clamp(32px, 4vw, 64px);
    align-items: center;
    padding: clamp(20px, 2vw, 28px) clamp(24px, 3vw, 44px) clamp(20px, 2vw, 28px) clamp(28px, 3.4vw, 50px);
  }
  .car-terms__kicker { grid-column: 1; grid-row: 1; align-self: end; }
  .car-terms__big { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
  .car-terms__card h3 { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 8px; }
  .car-terms__card p { grid-column: 2; grid-row: 2; align-self: start; }
  .car-terms__opts { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .car-terms__opts li { padding: 10px 0 0; }
}

/* Desktop: wider modal so the text wraps into fewer lines (font sizes unchanged) */
@media (min-width: 768px) {
  .booking-modal__box { width: min(500px, 100%); }
}

/* Inline field message (added by car-booking.js when a field needs fixing) */
.bm-field__error {
  margin: 6px 2px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #ff7070;
}

/* ================================================================
   DISCOUNT TILES - tappable: explain the deal + quick-pick N days
   (behaviour in car-booking.js; built without HTML edits)
   ================================================================ */
.car-cal__discount {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
@media (hover: hover) {
  .car-cal__discount:hover { border-color: rgba(255,85,0,0.55); background: rgba(255,85,0,0.06); }
}
.car-cal__discount:active { transform: scale(0.97); }
.car-cal__discount:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 2px; }
.car-cal__discount[aria-expanded="true"],
.car-cal__discount.is-armed { border-color: var(--c-orange); background: rgba(255,85,0,0.1); }

.car-cal__deal-hint {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* Small card above the tiles, arrow points at the tapped tile */
.car-cal__pop {
  --arrow-x: 50%;
  position: relative;
  margin: 0 0 12px;
  padding: 14px 16px 14px;
  border-radius: 12px;
  background: #161616;
  border: 1px solid rgba(255,85,0,0.55);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.car-cal__pop.is-open { opacity: 1; transform: none; }
.car-cal__pop::after {
  content: '';
  position: absolute; bottom: -7px; left: var(--arrow-x);
  width: 12px; height: 12px;
  margin-left: -6px;
  background: #161616;
  border-right: 1px solid rgba(255,85,0,0.55);
  border-bottom: 1px solid rgba(255,85,0,0.55);
  transform: rotate(45deg);
}
.car-cal__pop-x {
  position: absolute; top: 6px; right: 6px;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 22px; line-height: 1;
  cursor: pointer;
}
.car-cal__pop-title {
  margin: 0 30px 6px 0;
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: 18px; line-height: 1.05;
  color: var(--c-orange);
}
.car-cal__pop-price { margin: 0 0 4px; color: #fff; }
.car-cal__pop-price strong { font-family: var(--f-head); font-weight: 900; font-size: 26px; }
.car-cal__pop-unit { font-size: 13px; color: rgba(255,255,255,0.6); }
.car-cal__pop-price s { margin-left: 6px; font-size: 14px; color: rgba(255,255,255,0.35); }
.car-cal__pop-total { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.7); }
.car-cal__pop-cta {
  width: 100%;
  padding: 12px 14px;
  border: 0; border-radius: 999px;
  background: var(--c-orange); color: #fff;
  font-family: var(--f-body); font-size: 14px; font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

/* Quick-pick: banner over the calendar + a soft pulse on the days */
.car-cal__pickbar {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 8px;
  padding: 8px 6px 8px 12px;
  border-radius: 10px;
  background: rgba(255,85,0,0.14);
  border: 1px solid rgba(255,85,0,0.5);
  font-size: 13px; font-weight: 600; line-height: 1.3; color: #fff;
}
.car-cal__pickbar[hidden] { display: none; }
.car-cal__pickbar-text { flex: 1; }
.car-cal__pickbar-x {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 18px; line-height: 1; cursor: pointer;
}
@keyframes car-cal-pick { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,85,0,0); } 50% { box-shadow: 0 0 0 3px rgba(255,85,0,0.45); } }
.car-cal__days.is-picking { border-radius: 10px; animation: car-cal-pick 1.1s ease-in-out 2; }
.car-cal__days.is-picking .car-cal__day:not(:disabled):not(.car-cal__day--empty) { background: rgba(255,255,255,0.05); }
@media (prefers-reduced-motion: reduce) {
  .car-cal__pop { transition: none; }
  .car-cal__days.is-picking { animation: none; box-shadow: 0 0 0 2px rgba(255,85,0,0.45); }
}

/* Phones: the calendar card is compact, keep the new bits readable and tappable */
@media (max-width: 900px) {
  .car-cal__deal-hint { font-size: 10.5px; margin-bottom: 6px; }
  .car-cal__discount { min-height: 44px; }
  .car-cal__pop { padding: 12px 14px; }
  .car-cal__pop-title { font-size: 15px; }
  .car-cal__pop-price strong { font-size: 22px; }
  .car-cal__pop-total { font-size: 12px; }
  .car-cal__pop-cta { font-size: 13px; padding: 11px 12px; }
  .car-cal__pickbar { font-size: 11.5px; }
}

/* ================================================================
   TIERED PRICING (Corvette, Escalade): "From $249/day" + rate ladder
   ================================================================ */
.car-cal__from { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.car-cal__from-label {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-orange);
}
.car-hero--tiers .car-cal__rate-num { color: var(--c-orange); }

.car-cal__ladder {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.car-cal__ladder li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}
.car-cal__ladder-days {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.car-cal__ladder strong {
  font-family: var(--f-head); font-weight: 900;
  font-size: 22px; line-height: 1;
  color: #fff;
}
.car-cal__ladder li.is-best { border-color: rgba(255,85,0,0.6); background: rgba(255,85,0,0.08); }
.car-cal__ladder li.is-best strong { color: var(--c-orange); }
.car-cal__ladder-badge {
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--c-orange);
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff;
}
/* the step the selected dates fall into */
.car-cal__ladder li.is-current { border-color: #fff; background: rgba(255,255,255,0.1); }
.car-cal__ladder li.is-current strong { color: #fff; }

/* A smaller photo so price, ladder and calendar share the first screen */
.car-hero--tiers .car-hero__frame { aspect-ratio: 16 / 9; max-width: 640px; }

@media (max-width: 900px) {
  .car-hero--tiers .car-hero__frame { aspect-ratio: 2 / 1; max-width: none; }
  .car-hero--tiers .car-hero__title { margin-bottom: 10px; }
  .car-cal__from-label { font-size: 11px; }
  .car-cal__ladder { gap: 4px; margin-bottom: 12px; }
  .car-cal__ladder li { padding: 8px 1px 7px; border-radius: 8px; }
  .car-cal__ladder-days { font-size: 8.5px; letter-spacing: 0.03em; }
  .car-cal__ladder strong { font-size: 17px; }
  .car-cal__ladder-badge { font-size: 7.5px; padding: 1px 5px; top: -7px; }
}
