 /* FIX: box-sizing added so buttons/padding don't overflow card edges */
  .new-car-card,
  .new-car-card * {
    box-sizing: border-box !important;
  }

  /* Section Base */
  .used-cars-section {
    background-color: #f8f9fe !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  }

  .section-main-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 6px !important;
  }

  .section-sub-title {
    font-size: 15px !important;
    color: #64748b !important;
    margin-bottom: 24px !important;
  }

  /* Card Outer Wrapper */
  .new-car-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    /* FIX: guarantees the card never collapses / stretches weird
       when the parent grid is missing a proper .row wrapper */
    width: 100% !important;
    position: relative !important;
  }

  .new-car-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
  }

  /* Top Image Container */
  .car-top-section {
    position: relative !important;
    background-color: #f8f9fe !important;
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* FIX: badge / image can never leak into the next card anymore */
    overflow: hidden !important;
  }

  /* Black Pill Badge (default pages) — matches "SUPERCAR" badge in image */
  .car-badge {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    z-index: 2 !important;
    max-width: calc(100% - 32px) !important; /* FIX: badge can't overflow card width */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* ===== /cars page ONLY: light purple pill badge ===== */
  .car-badge-light {
    background: #eceafc !important;
    color: #6c5ce7 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
  }

  .car-image-link {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .car-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .car-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  /* Card Inner Content Area */
  .car-content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }

  /* Title Link & Formatting */
  .car-title-link {
    text-decoration: none !important;
  }

  .car-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 42px !important;
  }

  /* Specs Pills (default pages) */
  .car-specs-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .spec-pill {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
  }

  /* Price Section (default pages) */
  .car-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
  }

  .price-main {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1d63ed !important;
  }

  .price-main .period {
    font-size: 13px !important;
    color: #1d63ed !important;
    font-weight: 600 !important;
  }

  .price-secondary {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }

  /* Action Buttons Row (default pages) */
  .car-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: auto !important;
  }

  /* Gradient Blue→Purple "Book Now" Button (matches image) */
  .btn-book-now {
    flex: 1 !important;
    height: 44px !important;
    background: linear-gradient(135deg, #1d63ed 0%, #6c3ce7 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
  }

  .btn-book-now:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
  }

  /* Square Outline Icon Buttons (Call = blue icon, WhatsApp = green icon) */
  .btn-icon-box {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .btn-icon-box:hover {
    border-color: #cbd5e1 !important;
    background-color: #f8fafc !important;
  }

  /* View All Button — Centered */
  .btn-view-all {
    display: inline-block !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin: 0 auto !important;
  }

  .btn-view-all:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
  }

  /* ===================================================
     /cars PAGE ONLY — matches reference image exactly
     =================================================== */
  .cars-page-price {
    margin-bottom: 4px !important;
  }

  .cars-page-price .price-main {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
  }

  .cars-page-price .price-main .period {
    color: #64748b !important;
  }

  .cars-page-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
  }

  .car-specs-inline {
    font-size: 13px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-bottom: 16px !important;
  }

  .cars-page-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: auto !important;
  }

  .btn-call-outline {
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .btn-call-outline:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
  }

  .btn-whatsapp-solid {
    height: 44px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
  }

  .btn-whatsapp-solid:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
  }

  /* ===================================================
     rent-a-car/listing PAGE ONLY — single gradient button
     matches reference image ("View details")
     =================================================== */
  .listing-page-actions {
    display: block !important;
  }

  .btn-view-details {
    display: flex !important;
    width: 100% !important;
    height: 46px !important;
    background: linear-gradient(135deg, #1d63ed 0%, #6c3ce7 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
  }

  .btn-view-details:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
  }