  body {
      font-family: "Poppins", sans-serif;
      background: #fff;
    }

    .hero {
      background-image: url('../banner3.png');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      width: 100%;
      min-height: 630px;
      padding: 80px 20px 140px;
      position: relative;
      overflow: hidden;
    }

    .search-box {
      position: absolute;
      top: 20%;
      right: 5%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.92);
      padding: 22px;
      border-radius: 12px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      max-width: 420px;
      z-index: 5;
    }

    .input-icon {
      position: absolute;
      left: 12px;
      top: 74%;
      transform: translateY(-50%);
      color: #e8b601;
      font-size: 18px;
    }

    .input-with-icon {
      padding-left: 40px !important;
    }

    .btn-search {
      background: #050505;
      color: #feed3d;
      font-weight: 600;
    }

    .btn-search:hover {
      background: #333;
      color: #feed3d;
    }

    .hero-logo {
      width: 130px;
      position: absolute;
      top: 30px;
      left: 80px;
      z-index: 10;
    }

    @media (max-width:991px) {
      .search-box {
        position: static;
        transform: none;
        margin: 20px auto 0;
        width: calc(100% - 40px);
      }

       .hero-logo {
    position: static;
    display: block;
    margin: 0 auto 20px; /* centers logo and adds spacing */
  }

  .hero {
    padding-top: 40px; /* reduce top padding for better alignment */
  }

  h1.text-center.fw-bold.mt-5 {
    margin-top: 10px !important; /* reduce huge gap on mobile */
  }
    }

    /* APP DOWNLOAD */
    .app-section {
      background: linear-gradient(135deg, #ffecd2 0%, #e6b303 100%);
      border-radius: 20px;
      margin: 60px auto;
      max-width: 1100px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .store-badge {
      width: 160px;
      transition: 0.3s ease;
      cursor: pointer;
    }

    .store-badge:hover {
      transform: scale(1.05);
    }

    /* FAQ Section */
    .faq-section {
      background: #fafafa;
      border-radius: 20px;
      margin: 60px auto;
      max-width: 1100px;
      padding: 50px 20px;
    }

    .faq-title {
      font-size: 2rem;
    }

    .accordion-item {
      border-radius: 10px;
      overflow: hidden;
      border: none;
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    }

    .accordion-button {
      font-weight: 500;
      padding: 15px 20px;
      border-radius: 10px;
    }

    .accordion-button:not(.collapsed) {
      background-color: #000;
      color: #feed3d;
    }

    /* FOOTER */
    .footer {
      background: #111;
      color: #ddd;
      margin-top: 40px;
      font-size: 15px;
    }

    /* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ZOOM IN */
.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.7s ease-out;
}

.zoom-in.show {
  opacity: 1;
  transform: scale(1);
}
/* Fade-up animation */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==== search css ====== */

  .header-bar {
      background: #fff;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      border-bottom: 1px solid #eee;
    }

    .header-bar h3 {
      margin: 0;
      font-weight: 600;
    }

    .card-box {
      background: #fff;
      padding: 18px;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      margin-bottom: 16px;
      display: flex;
      gap: 15px;
      align-items: center;
    }

    .card-box .icon {
      font-size: 26px;
      color: #caa22a;
    }

    .label {
      font-size: 14px;
      font-weight: 600;
      color: #caa22a;
    }

    .value {
      font-size: 15px;
      border: none !important;
      margin-top: -3px;
    }

    .section-title {
      font-weight: 600;
      margin: 25px 0 12px;
      font-size: 18px;
    }

    .passenger-box {
      background: #fff;
      padding: 18px;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      margin-bottom: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .p-title {
      font-size: 15px;
      font-weight: 600;
      color: #caa22a;
    }

    .p-sub {
      font-size: 13px;
      color: #777;
      margin-top: -2px;
    }

    .counter button {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      border: 1px solid #ddd;
      background: #fff;
    }

    .input-card {
      background: #fff;
      padding: 18px;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      margin-bottom: 16px;
    }

    .input-card label {
      color: #caa22a;
      font-size: 14px;
      font-weight: 600;
    }

    .input-card input {
      width: 100%;
      border: none;
      background: transparent;
      margin-top: 5px;
      font-size: 15px;
    }

    .continue-btn {
      width: 100%;
      background: #e8b434;
      border: none;
      padding: 14px;
      border-radius: 12px;
      color: #fff;
      font-size: 17px;
      font-weight: 600;
      margin: 20px 0;
    }

    /* Footer */
    .footer {
      background: #111;
      color: #ddd;
      text-align: center;
      padding: 12px;
      margin-top: 40px;
      font-size: 15px;
    }

    .passenger-card {
      border-radius: 14px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .counter-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      font-size: 20px;
      padding: 0;
      line-height: 0;
    }

    .counter-btn:hover {
      background-color: #f1f1f1;
    }

    .header-top {
      width: 100%;
      background: #f4c400;
      padding: 0;
      position: relative;
      display: flex;
      align-items: center;
      height: 80px;
    }

    /* LOGO AREA */
    .header-top .left {
      padding: 0 40px;
    }

    .header-top .left img {
      height: 60px;
    }

    /* BLACK RIGHT BLOCK (DESKTOP) */
    .header-top .right {
      position: absolute;
      right: 0;
      top: 0;
      height: 80px;
      background: #000;
      padding: 0 40px;
      display: flex;
      align-items: center;
      clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
    }

    .header-top .right a {
      margin-left: 20px;
      font-size: 17px;
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .header-top .right a i {
      margin-right: 8px;
      color: #f4c400;
      font-size: 20px;
    }

    /* HAMBURGER BUTTON (Mobile Only) */
    .hamburger {
      display: none;
      font-size: 36px;
      cursor: pointer;
      color: #000;
      margin-left: auto;
      padding-right: 20px;
    }

    /* MOBILE MENU PANEL */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -270px;
      width: 260px;
      height: 100%;
      background: #000;
      padding: 25px;
      transition: 0.4s ease-in-out;
      z-index: 9999;
      border-left: 5px solid #f4c400;
    }

    .mobile-menu a {
      display: block;
      color: white;
      padding: 14px 0;
      font-size: 17px;
      border-bottom: 1px solid #222;
    }

    .mobile-menu a i {
      color: #f4c400;
      margin-right: 10px;
    }

    /* Close Button */
    .close-menu {
      font-size: 32px;
      color: #f4c400;
      text-align: right;
      cursor: pointer;
      margin-bottom: 10px;
    }

    /* RESPONSIVE RULES */
    @media(max-width: 768px) {
      .header-top {
        height: 70px;
      }

      .header-top .right {
        display: none;
        /* Hide desktop block */
      }

      .hamburger {
        display: block;
        /* Show hamburger */
      }

      .left img {
        height: 50px;
      }
    }

    /* SCROLL ANIMATION */
    .animate {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.7s ease-out;
    }

    .animate.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .otpBox {
      width: 45px;
      height: 55px;
      margin: 0 5px;
      font-size: 22px;
      text-align: center;
      border: 1.5px solid #ddd;
      border-radius: 12px;
    }

    .otpBox:focus {
      border-color: #ffcd00;
      box-shadow: 0 0 5px rgba(255, 205, 0, 0.6);
      outline: none;
    }
  

 /* ============================Choose Your Ride ========================== */

    .sidebar-search-btn {
      width: 100%;
      background: #caa22a;
      color: #fff;
      font-weight: 600;
      border: none;
      border-radius: 12px;
      padding: 12px 0;
      margin-top: 10px;
    }

 
    /* Cab Cards */
    .cab-card {
      background: #fff;
      padding: 20px;
      border-radius: 14px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
      margin-bottom: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px solid #eee;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .cab-card:hover {
      transform: scale(1.02);
    }

    .cab-card.selected {
      box-shadow: 0 0 20px #e8b434;
    }

    .cab-card::after {
      content: "";
      position: absolute;
      width: 100px;
      height: 100px;
      background: rgba(232, 180, 52, 0.3);
      /* golden circle */
      display: block;
      border-radius: 50%;
      top: 50%;
      left: 20%;
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .cab-card:hover::after {
      transform: translate(-50%, -50%) scale(4);
      /* expand the circle */
      opacity: 1;
    }

    .cab-card.ripple::after {
      transform: scale(4);
      opacity: 1;
      transition: transform 0.5s, opacity 0.5s;
    }

    .cab-details {
      width: 60%;
    }

    .cab-title {
      font-size: 20px;
      font-weight: 700;
    }

    .cab-meta {
      color: #777;
      font-size: 14px;
    }

    .cab-thumbs img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: -8px;
      border: 2px solid #fff;
    }

    .cab-img img {
      width: 150px;
      border-radius: 10px;
    }

    .cab-price {
      background: #000;
      color: #fff;
      padding: 8px 18px;
      border-radius: 12px;
      font-size: 18px;
      font-weight: 600;
      margin-top: 10px;
      display: inline-block;
    }

    .cab-select-btn {
      background: #caa22a;
      color: #fff;
      border: none;
      padding: 8px 15px;
      border-radius: 12px;
      font-weight: 600;
      margin-top: 10px;
      cursor: pointer;
    }

    .sidebar .input-card,
    .sidebar .card-box,
    .sidebar .passenger-card {
      margin-bottom: 16px;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      background: #fff;
      padding: 18px;
    }

  .passenger-card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
         border-radius: 14px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

 /* HEADER */
    .header {
      background: white;
      padding: 15px;
      text-align: center;
      position: sticky;
      top: 0;
      z-index: 999;
      font-size: 20px;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .header .back-btn {
      position: absolute;
      left: 15px;
      top: 13px;
      font-size: 26px;
      cursor: pointer;
    }

    /* ROUTE CARD */
    .route-card {
      background: white;
      margin-bottom: 20px;
      padding: 20px;
      border-radius: 20px;
    }

    .route-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .route-top div {
      width: 42%;
      font-size: 18px;
      font-weight: 700;
    }

    .route-icon {
      width: 15%;
      text-align: center;
    }

    .route-icon i {
      font-size: 30px;
      color: #e5b400;
    }

    .route-time {
      color: #777;
      font-size: 14px;
      margin-top: 5px;
    }

    /* TIMELINE */
    .timeline {
      margin-top: 15px;
    }

    .timeline-item {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
      font-size: 15px;
    }

    .timeline-dot {
      width: 12px;
      height: 12px;
      background: #e5b400;
      border-radius: 50%;
      margin-top: 4px;
    }

    /* DRIVER LIST */
    .section-title {
      font-size: 22px;
      font-weight: 700;
      margin: 15px 0;
    }

    /* DRIVER CARD */
    .driver-card {
      background: white;
      padding: 15px;
      border-radius: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      border: 1px solid #d2d2d2;
    }

    .driver-left {
      display: flex;
      gap: 15px;
    }

    .driver-photo {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      object-fit: cover;
    }

    .driver-info {
      font-size: 18px;
      font-weight: 700;
    }

    .driver-sub {
      font-size: 14px;
      color: #555;
      margin-top: 4px;
    }

    .more-btn {
      color: #e5b400;
      font-size: 16px;
      font-weight: 600;
    }

    /* CONTINUE BUTTON */
    .continue-btn {
      width: 100%;
      margin: 20px 0;
      background: #e5b400;
      padding: 15px;
      border-radius: 30px;
      text-align: center;
      color: white;
      font-size: 20px;
      font-weight: 600;
    }

    /* FILTER SIDEBAR (LEFT) */
    .sidebar {
      background: white;
      padding: 25px;
      border-radius: 20px;
      /* position: sticky; */
      top: 100px;
    }

    .sidebar-title {
      font-size: 26px;
      font-weight: 700;
    }

    .filter-section {
      margin-top: 20px;
    }

    .filter-section label {
      font-size: 18px;
      font-weight: 600;
    }

    .checkbox-group {
      margin-top: 12px;
    }

    .checkbox-group div {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    select {
      width: 100%;
      padding: 12px;
      border-radius: 12px;
      border: 1px solid #ddd;
      font-size: 16px;
    }

    .sidebar-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 25px;
    }

    .reset-btn {
      width: 48%;
      padding: 12px;
      border-radius: 30px;
      background: white;
      border: 2px solid #e5b400;
      font-size: 18px;
      color: #e5b400;
      font-weight: 600;
    }

    .apply-btn {
      width: 48%;
      padding: 12px;
      border-radius: 30px;
      background: #e5b400;
      font-size: 18px;
      color: white;
      font-weight: 600;
    }

    .driver-specs {
      display: flex;
      gap: 12px;
      margin-top: 6px;
      font-size: 14px;
      color: #555;
    }

    .driver-specs i {
      font-size: 16px;
      margin-right: 4px;
    }

    .car-photo {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #f0f0f0;
    }

    .card {
      border-radius: 20px;
    }

    .otpBox {
  width: 45px;
  height: 55px;
  margin: 0 5px;
  font-size: 22px;
  text-align: center;
  border: 1.5px solid #ddd;
  border-radius: 12px;
}
.otpBox:focus {
  border-color: #ffcd00;
  box-shadow: 0 0 5px rgba(255,205,0,0.6);
  outline: none;
}


  /*  ==== checkout page css === */


    .checkout-card {
      background: white;
      padding: 25px;
      border-radius: 20px;
      margin-bottom: 25px;
    }

    .title {
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 15px;
    }

    .row-line {
      display: flex;
      justify-content: space-between;
      margin: 6px 0;
      font-size: 16px;
    }

    .bold {
      font-weight: 700;
      font-size: 18px;
    }

    .payment-box {
      padding: 18px;
      border-radius: 18px;
      background: white;
      display: flex;
      align-items: center;
      gap: 12px;
      border: 2px solid #d4d4d4;
      margin-bottom: 12px;
      font-size: 17px;
      font-weight: 600;
    }

    .pay-btn {
      width: 100%;
      background: #e5b400;
      padding: 15px;
      text-align: center;
      border-radius: 30px;
      font-size: 20px;
      font-weight: 700;
      color: white;
      cursor: pointer;
    }


    /*  ==== checkout page css end === */

     .header-bar {
      background: #fff;
      padding: 15px 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #eee;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .header-left img {
      height: 45px;
    }

    .header-right a {
      margin-left: 15px;
      color: #333;
      font-weight: 500;
      text-decoration: none;
    }

    /* Sidebar */
    .sidebar {
      max-height: calc(100vh - 80px);
      /* overflow-y: auto; */
      padding-right: 10px;
    }

    .sidebar .input-card,
    .sidebar .card-box,
    .sidebar .passenger-card {
      margin-bottom: 16px;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      background: #fff;
      padding: 18px;
    }

    .label {
      font-size: 14px;
      font-weight: 600;
      color: #caa22a;
    }

    .value {
      font-size: 15px;
      border: none !important;
      margin-top: -3px;
    }

    .section-title {
      font-weight: 600;
      margin: 25px 0 12px;
      font-size: 18px;
    }

    .passenger-card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
    }

    .p-title {
      font-size: 15px;
      font-weight: 600;
      color: #caa22a;
    }

    .p-sub {
      font-size: 13px;
      color: #777;
      margin-top: -2px;
    }

    .counter-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      font-size: 20px;
      line-height: 0;
    }

    .sidebar-search-btn {
      width: 100%;
      background: #caa22a;
      color: #fff;
      font-weight: 600;
      border: none;
      border-radius: 12px;
      padding: 12px 0;
      margin-top: 10px;
    }

    /* Cab Cards */
    .cab-card {
      background: #fff;
      padding: 20px;
      border-radius: 14px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
      margin-bottom: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px solid #eee;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .cab-card:hover {
      transform: scale(1.02);
    }

    .cab-card.selected {
      box-shadow: 0 0 20px #e8b434;
    }

    .cab-card::after {
      content: "";
      position: absolute;
      width: 100px;
      height: 100px;
      background: rgba(232, 180, 52, 0.3);
      /* golden circle */
      display: block;
      border-radius: 50%;
      top: 50%;
      left: 20%;
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .cab-card:hover::after {
      transform: translate(-50%, -50%) scale(4);
      /* expand the circle */
      opacity: 1;
    }

    .cab-card.ripple::after {
      transform: scale(4);
      opacity: 1;
      transition: transform 0.5s, opacity 0.5s;
    }

    .cab-details {
      width: 60%;
    }

    .cab-title {
      font-size: 20px;
      font-weight: 700;
    }

    .cab-meta {
      color: #777;
      font-size: 14px;
    }

    .cab-thumbs img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: -8px;
      border: 2px solid #fff;
    }

    .cab-img img {
      width: 150px;
      border-radius: 10px;
    }

    .cab-price {
      background: #000;
      color: #fff;
      padding: 8px 18px;
      border-radius: 12px;
      font-size: 18px;
      font-weight: 600;
      margin-top: 10px;
      display: inline-block;
    }

    .cab-select-btn {
      background: #caa22a;
      color: #fff;
      border: none;
      padding: 8px 15px;
      border-radius: 12px;
      font-weight: 600;
      margin-top: 10px;
      cursor: pointer;
    }

    /* Footer */
    .footer {
      background: #111;
      color: #ddd;
      text-align: center;
      padding: 12px;
      margin-top: 40px;
      font-size: 15px;
    }

    /* Slide-in */
    .slide-in {
      animation: slideIn 0.5s ease forwards;
    }

    @keyframes slideIn {
      from {
        transform: translateX(100%);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    /* SCROLL ANIMATION */
    .animate {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.7s ease-out;
    }

    .animate.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .otpBox {
  width: 45px;
  height: 55px;
  margin: 0 5px;
  font-size: 22px;
  text-align: center;
  border: 1.5px solid #ddd;
  border-radius: 12px;
}
.otpBox:focus {
  border-color: #ffcd00;
  box-shadow: 0 0 5px rgba(255,205,0,0.6);
  outline: none;
}

  </style>
</head>
<body>
  <!-- ======= HEADER START ======= -->

  <!-- HEADER TOP HTML -->
  <style>
    .header-top {
      width: 100%;
      background: #f4c400;
      padding: 0;
      position: relative;
      display: flex;
      align-items: center;
      height: 80px;
    }

    /* LOGO AREA */
    .header-top .left {
      padding: 0 40px;
    }

    .header-top .left img {
      height: 60px;
    }

    /* BLACK RIGHT BLOCK (DESKTOP) */
    .header-top .right {
      position: absolute;
      right: 0;
      top: 0;
      height: 80px;
      background: #000;
      padding: 0 40px;
      display: flex;
      align-items: center;
      clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
    }

    .header-top .right a {
      margin-left: 20px;
      font-size: 17px;
      color: #fff;
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .header-top .right a i {
      margin-right: 8px;
      color: #f4c400;
      font-size: 20px;
    }

    /* HAMBURGER BUTTON (Mobile Only) */
    .hamburger {
      display: none;
      font-size: 36px;
      cursor: pointer;
      color: #000;
      margin-left: auto;
      padding-right: 20px;
    }

    /* MOBILE MENU PANEL */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -270px;
      width: 260px;
      height: 100%;
      background: #000;
      padding: 25px;
      transition: 0.4s ease-in-out;
      z-index: 9999;
      border-left: 5px solid #f4c400;
    }

    .mobile-menu a {
      display: block;
      color: white;
      padding: 14px 0;
      font-size: 17px;
      border-bottom: 1px solid #222;
    }

    .mobile-menu a i {
      color: #f4c400;
      margin-right: 10px;
    }

    /* Close Button */
    .close-menu {
      font-size: 32px;
      color: #f4c400;
      text-align: right;
      cursor: pointer;
      margin-bottom: 10px;
    }

    /* RESPONSIVE RULES */
    @media(max-width: 768px) {
      .header-top {
        height: 70px;
      }

      .header-top .right {
        display: none;
        /* Hide desktop block */
      }

      .hamburger {
        display: block;
        /* Show hamburger */
      }

      .left img {
        height: 50px;
      }
    }

    
/* Checkout summary */
.car-checkout__summary--new {
    --checkout-orange: #f15a24;
    --checkout-dark: #191a17;
    --checkout-muted: #74766f;
    --checkout-border: #e8e9e5;

    width: 100%;
    min-width: 0;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgb(25 26 23 / 7%);
    color: var(--checkout-dark);
    align-self: start;
}

.car-checkout__summary--new * {
    box-sizing: border-box;
}

.car-checkout__summary--new .car-checkout__summary-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.car-checkout__summary-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #fff0e9;
    color: var(--checkout-orange);
    font-size: 24px;
    font-weight: 800;
}

.car-checkout__summary--new .car-checkout__summary-heading h2 {
    margin: 0 0 4px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.car-checkout__summary--new .car-checkout__summary-heading p {
    margin: 0;
    color: var(--checkout-muted);
    font-size: 13px;
}

/* Car details */
.checkout-car-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px 12px;
    padding: 18px 0;
    border-top: 1px solid var(--checkout-border);
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-car-info > div {
    min-width: 0;
}

.checkout-label {
    display: block;
    margin-bottom: 6px;
    color: var(--checkout-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.checkout-car-info strong,
.checkout-location-info > strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 750;
}

/* Pickup location */
.checkout-location-info {
    padding: 19px 0;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-location-info > strong {
    font-size: 15px;
}

.checkout-location-info p {
    margin: 5px 0 0;
    color: var(--checkout-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Pickup and return dates */
.checkout-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-date-card {
    min-width: 0;
    padding: 13px 11px;
    background: #f8f8f6;
    border: 1px solid #eeefeb;
    border-radius: 12px;
}

.checkout-date-card > span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--checkout-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
}

.checkout-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #239764;
}

.checkout-dot--return {
    background: var(--checkout-orange);
}

.checkout-date-card > strong,
.checkout-date-card > small {
    display: block;
    overflow-wrap: anywhere;
}

.checkout-date-card > strong {
    font-size: 12px;
    line-height: 1.5;
}

.checkout-date-card > small {
    margin-top: 5px;
    color: var(--checkout-muted);
    font-size: 12px;
}

/* Rental price breakdown */
.checkout-rental-info {
    display: grid;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-rental-info > div,
.checkout-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.checkout-rental-info > div > span,
.checkout-price-row > span {
    color: #656760;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-rental-info > div > strong,
.checkout-price-row > strong {
    flex-shrink: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

/* Offers */
.checkout-offers {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    background: #fff9f4;
    border: 1px dashed #f2c4aa;
    border-radius: 12px;
}

.checkout-offers-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #ffe7d9;
    color: var(--checkout-orange);
    font-weight: 800;
}

.checkout-offers strong {
    display: block;
    font-size: 13px;
}

.checkout-offers p {
    margin: 5px 0 0;
    color: var(--checkout-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Subtotal, GST and deposit */
.checkout-price-breakdown {
    display: grid;
    gap: 15px;
    padding: 19px 0;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-security-row {
    align-items: center;
    padding: 13px;
    background: #f1faf5;
    border: 1px solid #d8eee0;
    border-radius: 10px;
}

.checkout-security-row > span {
    color: #176a43;
    font-weight: 650;
}

.checkout-security-row > span small {
    display: block;
    margin-top: 3px;
    color: #238454;
    font-size: 11px;
}

.checkout-security-row > strong {
    color: #176a43;
}

/* Grand total */
.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0;
}

.checkout-total-row > div {
    min-width: 0;
}

.checkout-total-row > div > span {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.checkout-total-row > div > small {
    display: block;
    margin-top: 5px;
    color: var(--checkout-muted);
    font-size: 11px;
    line-height: 1.5;
}

.checkout-total-row > strong {
    flex-shrink: 0;
    color: var(--checkout-orange);
    font-size: 23px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

/* Payment selection */
.checkout-payment {
    padding: 19px 0 0;
    border-top: 1px solid var(--checkout-border);
}

.checkout-payment > h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.checkout-payment-description {
    margin: 7px 0 16px;
    color: var(--checkout-muted);
    font-size: 12px;
    line-height: 1.6;
}

.checkout-payment-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 11px;
    padding: 15px 12px;
    border: 1px solid #dedfd9;
    border-radius: 13px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.checkout-payment-option:has(input:checked) {
    border-color: var(--checkout-orange);
    background: #fff8f3;
    box-shadow: 0 0 0 1px var(--checkout-orange);
}

.checkout-payment-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.checkout-radio-custom {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1.5px solid #a5a69f;
    border-radius: 50%;
}

.checkout-payment-option input:checked + .checkout-radio-custom {
    border-color: var(--checkout-orange);
}

.checkout-payment-option input:checked + .checkout-radio-custom::after {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--checkout-orange);
    content: "";
}

.checkout-payment-option input:focus-visible + .checkout-radio-custom {
    outline: 2px solid var(--checkout-orange);
    outline-offset: 3px;
}

.checkout-payment-option-content {
    display: block;
    flex: 1;
    min-width: 0;
}

.checkout-payment-option-content strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.checkout-payment-option-content small {
    display: block;
    margin-top: 6px;
    color: var(--checkout-muted);
    font-size: 11px;
    line-height: 1.6;
}

.checkout-payment-option-price {
    max-width: 100px;
    color: var(--checkout-dark);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
}

/* Payable now */
.checkout-payable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding: 15px;
    background: var(--checkout-dark);
    border-radius: 12px;
    color: #fff;
}

.checkout-payable > span {
    font-size: 13px;
    font-weight: 650;
}

.checkout-payable > strong {
    font-size: 16px;
    font-weight: 850;
    text-align: right;
    overflow-wrap: anywhere;
}

.checkout-refund-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 13px 0 0;
    color: var(--checkout-muted);
    font-size: 11px;
    line-height: 1.7;
}

.checkout-refund-note > span {
    color: #238454;
    font-size: 15px;
}

/* Terms and button */
.checkout-terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.7;
}

.checkout-terms input {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--checkout-orange);
}

.checkout-terms a {
    color: var(--checkout-orange);
    font-weight: 700;
    text-decoration: underline;
}

.checkout-confirm-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    border: 0;
    border-radius: 12px;
    background: var(--checkout-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.checkout-confirm-button:hover {
    background: #FF9800;
    transform: translateY(-1px);
}

.checkout-confirm-button:focus-visible {
    outline: 3px solid #f15a24;
    outline-offset: 3px;
}

.car-checkout__summary--new .car-checkout__payment-note {
    margin: 13px 0 0;
    color: var(--checkout-muted);
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

/* Responsive */
@media (max-width: 767px) {
    .car-checkout__summary--new {
        padding: 18px;
        border-radius: 16px;
    }

    .car-checkout__summary--new .car-checkout__summary-heading h2 {
        font-size: 19px;
    }

    .checkout-date-grid {
        gap: 8px;
    }

    .checkout-date-card {
        padding: 12px 9px;
    }

    .checkout-total-row > strong {
        font-size: 20px;
    }

    .checkout-payment-option {
        gap: 8px;
        padding: 13px 10px;
    }

    .checkout-payment-option-price {
        max-width: 86px;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .car-checkout__summary--new {
        padding: 14px;
    }

    .checkout-car-info {
        grid-template-columns: 1fr;
    }

    .checkout-payment-option {
        flex-wrap: wrap;
    }

    .checkout-payment-option-price {
        margin-left: 27px;
        max-width: none;
        text-align: left;
    }
}


/* Checkout layout */
.car-checkout__main {
  padding: 45px 0 70px;
  background: #f7f8fa;
  color: #20242b;
}

.car-checkout__intro {
  margin-bottom: 30px;
}

.car-checkout__intro h1 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -1px;
}

.car-checkout__intro > p {
  color: #727985;
  margin: 0;
}

.car-checkout__steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 12px;
  color: #858b96;
  flex-wrap: wrap;
}

.car-checkout__steps span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.car-checkout__steps b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #d8dce3;
  border-radius: 50%;
  font-size: 11px;
}

.car-checkout__steps .is-complete,
.car-checkout__steps .is-active {
  color: #0866d8;
  font-weight: 650;
}

.car-checkout__steps .is-complete b,
.car-checkout__steps .is-active b {
  background: #0866d8;
  color: white;
  border-color: #0866d8;
}

.car-checkout__steps i {
  width: 28px;
  height: 1px;
  background: #dce0e6;
}

/* Main columns */
.car-checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.car-checkout__details {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.car-checkout__vehicle,
.car-checkout__panel,
.car-checkout__terms-panel,
.car-checkout__summary {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgb(20 35 60 / 4%);
}

.car-checkout__vehicle {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
}

.car-checkout__vehicle-art {
  width: 155px;
  height: 110px;
  flex: 0 0 155px;
  display: grid;
  place-items: center;
  background: #f5f7fa;
  border-radius: 12px;
  overflow: hidden;
}

.car-checkout__vehicle-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.car-checkout__type,
.landing-kicker {
  color: #0866d8;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.car-checkout__vehicle-info h2 {
  margin: 7px 0 4px;
  font-size: 23px;
  line-height: 1.3;
}

.car-checkout__vehicle-info p {
  margin: 0 0 12px;
  color: #6c7380;
  font-size: 13px;
}

.car-checkout__location-tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #4d5867;
  background: #f1f6ff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
}

.car-checkout__panel {
  padding: 23px;
}

.car-checkout__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.car-checkout__section-title h3,
.car-checkout__terms-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
}

.car-checkout__section-title a {
  color: #0866d8;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.car-checkout__pickup-location {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.car-checkout__detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  height: 35px;
  background: #edf4ff;
  color: #0866d8;
  border-radius: 9px;
  font-size: 17px;
}

.car-checkout__pickup-location small,
.car-checkout__date-card small {
  display: block;
  margin-bottom: 6px;
  color: #818895;
  font-size: 12px;
}

.car-checkout__pickup-location strong,
.car-checkout__date-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.car-checkout__trip-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.car-checkout__date-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 12px;
  background: #f8f9fb;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  min-width: 0;
}

.car-checkout__date-card > div {
  min-width: 0;
}

.car-checkout__date-card strong {
  overflow-wrap: anywhere;
}

.car-checkout__date-card > div > span {
  display: block;
  color: #0866d8;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

/* Rental and kilometres */
.car-checkout__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.car-checkout__info-item {
  padding: 14px;
  background: #f8f9fb;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  min-width: 0;
}

.car-checkout__info-item span {
  display: block;
  color: #7b8290;
  font-size: 12px;
  margin-bottom: 7px;
}

.car-checkout__info-item strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.car-checkout__hint {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #f1f6ff;
  border-radius: 9px;
  color: #52657f;
  font-size: 12px;
  line-height: 1.7;
}

/* Terms and conditions */
.car-checkout__terms-panel {
  padding: 23px;
}

.car-checkout__terms-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.car-checkout__terms-heading h3 {
  margin-top: 7px;
}

.car-checkout__terms-heading p {
  color: #7b8290;
  font-size: 13px;
  margin: 7px 0 0;
}

.car-checkout__terms-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #edf4ff;
  color: #0866d8;
  font-weight: 800;
}

.car-checkout__must-read {
  padding: 17px;
  border: 1px solid #e6edf7;
  border-radius: 11px;
  background: #f9fbff;
}

.car-checkout__must-read h4,
.car-checkout__terms-more h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.car-checkout__must-read ul,
.car-checkout__terms-more ul {
  padding-left: 19px;
  margin: 0;
}

.car-checkout__must-read li,
.car-checkout__terms-more li {
  padding-left: 3px;
  margin-bottom: 11px;
  color: #5c6472;
  font-size: 12px;
  line-height: 1.75;
}

.car-checkout__must-read li:last-child,
.car-checkout__terms-more li:last-child {
  margin-bottom: 0;
}

.car-checkout__must-read strong {
  color: #303845;
}

.car-checkout__terms-more {
  padding: 20px 4px 0;
}

.car-checkout__terms-more h4 {
  margin-top: 22px;
}

.car-checkout__terms-more a {
  color: #0866d8;
}

.car-checkout__read-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 15px;
  padding: 13px 15px;
  color: #0866d8;
  background: #fff;
  border: 1px solid #cdddf5;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.car-checkout__read-more:hover {
  background: #f4f8ff;
}

.car-checkout__terms-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #505867;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}

.car-checkout__terms-agree input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 17px;
  accent-color: #0866d8;
}

.car-checkout__terms-agree a {
  color: #0866d8;
  font-weight: 700;
}

/* Price summary */
.car-checkout__summary {
  position: sticky;
  top: 90px;
  overflow: hidden;
}

.car-checkout__summary-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 23px;
  border-bottom: 1px solid #edf0f4;
}

.car-checkout__summary-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  color: #0866d8;
  background: #edf4ff;
  font-size: 21px;
  font-weight: 800;
}

