﻿/* CARD */
.product-card {
    width: 43vw;
    text-align: center;
    position: relative;
    cursor:pointer;
    margin:6px;
}

/* DISCOUNT DATE */
.product-card-discount-date {
    position: absolute;
    left:0;
}
.product-card-discount-date-lower {
    top:2rem;
}

/* DISCOUNT PERCENTAGE */
.product-card-discount {
    position: absolute;
    right: 0;
}

/* LOGO */
.product-card-logo {
    position: absolute;
    background-color: #ffffffa3;
    border-radius: 10%;
    padding: 1px;
    bottom: 4px;
    left: 4px;
    /* mobile: */
    max-height: 1rem;
}

/* PRICE */
.product-card-price {
    position: absolute;
    bottom: 3px;
    right: 0;
}

/* DISCOUNT PRICE */
.product-card-discount-price {
    position: absolute;
    bottom: 22px;
    right: 0;
}

/* TITLE */
.product-card-title {
    position: relative;
    font-weight: 500 !important;
    background-color: #ffffffdb;
    margin: 0px 4px 4px 4px;
    width: 100%;
    font-size: medium;
    line-height: normal;
    /* limit to two lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* IMAGE */
.product-cart-image-container {
    transition: transform 300ms ease-in-out;
}
.product-cart-image-container:hover {
    transform: scale(1.1);
}
.product-cart-image {
    width:100%;
}

/* FAVORITE */
.product-card-favorite {
    position: absolute;
    right: 0;
    top: 20%;
    border-radius: 100%;
    transition: background-color 0.3s;
    background-color: #ffffffab;
    height: 52.8px;
}

/* ALERT */
.product-card-notification {
    position: absolute;
    left: 0;
    top: 20%;
    border-radius: 100%;
    transition: background-color 0.5s;
    background-color: #ffffffab;
    height: 52.8px;
}

/* SHARED */
.product-card-outline-text {
    font-weight: 700;
    background-color: white;
}   
.product-card-outline-text:hover {
    /*font-size: larger !important;*/
    background-color: white !important;
}
