:root {
    /*Colors*/
    --spacing-small: 68px;
    --spacing-medium: 16px;
    --spacing-large: 75px;

    --font-family: "Monda", sans-serif;
    --second-family: "Montserrat", sans-serif;

    --white: #f2f1f1;
    --gold: #ffd700;
    --grey-white: #7c828d;
    --grey: #292b2f;
    --bg: #1b1c1d;
    --purple: #48467d;
    --yellow-white: #ffee93;
}

.cart {
    width: 100%;
    flex: 0 0 calc((100% / 7) - 7.8px);
    text-align: center;
    background: #efefef;
    margin-bottom: 9px;
    position: relative;
    box-shadow: 0px 2.18px 3.27px 0px rgba(66, 71, 76, 0.08);
    box-shadow: 0px 0px 0.27px 0px rgba(66, 71, 76, 0.32);
    border-radius: 14px;
    height: auto;
    max-height: 118px;
}

.cart.active {
    box-shadow: 0px 0px 24px 0px rgba(255, 213, 0, 0.6);
}

.cart.active p,.cart:hover p {
    color: var(--gold);
}

.carts_block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    gap: 9px;
    margin: 0 auto 40px auto;
}

.cart_img {
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

.cart_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.cart p {
    margin: 0;
    height: 30px;
    background: var(--grey);
    width: calc(100% - 10px);
    left: 5px;
    bottom: 5px;
    position: absolute;
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 23px;
    text-align: center;
    color: #F2F1F1;
}

.list_info p:first-child:before {
    content: url("../../icons/mark.webp");
    margin-right: 5px;
}

@media only screen and (max-width: 1400px) {
    .filter-group {
        justify-content: right;
    }

    #model-filter-form {
        justify-content: flex-end;
        width: 100%;
    }
}

@media(max-width: 1100px) {
    .cart {
        flex: 0 0 calc((100% / 6) - 7.5px);
    }
}

@media(max-width: 1024px) {
    .cart {
        flex: 0 0 calc((100% / 5) - 7.2px);
    }
}

@media(max-width: 768px) {
    .cart {
        flex: 0 0 calc((100% / 4) - 6.75px);
    }

    .model_info {
        padding: 5px;
    }

    #model-filter-form {
        justify-content: flex-end;
        width: 100%;
    }
}

@media(max-width: 650px) {
    .cart {
        flex: 0 0 calc(33.33334% - 6px);
    }
}

@media(max-width: 540px) {
    .cart {
        flex: 0 0 calc(50% - 4.5px);
    }
}


@media only screen and (max-width: 425px) {
    .cart p {
        height: 28%;
    }


}

@media only screen and (max-width: 430px) {
    #model-filter-form {
        justify-content: flex-end;
        width: 100%;
    }
}

@media only screen and (max-width: 375px) {
    #model-filter-form {
        justify-content: flex-end;
        width: 100%;
    }
}