/* Shared sizing for the public fleet, information, and booking pages.
   Loaded after page styles so the same rules also cover live-refreshed cards. */
body.customer-responsive {
  --customer-gutter: clamp(16px, 2.4vw, 32px);
  --customer-gap: clamp(16px, 2vw, 28px);
  --customer-section: clamp(40px, 6vw, 88px);
  --customer-card-padding: clamp(16px, 2vw, 28px);
  --customer-heading: clamp(30px, calc(22px + 2vw), 52px);
  --customer-subheading: clamp(24px, calc(20px + .8vw), 32px);
  --customer-copy: clamp(14px, calc(13px + .25vw), 17px);
  --customer-small: clamp(13px, calc(12px + .2vw), 15px);
  font-size: var(--customer-copy);
  line-height: 1.6;
}
.customer-responsive .container {
  max-width: 1320px;
  padding-left: var(--customer-gutter);
  padding-right: var(--customer-gutter);
  width: 100%;
}
.customer-responsive main :is(h1, h2, h3, p, a, strong, small, dd) {
  overflow-wrap: anywhere;
}
.customer-responsive main :is(input, select, textarea) {
  max-width: 100%;
  min-width: 0;
}
.customer-responsive main :is(img, video, iframe) {
  max-width: 100%;
}
.customer-responsive :is(.homepage-hero-grid, .about-hero-grid, .about-story-grid,
  .homepage-benefits-grid, .faq-hero-grid, .contact-hero-grid, .contact-layout,
  .booking-dashboard-layout, .van-listing-layout, .vehicle-detail-layout) > * {
  min-width: 0;
}
/* Fluid headings keep intermediate widths from jumping between fixed sizes. */
body.customer-responsive.homepage .homepage-hero .banner_content h1,
body.customer-responsive.about-page .about-hero h1,
body.customer-responsive .van-fleet-hero-title h1,
body.customer-responsive .faq-hero h1,
body.customer-responsive .contact-hero h1,
body.customer-responsive.vehicle-detail-modern .vehicle-detail-heading h1 {
  font-size: var(--customer-heading);
  font-weight: 700;
  line-height: 1.08;
}
body.customer-responsive :is(.homepage-section-heading, .homepage-centered-heading,
  .homepage-benefits-copy, .homepage-cta-copy, .about-story-copy, .about-centered-heading,
  .about-experience-copy, .about-cta-panel, .faq-sidebar, .faq-cta-panel,
  .contact-info-column, .contact-form-card, .contact-bottom-copy,
  .van-listing-intro, .booking-dashboard-intro) h2 {
  font-size: var(--customer-subheading);
  font-weight: 700;
  line-height: 1.18;
}
body.customer-responsive.homepage .hero_booking-card h2,
body.customer-responsive .van-results-heading h2,
body.customer-responsive .booking-list-heading h2,
body.customer-responsive.vehicle-detail-modern .vehicle-section-heading h3 {
  font-size: clamp(22px, calc(18px + .8vw), 30px);
  font-weight: 700;
  line-height: 1.25;
}
body.customer-responsive :is(.banner_content > p, .hero_booking-card > p,
  .homepage-section-heading p, .homepage-centered-heading p, .homepage-benefits-copy > p,
  .homepage-cta-copy > p, .about-hero-copy > p, .about-story-lead, .about-detail-copy,
  .about-centered-heading > p, .about-experience-copy > p, .about-cta-panel p,
  .faq-hero-copy > p, .faq-sidebar > p, .faq-answer, .faq-cta-panel p,
  .contact-hero-copy > p, .contact-info-intro, .contact-form-heading p,
  .contact-bottom-copy > p, .van-fleet-hero-title > p, .van-listing-intro-copy,
  .booking-intro-copy, .vehicle-detail-subtitle, .vehicle-overview-copy) {
  font-size: var(--customer-copy);
  line-height: 1.65;
}
body.customer-responsive :is(.homepage-vehicle-body > p, .homepage-benefit-item p,
  .homepage-process-card p, .about-value-card p, .van-card-description,
  .van-results-heading > p, .booking-side-note p, .booking-empty p) {
  font-size: var(--customer-small);
  line-height: 1.65;
}
body.customer-responsive :is(.homepage-vehicle-body h3, .homepage-process-card h3,
  .about-value-card h3, .booking-card-info h3) {
  font-size: clamp(18px, calc(16px + .5vw), 23px);
  font-weight: 700;
  line-height: 1.3;
}
/* Content stays padded, with card gaps that grow with the viewport. */
body.customer-responsive :is(.homepage-fleet-section, .homepage-benefits-section,
  .homepage-process-section, .about-story-section, .about-values-section,
  .about-experience-section, .faq-content-section, .contact-content-section,
  .van-listing-page, .booking-dashboard) {
  padding-top: var(--customer-section);
  padding-bottom: var(--customer-section);
}
body.customer-responsive :is(.homepage-cta-section, .about-cta-section,
  .faq-cta-section, .contact-bottom-section) {
  padding-bottom: var(--customer-section);
}
body.customer-responsive :is(.homepage-fleet-grid, .van-list-grid) {
  display: grid;
  gap: var(--customer-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
body.customer-responsive :is(.homepage-process-grid, .about-values-grid) {
  display: grid;
  gap: var(--customer-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
body.customer-responsive .homepage-process-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
body.customer-responsive :is(.homepage-vehicle-card, .van-card, .about-value-card,
  .homepage-process-card, .booking-card) {
  min-width: 0;
}
body.customer-responsive :is(.homepage-vehicle-body, .van-card-body,
  .hero_booking-card, .about-value-card, .homepage-process-card, .contact-form-card) {
  padding: var(--customer-card-padding);
}
body.customer-responsive :is(.homepage-vehicle-media, .van-card-media) {
  aspect-ratio: 16 / 10;
  height: auto;
}
body.customer-responsive :is(.homepage-vehicle-media img, .van-card-image img) {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
body.customer-responsive :is(.homepage-vehicle-heading, .van-card-heading,
  .homepage-vehicle-specs, .banner_actions, .about-hero-actions, .about-cta-actions,
  .faq-cta-actions, .homepage-cta-actions, .booking-card-top, .booking-card-actions) {
  flex-wrap: wrap;
  gap: 12px;
}
body.customer-responsive .van-card-heading {
  display: flex;
}
body.customer-responsive .van-card-heading > div:first-child {
  flex: 1 1 140px;
  min-width: 0;
}
body.customer-responsive .van-card-price {
  margin-top: 0;
  text-align: left;
}
body.customer-responsive .van-card-heading h3 a {
  font-size: clamp(19px, calc(17px + .4vw), 24px);
}
body.customer-responsive .van-card-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.customer-responsive .van-card-specs li {
  border: 0;
  padding: 0;
}
body.customer-responsive .van-card-specs strong {
  font-size: var(--customer-small);
  overflow: visible;
  white-space: normal;
}
body.customer-responsive :is(.btn, .booking-button, .booking-dashboard-action,
  .van-card-cta, .van-filter-submit, .contact-form-submit, .about-primary-button,
  .faq-primary-button, .vehicle-booking-submit) {
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
}
/* The desktop sidebar only appears when the results have room for two cards. */
body.customer-responsive.listing-page-modern .van-listing-layout {
  display: grid;
  gap: var(--customer-gap);
  grid-template-columns: minmax(240px, .7fr) minmax(0, 2fr);
  margin: 0;
}
body.customer-responsive.listing-page-modern :is(.van-listing-sidebar, .van-listing-results) {
  padding: 0;
  width: auto;
}
body.customer-responsive :is(.van-listing-layout, .vehicle-detail-layout)::before,
body.customer-responsive :is(.van-listing-layout, .vehicle-detail-layout)::after {
  display: none;
}
body.customer-responsive .booking-faq-hero .faq-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}
/* Share About Us's flat badge strip across the fleet, bookings, and FAQs. */
body.customer-responsive :is(.about-trust-grid, .faq-topic-grid, .booking-stats-grid, .van-fleet-benefits-grid) {
  display: grid;
  gap: 0;
  padding: 0;
}
body.customer-responsive .faq-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.customer-responsive .booking-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card) {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-start;
  min-height: 96px;
  min-width: 0;
  padding: 16px 23px;
  position: relative;
  text-align: left;
}
body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):first-child {
  padding-left: 0;
}
body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):last-child {
  padding-right: 0;
}
body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):not(:last-child)::after {
  background: #e9efec;
  content: "";
  display: block;
  height: 48px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}