.car-checkout__summary-heading h2 {
  margin: 0;
  font-size: 19px;
}

.car-checkout__summary-heading p {
  margin: 5px 0 0;
  color: #818895;
  font-size: 12px;
}

.car-checkout__price-breakdown {
  padding: 20px 23px 16px;
}

.car-checkout__price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 10px 0;
  color: #69717e;
  font-size: 13px;
}

.car-checkout__price-row strong {
  color: #303744;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.car-checkout__price-row--deposit {
  margin-top: 6px;
  padding: 13px 12px;
  background: #f0faf5;
  border-radius: 8px;
  color: #24734d;
}

.car-checkout__price-row--deposit strong {
  color: #24734d;
}

.car-checkout__price-row small {
  display: block;
  margin-top: 4px;
  color: #278052;
  font-size: 11px;
}

.car-checkout__price-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 0;
  margin-top: 10px;
  border-top: 1px dashed #dce1e8;
  color: #242b36;
  font-size: 13px;
  font-weight: 700;
}

.car-checkout__price-total strong {
  color: #0866d8;
  font-size: 20px;
  text-align: right;
  white-space: nowrap;
}

.car-checkout__excluded {
  margin: 0;
  color: #818895;
  font-size: 11px;
  line-height: 1.7;
}

/* Payment options */
.car-checkout__payment {
  padding: 22px 23px 24px;
  background: #fafbfc;
  border-top: 1px solid #edf0f4;
}

