@media only screen and (max-width: 991px) {
  main {
    padding-top: 12rem;
  }
  .desktop-header{
    display: none;
}
.mobile-header{
    display: block;
    padding: .8rem 2rem;
}
  ul#menu-top-menu li a {
    padding: 10px 2px;
  }
  ul#menu-main-menu li a {
    padding: 10px 9px;
  }
  .section-title {
    font-size: 2rem !important;
  }
  h3.post-cart-title a {
    font-size: 1.2rem;
  }
  a.post-cart-thumbnail img {
    height: 150px;
  }
  p.post-cart-excerpt {
    font-size: 0.8rem;
    line-height: 1.8rem;
  }
  .footer-social {
    margin-top: 1rem;
  }
  .footer-contact {
    margin-bottom: 0.8rem;
  }
  ul#menu-main-menu li a {
    padding: 10px 6px;
  }
  .single-post-content {
    border-bottom: 1px dashed #919191;
  }
  h3.sidebar-section-title {
    font-size: 1.5rem !important;
    margin-bottom: 1.2rem;
    margin-top: 1rem;
  }
  .contact .row {
    display: flex;
    flex-direction: column-reverse;
  }
  .contact-details {
    margin-bottom: 4rem;
  }
  .text-image img {
    margin-bottom: 2rem;
  }
  .other-details-side {
    display: flex;
    justify-content: space-between;
    grid-gap: 24px;
  }

  .rtl .sidebar {
    padding-right: 0rem;
  }
  h1.product-title {
    text-align: center;
  }
  .product-category {
    margin-bottom: 1rem;
    text-align: center;
  }
  .row.other-details {
    margin-bottom: 1rem;
  }
  .product-image {
    margin: 2rem 0;
  }

  h2.product-details-title {
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed #666666;
    padding-bottom: 1rem;
  }
  .row.product-faq {
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
  }
  h2.product-recipes-title {
    margin-top: 3rem;
  }
  .comment-list,
  div#respond {
    width: 100%;
    padding: 0;
  }
  .comments-area {
    flex-direction: column;
  }
  .wp_review_comments_template #comments,
  .wp_review_comments_template #commentsAdd {
    width: 100% !important;
  }
  p.wp-review-comment-form-email,
  .wp-review-comment-form-author {
    width: 100%;
    margin-bottom: 2rem !important;
  }
  .comment-form-cookies-consent label {
    font-size: 0.8rem;
    line-height: 1.5rem;
  }
  .suggested-use-item {
    width: 107px;
  }
  img.product-icon {
    width: 12%;
    margin: 1rem 0.5rem;
  }

  .mobile-sub-menu-page .mega-sub-menu {
    background: black !important;
    left: 0;
    right: 0px;
    width: 100% !important;
  }
  /* .mega-menu-item {
    border: none !important;
  } */
  .mega-menu-columns-3-of-12 {
    border: none !important;
    width: 100% !important;
    flex: 0 0 50%; /* هر آیتم کل عرض رو بگیره */
    max-width: 100%;
  }
  ul.mega-sub-menu {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scroll-snap-type: x mandatory !important;
    gap: 20px !important;
    padding-bottom: 10px !important;
  }

  .mega-menu-horizontal > li {
    border-bottom: 1px solid #d7d7d7 !important;
    padding: 0.5rem !important;
  }
  .mega-sub-menu li {
    border-bottom: none !important;
  }
  a.menu-image-title-after {
    display: flex !important;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }
  img.menu-image.menu-image-title-after {
    width: 60%;
}
 a.mega-menu-link:before {
    display: none !important;
}
.header-search .searchandfilter ul {
  background: #2E5E32;
  border-radius: 5px;

}
.archive > .container > .row{
    flex-direction: column-reverse;
}
.recipe-side{
        position:relative;
    }
     .recipe-oil {
    width:100%;
}
}

