.content_wrapper {
    width: 100%;
    margin: auto;
    padding: 0 18px;
}

.all_product .cardList {
    display: flex;
    flex-direction: column;
    grid-gap: 40px;
    margin: 50px 0 70px;
    font-family: 'Gothic A1', sans-serif;
}

.all_product .card {
    display: grid;
    grid-template-columns: auto 1fr;
}
.all_product .card .img {
    max-width: 400px;
    width: 100%;
    height: 375px;
    margin: auto;
}

.all_product .card img {
    border-radius: 15px 0 0 15px;
    overflow: hidden;
    display: inline-block;
    object-fit: contain;
    object-position: center;
}

.all_product .card .text {
    background: rgba(217, 219, 219, 0.25);
    padding: 30px 40px;
    border-radius: 0 15px 15px 0;
    width: 100%;
}


.all_product .card .text p {
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 4.8em;
    text-align: justify;
    padding-right: 1em;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}
.all_product .card .text p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}


.all_product .card .text p:after {
    /*content: "";*/
    /*position: absolute;*/
    /*right: 0;*/
    /*width: 1em;*/
    /*height: 1em;*/
    /*margin-top: 0.2em;*/
    /*background: #F5F6F6;*/
    /*!*padding-left: 40px;*!*/
    /*z-index: 2;*/
}

.all_product .card .text p:after {
    /*content: "...";*/
    /*position: absolute;*/
    /*bottom: 0;*/
    /*right: 0;*/
    /*top: 64px;*/
    /*height: 1em;*/
    /*background: linear-gradient(to right, rgb(245, 246, 246), #F5F6F6);*/
    /*box-shadow: -15px 0px 10px #F5F6F6;*/
    /*padding: 0 8px 0 20px;*/

}

.all_product .card .text p:after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    top: 64px;
    height: 1em;
    background: linear-gradient(to right, rgb(245, 246, 246), #F5F6F6);
    box-shadow: -15px 0px 10px #F5F6F6;
    padding: 0 8px 0 20px;

}

.all_product .card h2 {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}

.all_product .card .location img {
    width: 16px;
    height: auto;
}

.all_product .card .location {
    color: rgba(61, 0, 197, 0.71);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    margin: auto 0;
    padding: 6px 0 10px;
}

.all_product .card p {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 20px;
    width: 100%;
    margin-bottom: 30px;
    height: 100px;
}
/*.all_product .card .text_border{*/
/*    margin-right: 20px;*/
/*}*/
.all_product .card .text_border span{
    white-space: nowrap;
}

.all_product .card .border_container {
    display: flex;
    justify-content: space-between;
    grid-gap:  20px;
}

.all_product .card .border {
    border-radius: 5px;
    border: 3px solid #B4D2FF;
    padding: 10px 15px 10px 12px;
    text-transform: uppercase;
}

.all_product .card .status {
    font-size: 15px;
    margin: 20px 0 10px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.75);
    display: inline-block;
}

.all_product .card .price  {
    font-size: 22px;
    font-weight: 600;

}
.span_prise {
    font-size: 16px;
    padding: 0 10px;

}
.all_product .card button {
    border: none;
    background: rgba(180, 210, 255, 0.75);
    font-size: 25px;
    padding: 18px 40px;
    text-transform: uppercase;
    border-radius: 8px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    transition-duration: 0.5s;
}

.all_product .card button:hover {
    background: #f5f414;
}

.all_product .card button:active {
    background: #919012;

}

.all_product .card .button {
    display: flex;
    align-items: end;
}
