/* Fine-grained adjustments layered on top of the fluid, grid/flex based
   layouts already defined in base/components/booking/pages. Most spacing
   already scales via clamp(); this file only handles structural shifts. */

@media (max-width: 430px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .car-card__actions {
    flex-direction: column;
    width: 100%;
  }

  .car-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .cta-band {
    padding: var(--space-6);
    text-align: center;
    justify-content: center;
  }

  .booking-progress__label {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .vehicle-widget__row {
    grid-template-columns: 1fr;
  }

  body:has(.sticky-cta) main {
    padding-bottom: 88px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .car-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1440px) {
  :root {
    --content-max: 1280px;
  }
}

/* Prevent any horizontal scroll from wide inner content (tables, code) */
.overflow-x-auto {
  overflow-x: auto;
}