.car-checkout__payment h3 {
  margin: 0;
  font-size: 17px;
}

.car-checkout__payment-subtitle {
  margin: 7px 0 17px;
  color: #7b8290;
  font-size: 12px;
  line-height: 1.6;
}

.car-checkout__payment-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.car-checkout__payment-option:has(input:checked) {
  border-color: #0866d8;
  background: #f4f8ff;
  box-shadow: 0 0 0 1px #0866d8;
}

.car-checkout__payment-option > input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 3px 0 0;
  accent-color: #0866d8;
}

.car-checkout__payment-content {
  display: block;
  width: 100%;
  min-width: 0;
}

.car-checkout__payment-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #242b36;
  font-size: 13px;
  font-weight: 750;
}

.car-checkout__recommended {
  padding: 4px 7px;
  color: #0866d8;
  background: #e5efff;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.car-checkout__payment-description {
  display: block;
  margin-top: 9px;
  color: #737b89;
  font-size: 11px;
  line-height: 1.7;
}

.car-checkout__payment-amount {
  display: block;
  margin: 12px 0;
  color: #0866d8;
  font-size: 23px;
  font-weight: 800;
}

.car-checkout__payment-breakdown {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #737b89;
  font-size: 11px;
}

.car-checkout__payment-breakdown strong {
  color: #303744;
  text-align: right;
}

