@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}
body,
button,
input,
textarea,
select {
    font-family: 'Poppins', sans-serif !important;
}
/* Navbar Links */

.navbar {
    background-color: #F5F5F5 !important;
}
.nav-link {
    color: #333 !important;
    font-size: 15px;
    margin-right: 15px;
}

/* Search Bar Container */
.search-container {
    width: 100%;
    max-width: 500px;
    height: 50px;
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

/* Dropdown Popup Styling */
.dropdown-menu {
    margin-top: 10px !important;
    border-radius: 15px !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    max-width: 300px;
}

.dropdown-item {
    padding: 10px 20px;
    color: #666;
    transition: 0.3s;
}

/* Button & Icon Styling */
.btn-dark {
    background-color: #212529 !important;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.bi-list {
    color: #212529;
    font-weight: bold;
}

/* Offcanvas Styling (Mobile Menu) */
.offcanvas {
    width: 300px !important;
}

.offcanvas-header {
    padding: 20px;
}


@media (min-width: 992px) {
    
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0 !important;
    }
    
    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #000;
        padding-left: 25px;
    }

    .navbar-brand {
        position: static !important;
        transform: none !important;
        margin-right: 1.5rem !important;
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {

    .offcanvas-title{
     font-size: 16px;
    }
    
    .container-fluid {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-right: 0;
    }

    .navbar-toggler { order: 1; }
    .navbar-brand { order: 2; }
    .d-lg-none { order: 3; }
    
    .search-container {
        margin: 25px ;
        width: 100%;
    }
    
    .offcanvas .nav-link {
        font-size: 16px;
        padding: 12px 20px !important;
        border-bottom: 1px solid #eee;
    }
}



/* header  */
.slide-img {
    height: 500px; 
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block; 
}
#heroSlider {
        padding: 0 10px; 
    }

#heroSlider {
    touch-action: pan-y; 
    -webkit-user-select: none;
    user-select: none;
}

.carousel-inner {
    cursor: grab; 
}

.carousel-inner:active {
    cursor: grabbing; 
}

@media (max-width: 991px) {
    #heroSlider { 
        width: 100%;         
        margin: 0 auto;      
    }
    .slide-img { height: 300px; }
}

@media (max-width: 576px) {
    #heroSlider { 
        width: 96%;          
        margin: 0 auto;     
    } 
    .slide-img { 
        height: 180px; 
        border-radius: 10px;
    }
    .carousel-control-prev, 
    .carousel-control-next {
        width: 10%; 
    }
}



 
/* Features Overview  */
.custom-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    background-color: #354131 !important;
}

.custom-card h5 {
    font-size: 20px !important;
}

.custom-card p {
    font-size: 16px !important;
}

#infoSlider {
    margin-top: -30px;
}

.text-dark {
    color: #000 !important;
}

@media (max-width: 767px) {
    #infoSlider {
        width: 100%;
        margin: 0 auto;
        margin-top: -25px;
    }
    .custom-card {
        min-height: 160px;
        padding: 20px !important;
    }
    .custom-card h5 {
        font-size: 18px !important;
    }
    .custom-card p {
        font-size: 14px !important;
    }
}

@media (min-width: 768px) {
    .carousel-indicators {
        display: none !important;
    }
}





 /* ===========================
   Product Card
=========================== */
@media (min-width: 992px) {
    .col-custom-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.row .card.product-card {
    border: 1px solid #cfc9c9 !important;
}

.card-body {
    text-align: left !important;
    align-items: flex-start !important;
}

.card-title {
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
    text-decoration:none;
}

.price-box {
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 14px;
}

.new-price {
    font-weight: 650;
    color: #dc3545;
    font-size: 16px;
}

.btn-dark {
    background-color: #111 !important;
    border: 1px solid #111 !important;
    padding: 10px 0;
    font-weight: 600;
    transition: 0.3s;
}

.btn-dark:hover {
    background-color: #fff !important;
    color: #111 !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
}

.view-more-btn {
    text-decoration: none;
    color: #111;
    border: 1px solid #111;
    padding: 10px 20px;
    white-space: nowrap;
    font-weight: 800;
    transition: all 0.3s ease; 
    letter-spacing: 1px;  
}

.view-more-btn:hover {
    background-color: #111;
    color: #fff;
    cursor: pointer;
}



@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }
    .view-more-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
    .card-title {
        font-size: 14px;
    }
    .old-price {
        font-size: 12px;
    }
    .new-price {
        font-size: 14px;
    }
}


/* imge */
 .banner-section {
        padding-left: 0;
        padding-right: 0;
        text-align: center; 
    }

    @media (min-width: 992px) {
        .banner-section .img-fluid {
            width: 100%; 
            max-width: 1445px; 
            max-height: 400px; 
            object-fit: cover; 
            border-radius: 12px;
        }
    }

    @media (max-width: 991px) {
        .banner-section .img-fluid {
            width: 100%; 
            height: auto;
            border-radius: 10px !important;
        }
    } 




/* all product /Flash sale*/
    .products-section h2 { font-size: 36px; color: #111; }
    

    .filter-link {
        text-decoration: none;
        color: #666;
        font-weight: 600;
        font-size: 18px;
        padding-bottom: 5px;
        transition: 0.3s;
    }
    .filter-link.active {
        color: #dc3545; 
        border-bottom: 2px solid #dc3545;
    }
    .filter-link:hover { color: #111; }


    .product-card { border: 1px solid #F5F5F5 !important; }
    .card-body { text-align: left !important; }
    .price-box { display: flex; justify-content: flex-start !important; align-items: center; gap: 8px; }
    

    @media (min-width: 992px) {
        .col-custom-5 { flex: 0 0 20%; max-width: 20%; }
    }
    
@media (max-width: 576px) {
    .products-section h2 {
        font-size: 24px;
    }
}
    .btn-dark { background-color: #111 !important; border: 1px solid #111 !important; }
    .btn-dark:hover { background-color: #fff !important; color: #111 !important; }


/* Footer */
    footer { 
        background-color: #F5F5F4 !important; 
        padding: 60px 0 20px; 
    }
    
    .footer-logo { width: 120px; margin-bottom: 15px; }
    
    footer h5 { font-size: 20px !important; font-weight: 700 !important; color: #111; }
    
    footer p, footer ul li a { 
        font-size: 16px !important; 
        color: #333 !important; 
        text-decoration: none !important; 
        margin-bottom: 8px; 
        text-align: left !important; 
        display: block;
    }
    
    footer ul li a:hover { color: #dc3545 !important; }
    
    footer ul li a i { font-size: 16px !important; margin-right: 8px; width: 18px; display: inline-block; }
    
    .footer-copyright { font-size: 13px !important; color: #666 !important; border-top: 1px solid #e0e0e0; padding-top: 20px; }
    
@media (max-width: 767px) {
    .footer-col { 
        text-align: left !important; 
    }
    
    .footer-logo { 
        display: block;
        margin-left: 0;
        width: 90px !important;
    }
}

  

 #toast-container > .toast-success {
    background-color: #51A351 !important;
    color: #fff !important;
    opacity: 1 !important;
}

#toast-container > .toast-success .toast-title,
#toast-container > .toast-success .toast-message {
    color: #fff !important;
}


.addcartbutton{
    background-color: #354131 !important;
    color: #ffffff !important;
}
.addcartbutton:hover{
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid  #000000 !important;
}
