﻿.div_product {
    background-color: #f0cdc782;
    width: 98%;
    margin-top: 1vw;
    margin-bottom: 1vw;
    box-shadow: 0px 0px 5px 0px #000000ab;
    border-radius: 1rem;
    border: 1px solid #0000005b;
}

    .div_product img {
        width: 22vw;
        height: 22vw;
        object-fit: cover;
        border-radius: 1rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

.sec_div_product {
    padding: 1vw;
}

.third_div_product {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.input-group-text {
    border-radius: 1rem;
}
.form-control {
    border-radius: 1rem;
}
.four_div_product {
    display: flex;
    align-items: center;
    margin-top: 1vw;
    box-shadow: 0px 0px 5px 0px #000000ab;
    border-radius: 1rem;
    border: 1px solid #0000005b;
    line-height:1.5;
    height:fit-content;
}

    .four_div_product span {
        margin-right: 0.6vw;
        margin-left: 0.6vw;
        font-size: 1vw;
        cursor: pointer;
    }

    .four_div_product a {
        font-size: 1vw;
    }

.name_product {
    font-size: 1vw;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price {
    font-size: 0.8vw;
    margin: 0;
}

.btn_basket {
    background-color: transparent !important;
    color: #000000ad !important;
    border: 1px solid #00000042;
    margin-top: 1vw;
    cursor: pointer;
    font-size: 0.9vw;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 0px #000000ab;
}

    .btn_basket:hover {
        background-color: #f1cec9;
        border: 1px solid #00000082;
        color: #000 !important;
    }

@media (max-width:767px) {
    .div_product {
        background-color: #f0cdc782;
        width: 100%;
        margin: 0;
        margin-top: 27px;
        box-shadow: 0px 0px 5px 0px #000000ab;
    }
        .div_product img {
            width: 100%;
            height: 95.4vw;
        }
    .sec_div_product {
        padding: 13px;
    }

    .name_product {
        font-size: 15px;
    }

    .price {
        font-size: 11px;
        margin: 0;
    }

    .btn_basket {
        background-color: transparent !important;
        color: #000000ad !important;
        border: 1px solid #00000042;
        margin-top: 10px;
        cursor: pointer;
        font-size: 15px;
    }
    .four_div_product {
        display: flex;
        align-items: center;
        margin-top: 10px;
    }

        .four_div_product span {
            margin-right: 16px;
            margin-left: 16px;
            cursor: pointer;
            font-size: 17px;
        }

        .four_div_product a {
            font-size: 14px !important;
            text-decoration: none;
        }
}