.car-checkout__payment-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  margin: 16px 0;
  background: #fff8e8;
  border: 1px solid #f3e4bd;
  border-radius: 9px;
  color: #775d24;
  font-size: 11px;
  line-height: 1.7;
}

.car-checkout__payment-note > span {
  font-size: 15px;
}

.car-checkout__payment-note p {
  margin: 0;
}

.car-checkout__submit {
  width: 100%;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 10px;
}

.car-checkout__secure-note {
  margin: 14px 0 0;
  text-align: center;
  color: #858b96;
  font-size: 11px;
}

.car-checkout__back {
  display: inline-block;
  margin-top: 26px;
  color: #0866d8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.car-checkout__back:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .car-checkout__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .car-checkout__summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .car-checkout__main {
    padding: 25px 0 45px;
  }

  .car-checkout__vehicle,
  .car-checkout__panel,
  .car-checkout__terms-panel {
    padding: 16px;
  }

  .car-checkout__vehicle {
    gap: 13px;
  }

  .car-checkout__vehicle-art {
    width: 105px;
    height: 90px;
    flex-basis: 105px;
  }

  .car-checkout__vehicle-info h2 {
    font-size: 18px;
  }

  .car-checkout__trip-dates {
    grid-template-columns: 1fr;
  }

  .car-checkout__info-grid {
    gap: 9px;
  }

  .car-checkout__info-item {
    padding: 11px;
  }

  .car-checkout__steps {
    gap: 7px;
    font-size: 10px;
  }

  .car-checkout__steps i {
    width: 12px;
  }

  .car-checkout__summary-heading,
  .car-checkout__price-breakdown,
  .car-checkout__payment {
    padding-left: 16px;
    padding-right: 16px;
  }

  .car-checkout__price-total strong {
    font-size: 17px;
  }

  .car-checkout__payment-option {
    padding: 12px;
  }
}

