@media screen and (min-width:992px) {
    .header_section .navbar .megamenu_dropdwon {
        position: static !important;
    }

    .header_section .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
        padding: 20px 14px;
        border-radius: 0;
        top: 100%;
        box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
        height: 500px;
        overflow-x: auto;
    }

    .header_section .dropdown-menu {
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
        -moz-transition: all 0.2s ease-out;
        -ms-transition: all 0.2s ease-out;
        -webkit-box-shadow: 0px 4px 4px 1px rgb(0 0 0 / 20%);
        box-shadow: 0px 4px 4px 1px rgb(0 0 0 / 20%);
        -webkit-transform: rotateX(-90deg);
        transform: rotateX(-90deg);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        display: block !important;
        opacity: 0;
        visibility: hidden;
    }

    .header_section .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        filter: alpha(opacity=100);
        top: 100%;
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
}

@media screen and (max-width:991px) {
    .mobile_nav_bar li {
        display: inline-block;
        vertical-align: middle;
        margin: 0px 3px;
    }

    .mobile_nav_bar .btn-primary {
        height: 39px;
        line-height: 19px;
    }

    .menu_offcanvas .btn-close {
        opacity: 1;
        outline: none !important;
        box-shadow: none !important;
        background: #ff57221c;
        border-radius: 50px;
        width: 20px;
        height: 20px;
        font-size: 17px;
        font-weight: bold;
    }

    .menu_offcanvas.offcanvas {
        width: 320px !important;
        border: none !important;
        box-shadow: rgb(0 0 0 / 25%) 0px 54px 55px, rgb(0 0 0 / 12%) 0px -12px 30px, rgb(0 0 0 / 12%) 0px 4px 6px, rgb(0 0 0 / 17%) 0px 12px 13px, rgb(0 0 0 / 9%) 0px -3px 5px;
        background: #fafafa;
    }

    .menu_offcanvas .nav-link {
        padding: 9px 0px !important;
    }

    .menu_offcanvas .accordion-button {
        outline: none !important;
        box-shadow: none !important;
        font-family: 'Baloo 2', cursive;
        font-size: 15px;
        font-weight: 600;
        color: var(--bs-black);
        background: transparent !important;
        padding: 11px 0px;
    }

    .menu_offcanvas .accordion-header i {
        vertical-align: middle;
        color: var(--bs-primary);
        margin-right: 3px;
    }

    .menu_offcanvas .offcanvas-body {
        padding: 12px 20px;
    }


    .menu_offcanvas .accordion-item {
        background: transparent !important;
    }

    .menu_offcanvas .category_list {
        max-height: 650px;
    }

    .menu_offcanvas .category_list ul li a {
        display: block;
        padding: 7px 0px;
        font-family: 'Baloo 2', sans-serif;
        font-weight: 500;
        transition: all 0.2s ease;
        -webkit-transition: all 0.2s ease;
        -moz-transition: all 0.2s ease;
        -ms-transition: all 0.2s ease;
        -o-transition: all 0.2s ease;
    }

    .menu_offcanvas .category_list ul li a:hover {
        color: var(--bs-primary);
    }

    .menu_offcanvas .accordion-button::after {
        content: "\f107";
        background-image: none;
        font-family: 'Font Awesome 5 Free';
    }

    .menu_offcanvas .accordion-button:not(.collapsed)::after {
        background-image: none;
        content: "\f106";
        transform: none;
    }

    .chat_box .border-right {
        border-right: 0px solid #efeeee;
        border-bottom: 1px solid #efeeee;
    }

    .shop_filter_btn {
        background: var(--bs-primary);
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background-color: var(--bs-primary);
        border-radius: 3px;
        text-align: center;
        line-height: 42px;
        cursor: pointer;
    }

    .shop_filter.offcanvas {
        border: none !important;
        width: 320px;
        overflow: hidden;
        height: 100%;
        overflow-y: auto;
    }

    .shop_filter .offcanvas-header {
        padding: 9px 27px;
    }

    .shop_filter .offcanvas-header h5 {
        font-size: 18px;
        font-weight: 600;
        color: var(--bs-black);
    }

    .shop_filter .btn-close {
        box-shadow: none !important;
        opacity: 1;
    }

}

@media screen and (max-width:767px) {
    .banner_heading h3 {
        font-size: 35px;
    }

    .chat_seller_btn {
        position: inherit;
        margin-left: 80px;
        margin-top: 9px;
        top: 0;
    }

    /* .header_section .navbar-brand img {
        width: 139px;
    } */

    .header_section .navbar-toggler {
        top: 10px;
    }

    .header_section {
        padding: 5px 0px;
    }
}

@media screen and (max-width:575px) {
    .banner_heading h3 {
        font-size: 28px;
    }

    .filter_form {
        margin: 0 auto;
        max-width: 280px;
    }

    .signin_form {
        padding: 15px;
    }

}

@media screen and (max-width:550px) {
    .header_section .btn-primary i {
        font-size: 27px;
        text-align: center;
    }

    .header_section .btn-primary {
        font-size: 0px;
        width: 50px;
        height: 39px;
        padding: 6px 0px;
    }

    .seller_dashboard {
        padding: 10px 6px;
    }


}

@media screen and (max-width:450px) {
    .header_section .btn-primary {
        width: 42px;
        height: 34px;
        padding: 5px 0px;
    }

    .header_section .btn-primary i {
        font-size: 24px;
    }

    .user_dashboard img {
        width: 40px;
    }

    .header_section .navbar-toggler {
        width: 42px;
        height: 34px;
        padding: 6px 0px;
        font-size: 22px;
    }

    /* .navbar-brand img {
        width: 146px;
    } */
}


@media screen and (max-width:420px) {
    /* .header_section .navbar-brand {
        margin: 0;
        width: 100%;
        display: block;
        text-align: center;
    } */

    .header_section .navbar-toggler {
        position: inherit;
    }

    .header_section {
        padding-bottom: 10px;
    }
}



@media screen and (max-width:400px) {
    .banner_section .btn-primary {
        padding: 0px 16px;
        font-size: 16px;
    }


    .related-post__header {
        display: block;
        text-align: center !important;
    }

    .slider-btn {
        text-align: center;
        margin-top: 13px;
    }

    .category_icon .icon {
        font-size: 23px;
    }

    .category_info h3 {
        font-size: 14px;
    }

    .category_info span {
        font-size: 13px;
    }

    .seller_dashboard_shop .nav-item {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width:370px) {
    .loggedin_user .navbar-brand {
        display: block;
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    .loggedin_user .mobile_nav_bar {
        text-align: center;
        margin: 0 auto;
    }
}
