/* banner responsive  */
/* mobile nav  */
.mobile_nav_wrapper{
    background-color: rgba(57, 57, 57, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 99;
    backdrop-filter: blur(10px);
    transition: 0.7s;
}
.mobile_nav{
    background-color: #fff;
    border-right: 1px solid lightgray;
    height: 100%;
    width: 350px;
    position: relative;
    padding: 20px;
}
.mobile_nav nav ul{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.mobile_nav nav ul li a{
    text-decoration: none;
    font-weight: 500;
    color: rgb(57, 57, 57);
}
.hide_position_element{
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 980px) {
    .hide_on_mobile{
        display: none !important;
    }
}
@media (max-width: 560px) {
    .responsive_px_70{
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .logo{
        width: 180px;
    }
    .banner_wrapper .logo{
        width: 130px;
    }
     .hero_content_overlay{
        padding:50px 30px!important;
     }
     .hero_slider_content{
         height: 60vh !important;
     }
    .hero h1{
        font-size: 26px;
    }

    .btn{
        font-size: 14px;
        padding:8px;
    }
    
    .discount_popup_modal .gap-8{
        gap: 10px !important;
    }
    .discount_popup_modal h2{
        font-size: 30px !important;
    }
    .discount_popup_modal img{
        height: 300px;
    }
}


@media (max-width:780px) {
    .title{
        font-size: 1.4rem;
    }
    .product_col .text-lg{
        font-size: 1rem;
    }
    .product_col .btn{
        padding:8px;
        font-size: 14px;
    }

    /*  */
    .offers .grid{
        display: flex;
    }
    .offer_col{
        padding:50px 20px;
        width: 100% !important;
    }
    .offers .product_col{
        display: none;
    }
    
}

@media (min-width: 768px) {
    .brand_row .brand_col {
        /* 3 columns */
        flex-basis: calc(33.333% - 0.666rem);
        width: calc(33.333% - 0.666rem);
    }
}

@media (min-width: 1024px) {
    .brand_row .brand_col {
        /* 6 columns */
        flex-basis: calc(16.666% - 0.833rem);
        width: calc(16.666% - 0.833rem);
    }
}

@media (max-width:1100px) {
    .product_view_row {
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .product_view_modal{
        padding: 20px;
    }
    .product_view_row {
        gap: 25px !important;
    }

    .product_view_details {
        padding-left: 0 !important;
    }

    #mainImage{
        height: 300px;
    }
}
@media (max-width: 480px) {

  #cart-modal {

    width: 100% !important; 
    max-width: 100%;
  }

  
  .cart_row {
  max-height: calc(60vh - 50px)!important; /* Adjusting for header/footer height */
  overflow-y: auto !important;
  }

}

/* responsive for shop page  */
.show_on_mobile_flex{
    display: none !important;
}
.show_on_mobile_block{
    display: none !important;
}
@media (max-width: 560px) {
    .product_filtering_wrapper{
        position: fixed;
        top: 0;
        left: -700px;
        max-width: 400px;
        background-color: #fff;
        z-index: 100;
        padding: 20px;
        transition: 0.7s;
        overflow-y: scroll;
        height: 100vh;
    }
    .show_on_mobile_flex{
        display: flex !important;
    }
    .show_on_mobile_block{
        display: block !important;
    }
    .product_sorted_header{
        padding:20px 30px !important;
    }
    .product_sorted_header h2{
        font-size: 25px !important;
        width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .wishlist{
        width: 100vw !important;
        overflow-y: auto;
    }
    .wishlist h2{
        font-size: 25px !important;
    }
    .wishlist-table{
        max-width: max-content;
    }

    .wishlist-table th{
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .wishlist-table td{
        font-size: 0.7rem;
        font-weight: 500;
    }
    .wishlist-table .btn{
        padding:6px 10px !important;
        min-width: 100px;
    }
}


/* dashboard media query  */
.display_dashboard_sidebar,.dashbhoard_sidebar_header{
    display: none !important;
}
@media (max-width:980px) {
    .dashboard_sidebar{
        position: fixed;
        top: 0;
        left: -1400px;
        width: 100% !important;
        background-color: rgba(57, 57, 57, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
        z-index: 120;
        transition: 0.7s;
    }
    .dashboard_sidebar_cover{
        background-color: #fff;
        /* padding: 20px; */
        max-width: 400px;
        height: 100%;
    }
    .dashboard_nav{
        margin-top: 50px !important;
    }
    .right_sidebar{
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: unset;
    }
    .display_dashboard_sidebar,.dashbhoard_sidebar_header{
        display: flex !important;
    }
}