/* Rental cards: photo, information and price on desktop; compact mobile layout. */
#vehicleCardsRow .booking-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
    color: #1a1a1a;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 16px !important;
}
#vehicleCardsRow .booking-card__body { padding: 20px !important; }
#vehicleCardsRow .booking-card__main {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 150px;
    grid-template-areas: "photo heading price" "photo specs price" "photo locations price";
    gap: 12px 20px;
    min-width: 0;
    align-items: start;
}
#vehicleCardsRow .booking-card__heading { grid-area: heading; min-width: 0; }
#vehicleCardsRow .booking-card__title {
    margin: 0;
    font: 700 20px/1.3 Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
}
#vehicleCardsRow .booking-card__title-line { font: inherit; }
#vehicleCardsRow .booking-card__title a { color: #1a1a1a; }
#vehicleCardsRow .booking-card__title a:hover { color: var(--color-primary, #ef4a46); }
#vehicleCardsRow .booking-card__model-year {
    color: #595959 !important;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
#vehicleCardsRow .booking-card__heading .badge { margin: 8px 0 0 !important; }
#vehicleCardsRow .booking-card__specs-row { display: contents; }
#vehicleCardsRow .booking-card__specs-col { grid-area: specs; min-width: 0; }
#vehicleCardsRow .booking-card__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 0;
}
#vehicleCardsRow .booking-card__spec {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    min-width: 0;
}
#vehicleCardsRow .booking-card__spec i,
#vehicleCardsRow .booking-card__spec-icon {
    color: #1a1a1a;
    width: 18px;
    height: 20px;
    flex: 0 0 18px;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
}
#vehicleCardsRow .booking-card__spec i { font-weight: 900; }
#vehicleCardsRow .booking-card__img-wrap {
    grid-area: photo;
    align-self: center;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    aspect-ratio: 1.45;
    border-radius: 0;
    /* Retain the shared content-aware framing, including the Swift adjustment. */
}
#vehicleCardsRow .booking-card__location {
    grid-area: locations;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
#vehicleCardsRow .booking-card__location-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
#vehicleCardsRow .booking-card__location-label { color: #595959; font-size: 12px; font-weight: 400; line-height: 1.4; }
#vehicleCardsRow .booking-card__location-text { color: #1a1a1a; font-size: 14px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
/* One price block; the total already states the selected rental period. */
#vehicleCardsRow .booking-card__price-above { display: none; }
#vehicleCardsRow .booking-card__footer {
    grid-area: price;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
#vehicleCardsRow .booking-card__footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin: 0;
    width: 100%;
    min-width: 0;
    text-align: right;
}
#vehicleCardsRow .booking-card__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 0; }
#vehicleCardsRow .booking-card__price-days,
#vehicleCardsRow .booking-card__price-excl-line { color: #595959; font-size: 12px; font-weight: 400; line-height: 1.4; margin: 0; }
#vehicleCardsRow .booking-card__price-current { color: #1a1a1a; font-size: 26px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
#vehicleCardsRow .booking-card__deal-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px !important;
    margin: 10px 0 0;
    border-radius: 4px;
    font: 700 14px/1.4 Arial, Helvetica, sans-serif;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}
@media (min-width: 769px) and (max-width: 1199px) {
    #vehicleCardsRow .booking-card__main { grid-template-columns: 135px minmax(0, 1fr) 135px; gap: 12px 16px; }
    #vehicleCardsRow .booking-card__specs { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 768px) {
    #vehicleCardsRow .booking-card__body { padding: 16px !important; }
    #vehicleCardsRow .booking-card__main {
        grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
        grid-template-areas: "heading heading" "specs photo" "locations locations" "price price";
        gap: 14px 12px;
    }
    #vehicleCardsRow .booking-card__specs { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    #vehicleCardsRow .booking-card__img-wrap { align-self: center; }
    #vehicleCardsRow .booking-card__location { gap: 8px; margin: 0; }
    #vehicleCardsRow .booking-card__footer { align-self: auto; }
    #vehicleCardsRow .booking-card__price-current { font-size: 24px; }
}
@media (max-width: 359px) {
    #vehicleCardsRow .booking-card__body { padding: 12px !important; }
    #vehicleCardsRow .booking-card__main { gap: 12px 8px; }
    #vehicleCardsRow .booking-card__title { font-size: 18px; }
    #vehicleCardsRow .booking-card__spec { font-size: 13px; }
}