/* Rido checkout notification */
.rido-checkout-alert {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 22px;
  padding: 17px 48px 17px 17px;
  border: 1px solid #f0c7c5;
  border-left: 4px solid #FF9800;
  border-radius: 12px;
  background: #fff7f6;
  box-shadow: 0 8px 25px rgb(35 40 50 / 7%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 5;
}

.rido-checkout-alert[hidden] {
  display: none !important;
}

.rido-checkout-alert.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rido-checkout-alert__icon {
  display: flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FF9800;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.rido-checkout-alert__content {
  flex: 1;
  min-width: 0;
}

.rido-checkout-alert__title {
  display: block;
  margin: 1px 0 5px;
  color: #a92f21;
  font-size: 14px;
  font-weight: 750;
}

.rido-checkout-alert__message {
  margin: 0;
  color: #654744;
  font-size: 13px;
  line-height: 1.65;
}

.rido-checkout-alert__close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #795b57;
  font-size: 24px;
  cursor: pointer;
}

.rido-checkout-alert__close:hover {
  background: rgb(217 75 27 / 9%);
}

/* Success state */
.rido-checkout-alert--success {
  background: #f2fbf6;
  border-color: #c5e9d4;
  border-left-color: #18864b;
}

.rido-checkout-alert--success .rido-checkout-alert__icon {
  background: #18864b;
}

.rido-checkout-alert--success .rido-checkout-alert__title {
  color: #176b40;
}

.rido-checkout-alert--success .rido-checkout-alert__message {
  color: #365d48;
}

/* Highlight terms checkbox when acceptance is required */
.car-checkout__terms-agree {
  border-radius: 8px;
  transition: background .2s ease, box-shadow .2s ease;
}

.car-checkout__terms-agree.has-error {
  padding: 10px;
  margin-left: -10px;
  margin-right: -10px;
  background: #fff5f4;
  box-shadow: 0 0 0 1px #e8a29b;
}

.car-checkout__terms-agree.has-error input {
  outline: 2px solid #FF9800;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .rido-checkout-alert {
    gap: 10px;
    padding: 14px 39px 14px 12px;
    margin-bottom: 17px;
  }

  .rido-checkout-alert__icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .rido-checkout-alert__title {
    font-size: 13px;
  }

  .rido-checkout-alert__message {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rido-checkout-alert,
  .car-checkout__terms-agree {
    transition: none;
  }
}
/* Layout */
.car-results__main {
    padding: 42px 0 70px;
}

.car-results__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.car-results__heading h1 {
    margin: 8px 0;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.car-results__heading p {
    margin: 0;
    color: #687385;
}

.car-results__search {
    flex-shrink: 0;
    padding: 13px 18px;
    background: #f2f7ff;
    color: #1458a8;
    border: 1px solid #dce9fb;
    border-radius: 12px;
    font-weight: 700;
}

.car-results__layout--single {
    display: block;
}

.car-results__content {
    width: 100%;
    min-width: 0;
}

/* Search form */
.car-search-editor {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr auto; */
    gap: 16px;
    align-items: end;
    padding: 22px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgb(20 40 70 / 5%);
}

.car-search-editor__intro {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.car-search-editor__intro strong,
.car-search-editor__intro small {
    display: block;
}

.car-search-editor__intro strong {
    font-size: 17px;
}

.car-search-editor__intro small {
    margin-top: 3px;
    color: #758094;
}

.car-search-editor__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    color: #0866d8;
    border-radius: 12px;
    font-size: 19px;
}

.car-search-editor__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.car-search-editor__field > span {
    font-size: 13px;
    font-weight: 700;
    color: #364154;
}

.car-search-editor__field input,
.car-filter-bar select,
.car-results__sort select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    color: #182235;
    font: inherit;
}

.car-search-editor__field input:focus,
.car-filter-bar select:focus,
.car-results__sort select:focus {
    outline: 2px solid rgb(8 102 216 / 20%);
    border-color: #0866d8;
}

.car-search-editor__submit {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: #0866d8;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.car-search-editor__submit:hover {
    background: #0755b5;
}

.car-search-editor__error {
    grid-column: 1 / -1;
    margin: 0;
    color: #c62828;
    font-size: 14px;
}

/* Rental summary */
.rental-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    margin-bottom: 24px;
    background: #f5f8fd;
    border: 1px solid #e0e8f3;
    border-radius: 14px;
}

