/* ============================================================
   PRODUCT CARD CSS — home.css se separate kiya gaya
   (product-card, product-image, product-price, add-to-cart,
   rating-box, product-section wagera sab yahan hai)
============================================================ */

/* Product Section */
.product-section {
    padding: 50px 0;
    background: #f5f7fa;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    transition: .25s ease;
    cursor: pointer;
    border: 1px solid #e8e8e8;
    height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Mobile Only */
@media (max-width:768px){

    .product-card{
        border-radius:10px;
        padding:8px;
    }

}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #0c831f;
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #efefef;
    margin-bottom: 12px;
}

.product-timer {
    background: #fff9e6;
    color: #8a5b00;
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 6px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    margin-bottom: 5px;
}

.product-weight {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    justify-content:space-between;
}

.current-price {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.original-price {
    font-size: 13px;
    color: #9b9b9b;
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    background: #0c831f;
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: .25s ease;
    box-shadow: 0 4px 10px rgba(12,131,31,0.25);
}

.add-to-cart:hover {
    background: #0a6b1a;
    box-shadow: 0 6px 14px rgba(12,131,31,0.35);
}

/* Mobile product card tweaks (was mixed with .hero rule in home.css) */
@media (max-width: 768px) {
    .product-card{
        padding-left:9px;
        padding-right:9px;
        padding-top:8px;
        padding-bottom:15px;
    }
    .product-image {
        height: 130px;
        margin-bottom: 1px;
    }
}

/* Rating badge shown on product card */
.rating-box {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width:max-content;
    background: #f1f3f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    margin-top:-35px;
    margin-left: 5px;
}

/* Green Star */
.rating-box .star {
    color: rgb(235, 100, 22);
    font-size: 12px;
}

/* Quantity Stepper (Add button ke jagah - qty + wala box) */
.qty-stepper-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 55%;
    height: 33px;
    border-radius: 8px;
    border: 1.5px solid #0c831f;
    overflow: hidden;
    background: #fff;
    margin-top: 8px;
}
.qty-stepper-wrap .qty-btn {
    background: #0c831f;
    color: #fff;
    border: none;
    width: 32px;
    height: 100%;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.qty-stepper-wrap .qty-btn:active { background: #0a6b1a; }
.qty-stepper-wrap .qty-count {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #0c831f;
}
