/* =====================================================
   GLOBAL RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    font-family:
    'Inter',
    'Segoe UI',
    Arial,
    sans-serif;

    background:#f7f8fa;

    color:#222;

}


a{

    text-decoration:none;

    color:inherit;

}


img{

    max-width:100%;

}



/* =====================================================
   COLORS
===================================================== */

:root{

    --primary:#198754;

    --secondary:#ffc107;

    --danger:#dc3545;

    --dark:#212529;

    --light:#ffffff;

    --gray:#6c757d;

}



/* =====================================================
   HEADER
===================================================== */


.main-header{

    background:#fff;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:
    0 2px 15px rgba(0,0,0,.08);

}



.logo{

    font-size:28px;

    font-weight:800;

    color:var(--primary);

}

.hero-image{

height:450px;

object-fit:cover;

}



.hero-slider a{

text-decoration:none;

color:white;

}



.carousel-caption{

background:rgba(0,0,0,.35);

padding:25px;

border-radius:20px;

}



@media(max-width:768px){

.hero-image{

height:250px;

}


.carousel-caption h1{

font-size:24px;

}


.carousel-caption p{

font-size:14px;

}

}

.search-box{

    background:#f1f3f5;

    border-radius:50px;

    overflow:hidden;

}


.search-box input{

    border:0;

    background:transparent;

    padding:14px 20px;

}


.search-box button{

    border:0;

    background:var(--primary);

    color:white;

    padding:0 25px;

}



/* =====================================================
   HERO
===================================================== */


.hero-section{

    min-height:420px;

    background:

    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),

    url('../images/banner.jpg');

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

}



.hero-content h1{

    font-size:48px;

    font-weight:800;

    color:#fff;

}


.hero-content p{

    color:white;

    font-size:20px;

}



/* =====================================================
   SECTION TITLE
===================================================== */


.section-title{

    font-size:28px;

    font-weight:800;

    margin-bottom:25px;

}



.section-title span{

    color:var(--primary);

}



/* =====================================================
   STORE CARDS
===================================================== */


.store-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    transition:.3s;

}



.store-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 15px 35px rgba(0,0,0,.12);

}



.store-banner{

    height:180px;

    object-fit:cover;

}



.store-logo{

    width:80px;

    height:80px;

    border-radius:50%;

    border:4px solid #fff;

    margin-top:-40px;

    object-fit:cover;

}



.store-name{

    font-weight:800;

    font-size:20px;

}



.store-meta{

    color:#777;

    font-size:14px;

}



/* =====================================================
   OPEN CLOSE BADGES
===================================================== */


.status-badge{

    position:absolute;

    top:15px;

    right:15px;

    padding:7px 15px;

    border-radius:50px;

    font-size:13px;

    color:white;

}



.open{

    background:#198754;

}



.closed{

    background:#333;

}



/* =====================================================
   PRODUCT CARD
===================================================== */


.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    transition:.3s;

}



.product-card:hover{

    transform:translateY(-7px);

    box-shadow:

    0 15px 35px rgba(0,0,0,.12);

}



.product-image{

    height:240px;

    width:100%;

    object-fit:cover;

}



.product-title{

    font-weight:700;

    font-size:17px;

}



.product-price{

    color:var(--primary);

    font-size:25px;

    font-weight:800;

}



.old-price{

    color:#999;

    text-decoration:line-through;

}



/* =====================================================
   PRODUCT BADGES
===================================================== */


.badge-custom{

    padding:7px 14px;

    border-radius:30px;

    font-size:12px;

}



/* =====================================================
   BUTTONS
===================================================== */


.btn{

    border-radius:12px;

    font-weight:600;

}


.btn-success{

    background:var(--primary);

}



/* =====================================================
   QUICK VIEW
===================================================== */


.quick-main-image{

    height:420px;

    object-fit:cover;

    border-radius:20px;

}



.quick-thumb{

    width:75px;

    height:75px;

    object-fit:cover;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

}



.quick-thumb:hover{

    transform:scale(1.08);

}



.quick-thumb.active{

    border:3px solid var(--primary);

}



.quick-price{

    color:var(--primary);

    font-size:35px;

    font-weight:900;

}



/* =====================================================
   CART
===================================================== */


.cart-badge{

    position:absolute;

    top:-10px;

    right:-10px;

    background:red;

    color:#fff;

    width:22px;

    height:22px;

    border-radius:50%;

    font-size:12px;

    display:flex;

    align-items:center;

    justify-content:center;

}



/* =====================================================
   WISHLIST
===================================================== */


.wishlist-btn{

    border-radius:50px;

}



/* =====================================================
   SELLER PROFILE
===================================================== */


.seller-card{

    background:#fff;

    border-radius:20px;

    padding:25px;

}



.seller-avatar{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

}



/* =====================================================
   FOOTER
===================================================== */


footer{

    background:#111;

    color:white;

    padding:50px 0;

}



