.l_collection_item {
    position: relative; /* Pentru a putea poziționa badge-urile absolut */
}

.offer-badge {
    position: absolute;
    top: 10px;
    background-color: #ff6347; /* Culoarea pentru badge-ul de ofertă */
    color: white;
    padding: 3px 7px;
    font-size: 0.75rem; /* Font mai mic */
    font-weight: bold;
    border-radius: 0; /* Fără colțuri rotunjite */
    z-index: 10;
}

.discount-badge-bottom-left {

    bottom: 10px;
    width: 8rem;
    background-color: #bd584e; /* Culoarea pentru badge-ul de discount */
    color: white;
    padding: 3px 7px;
    font-size: 0.75rem; /* Font mai mic */
    font-weight: bold;
    border-radius: 0; /* Fără colțuri rotunjite */
    z-index: 10;
}

.price {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.offer {
    color: #e74c3c; /* Culoare pentru prețul redus */
    font-weight: bold;
    font-size: 1.6rem;
}

.original-price {
    color: #7f8c8d; /* Culoare pentru prețul original */
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 1.2rem;
}

.l_collection_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Asigură distribuirea elementelor */
    height: 100%; /* Face ca tot cardul să ocupe întreaga înălțime */
    position: relative; /* Permite poziționarea absolută a elementelor interne */
    border: 1px solid #a5aabd;
}

.l_collection_item .text_body {
    flex-grow: 1; /* Permite textului și prețului să umple spațiul rămas */
}

.l_collection_item .text_footer {
    position: absolute;
    bottom: 10px; /* Fixează textul în partea de jos a cardului */
    width: 100%; /* Asigură că ocupă întreaga lățime */
    display: flex;
    justify-content: space-around; /* Împarte spațiul între link-uri */
}

.l_collection_item .price {
    margin-top: auto; /* Permite prețului să fie împins în sus, dacă mai există spațiu */
}

.l_collection_item p {
    margin-bottom: 0px;
    position: absolute;
    bottom: 60px; /* Ajustează distanța față de text_footer */
    width: 100%;
}

.btn-cart {
    background: linear-gradient(to right, #c14a4a 10%, #e03939);
    border-width: 0;
    display: flex;
    justify-content: center; /* Asigură că textul este centrat */
    position: relative; /* Permite poziționarea iconiței separat */
}

.btn-cart:hover {
    background: linear-gradient(to right, #e03939 10%, #c14a4a); /* Inversează gradientul la hover */
}

.btn-cart i {
    line-height: 32px;
    font-size: 24px;
    border-radius: 4px;
    padding-right: 5px;
}

.btn-cart span {
    /* Textul va fi centrat */
    margin: 4px auto 0;
}

.l_collection_item.grid_four {
    box-shadow: none;
    border-radius: 8px;
}

.l_collection_item.grid_four .text_body h4 {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
}

.l_collection_item.grid_four .text_body {
    padding: 17px 0px 12px;
    text-align: center;
}

.l_collection_item .text_body p {
    border-bottom: 2px solid #e03939;
}

.car_found .right .price_filter .nice_select {
    float: none;
    border-radius: 0px;
    display: inline-block;
    padding-left: 100px;
    height: 40px;
    width: 250px;
}

.listing-panel {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.listing-rounded {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.listing-panel-footer {
    display: block;
    background-color: #fff;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.title-phrasing-xl {
    font-size: 24px;
    font-weight: bold;
}

.title-phrasing-sm {
    font-size: 14px;
    color: #888;
    margin-left: 10px;
}

.price_filter h5 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #444;
}

.nice_select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 180px;
}

.view-options h5 {
    font-size: 14px;
    color: #444;
}

.btn-group .btn-alt {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
}

.btn-group .btn-alt.active {
    background-color: #007bff;
    color: #fff;
}

.btn-group .btn-alt i {
    font-size: 16px;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.gap-1 {
    gap: 0.5rem;
}