.rental-summary__item {
    flex: 1 1 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rental-summary__item span {
    color: #667085;
    font-size: 13px;
}

.rental-summary__item strong {
    color: #17243a;
    font-size: 17px;
}

/* Single compact filter bar */
.car-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
}

.car-filter-bar__title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.car-filter-bar__title strong,
.car-filter-bar__title small {
    display: block;
}

.car-filter-bar__title strong {
    color: #17243a;
    font-size: 16px;
}

.car-filter-bar__title small {
    margin-top: 3px;
    color: #778196;
    font-size: 12px;
}

.car-filter-bar__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    color: #0866d8;
    border-radius: 12px;
    font-size: 18px;
}

.car-filter-bar__controls {
    display: flex;
    align-items: end;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.car-filter-bar__controls label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 180px;
    max-width: 100%;
}

.car-filter-bar__controls label > span {
    font-size: 12px;
    font-weight: 700;
    color: #596579;
}

.car-filter-bar select {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 14px;
}

.car-filter-bar__clear {
    min-height: 42px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    color: #455168;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.car-filter-bar__clear:hover {
    background: #f4f7fb;
}

/* Results toolbar */
.car-results__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.car-results__toolbar > p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

.car-results__toolbar > p strong {
    font-size: 20px;
}

.car-results__toolbar > p span,
.car-results__sort > span {
    color: #768195;
    font-size: 13px;
}

