/*PRoduct card*/
.product{
    text-decoration: none;
    box-shadow: 0 0 2px 0 gray;
    border-radius: 12px;
    padding: 12px;
    width: 280px;
    transition: all .3s;
    position: relative;


}
.product:hover{
    box-shadow: 0 0 4px 0 gray;
    transition: all .3s;
}
.product img{
    max-width: 280px;
    height: 255px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.discount-label-product{
    padding: 8px 24px;
    background-color: #E70000;
    color: white;
    z-index: 2;
    top:10px;
    right: 10px;
    box-shadow: 0 0 2px var(--ac);
    font-size: 14px;
    font-weight: 500;
    border-radius:12px;
    position: absolute;
}
.product .product-bottom{
    display: flex;
    flex-direction: row;
    margin-top: 12px;
    flex-wrap: nowrap;
    position: relative;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
}
.product .product-bottom .material-symbols-outlined{
    padding: 8px;
    background-color: var(--light-main);
    color: white;
    border-radius: 100%;
}
.product .product-bottom .material-symbols-outlined:hover{
    background-color: var(--ac);
}
.product .product-bottom .product-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width:85%;
}
.product .product-bottom .product-info .product-title{
    color: var(--ac);
    font-weight: 600;
    font-size: 20px;
}
.product .product-bottom .product-info .price{
    color: var(--light-main);
    font-size: 18px;
    font-weight: 600;
}
.product .product-bottom .product-info .price_with_discount{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product .product-bottom .product-info .price_with_discount .old_price{
    text-decoration:line-through;
    font-weight: 500;
    color: var(--light-main);
}
.product .product-bottom .product-info .price_with_discount .price{
    color: #E70000;
    font-weight: 700;
}

.star-rating {
    display: flex;
    align-items: center;
}

.star-rating .star {
    font-size: 23px;
    color: gray;
    position: relative;
}

.star-rating .star.filled {
    color: gold;
}

.star-rating .star.half::after {
    content: '\2605';
    position: absolute;
    left: 0;
    color: gold;
    overflow: hidden;
    width: 50%;
}
/*Models cart dropdown*/
.models-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    right: 0;
    top: 70px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.models-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.models-dropdown li {
    padding: 10px;
    cursor: pointer;
    color: var(--ac);
}

.models-dropdown li:hover {
    background-color: #f1f1f1;
}