/* ===================================
   Astha Bajar v1.0
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f7faf7;
    color:#222;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    height:auto;
}

.ab-container{
    width:92%;
    max-width:1200px;
    margin:auto;
}

/* Header */

.ab-header{
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.06);
    position:sticky;
    top:0;
    z-index:999;
}

.ab-header .ab-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:80px;
}

.ab-logo img{
    max-height:60px;
}

.ab-menu ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.ab-menu a{
    color:#222;
    font-weight:600;
    transition:.3s;
}

.ab-menu a:hover{
    color:#2E7D32;
}

.ab-search input{
    width:260px;
    padding:10px 15px;
    border:1px solid #ddd;
    border-radius:30px;
}

.ab-actions{
    display:flex;
    gap:20px;
    align-items:center;
}

.ab-actions a{
    color:#2E7D32;
    font-weight:600;
}

.btn{
    background:#2E7D32;
    color:#fff;
    padding:12px 28px;
    border-radius:8px;
    display:inline-block;
}


/* =========================
   HERO SECTION
========================= */

.hero{
    background: linear-gradient(135deg,#f5fff5,#ffffff);
    padding:80px 0;
}

.hero .ab-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
    text-align:right;
}

.hero-right img{
    width:100%;
    max-width:520px;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    background:#EAF8EA;
    color:#2E7D32;
    border-radius:50px;
    font-weight:600;
    margin-bottom:20px;
}

.hero h1{
    font-size:56px;
    line-height:1.2;
    color:#1f2937;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    color:#666;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#2E7D32;
    color:#fff;
    padding:15px 35px;
    border-radius:8px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    background:#256628;
}

/* Mobile */

@media(max-width:768px){

.hero .ab-container{
    flex-direction:column;
    text-align:center;
}

.hero-right{
    text-align:center;
}

.hero h1{
    font-size:38px;
}

.hero p{
    font-size:17px;
}

}


/* Featured Products */

.featured-products{
    padding:80px 0;
    background:#fff;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title h2{
    font-size:38px;
    color:#2E7D32;
}

.section-title p{
    color:#777;
    margin-top:10px;
}

.woocommerce ul.products li.product{
    border:1px solid #eee;
    border-radius:12px;
    padding:15px;
    transition:.3s;
    background:#fff;
}

.woocommerce ul.products li.product:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.woocommerce ul.products li.product img{
    border-radius:10px;
}

.woocommerce ul.products li.product .button{
    background:#2E7D32;
    color:#fff;
    border-radius:8px;
}

.woocommerce ul.products li.product .price{
    color:#2E7D32;
    font-weight:bold;
}

/* Categories */

.home-categories{
    padding:80px 0;
    background:#f8faf8;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.category-card{
    background:#fff;
    border-radius:15px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.category-card:hover{
    transform:translateY(-6px);
}

.category-card h3{
    margin-top:15px;
    color:#2E7D32;
    font-size:20px;
}

.category-card{
    font-size:45px;
}
/* Why Choose */

.why-choose{
    padding:80px 0;
    background:#f7faf7;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.why-card{
    background:#fff;
    padding:30px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-5px);
}

.why-card i{
    font-size:42px;
    color:#2E7D32;
    margin-bottom:15px;
}

.why-card h3{
    margin-bottom:10px;
}


/* Newsletter */

.newsletter{
    padding:80px 20px;
    background:#2E7D32;
    color:#fff;
    text-align:center;
}

.newsletter h2{
    font-size:40px;
    margin-bottom:15px;
}

.newsletter p{
    margin-bottom:30px;
}

.newsletter-form{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.newsletter-form input{
    width:350px;
    max-width:100%;
    padding:15px;
    border:none;
    border-radius:8px;
}

.newsletter-form button{
    border:none;
    cursor:pointer;
}


/* WhatsApp Floating Button */

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    z-index:9999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    color:#fff;
}


.site-footer{
    background:#1f2937;
    color:#fff;
    padding:60px 0 20px;
}

.site-footer .ab-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.site-footer h3{
    margin-bottom:15px;
}

