@media only screen and (max-width: 768px) {
    
    .hamburger {
      width: 40px;
      height: 40px;
      border: none;
      background: transparent;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
    }
    .hamburger span {
      display: block;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: 0.3s;
    }
    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

	.hamburger i {
		font-size: 30px;
    color: white;
	}

  .mobile-menu {
  position: absolute;
  left: 0;
  top: 11svh;
  width: 100%;
  background: var(--color-main-1);
  color: white;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  padding: 0;
  z-index: 1001;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 
      max-height 0.4s ease,
      opacity 0.3s ease,
      padding 0.3s ease,
      transform 0.3s ease;
  }
  

  .mobile-menu.open {
      max-height: 500px;
      opacity: 1;
      padding: 20px;
      transform: translateY(0);
  }   

    .mobile-menu ul { 
		list-style: none;
        text-align: center;
        text-transform: uppercase;
        font-weight: 900;
	}
    .mobile-menu li { padding: 15px 0; }
    .mobile-menu a {
      text-decoration: none;
      font-weight: 500;
    }

    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 1000;
    }
    .overlay.visible {
      opacity: 1;
      pointer-events: auto;
    }

    .main-navigation.col-6-5 {
        display: none;
    }

    .header-inner {
        padding: 10px;
        align-items: center;
    }

    .category-title {
        font-size: 20px;
        white-space: nowrap;
        margin: 30px 0 10px;
        padding: 10px 30px;
    }

    .category-desc {
        padding: 0 20px;
        margin: 0;
    }

    .footer-container {
        display: grid;
        padding: 20px 10px !important;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        justify-content: unset;
    }

    .footer-left {
        width: 100% !important;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-left-block {
        display: grid;
    }

    .footer-right {
        width: 60%;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .herb-block.herb-source .container {
        display: grid;
        gap: 10px;
    }

    .herb-block.herb-source .herb-info {
        padding: 0 20px 20px;
        order: 2;
    }

    .herb-block.herb-source,
    .herb-block.herb-source.herb-eecv {
      padding: 0;
    }

    .swiper-slide.product-item.swiper-slide-active a {
        display: flex;
        justify-content: center;
    }

    .bookshelf {
        bottom: 15px;
        padding: 0;
    }

    .partners-section .swiper-wrapper {
      align-items: center;
    }

    .partners-slider {
      margin-top: 0;
    }

    .partner-logo img {
      width: 100%;
    }

    .partners-section {
      padding: 0;
    }

    .partners-section .swiper-button-prev,
    .partners-section .swiper-button-next {
      display: none;
    }

    .news-grid {
      display: block;
    }

    .news-sub {
      display: flex;
    }

	.news-item {
    	flex: 1;
	}

  .container.product-archive-page {
    display: grid;
    padding: 0;
    padding-bottom: 30px;
    gap: 0;
  }

  .product-sidebar {
    width: 100%;
  }

  .product-sidebar .sidebar-title {
    font-size: 1.5em;
  }

  .product-category-list {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .product-archive-page .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-archive-page h1 {
    padding: 0 10px;
  }

  .product-archive-page .products-grid {
    padding-right: unset;
    padding: 0 10px;
  }

  .product-archive-page .magazine-title h3 {
    font-size: 1em;
  }

  .product-archive-page .magazine-title {
    top: 60%;
  }

  .magazine-viewport .swiper-button-next, .magazine-viewport .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 95%);
  }

  .product-grid.odd {
    padding: 3rem 1rem 3rem 2rem;
  }

  .product-grid.even {
    padding: 3rem 2rem 3rem 1rem;
  }

  .single-product-page .container {
    max-width: 100vw;
    padding: 0 10px;
  }

  .product-content {
    display: block;
  }

  .product-gallery {
    max-width: 100%;
  }

  .product_title {
    font-size: 40px;
    margin-top: 2rem;
  }

  .woocommerce-breadcrumb {
    display: block !important;
  }

  .woocommerce-breadcrumb a {
    white-space: nowrap !important;
  }

  .anvy-source-section .breadcrumb {
    padding-top: 0;
  }

  .anvy-source-section .news-readmore {
    margin-top: 10px;
  }

 .footer-source h2 {
    text-align: justify;
    text-transform: uppercase;
    font-size: 20px;
  }

.header-source h2 {
	font-size: 1.5em;
	text-transform: uppercase;
	margin-block-start: 0.83em;
    margin-block-end: 0.83em;
}

  .slides-source {
    display: grid;
  }

  .slides.background-source {
    padding: 1rem 1rem 0;
  }

  .anvy-source-section .slides {
    aspect-ratio: unset;
    width: 100%;
  }

  .slides-source:nth-child(4) .slides:first-child,
  .slides-source:nth-child(6) .slides:first-child {
    order: 2;
  }

  .news-page {
    margin: 20px auto;
    padding: 0 10px;
  }

  .news-page.container .breadcrumb {
    margin-bottom: 20px;
  }

  .news-top {
    display: grid;
  }

  .featured-right {
    flex-direction: unset;
  }

  .featured-right .side-item {
    flex: 1;
  }

  .news-page .news-item {
    display: block;
  }

  .news-page .news-thumb img {
    width: 100%;
  }

  .site-main.single-post-page {
    margin: 20px auto;
    padding: 0 10px;
  }

  .related-item {
    max-width: 100%;
  }

  .medherb-news-section {
    padding: 0 10px;
  }

  .medherb-news-section .herb-title {
    margin-bottom: 20px;
  }

  .medherb-news-section .news-grid {
    padding-top: 0;
  }

  .medherb-news-section .container {
    padding: 0;
    padding-bottom: 30px;
  }

  .quicksearch-toggle {
    top: 30px;
  }

  .search-page.container {
    margin: 0 auto;
    padding: 0 20px;
  }

  .pagination {
    margin-top: 0;
    padding: 30px 0;
  }

  .contact-page.container {
    margin: 30px auto;
    padding: 0 20px;
  }

  .contact-info {
    border-radius: 0;
    padding: 10px;
    padding-bottom: 50px;
  }

  .form-contact {
    padding: 5px 10px 20px;
    background-color: #edf0f3;
  }

  .home-category-block {
    padding: 0;
    margin-top: 0;
    padding-bottom: 20px;
  }

  .commit-book ul {
    white-space: nowrap;
    margin-left: 30px !important;
    padding: 10px 0 !important;
  }

  /* Home About Anvy */
  .anvy-intro-content h3,
  .anvy-intro-content h2,
  .anvy-source-content h2 {
    font-size: 25px;
    white-space: nowrap;
  }
  .anvy-intro-content {
    padding: 30px 10px;
  }
  .anvy-intro-section {
    background-size: auto 60vh;
    background-position: center calc(100% - 100px);
    background-origin: content-box;
  }
  .anvy-intro-section .news-readmore {
    bottom: 25px;
  }

  /* Machines */
  .machines-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }
  .machines-section.section-100vh {
    height: auto !important;
  }
  .herb-products-section .news-readmore {
    margin: 20px 0;
  }

  .anvy-intro-content p, 
  .anvy-source-text p {
    text-align: justify;
  }

  .machines-section .news-readmore {
    padding: 40px 0;
    margin-top: 0;
  }


