/* Mobile CSS for ClickBuy Style */

/* Mobile Search Form */
.mobile-search-form {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.mobile-search-form .input-group {
    max-width: 100%;
}

.mobile-search-form .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
    font-size: 14px;
}

.mobile-search-form .btn-theme-round {
    border-radius: 0 25px 25px 0;
    padding: 8px 15px;
    background: var(--teal, #0FA3A3);
    border-color: var(--teal, #0FA3A3);
    color: white;
}

.mobile-search-form .btn-theme-round:hover {
    background: var(--teal-dark, #0d8a8a);
    border-color: var(--teal-dark, #0d8a8a);
}

/* Mobile Menu Improvements */
#mobileNavbar {
    background: white;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#mobileNavbar .navbar-nav {
    padding: 10px 0;
}

#mobileNavbar .nav-item {
    border-bottom: 1px solid #f8f9fa;
}

#mobileNavbar .nav-item:last-child {
    border-bottom: none;
}

#mobileNavbar .nav-link {
    padding: 12px 20px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

#mobileNavbar .nav-link:hover {
    background: var(--teal, #0FA3A3);
    color: white;
    padding-left: 30px;
}

@media (max-width: 768px) {
    .navbar-top {
        text-align: center;
        padding: 5px 0;
    }
    
    .navbar-top .col-lg-6 {
        margin-bottom: 5px;
    }
    
    .top-categories-search {
        margin: 15px 0;
    }
    
    .top-categories-search .input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .categories-dropdown select {
        border-radius: 15px 15px 0 0;
        margin-bottom: 1px;
    }
    
    .top-categories-search .form-control {
        border-radius: 0;
        margin-bottom: 1px;
    }
    
    .top-categories-search .btn-theme-round {
        border-radius: 0 0 15px 15px;
    }
    
    .product-item-image img {
        height: 150px;
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .product-item {
        margin-bottom: 20px;
    }
    
    .heading-design-h5 {
        font-size: 20px;
    }
    
    .categories-list {
        padding: 20px 0;
    }
    
    .footer-Content {
        padding: 20px 0;
    }
    
    .footer-widget {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-width: 150px;
    }
    
    .product-item-image img {
        height: 120px;
    }
    
    .carousel-item img {
        height: 200px;
    }
    
    .product-item-body {
        padding: 10px;
    }
    
    .card-title {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    .product-desc-price {
        font-size: 10px;
    }
    
    .product-discount {
        font-size: 10px;
    }
}
