@media only screen and (min-width:767px) {

    .mobile-filter-toggle,
    .mobile-menu,
    .mobile-search {
        display: none
    }
}

@media only screen and (min-width:320px) and (max-width:767px) {

    .main_slider .owl-next, .main_slider .owl-prev{
        width: 30px;
    }

    .home-slider-container .owl-nav button{
        height: 50px;
    }
    .home-slider-container .owl-nav button i{
        font-size: 20px;
        line-height: 50px;
    }

    .main_slider .owl-next{
        right: 0;
    }
    .main_slider .owl-nav{
        display: none;
    }

    .cat_img a,
    .cat_img img {
        height: 100%
    }

    .filter_btn,
    .filter_close {
        cursor: pointer;
        color: #fff
    }

    .filter_btn,
    .footer-menu ul li a {
        text-transform: capitalize
    }

    .category-sidebar.active,
    .filter_sidebar.active {
        visibility: visible;
        opacity: 1
    }

    .d-flex.single_product {
        display: block !important;
        width: 100%;
        overflow: hidden
    }

    .add_cart_btn,
    .modal-view.quick-product {
        width: 100%
    }

    .order_now_btn {
        width: 98%;
        margin-left: 0
    }

    .pro_img {
        height: 158px
    }

    header#navbar_top {
        position: inherit
    }

    .category-product,
    .product_sliders,
    .related-product-section .product-inner {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px
    }

    .cat_img a {
        display: block
    }

    .cat_img {
        height: 75px;
        text-align: center
    }

    .topcategory {
        grid-template-columns: repeat(3, 1fr)
    }

    .payment-method-wrappers {
        grid-template-columns: repeat(2, 1fr)
    }

    .filter_sort,
    .main_product_inner {
        grid-template-columns: 1fr 1fr
    }

    .filter_sort {
        display: flex;
        align-items: center;
        padding: 0 6px;
        justify-content: flex-end;
        margin-top: 0px;
    }

    .filter_sidebar {
        position: fixed;
        visibility: hidden;
        opacity: 0;
        top: 30px;
        transition: .35s;
        background: #fff
    }

    .filter_btn,
    .filter_close,
    li.mobile_home {
        background: var(--primary-color)
    }

    .filter_sidebar.active {
        background: #fff;
        z-index: 9999;
        height: 100%;
        width: 97%;
        top: 2px;
        overflow-y: auto
    }

    .filter_sidebar.active::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: #f5f5f5
    }

    .filter_sidebar.active::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5
    }

    .filter_sidebar.active::-webkit-scrollbar-thumb {
        background-color: var(--primary-color)
    }

    .filter_btn {
        display: inline-block;
        width: 55px;
        height: 33px;
        line-height: 33px;
        font-size: 17px;
        border: 1px solid #ddd;
        text-align: center
    }

    .filter_close {
        padding: 10px 15px;
        font-size: 18px;
        border-radius: 5px;
        margin: 8px 0;
        display: block
    }

    
    .header-right,
    .logo-area,
    .main-header,
    .menu-area,
    .menu-product,
    .meta_description,
    .mm-ocd,
    .mobile_hide,
    .quick-product .details_short,
    .quick-product .short_description,
    .showing-data,
    .sidebar-menu {
        display: none
    }

    li.mobile_home {
        border: 2px solid #ddd;
        margin-top: -35px;
        padding-top: 15px;
        border-radius: 50%;
        width: 75px;
        height: 75px
    }

    li.mobile_home a {
        color: #fff
    }

    .details-wishlist,
    .scrolltop,
    a.details-wishlist.compare_store.cursor {
        display: none !important
    }

    .hightlight_cont ul,
    .slider-section .offset-sm-3 {
        padding-left: 5px
    }

    .close_filter,
    .desktop_hide,
    .first-nav .menu-category-list,
    .footer_nav,
    .show_filter,
    li.childcategory {
        display: block
    }

    .sorting-section {
        margin-top: 0px
    }

    .front_category_title h1,
    .home-page-section-title-box h3,
    .section-title-header .section-title-name {
        font-size: 20px
    }

    .details_slider {
        height: 360px
    }
    .dimage_item{
        height: calc(100% - 40px);
    }
     .dimage_item img{
        height: 100% !important;
        min-width: unset;
        object-fit: contain;

     }
     .category-footer-book-list{
        padding-top: 20px;
        padding-bottom: 20px;
     }
     .product_slider .owl-nav{
        display: none;
     }

    .details_slider .owl-item img {
        height: 315px !important;
        width: auto;
        margin-left: auto;
        margin-right: auto
    }

    #content {
        margin-left: 0;
        padding-top: 0
    }

    .page-sort {
        padding-right: 6px
    }

    .mobile-filter-toggle {
        justify-content: center;
        margin: 10px 0;
        align-items: center;
        column-gap: 10px;
        display: none
    }

    .mobile-filter-toggle span {
        font-size: 17px;
        text-transform: uppercase;
        font-weight: 500
    }

    .category-item p,
    .tab-link {
        font-weight: 400
    }

    .home-slider-container {
        width: 100%;
        margin-left: 0
    }

    .feature-products,
    .mobile-menu {
        width: 300px;
        position: fixed;
        z-index: 99999;
        height: 100vh;
        transition: .3s;
        background-color: #fff;
        top: 0
    }

    .feature-products p {
        padding-left: 20px
    }

    .feature-products {
        left: -300px;
        padding-top: 10px;
        overflow-y: auto
    }

    .category-breadcrumb,
    .header-left {
        justify-content: center
    }

    .feature-products.active,
    .mobile-menu.active {
        left: 0
    }

    .mobile-menu {
        left: -400px;
        overflow-y: visible;
        overflow-x: visible
    }

    .mobile-menu::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: #f5f5f5
    }

    .mobile-menu::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background-color: var(--primary-color)
    }

    .mobile-search {
        background-color: #fff;
        padding: 0 16px 15px;
        /* display: none; */
    }
    .cartlist .text-left{
        flex-wrap: wrap;
    }

    .mobile-search form {
        display: flex;
        border: 1px solid #000;
        border-radius: 10px;
        background-color: transparent;
        height: 40px;
        overflow: hidden;
        position: relative
    }

    .mobile-search form svg {
        height: 16px;
        width: 16px;
        color: #000
    }

    .mobile-search form input {
        text-align: left;
        padding-left: 15px;
        color: #000
    }

    .mobile-search form button {
        background-color: transparent;
        flex: 0 0 60px;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .mobile-search form:focus-within {
        border-color: var(--primary-color)
    }

    .mobile-menu-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        padding: 10px 15px
    }

    .logo-image img {
        height: 40px;
        width: auto
    }

    .mobile-menu-close {
        height: 35px;
        width: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        background: #fff;
        box-shadow: 2px 3px 8px rgba(0, 0, 0, .1);
        border-radius: 50%;
        transform: translateX(50%)
    }

    .details-price,
    .mobile-menu-close i {
        font-size: 18px
    }
    .details-price{
        margin-bottom: 5px;
    }

    .first-nav .parent-category {
        display: block;
        line-height: 33px
    }

    .first-nav .menu-category-list .menu-category-link {
        padding: 10px 0 10px 20px;
        display: block
    }

    .first-nav .parent-category .menu-category-name {
        display: block;
        padding: 7px 7px 7px 18px;
        text-transform: capitalize;
        font-weight: 400;
        color: #222
    }

    .mobile-menu li.parent-category {
        position: relative
    }

    .mobile-menu span.menu-category-toggle {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center
    }

    .mobile-menu span.menu-category-toggle.active i,
    span.menu-subcategory-toggle.active i {
        transition: transform .3s;
        transform: rotate(180deg)
    }

    .second-nav {
        padding: 0;
        background-color: #fff
    }

    .second-nav.active {
        min-height: 15px
    }

    .parent-subcategory {
        display: block;
        position: relative;
        padding: 0
    }

    .parent-subcategory .menu-subcategory-name {
        display: block;
        padding: 10px 10px 10px 40px
    }

    span.menu-subcategory-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center
    }

    ul.third-nav {
        padding: 0;
        background-color: #f2f2f2
    }

    li.parent-category.active {
        background-color: rgba(0, 0, 0, .05)
    }

    .mobile-header,
    li.parent-subcategory.active {
        background-color: #fff
    }

    .menu-childcategory-name {
        display: block;
        padding: 10px 0 10px 60px
    }

    header .toggle {
        margin-top: 0;
        padding-left: 16px
    }

    .mobile-menu-social .mobile-social-list .mobile-social-link i {
        color: silver;
        font-size: 16px
    }

    .mobile-menu-social .mobile-social-list .mobile-social-link {
        border: 2px solid silver;
        padding: 5px 13px;
        border-radius: 5px;
        display: block
    }

    .mobile-menu-social .mobile-menu-social {
        display: flex;
        column-gap: 5px;
        padding-left: 20px
    }
    .share-btn, .wishlist-btn {
        font-size: 14px;
    }

    .category-item {
        padding: 5px 0
    }

    .qty-cart .quantity {
        height: 35px;
        margin-left: 4px
    }

    .quantity .minus,
    .quantity .plus {
        height: 35px;
        line-height: 35px;
        font-size: 35px;
        width: 40px
    }

    .d-flex.single_product.col-sm-6 {
        margin-left: 0px;
        margin-top: 10px
    }

    .cart_details .cart_qty .quantity {
        width: 85px
    }

    .cus-order-2 {
        order: 0
    }

    .cus-order-1 {
        order: 1
    }

    .chheckout-section,
    .front-view-flex {
        padding: 10px 0
    }

    .cart_details,
    .front-view-item {
        margin-bottom: 15px
    }

    .success-img img {
        width: 200px
    }

    .qty-cart {
        width: auto !important;
        grid-template-columns: 130px auto
    }

    .compare_store.mobile-show {
        display: block !important;
        line-height: 42px;
        text-align: center
    }

    .add-to-cart.mobile-fix {
        position: fixed;
        bottom: 64px;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 10px;
        margin: 0 10px
    }

    .footer-top {
        padding: 30px 0
    }

    .footer-menu ul li img {
        margin: 0 auto;
        display: block
    }

    .front-view-title a,
    .section-title-right a {
        font-size: 13px
    }

    .category-banner-products {
        padding: 20px 5px
    }

    .flash-product-section .col-sm-4 {
        padding: 10px !important
    }

    .flash_all {
        margin-top: 10px
    }

    .menu-bag,
    .menu-bar,
    .menu-logo img,
    .slider-item {
        margin-top: 0
    }

    .mobile-header {
        display: block
    }

    .mobile-top {
        background: #108bc3;
        padding: 8px 0
    }

    .mobile-top ul {
        text-align: right
    }

    .feature-title h4,
    .feature-title ul,
    .footer-about,
    .footer-about p,
    .footer-menu ul li a,
    .mobile-logo {
        text-align: center
    }

    .mobile-top ul li a {
        color: #fff;
        margin: 0 5px
    }

    .menu-bar i {
        font-size: 15px;
        height: 30px;
        width: 30px;
        line-height: 30px;
        background: #f5f5f5;
        border-radius: 50%
    }

    .mobile-logo,
    .page-title h5,
    .section-title-left h4 {
        font-size: 16px
    }

    .mobile-logo {
        display: flex;
        height: 70px;
        align-items: center;
        justify-content: space-between
    }

    .fixed-top .mobile-logo {
        margin-bottom: 0
    }

    .menu-logo img {
        width: 100%;
        height: auto;
        max-width: 120px
    }

    .main-search.mobile-search {
        margin: 18px 0;
        padding: 0 10px
    }

    .menu-bag .margin-shopping {
        position: relative;
        width: 30px
    }

    .menu-bag .margin-shopping span {
        position: absolute;
        display: inline-block;
        background-color: var(--primary-color);
        height: 20px;
        border-radius: 50px;
        padding: 1px 7px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        top: -10px;
        right: 0
    }

    .menu-bag .margin-shopping span i.fa-solid.fa-bag-shopping {
        font-size: 22px
    }

    .menu-bag {
        display: flex;
        justify-content: flex-end;
        margin-right: 7px
    }

    .menu-bag ul li a {
        margin-right: 15px;
        position: relative
    }

    .menu-bag li span {
        background: #e62e04;
        font-size: 10px;
        color: #fff;
        position: absolute;
        top: 0;
        left: 12px;
        width: 15px;
        height: 15px;
        border-radius: 50px;
        line-height: 15px
    }

    .slider-item {
        height: 150px
    }

    .footer-bottom {
        margin-bottom: 24px;
        padding-bottom: 10px
    }

    .footer-about {
        padding: 0 15px
    }

    .product-info .name {
        height: 70px
    }

    .product-info {
        padding: 15px 10px
    }

    .row>* {
        padding-right: calc(var(--bs-gutter-x) * .3);
        padding-left: calc(var(--bs-gutter-x) * .3)
    }

    .feature-title ul {
        overflow-y: scroll
    }

    .feature-title h4 {
        margin-bottom: 10px
    }

    .footer-top {
        padding-bottom: 32px
    }

    .category-sidebar {
        position: fixed;
        z-index: 9999;
        width: 100%;
        top: 0;
        background: #fff;
        left: 0;
        visibility: hidden;
        opacity: 0;
        transition: .35s
    }

    .close_filter {
        position: absolute;
        top: 0;
        right: 12px;
        border: 2px solid #ddd;
        font-size: 19px;
        padding: 0 10px;
        border-radius: 50px;
        background: #d3b520;
        color: #fff
    }

    .show_filter {
        display: inline-block;
        margin-right: 10px;
        margin-left: 8px
    }

    .product-section {
        margin-top: 0;
        margin-bottom: 13px
    }

    .tab-link {
        font-size: 15px
    }

    .nav-tabs {
        padding: 15px 0;
        flex-wrap: nowrap
    }

    .nav-tabs li {
        padding: 0 3px
    }

    .sort-form select {
        font-size: 14px
    }

    .auth-section,
    .checkout-shipping {
        margin-top: 5px
    }

    .payment-form .gap-3 {
        gap: 0 !important
    }

    .quick-product-img {
        width: 20%
    }

    .quick-product-content {
        width: 80%
    }

    .close-modal {
        left: 50%;
        top: -17px;
        transform: translateX(-50%)
    }

    .vcart-section {
        margin-top: 60px
    }

    .homepage.pagination {
        margin-top: 8px
    }

    .product-cart .name {
        font-size: 18px;
        line-height: 25px;
        font-weight: 500;
        margin-top: 5px;
    }

    .details_right {
        padding: 5px
    }

    .shippingtable.table>:not(caption)>*>* {
        padding: 0;
        text-align: center
    }

    .cart_details .card {
        padding: 8px 8px 20px;
        box-shadow: none
    }

    .cart_details .card-header {
        padding-top: 0
    }

    footer {
        padding-top: 50px
    }

    .optional_items .optional_inner {
        /* width: calc(100% - 52px); */
        /* max-width: 400px; */
        width: auto;
    }

    .indicator_thumb {
        display: none;
    }

    .optional_inner h4 {
        font-size: 16px;
        height: 39px;
        line-height: 19px;
    }

    .option_des {
        margin-top: 2px;
    }

    .optional_content .pricing {
        font-size: 16px;
    }

    .optional_content .pricing del {
        margin: 3px 3px;
        font-size: 11px;
    }

    .optional_items .optional_inner {
        height: 80px;
        padding: 4px;
        gap: 5px;
    }

    .owl-dots {
        position: absolute;
        bottom: 4px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 4px;
    }
    .owl-dots .owl-dot {
        height: 8px;
        width: 8px;
        border-radius: 50%;
        background: #ddd !important;
    }
    .owl-dots .owl-dot.active {
        background: var(--primary-color) !important;
    }

    .mobile_footer_nav{
        display: flex;
    }

    .footer-menu .title{
        font-size: 18px;
    }
    .d_app h2{
        font-size: 12px;
    }
    .footer-about p{
        font-size: 14px;
    }

    .category_layout3_slider.owl-carousel .owl-nav button svg {
        height: 20px;
        width: 20px;
    }

    .category_layout3_slider.owl-carousel .owl-nav button {
        padding: 8px 2px !important;
    }

  

    /* ================ customer-section start ======== */
    .customer-section ul{
        display: flex;
        overflow-x: auto;
        align-items: center;
        gap: 10px;
    }
    .customer-section ul li{
        width: 100%;
        white-space: nowrap;
    }
    /* ================ customer-section End ======== */

    .category_list.layout1 ul{
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }
    .category_list.layout1 ul li a {
        padding: 8px 0px;
        font-size: 14px;
    }

    .delivery_rules {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media only screen and (min-width:767px) and (max-width:991px) {
    .menu-product {
        display: none
    }
}