.car-results__sort {
    display: flex;
    align-items: center;
    gap: 9px;
}

.car-results__sort select {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 13px;
}

/* Car cards */
.car-results__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.car-result-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgb(20 40 70 / 4%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.car-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgb(20 40 70 / 9%);
}

.car-result-card__image {
    position: relative;
    height: 190px;
    display: grid;
    place-items: center;
    padding: 16px;
    background: #f4f7fb;
}

.car-result-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.car-result-card__image > span {
    position: absolute;
    top: 13px;
    height: 35px;
    left: 13px;
    padding: 6px 10px;
    background: #050509;
    border-radius: 7px;
    color: #e5e8ee;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgb(0 0 0 / 5%);
}

.car-result-card__body {
    padding: 18px;
}

.car-result-card__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.car-result-card__title h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.car-result-card__title p {
    margin: 5px 0 0;
    color: #778196;
    font-size: 13px;
}

.car-result-card__rating {
    flex-shrink: 0;
    padding: 5px 7px;
    background: #fff8e6;
    color: #a96b00;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}

.car-result-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    padding: 0;
    margin: 18px 0 14px;
    list-style: none;
}

.car-result-card__specs li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5c687c;
    font-size: 12px;
}

.car-result-card__specs i {
    color: #0866d8;
}