body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):last-child::after {
  display: none;
}
body.customer-responsive :is(.about-trust-icon, .faq-topic-icon, .booking-stat-icon, .van-fleet-benefit-icon) {
  background: #eaf9ef;
  border-radius: 13px;
  color: #1b9e58;
  flex: 0 0 41px;
  font-size: 16px;
  height: 41px;
  width: 41px;
}
body.customer-responsive :is(.about-trust-icon, .faq-topic-icon, .booking-stat-icon, .van-fleet-benefit-icon) .fa {
  font-size: inherit;
}
body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card) strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}
body.customer-responsive :is(.about-trust-item small, .faq-topic-card small, .booking-stat-card .booking-stat-label) {
  font-size: 10px;
  letter-spacing: normal;
  line-height: 17px;
  margin-top: 2px;
  text-transform: none;
}
body.customer-responsive :is(.faq-question-text, .faq-answer p) {
  font-size: var(--customer-copy);
  line-height: 1.6;
}
/* Customer reservation cards also retain these sizes after polling. */
body.customer-responsive.booking-page-modern .booking-list {
  gap: var(--customer-gap);
}
body.customer-responsive.booking-page-modern .booking-dashboard-layout {
  gap: var(--customer-gap);
  grid-template-columns: 240px minmax(0, 1fr);
}
body.customer-responsive.booking-page-modern .booking-card-main {
  display: grid;
  gap: var(--customer-gap);
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1.6fr);
  padding: var(--customer-card-padding);
}
body.customer-responsive.booking-page-modern .booking-total {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  grid-column: 1 / -1;
  margin: 0;
  text-align: left;
}
body.customer-responsive.booking-page-modern :is(.booking-card-main > *, .booking-date-item,
  .booking-card-actions > *, .booking-reference, .booking-meta-item) {
  min-width: 0;
}
body.customer-responsive.booking-page-modern .booking-card-footer {
  flex-wrap: wrap;
  gap: 12px;
}
body.customer-responsive.booking-page-modern :is(.booking-date-item strong, .booking-meta-item strong) {
  font-size: var(--customer-small);
}
/* Avoid a four-column table inside the narrow vehicle-details panel. */
body.customer-responsive.vehicle-detail-modern .vehicle-spec-table {
  display: block;
  min-width: 0;
}
body.customer-responsive.vehicle-detail-modern .vehicle-spec-table tbody {
  display: block;
}
body.customer-responsive.vehicle-detail-modern .vehicle-spec-table tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
body.customer-responsive.vehicle-detail-modern .vehicle-spec-table td {
  font-size: var(--customer-small);
  white-space: normal;
  width: auto;
}
body.customer-responsive.vehicle-detail-modern .vehicle-detail-layout {
  align-items: start;
  display: grid;
  gap: var(--customer-gap);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin: 0;
}
body.customer-responsive.vehicle-detail-modern .vehicle-detail-layout > [class*="col-"] {
  padding: 0;
  width: auto;
}
body.customer-responsive.vehicle-detail-modern .vehicle-booking-location-grid {
  grid-template-columns: minmax(0, 1fr);
}
body.customer-responsive.vehicle-detail-modern .vehicle-date-calendar {
  max-width: 100%;
  width: 100%;
}
/* Keep the footer columns aligned even with a long email or address. */
.customer-responsive .footer-top .row {
  display: grid;
  gap: var(--customer-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.customer-responsive .footer-top .row::before,
.customer-responsive .footer-top .row::after {
  display: none;
}
.customer-responsive .footer-top .row > [class*="col-"] {
  padding: 0;
  width: auto;
}
.customer-responsive .footer-top :is(li, a) {
  overflow-wrap: anywhere;
}
@media (max-width: 1199px) {
  body.customer-responsive.listing-page-modern .van-listing-layout,
  body.customer-responsive.booking-page-modern .booking-dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  body.customer-responsive.listing-page-modern .van-filter-form {
    display: grid;
    gap: 0 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.customer-responsive.listing-page-modern :is(.van-filter-submit, .van-filter-reset) {
    grid-column: 1 / -1;
  }
  body.customer-responsive.listing-page-modern :is(.van-confidence-card, .van-recent-card) {
    display: none;
  }
  body.customer-responsive.booking-page-modern .booking-sidebar-column {
    display: grid;
    gap: var(--customer-gap);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    position: static;
  }
  body.customer-responsive.booking-page-modern .booking-sidebar-column > * {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }
}
@media (max-width: 991px) {
  /* Bootstrap's tablet menu needs wrapping space for the expanded links. */
  .customer-responsive #navigation_bar > .container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .customer-responsive #navigation_bar > .container::before,
  .customer-responsive #navigation_bar > .container::after {
    display: none;
  }
  .customer-responsive #navigation_bar .header_wrap {
    margin: 0;
    order: 0;
    position: static;
    transform: none;
  }
  .customer-responsive #navigation {
    flex: 0 0 100%;
    max-height: 70vh;
    order: 1;
    overflow-y: auto;
  }
  body.customer-responsive :is(.homepage-hero-grid, .about-hero-grid,
    .faq-hero-grid, .contact-hero-grid) {
    gap: var(--customer-gap);
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  }
  body.customer-responsive .booking-faq-hero .faq-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.customer-responsive :is(.homepage-benefits-grid, .about-story-grid) {
    gap: 32px;
  }
  body.customer-responsive.vehicle-detail-modern .vehicle-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  body.customer-responsive.vehicle-detail-modern .vehicle-detail-layout > aside {
    margin-top: 0;
  }
  body.customer-responsive.vehicle-detail-modern .vehicle-booking-location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.customer-responsive :is(.about-trust-grid, .faq-topic-grid, .booking-stats-grid, .van-fleet-benefits-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card) {
    border-bottom: 1px solid #e9efec;
    min-height: 84px;
    padding: 14px 12px;
  }
  body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):nth-child(2n)::after {
    display: none;
  }
  body.customer-responsive :is(.about-trust-item, .van-fleet-benefit-card):last-child {
    grid-column: 1 / -1;
  }
  body.customer-responsive :is(.about-trust-item, .van-fleet-benefit-card):last-child,
  body.customer-responsive :is(.faq-topic-card, .booking-stat-card):nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .customer-responsive .footer-top .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-responsive .footer-top .row > :last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  body.customer-responsive :is(.homepage-hero-grid, .about-hero-grid,
    .faq-hero-grid, .contact-hero-grid) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  body.customer-responsive :is(.about-hero, .faq-hero, .contact-hero) {
    min-height: 0;
  }
  /* The stats strip is in normal flow on phones. Stack both flex children
     so it cannot take width away from the heading and search card. */
  body.customer-responsive.homepage .homepage-hero {
    align-items: stretch;
    flex-direction: column;
  }
  body.customer-responsive.homepage .homepage-hero > .container {
    flex: 0 0 auto;
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }
  body.customer-responsive.homepage .homepage-hero-grid {
    padding-bottom: 24px;
    transform: none;
  }
  body.customer-responsive.homepage .hero_booking-card {
    justify-self: stretch;
    margin: 0;
    max-width: none;
  }
  body.customer-responsive.homepage .homepage-proof-strip {
    flex: 0 0 auto;
    padding: 24px 0 36px;
    position: relative;
    width: 100%;
  }
  body.customer-responsive.homepage .homepage-proof-strip::before {
    top: 0;
    width: calc(100% - 40px);
  }
  body.customer-responsive.homepage .homepage-proof-strip .container {
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }
  body.customer-responsive.homepage .homepage-proof-item span {
    font-size: clamp(11px, calc(10px + .3vw), 13px);
    line-height: 1.5;
  }
  body.customer-responsive.homepage .hero_pager {
    bottom: 10px;
  }
  body.customer-responsive :is(.about-hero-visual, .faq-hero-card, .contact-hero-card) {
    margin-top: 8px;
  }
  body.customer-responsive :is(.faq-hero-card, .contact-hero-card) {
    justify-self: stretch;
    max-width: none;
  }
  body.customer-responsive :is(.about-cta-panel, .faq-cta-panel,
    .homepage-cta-panel, .contact-bottom-panel) {
    padding: var(--customer-card-padding);
  }
  body.customer-responsive .contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 16px fields keep iOS from zooming the entire page on focus. */
  body.customer-responsive :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
  body.customer-responsive.vehicle-detail-modern .vehicle-booking-form .form-control {
    font-size: 16px;
  }
  body.customer-responsive :is(.van-filter-control, .contact-input-wrap,
    .vehicle-booking-form .form-control) {
    min-height: 46px;
  }
}
@media (max-width: 599px) {
  body.customer-responsive .contact-form-grid,
  body.customer-responsive.listing-page-modern .van-filter-form {
    grid-template-columns: minmax(0, 1fr);
  }
  body.customer-responsive.booking-page-modern .booking-card-main,
  body.customer-responsive.vehicle-detail-modern .vehicle-booking-fields,
  body.customer-responsive.vehicle-detail-modern .vehicle-booking-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  body.customer-responsive.booking-page-modern .booking-vehicle-media {
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0;
  }
  body.customer-responsive.booking-page-modern .booking-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  body.customer-responsive.booking-page-modern .booking-card-actions :is(form, .booking-button) {
    width: 100%;
  }
  .customer-responsive .footer-top .row {
    grid-template-columns: minmax(0, 1fr);
  }
  .customer-responsive .default-header {
    padding: 12px 0;
  }
}
@media (max-width: 480px) {
  body.customer-responsive :is(.about-trust-grid, .faq-topic-grid, .booking-stats-grid, .van-fleet-benefits-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card) {
    border-bottom: 1px solid #e9efec;
    min-height: 72px;
    padding: 12px 0;
  }
  body.customer-responsive :is(.faq-topic-card, .booking-stat-card):nth-last-child(-n+2) {
    border-bottom: 1px solid #e9efec;
  }
  body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):last-child {
    border-bottom: 0;
  }
  body.customer-responsive :is(.about-trust-item, .faq-topic-card, .booking-stat-card, .van-fleet-benefit-card):not(:last-child)::after {
    display: none;
  }
}
