.product-card{
    background: var(--light-gray);
    border-radius: 6px;
	height: -webkit-fill-available;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #ECECEC;
    --vertical-gap: 25px;
    --horizontal-gap: 20px;
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
@media (hover: hover) and (pointer: fine) {
    .product-card:hover{
        border-color: #D6E3EF;
        box-shadow: 0 14px 30px rgba(20, 45, 70, .12);
        transform: translateY(-2px);
    }
}
.product_img-wrapper{
    position: relative;
    display: block;
    width: 100%;
    order: 0;
}
.product_img-wrapper :where(.new, .discount){
    position: absolute;
    border-radius: 2px;
}
.product_img-wrapper .new{
    background: crimson;
    color: white;
    font-size: 13px;
    padding: 5px;
    font-weight: 700;
    top: 10px;
    left: 10px;
}
.product_img-wrapper .discount{
    background: #9CD91A;
    color: var(--black);
    font-size: 13px;
    padding: 5px;
    font-weight: 700;
    bottom: 10px;
    left: 10px;
}
.product_img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product_content{
    padding: 20px;
}
.product_content>*{
    display: block;
}
.product-card_price-wrapper{
    order: 3;
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding: 0 var(--horizontal-gap) 12px  var(--horizontal-gap);
}
.product-card_price{
    font-weight: 700;
    font-size: 20px;
}
.product-card_old-price{
    color: #afafaf;
    font-size: 13px;
    display: flex;
    align-items: center;
    position: relative;
}
.product-card_old-price:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #afafaf;
}
.product_title{
    order: 1;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    padding: var(--vertical-gap) var(--horizontal-gap) 0 var(--horizontal-gap);
}
.product_props{
    order: 2;
    display: grid;
    grid-gap: 6px;
    min-height: 92px;
    padding: 14px var(--horizontal-gap) 18px var(--horizontal-gap);
    list-style: disc;
}
.product_props-item{
    display: list-item;
    margin-left: 1em;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.35;
}
.product_props-item-title{
    font-weight: 500;
}
.product_more{
    color: var(--home-blue, #0e55a0);
    width: 100%;
    padding: .75em;
    font-weight: 600;
}
.product-card_buy-wrapper{
    order: 5;
    margin: 0 var(--horizontal-gap) var(--vertical-gap) var(--horizontal-gap);
    display: grid;
    width: calc(100% - var(--horizontal-gap)*2);
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}
.product-card_buy-wrapper .product_more:only-child{
    grid-column: 1 / -1;
}
.product-card_buy-one-click{
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--home-blue, #0e55a0);
    border-radius: 6px;
    color: var(--home-blue, #0e55a0);
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    padding: .75em;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}
.product-card_buy-one-click:hover{
    background: var(--home-blue, #0e55a0);
    color: white;
}
.product_buy-btn{
    font-weight: 600;
    max-width: 100%;
    color: var(--home-blue, #0e55a0);
    padding: .75em;
    width: 100%;
}
.product-card_buy-wrapper .light-btn{
    border-color: var(--home-blue, #0e55a0);
}
.product-card_buy-wrapper .light-btn:hover,
.product-card_buy-wrapper .product_more:hover{
    background: var(--home-blue, #0e55a0);
    color: white;
}
.product-card_buy-wrapper .add-to-cart.added{
    background: var(--home-blue, #0e55a0);
    color: white;
}
.product-card_reviews .active path{
    fill: var(--blue);
}
.product-card_reviews .no-active path{
    fill: white;
    stroke: var(--gray);
    stroke-width: 1px;
}
.product-card_reviews{
    order: 4;
    display: flex;
    gap: 2px;
    padding: 0 var(--horizontal-gap) 16px var(--horizontal-gap);
}
.product-card_reviews-cnt{
    font-size: 10px;
    text-decoration: underline;
    color: #4A4A4A;
    margin-left: 10px;
}
.add-to-cart.added{
    display: flex;
    align-items: center;
    gap: .5em;
    background: var(--home-blue, #0e55a0);
    color: white;
}
.add-to-cart.added :where(img, svg){
    width: 1em;
    height: 1em;
}

@media(max-width: 480px) {
    .product-card{
        --vertical-gap: 20px;
        --horizontal-gap: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: var(--vertical-gap) var(--horizontal-gap);
        gap: 10px;
        height: auto;
        box-shadow: 2px 2px 2px 0px #00000012;
    }
    .product_img-wrapper{
        order: 0;
    }
    .product-card_price-wrapper{
        order: 3;
        margin-top: 0;
        padding: 0;
    }
    .product_img{
        height: 110px;
        border-radius: 6px;
        box-shadow: 2px 2px 2px 0px #00000012;
    }
    .product_title{
        order: 1;
        padding: 0;
        font-size: 14px;
    }
    .product_props{
        order: 2;
        min-height: 0;
        padding: 0;
    }
    .product-card_reviews{
        order: 4;
        padding: 0;
    }
    .product-card_buy-wrapper{
        order: 5;
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr 1fr;
    }
    .product-card_buy-one-click{
        margin: 0;
        width: 100%;
        padding: 1em;
    }
    .product_buy-btn{
        margin: 0;
    }
}
