/* =========================
   CATEGORIES SECTION
========================= */

.categories-section{
    padding:40px 0;
    background:#f8f9fa;
}

.section-subtitle{
    display:inline-block;
    background:#6CC04A;
    color:#fff;
    padding:6px 18px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
    color:#111;
    margin-bottom:10px;
}

.section-title p{
    color:#666;
    font-size:16px;
}

.category-link{
    text-decoration:none;
}

.category-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    height:100%;
    transition:.4s;
    border:1px solid #eee;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.category-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.category-image{
    position:relative;
    height:220px;
    overflow:hidden;
    background:#fff;
}

.category-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:15px;
    transition:.5s;
}

.category-card:hover .category-image img{
    transform:scale(1.08);
}

.category-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.4s;
}

.category-card:hover .category-overlay{
    opacity:1;
}

.category-overlay span{
    background:#6CC04A;
    color:#fff;
    padding:10px 20px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}

.category-content{
    text-align:center;
    padding:20px;
}

.category-content h4{
    color:#111;
    font-size:22px;
    font-weight:700;
    margin-bottom:8px;
    transition:.3s;
}

.category-card:hover .category-content h4{
    color:#6CC04A;
}

.category-content p{
    margin:0;
    color:#777;
    font-size:14px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .section-title h2{
        font-size:34px;
    }

    .category-image{
        height:200px;
    }

}

@media(max-width:767px){

    .categories-section{
        padding:60px 0;
    }

    .section-title h2{
        font-size:28px;
    }

    .category-image{
        height:160px;
    }

    .category-content h4{
        font-size:18px;
    }

}

@media(max-width:576px){

    .category-image{
        height:140px;
    }

    .category-content{
        padding:15px;
    }

}

/*=======================================*/
/* =========================
   FEATURED PRODUCTS
========================= */
/* =========================
   FEATURED PRODUCTS
========================= */

.featured-products{
    padding:60px 0;
    background:#f8f9fa;
}

.product-card{
    position:relative;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    height:100%;
    border:1px solid #eee;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s ease;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.discount-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#ff6b00;
    color:#fff;
    padding:7px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    z-index:10;
}

/* =========================
   IMAGE
========================= */

.product-image{
    height:190px;
    padding:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#fff;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:.4s;
}

.product-card:hover .product-image img{
    transform:scale(1.08);
}

/* =========================
   CONTENT
========================= */

.product-content{
    padding:15px 18px 18px;
}

.product-content h4{
    font-size:18px;
    font-weight:700;
    color:#111;
    margin-bottom:12px;
    min-height:18px;
    line-height:1.4;
}

/* =========================
   PRICE
========================= */

.price-box{
    margin-bottom:15px;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:16px;
    margin-right:8px;
}

.sale-price{
    color:#2E7D32;
    font-size:21px;
    font-weight:700;
}

/* =========================
   BUTTONS
========================= */

.product-buttons{
    display:flex;
    gap:8px;
}

.view-btn{
    flex:1;
    text-align:center;
    background:#111;
    color:#fff;
    text-decoration:none;
    padding:11px 10px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.view-btn:hover{
    background:#000;
    color:#fff;
}

.add-to-cart-btn{
    flex:1;
    border:none;
    background:#0c3f01;
    color:#fff;
    padding:11px 10px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.add-to-cart-btn:hover{
    background:#58A73A;
}

.add-to-cart-btn i{
    margin-right:5px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:767px){

    .featured-products{
        padding:50px 0;
    }

    .product-image{
        height:140px;
        padding:10px;
    }

    .product-content{
        padding:12px;
    }

    .product-content h4{
        font-size:14px;
        min-height:40px;
        margin-bottom:8px;
    }

    .old-price{
        font-size:12px;
    }

    .sale-price{
        font-size:20px;
    }

    .product-buttons{
        flex-direction:column;
        gap:6px;
    }

    .view-btn,
    .add-to-cart-btn{
        font-size:12px;
        padding:9px;
    }

}

/*================chekout.php page============*/
.checkout-banner{
    background:#f8f9fa;
    padding:50px 0;
    text-align:center;
    border-bottom:1px solid #eee;
}

.checkout-banner h1{
    font-size:34px;
    font-weight:700;
    margin-bottom:10px;
}

.checkout-banner p{
    margin:0;
    color:#666;
}
.checkout-section{
    padding:60px 0;
}

.checkout-card{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.checkout-card h3{
    font-size:24px;
    font-weight:600;
    margin-bottom:25px;
}
.payment-methods{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.payment-option{
    flex:1;
}

.payment-option input{
    display:none;
}

.payment-option label{
    display:block;
    border:2px solid #ddd;
    border-radius:10px;
    padding:15px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.payment-option input:checked + label{
    border-color:#198754;
    background:#f0fff4;
}

.payment-option i{
    margin-right:8px;
}
.order-summary{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    position:sticky;
    top:20px;
}

.order-summary h3{
    font-size:22px;
    margin-bottom:20px;
}
.summary-product{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
    padding-bottom:15px;
    border-bottom:1px solid #eee;
}

.summary-product img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:8px;
}

.summary-info{
    flex:1;
}

.summary-info h6{
    margin:0;
    font-size:15px;
}

.summary-info p{
    margin:5px 0 0;
    color:#666;
}

.summary-price{
    font-weight:700;
}
.summary-row,
.summary-total{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
}

.summary-total{
    font-size:20px;
    font-weight:700;
    color:#198754;
}
.summary-row,
.summary-total{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
}

.summary-total{
    font-size:20px;
    font-weight:700;
    color:#198754;
}