@media(max-width:1700px){
  .footer:after,.footer::before{
    width: 150px;
    height: 110px;
  }
  .hero-content {
    padding-left: 56px;
}
}
@media screen and (max-width:1400px) {
  .sell-section, .appdownload-section{
      padding: 0 10px;
    }
    .footer:after,.footer::before{
      width: 125px;
      height: 100px;
    }
    .hero-content{
      padding-left: 25px;
    }
}
@media screen and (max-width:1200px) {
  h1, .heading h2 {
      font-size: 50px;
      margin-bottom: 25px;
    }
    .hero-content {
      padding-left: 10px;
    }
    .swiper_main .swiper-slide img{
      max-height: 462px;
    }
    .btnsblock button:not(:first-child),.btnsblock button:first-child{
      padding: 15px 15px;
    }
    .mega_menu_ul{
      width: 170px;
    }
    .profileimg{
      width: 40px;
      height: 40px;
      flex-shrink: 0;
    }

}
@media screen and (max-width:991px) {
  .mega-header {
      padding: 10px 0;
    }
    .navbar-nav{
      align-items: start !important;
      padding-left: 10px;
      gap: 10px;
    }
    .collapse:not(.show) {
      display: none;
  }
  section {
      padding: 40px 0;
    }
  h1, .heading h2 {
      font-size: 40px;
      margin-bottom: 20px;
    }
    h2 {
      font-size: 30px;
      margin-bottom: 20px;
    }
  .navbar-brand img{
      max-width: 200px;
  }
  /* .search-box input {
      max-width: 300px;
    } */
    .header .trans-btn {
      gap: 5px;
      /* padding: 0; */
    }
    .hero-search input {
      width: 500px;
      height: 57px;
      padding-left: 18px;
    }
    .trans-btn {
      min-height: 28px;
    }
    .hero-search button {
      padding: 13px 24px;
    }
    .hero-left {
      width: 370px;
    }
    .hero-right {
      width: calc(100% - 370px);
    }
    .appdownload-section .container-fluid {
      border-radius: 30px;
      padding: 8px 0px 8px 30px;
    }
    .sell-section .container-fluid {
      border-radius: 30px;
      padding: 20px;
    }
    .works-box img {
      width: 30%;
    }
    .header .container-fluid{
      padding-left: 10px;
    }
    .swiper_main .swiper-slide img{
      max-height: 334px;
    }
    .header-menu{
      margin-left: 0 !important;
      margin-top: 15px;
    }
    .container{
      max-width: 100%;
    }
    .navbar-brand img {
      max-width: 170px;
  }
  .mega_menu_ul {
    width: 170px;
    left: 50%;
}

}
@media screen and (max-width:900px) {
  .mega-header .navbar-nav{
      width: 100%;
      justify-content: space-between;
  }
  /* .mega-header .container-fluid{
      padding: 0;
  } */
  .mega-header .nav-link {
      padding: 0 2px !important;  
      gap: 1px;
  }
  .mega-header .dropdown-toggle::after{
      margin-left: 0;
  }
  .bg img {
    border-radius: 20px;
    object-fit: cover;
}

}
@media screen and (max-width:767px) {
  h1, .heading h2 {
      font-size: 35px;
      margin-bottom: 7px;
    }
    .sell-section .row.align-items-center {
      padding: 10px;
  }
  
  .footer{
    margin-top: 25px;
  }
  
    .navbar-brand{
      margin: auto !important;
      margin-left: 0 !important;
    }
    .navbar>.container-fluid, .header-menu.ms-auto.d-flex.align-items-center{
      margin-right: 0 !important;
    }
    .footercontent p{
      max-width: 100%;
    }
    .appdwndbtn {
      justify-content: left;
    }
    h2 {
      font-size: 25px;
      margin-bottom: 15px;
    }
    h6 {
      font-size: 14px;
    }
  .mega-header .container-fluid {
      padding: 0 10px 0 0;
    }
    .hero-left, .hero-right {
      width: 100%;
    }
    .hero-content {
        flex-wrap: wrap;
      padding: 10px;
    }
    .hero-search input {
      width: 100%;
      height: 57px;
    }
    .hero-search button {
      right: 5px;
    }
    .categries-boxs {
      gap: 16px;
    }
    .categries-box {
      width: 156px;
      height: 140px;
      padding: 10px 0 0 10px;
    }
    .sell-section .container-fluid,  .appdownload-section .container-fluid {
      border-radius: 20px;
      padding: 10px;
    }
    .sell-section .orange-btn {
      margin-top: 0;
    }
    .appdownload-section h2 {
      margin-bottom: 6px;
    }
    .mega-header .navbar-nav {
      gap: 8px;
      padding: 12px;
      align-items: start !important;
    }
    .mega-header .nav-item{
      width: 100%;
    }
    .mega-header .dropdown-menu li {
      border-right: 0;
      width: 100%;
    }
    .mega-header .dropdown-submenu:hover > .dropdown-menu {
      background: #f7f7f7;
    }
    .mega-header .navbar-nav .dropdown-menu {
      margin-top: 6px;
    }
    .socialicon {
      justify-content: center !important;
    }
    .copy_right {
      text-align: center;
    }
    .footer:after,.footer::before{
      display: none;
    }
    .footer{
      padding-top: 30px;
    }
    .mb30 {
      margin: 14px 0;
    }
    .like_icon a{
      width: 35.833px;
      height: 35.833px;
    }
    .like_icon a i,.thumb_icon a i{
      font-size: 16px;
    }
    .detailtable table tbody tr td,.detailtable table tbody tr td:last-child{
      font-weight: 500;
    }
    .similer_productbox .row.gy-5 .col-lg-8{
      margin-top: 0;
    }
    .header-menu {
      flex-wrap: wrap;
      gap: 15px 0;
    }
    .header-menu div{
      max-width: 100%;
    }
    /* .header-menu div:first-child{
      width: 100%;
      max-width: 100%;
    } */
    .header-menu{
      margin-left: 0 !important;
    }
    .header-menu div:last-child{
     order: 2;
    }
    .create_ad button{
      margin-top: 15px;
    }
    .per-cards .category-card{
      max-width:calc(50% - 10px);
    }
    .notificatin .dropdown-menu{
      min-width: 300px;
    }
    .navbar-brand img{
      max-width: 100px;
    }
    .create_ad a{
      width: max-content;
      padding: 10px 9px 10px 9px;
      font-size: 12px;
    }
    .create_ad a img{
      width: 40px;
    }
    .notificatin a svg {
      width: 20px;
      height: 20px;
  }
  .notificatin> a{
    width: 35px;
    height: 35px;
  }
  .header .trans-btn{
    padding-right: 0 !important;
    font-size: 12px;
    padding-left: 4px !important;
  }
  #imgpreview{
    width: 30px !important;
    height: 30px !important;
  }
  .header-menu{
    margin-top: 0;
  }
  input.check-toggle-round-flat + label{
    width: 60px;
    height: 35px;
  }
  input.check-toggle-round-flat:checked + label:after{
    margin-left: 26px;
  }
  input.check-toggle-round-flat + label:after{
    width: 26px;
  }
  .switch > span{
    top: 9px;
    font-size: 10px;
  }
  .switch > span.on {
    left: 8px;
  } 
  .notificatin> a{
    margin-right: 4px;
  }
  .switch > span{
    top: 8px;
  }
}
@media screen and (max-width:575px) {
  h1, .heading h2 {
      font-size: 30px;
      margin-bottom: 2px;
    }
    .notificatin .dropdown-menu{
      min-width: 250px;
    }
    .categries-boxs{
      gap: 14px;
    }
    .create_ad a img {
      width: 20px;
    }
    .footercontent,.footer-logo {
      text-align: left !important;
    }
    
    .socialicon li a {
      width: 35px;
      height: 35px;
      font-size: 15px;
  }
    h2 {
      font-size: 22px;
      margin-bottom: 15px;
    }
    p {
      font-size: 14px;
      margin-bottom: 10px;
    }
    .hero-search input {
      width: 100%;
      height: 50px;
    }
  /* input.check-toggle-round-flat + label {
      padding: 2px;
      width: 85px;
      height: 40px;
    } */
    /* input.check-toggle-round-flat:checked + label::after {
      margin-left: 38px;
    } */
    .switch > span.on {
      left: 8px;
    }
    .switch > span {
      top: 10px;
    }
    /* input.check-toggle-round-flat + label::after {
      width: 38px;
    } */
    .search-box input {
      max-width: 300px;
      min-width: 275px;
      height: 44px;
      padding-right: 10px;
    }
    /* .header .trans-btn{
      padding: 7px 15px !important;
    } */
    .hero-search button {
      padding: 10px;
    }
    .hero-search button span{
      display: none;
    }
    .store-buttons img{
      width: 150px;
      height: 100%;
    }
    .store-buttons{
      flex-direction: row-reverse;
      gap: 10px;
    }
    .store-buttons .img-fluid.me-4 {
      margin-right: 0 !important;
    }
    .product_Card{
      width: calc(50% - 12px);
    }
    .similerProduct.d-flex.justify-content-between {
      flex-wrap: wrap;
      gap: 24px;
  }
  .comman_box{
    padding: 16px;
  }
  .review_box{
    padding: 15px;
  }
  .swiper_main .swiper-slide img{
    max-height: 246px;
  }
  .create_ad a{
    margin-right: 4px;
  }
  .header-menu div:last-child {
    margin-left: 0 !important;
  }
}
@media (max-width:500px){
.transaction_card .d-flex.align-items-center.justify-content-between{
  flex-direction: column;
  align-items: start !important;
  justify-content: start !important;
  gap: 15px;
}
.modal-content{
  padding: 60px 10px;
}
.facebook-login::before, .google-login::before{
  left: 40px;
}
.facebook-login, .google-login{
  font-size: 16px;
}
.notificatin> a{
  margin-right: 2px;
  margin-left: 2px;
}
}

@media (min-width: 768px)
{
  .category-card {
    max-width: calc(33% - 10px);
    height: 100%;
    /* min-height: 150px; */
}
}