.site-footer ul{
    list-style:none;
    padding:0;
}

.site-footer li{
    margin-bottom:10px;
}

.site-footer a{
    color:#ddd;
}

.site-footer a:hover{
    color:#fff;
}

.copyright{
    text-align:center;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:20px;
}


.category-card img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:15px;
}

/* Search */

.ab-search{
    display:flex;
    align-items:center;
    border:1px solid #ddd;
    border-radius:50px;
    overflow:hidden;
    background:#fff;
}

.ab-search input{
    border:none;
    outline:none;
    padding:12px 16px;
    width:260px;
}

.ab-search button{
    border:none;
    background:#2E7D32;
    color:#fff;
    padding:12px 18px;
    cursor:pointer;
}

/* Cart */

.ab-cart-link{
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:22px;
    color:#2E7D32;
}

.ab-cart-count{
    min-width:22px;
    height:22px;
    border-radius:50%;
    background:#e53935;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
    line-height:1;
    padding:0 6px;
}

/* Live Search */

.ab-search{
    position:relative;
}

.ab-live-search{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    margin-top:8px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    z-index:9999;
    max-height:400px;
    overflow-y:auto;
}

.ab-search-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:12px;
    border-bottom:1px solid #eee;
}

.ab-search-item img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
}

.ab-search-item:hover{
    background:#f7faf7;
}

.no-result{
    padding:15px;
    text-align:center;
}


.loading{
    padding:15px;
    text-align:center;
    color:#666;
    font-size:14px;
}


/* Mini Cart */

.ab-mini-cart{
    position:fixed;
    top:0;
    right:-420px;
    width:400px;
    max-width:100%;
    height:100vh;
    background:#fff;
    box-shadow:-5px 0 20px rgba(0,0,0,.15);
    z-index:99999;
    transition:right .3s ease;
    display:flex;
    flex-direction:column;
}

.ab-mini-cart.active{
    right:0;
}

.ab-mini-cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:1px solid #eee;
}

.ab-close-cart{
    background:none;
    border:none;
    font-size:30px;
    cursor:pointer;
}

.ab-mini-cart-content{
    padding:20px;
    overflow-y:auto;
    flex:1;
}

.ab-mini-cart-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    display:none;
    z-index:99998;
}

.ab-mini-cart-overlay.active{
    display:block;
}

.ab-quick-view{
    width:100%;
    margin-top:10px;
    background:#fff;
    color:#2E7D32;
    border:2px solid #2E7D32;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
}

.ab-quick-view:hover{
    background:#2E7D32;
    color:#fff;
}

/* Quick View Modal */

.ab-quick-view-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    z-index:99998;
}

.ab-quick-view-modal{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90%;
    max-width:900px;
    background:#fff;
    border-radius:15px;
    display:none;
    z-index:99999;
    overflow:hidden;
}

.ab-quick-view-modal.active,
.ab-quick-view-overlay.active{
    display:block;
}

.ab-qv-close{
    position:absolute;
    right:15px;
    top:10px;
    border:none;
    background:none;
    font-size:34px;
    cursor:pointer;
}

.ab-qv-content{
    padding:30px;
    min-height:300px;
}

/* Quick View Content */

.ab-qv-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.ab-qv-image img{
    width:100%;
    border-radius:12px;
}

.ab-qv-info h2{
    font-size:30px;
    margin-bottom:15px;
}

.ab-qv-info .price{
    color:#2E7D32;
    font-size:26px;
    font-weight:bold;
    margin-bottom:20px;
}

.ab-qv-info .description{
    margin-bottom:25px;
    color:#666;
}

@media(max-width:768px){

.ab-qv-wrapper{
    grid-template-columns:1fr;
}

}

/* Wishlist */

.ab-wishlist{
    width:100%;
    margin-top:10px;
    padding:12px;
    border:2px solid #ff4d6d;
    background:#fff;
    color:#ff4d6d;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    font-size:18px;
}

.ab-wishlist:hover{
    background:#ff4d6d;
    color:#fff;
}

.ab-wishlist.active{
    background:#ff4d6d;
    color:#fff;
}