@media (max-width: 992px) {
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    body {
        padding-top: 180px;
    }
    body.scrolled {
        padding-top: 70px;
    }
    .search-container {
        margin: 10px 0;
    }
    .nav-link {
        margin: 5px 0;
    }
    .category-dropdown {
        max-width: 100%;
    }
    .search-box {
        flex-direction: column;
        border-radius: 10px;
    }
    .category-toggle {
        border-radius: 10px 10px 0 0;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    .search-input {
        border-radius: 0;
    }
    .search-btn {
        border-radius: 0 0 10px 10px;
    }
    .top-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
    .top-action-link {
        margin-left: 0;
        margin-right: 10px;
    }
    .navbar-bottom {
        top: 128px;
    }
    .content-slider {
        margin-top: 38px;
    }
}
@media(max-width:768px) {
    .content-slider .slider {
        /*width: 95%;
        height: 400px;*/
        width: 100%;
        height: 180px;
        /*margin-top: 100px;*/
    }
    .content-slider {
        margin-top: 55px;
    }
    .content-slider .slider {
        border-radius: 10px;
    }
    .bottom-center {
        width: 80%;
        border-radius: 10px;
    }
    .bottom-center::before {
        left: -20px;
        bottom: -20px;
        mask: radial-gradient(20px at top left, #0000 98%, #000);
    }
    .bottom-center::after {
        right: -20px;
        bottom: -20px;
        mask: radial-gradient(20px at top right, #0000 98%, #000);
    }
    .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-item {
        margin-bottom: 5px;
    }
    .menu-item {
        font-family: 'Andalima', sans-serif;
    }
    .contact-section {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }
    nav ul li {
        margin: 0 0.5rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    .contact-icon i {
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        display: inline-flex;
    }
}
@media (max-width: 640px) {
    .navbar-top.hide {
        transform: translateY(-100%); /* Moves the header completely out of view */
    }
    body {
        /*padding-top: 180px;*/
        padding: 160px 15px 0px 15px;
    }
    .content-slider {
        margin-top: 65px;
    }
    .logo {
        font-size: 1.3rem;
        font-family: 'Andalima', sans-serif;
        flex-direction: column;
        color: var(--primary-color);
        /*padding: 15px 0px 15px 0px;*/
    }
    .logo:hover {
        color: var(--primary-color);
    }
    .navbar-bottom {
        top: 150px;
        z-index: 1030;
        padding: 0px;
        box-shadow: none;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    nav ul {
        margin-top: 0rem;
    }
    .nav-item {
        margin-bottom: 0px;
    }
    .nav-link {
        margin: 0px;
    }
    .navbar-nav {
        flex-wrap: unset;
    }
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-image {
        object-fit: contain;
    }
    .banner-item {
        height: auto;
    }
    .product-image {
        height: 150px;
    }
    .content_contact_us {
        margin-top: 65px;
    }
    .about_content {
        margin-top: 65px;
    }
    .shop-now-btn {
        padding: 5px 10px
    }
    .banner-text {
        font-size: 14px;
    }
    .product-title {
        font-size: 14px;
    }
    .discount {
        font-size: 12px;
    }
}
@media (max-width: 576px) {
    .products-grid {
        /* grid-template-columns: 1fr;*/
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-summary {
        flex-direction: column;
        gap: 15px;
    }
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .product-image {
        height: 170px;
    }
    /* .add-btn {
        width: 100%;
    }*/
}
@media (max-width: 420px) {
    .nav-link {
        padding: 5px 10px !important;
    }
    .banners-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .content-slider {
        margin-top: 55px;
    }
    .product-image {
        height: 147px;
    }
    .content_contact_us {
        margin-top: 55px;
    }
    .about_content {
        margin-top: 55px;
    }
    .contact-info {
        padding: 15px;
    }
    .contact-icon i {
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        display: inline-flex;
    }
}
@media(max-width: 414px) {
    .bottom-center {
        border-radius: 10px 10px 0 0;
    }
    .bottom-center::before, .bottom-center::after {
        display: none;
    }
}
@media (max-width: 321px) {
    .nav-link {
        padding: 3px 0px !important;
    }
}
