/* Responsive */
@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1480px;
    }
}

@media (max-width: 992px) {
    #header .search-box {
        max-width: 400px;
    }

    #header .nav-menu {
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    #navbarNav .contact-link {
        display: none;
    }
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        width: 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 991px) {
    #header .show-large-device {
        display: none !important;
    }

    #header .show-small-device {
        display: block !important;
    }

    #header #top-header-wapper {
        justify-content: center !important;
    }
    #all_categoories {
        display: block !important;
    }
}

@media (max-width: 768px) {
    #header .top-header .container {
        flex-direction: column;
        gap: 15px;
    }

    #header .search-box {
        max-width: 100%;
        margin: 0;
    }

    #header .header-actions {
        width: 100%;
        justify-content: center;
    }

    #header .nav-menu {
        flex-direction: column;
    }

    #header .subcategory-dropdown {
        position: static;
        margin-left: 20px;
        box-shadow: none;
        padding-left: 10px;
    }

    .hatbazar-product-card .product-name {
        font-size: 14px;
    }

    .hatbazar-product-card .current-price {
        font-size: 18px;
        white-space: nowrap;
    }

    .hatbazar-product-card .original-price {
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 400px) {
    #header .contact-info {
        display: unset !important;
    }
    .hatbazar-product-card .product-footer {
        padding: 20px 2px !important;
    }
    .common-btn-class {
        padding: 6px 10px !important;
        font-weight: 500 !important;
    }
    #add-to-wish-list-btn {
        font-size: 12px !important;
        padding: 3px 10px !important;
    }
}

@media (max-width: 572px) {

    .hatbazar-category .owl-nav,
    .hatbazar-pre-order .owl-nav,
    .hatbazar-hot-deals .owl-nav,
    .hatbazar-success-projects .owl-nav,
    .hatbazar-customer-feedbacks .owl-nav
     {
        display: none !important;
    }

    .hatbazar-product-card .product-img-wrap {
        height: 150px;
    }

    .hatbazar-product-card .current-price {
        font-size: 12px;
        font-weight: 400;
    }

    .hatbazar-product-card .original-price {
        font-size: 10px;
    }

    .hatbazar-product-card:hover {
        transform: scale(1) !important;
    }

    .common-gradient-title-bg h4{
        font-size: 15px;
    }

    .common-gradient-title-bg p {
        font-size: 12px;
    }

}


@media (min-width : 320px) and (max-width: 499px) {
    .common-btn-class {
        font-size: 10px;
    }

    .hatbazar-category h2 {
        font-size: 18px;
        margin-bottom: 0px;
    }

    .hatbazar-hot-deals .count_products_badge {
        font-size: 8px;
        padding: 3px 3px;
    }
}


@media (max-width: 991.98px) {
    #hat-bazar-hero .hero-slider-card {
        min-height: 360px;
    }

    #hat-bazar-hero .hero-slider .item {
        min-height: 332px;
    }

    #hat-bazar-hero .hero-slider .hero-img {
        max-width: 86%;
    }
}

@media (max-width: 767.98px) {
    #hat-bazar-hero .hero-slider-card {
        padding: 10px;
        border-radius: 16px;
    }

    #hat-bazar-hero .hero-slider .item {
        padding: 16px;
        border-radius: 14px;
        min-height: 320px;
    }

    #hat-bazar-hero .hero-slider .hero-inner {
        padding-bottom: 92px;
    }

    #hat-bazar-hero .hero-slider .hero-img {
        max-width: 95%;
    }

    #hat-bazar-hero .hero-caption {
        padding: 14px 12px 18px;
    }

}