footer a{

    color:#ccc;

}



footer a:hover{

    color:#fff;

}



/* =====================================================
   MOBILE BOTTOM NAVIGATION
===================================================== */

/* Hidden by default (Desktop) */

.mobile-nav{

    display:none;

}



/* Show only on mobile */

@media(max-width:768px){


    .mobile-nav{

        display:flex;

        position:fixed;

        bottom:0;

        left:0;

        right:0;

        height:65px;

        background:#fff;

        z-index:9999;

        box-shadow:
        0 -5px 20px rgba(0,0,0,.12);

        align-items:center;

        justify-content:space-around;

        border-top:1px solid #eee;

    }



    .mobile-nav a{

        flex:1;

        text-align:center;

        color:#555;

        font-size:12px;

        padding:8px 0;

    }



    .mobile-nav a i{

        display:block;

        font-size:20px;

        margin-bottom:3px;

        color:#198754;

    }



    .mobile-nav a.active{

        color:#198754;

        font-weight:700;

    }



    body{

        padding-bottom:75px;

    }


}


/* =====================================================
   ANIMATIONS
===================================================== */


.fade-up{

    animation:

    fadeUp .5s ease;

}



@keyframes fadeUp{


from{

opacity:0;

transform:translateY(20px);

}


to{

opacity:1;

transform:none;

}


}



/* =====================================================
   LOADING
===================================================== */


.loading-box{

    padding:80px;

    text-align:center;

}


.spinner-border{

    width:3rem;

    height:3rem;

}

/* ==============================
   PAGE PRELOADER
============================== */

#loader{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:#ffffff;

    z-index:99999;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:opacity .4s ease,
               visibility .4s ease;

}


.loader-box{

    text-align:center;

}


.loader-box .spinner-border{

    width:50px;

    height:50px;

}


.loader-box p{

    margin-top:15px;

    color:#198754;

    font-weight:600;

}



/* hidden state */

#loader.hide{

    opacity:0;

    visibility:hidden;

}

.category-banner{

background:#ffffff;

border-bottom:1px solid #eee;

}

.category-banner img{

max-height:220px;

object-fit:cover;

}

.list-group-item.active{

background:#198754;

border-color:#198754;

}

@media(max-width:991px){

.category-banner{

text-align:center;

}

.category-banner img{

margin-top:20px;

}

}

.product-card{

border-radius:15px;

transition:.3s;

overflow:hidden;

}

.product-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,.12)!important;

}

.product-image{

height:220px;

object-fit:cover;

transition:.3s;

}

.product-card:hover .product-image{

transform:scale(1.05);

}

@media(max-width:768px){

.product-image{

height:180px;

}

}

.pagination .page-link{

border-radius:10px;

margin:0 3px;

color:#198754;

border-color:#ddd;

}

.pagination .page-item.active .page-link{

background:#198754;

border-color:#198754;

color:#fff;

}

.pagination .page-link:hover{

background:#198754;

color:#fff;

border-color:#198754;

}

.product-card .btn{

border-radius:10px;

}

.product-card .badge{

font-size:11px;

padding:6px 10px;

}

.wishlist-btn:hover{

background:#dc3545;

color:#fff;

}

.quick-view-btn:hover{

background:#212529;

color:#fff;

}

.product-hero{

background:#198754;

color:#fff;

}

.product-card{

transition:.3s;

}

.product-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 30px rgba(0,0,0,.15);

}

.product-card{

    border-radius:15px;

    overflow:hidden;

    transition:.3s;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15)!important;

}

.product-image-wrapper{

    overflow:hidden;

}

.product-image{

    height:240px;

    object-fit:cover;

    transition:.4s;

}

.product-card:hover .product-image{

    transform:scale(1.08);

}

.product-title{

    min-height:48px;

    font-size:15px;

    font-weight:600;

}

.badge-discount{

    position:absolute;

    top:10px;

    left:10px;

}

.badge-featured{

    position:absolute;

    top:10px;

    right:10px;

}

.badge-flash{

    position:absolute;

    top:45px;

    right:10px;

}

.badge-new{

    position:absolute;

    top:80px;

    right:10px;

}

.badge-hot{

    position:absolute;

    top:115px;

    right:10px;

}

.badge-best{

    position:absolute;

    top:150px;

    right:10px;

}

@media(max-width:768px){

.product-image{

height:180px;

}

}

.product-card .btn{

    border-radius:10px;

}

.product-card .btn i{

    pointer-events:none;

}

.product-card .btn:hover{

    transform:translateY(-2px);

}

.wishlist-btn.active{

    background:#dc3545;

    color:#fff;

    border-color:#dc3545;

}

.card:hover{

transform:translateY(-3px);

transition:.3s;

}

.table td{

vertical-align:middle;

}

.badge{

font-size:13px;

}

.btn-group .btn{

border-radius:6px;

}