.car-result-card__distance {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    margin-bottom: 16px;
    background: #f1f7ff;
    border-radius: 9px;
    color: #24558f;
    font-size: 12px;
    font-weight: 600;
}

.car-result-card__distance i {
    font-size: 16px;
}

.car-result-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf0f5;
}

.car-result-card__bottom > p {
    margin: 0;
}

.car-result-card__bottom > p strong {
    display: inline-block;
    color: #17243a;
    font-size: 23px;
}

.car-result-card__bottom > p span {
    color: #778196;
    font-size: 12px;
}

.car-result-card__bottom > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: #0866d8;
    color: #fff;
    text-decoration: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.car-result-card__bottom > a:hover {
    background: #0755b5;
}

.car-result-card__calculation {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    margin-top: 14px;
    background: #f7f9fc;
    border-radius: 9px;
    color: #667085;
    font-size: 12px;
}

.car-result-card__calculation strong {
    color: #17243a;
    font-size: 19px;
}

.car-result-card__calculation small {
    color: #24558f;
}

.car-results__empty {
    padding: 35px 15px;
    background: #f7f9fc;
    border: 1px dashed #d8e0eb;
    border-radius: 14px;
    color: #667085;
    text-align: center;
}

.car-results__note {
    margin-top: 22px;
    color: #788396;
    font-size: 13px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .car-search-editor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-search-editor__submit {
        width: 100%;
    }

    .car-filter-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .car-filter-bar__controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .car-filter-bar__controls label {
        flex: 1 1 160px;
    }

    .car-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .car-results__main {
        padding-top: 25px;
    }

    .car-results__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .car-search-editor {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .car-search-editor__intro {
        grid-column: auto;
    }

    .car-search-editor__submit {
        width: 100%;
    }

    .car-filter-bar__controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    .car-filter-bar__controls label {
        width: 100%;
    }

    .car-filter-bar__clear {
        width: 100%;
    }

    .car-results__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .car-results__grid {
        grid-template-columns: 1fr;
    }

    .car-result-card__image {
        height: 210px;
    }

    .rental-summary {
        gap: 16px;
    }

    .rental-summary__item {
        flex-basis: 120px;
    }
}


.partner-search__fields--car {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
}

@media (max-width: 900px) {
  .partner-search__fields--car {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .partner-search__fields--car {
    grid-template-columns: 1fr;
  }
}