/* ======== PRODUCT ARCHIVE ======== */
.products-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-filter-wrapper {
  padding: 20px 10px;
}

.page-template-product-archive .product-archive-page .woocommerce-breadcrumb {
  padding: 0 10px;
}

.home-news-section {
  padding: 30px 10px;
}

.page-content.page-static {
  padding: 20px 10px;
}

.search-icon-mobile {
  display: block !important;
}

.header-search-form {
  position: absolute;
  left: 0;
  top: 11svh;
  width: 100%;
  background: var(--color-main-1);
  color: white;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  padding: 0;
  z-index: 1001;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s 
              ease, opacity 0.3s 
              ease, padding 0.3s 
              ease, transform 0.3s 
              ease;
}

.header-search-form.active {
  display: block;
  max-height: 500px;
  opacity: 1;
  padding: 20px 10px;
  transform: translateY(0);
}

.header-search.col-3 {
  display: none;
}

.hamburger {order: 1;}
.site-logo.col-2 {order: 2;}
.header-search-wrapper {order: 3;}

.header-search-form .search-form {
  display: flex;
  gap: 10px;
}
.header-search-form label,
.header-search-form .search-field {
  width: 100%;
  border: solid 1px #087206;
  height: 30px;
  border-radius: 5px;
  font-size: 16px;
}
.header-search-form .search-submit {
  display: none;
  width: 20%;
  border-radius: 5px;
  border: solid 1px #087206;
  background: white;
  font-size: 20px;
}

.site-header {
  height: 11svh;
}
.section-100vh {
  height: 80svh !important;
}

.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  animation: slideDown 0.4s forwards;
}
@keyframes slideDown {
  0% {
      top: -100px;
      opacity: 0;
  }
  100% {
      top: 0;
      opacity: 1;
  }
}

.anvy-source-content {
  padding: 0;
}

.home-banner .slider-search-form {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 22%;
  width: 100%;
  padding: 0 30px;
}

.home-banner label {
  flex: 9;
}

.home-banner .search-submit {
  flex: 1;
}

.home-banner .search-form {
  width: 100%;
  max-width: 700px;
  display: flex;
}

.home-banner .search-form .search-field {
  width: 100%;
  padding: 5px 0;
  font-size: 20px;
  border: none;
  border-bottom: 1px dotted #333333;
  background: transparent;
  outline: none;
}

.home-banner .search-form .search-field::placeholder {
  color: #087206;
  font-weight: 500;
  font-style: italic;
  opacity: 0.7;
}

.home-banner .search-form .search-submit {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 5px;
  font-size: 25px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.home-banner .search-form .search-submit img {
  width: 20px;
  height: 20px;
}

.home-banner .search-form .search-field:focus {
  border-bottom-color: var(--color-main-1);
}

.product-content {
  padding: 10px;
  border-radius: 20px;
}

.site-logo img {
	max-width: unset;
	max-height: 8svh;
	width: auto;
}

#load-more {
  width: 50% !important;
}

.home-banner .fas.fa-search {
	color: var(--color-text);
}

.quick-link {
	display: none;
}

.post-content {
	padding: 10px;
}

.news-page h2 {
	font-size: 22px;
}

.recommended-products {
	padding: 0 10px 30px;
}

.recommended-products .row {
	display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 1fr;                 
    gap: 20px; 
}

.section-title {
	color: var(--color-main-2);
	text-transform: uppercase;
}

.recommended-products .news-readmore {
	text-align: center;
    padding-top: 20px;
}

.page-content.page-static .container {
	padding: 0;
}

.page-content.page-static .gd_breadcrumb {
	margin: 0;
}

.recommended-products .container {
	padding: 0;
}

}


@media only screen and (min-width: 769px) {
  .hamburger { display: none; }
  .mobile-menu { display: none; }
  .overlay { display: none; }
}