/* HOME CATEGORY */
  .home-category-block {
    padding: 50px 0;
    margin-top: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
  }

  .category-title {
    font-weight: 700;
    display: inline-block;
    font-size: 50px;
    color: white;
    text-transform: uppercase;
    margin: 0 0 2rem;
    padding: 10px 70px;
    border-top-left-radius: 90px;
    border-bottom-right-radius: 90px;
    background: linear-gradient(45deg, #8bc53f, #4a672f);
  }
  
  .category-desc {
    max-width: 1000px;
    margin: 10px auto 30px;
    color: var(--color-text);
    text-align: justify;
    font-size: var(--font-size-title);
    font-weight: 500;
  }
  
  .product-swiper {
    padding: 30px;
    max-width: 1200px;
    overflow: hidden;
  }
  
  .product-item {
    transform: rotateY(-3deg);
    transition: transform 0.3s;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
    background: url(/wp-content/themes/medherb/assets/images/arrow-icon.webp) center/cover no-repeat;
    position: absolute;
  }
  
  .swiper-button-next {
    transform: rotate(180deg);
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    content: '';
  }

  .bookshelf {
    position: absolute;
    bottom: 0;
    padding: 10px;
  	left: 50%;
    transform: translateX(-50%);
    width: 100%;
  	max-width: 1280px;
  }

  .bookshelf-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto 20px;
  }


  /* PRODUCT HOME */
  :root {
    --book-width: 250px;
    --book-height: 349px;
  }
  .book {
    position: relative;
  }
  .font {
      position: absolute;
      width: var(--book-width);
      height: var(--book-height);
      background: url(../images/font.webp) center/cover no-repeat;
      transform: skewY(-5deg);
      border-radius: 0 5px 5px 0;
      z-index: 4;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .font h3 {
      font-weight: bold;
      font-size: 40px;
      width: 50%;
      color: #c5bb98;
      text-transform: uppercase;
  }
  .back-cover {
      width: var(--book-width);
      height: var(--book-height);
      background: #38160f;
      transform: skewY(-5deg) translate(-15px, -15px);
      border-radius: 0 5px 5px 0;
      z-index: 1;
  }
  .spine {
      position: absolute;
      width: 15px;
      height: var(--book-height);
      background: url(../images/spine.webp) center/cover no-repeat;
      z-index: 3;
      top: 5px;
      left: -15px;
      transform: skewY(45deg);
  }
  .top-page {
      position: absolute;
      width: var(--book-width);
      height: 15px;
      background: url(../images/page.webp) center/cover no-repeat;
      z-index: 2;
      top: -10px;
      left: -12px;
      transform: skew(45deg, -5deg);
      border-radius: 20px 0 0 0;
  }

  /* SINGLE PRODUCT */
  .decorative-images {
    max-width: 400px;
    height: auto;
    position: absolute;
    right: -60px;
    opacity: 0.3;
    z-index: -1;
    top: 10rem;
  }
  .single-product-page {
    position: relative;
    display: grid;
    justify-content: center;
    margin: 0 auto;
    color: var(--color-text);
    line-height: 1.6;
  }
  .single-product-page .container {
    max-width: 1100px;
    padding-top: 2rem;
  }
  
  .product-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
  }
  
  .product-gallery {
    flex: 1;
    max-width: 45%;
  }

  .product-gallery .main-slider {
	aspect-ratio: 8 / 5;
  border: dotted 1px var(--color-main-2);
  }
  
  .product-summary {
    flex: 1;
  }

.btn-call {
  display: inline-block;
  background-color: var(--color-main-1); 
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-call:hover {
  background-color: var(--color-main-2);
  transform: scale(1.05);
}
  
  .product_title {
    font-size: 60px;
    color: var(--color-main-1);
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
  }

  .product-sliced-name b,
  .product-usedparts-name b,
  .product-standard-name b,
  .product-specifications-name b {
    color: var(--color-main-1);
  }

  .short-description::after {
    content: "";
    display: block;
    width: 20%;
    height: 2px;
    background: var(--color-text);
  }
  
  .product-description {
    border-radius: 50px;
    background-color: white;
    padding: 20px;
    padding-top: 30px;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-align: justify;
  }
  
  .product-description h2 {
    font-size: 20px;
    color: var(--color-main-2);
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .product-description h2::after {
    content: "";
    display: block;
    width: 20%;
    height: 2px;
    background: var(--color-text);
  }
  
  /* SWIPER */
  .swiper {
    width: 100%;
    height: auto;
  }
  
  .main-slider {
    border-radius: 15px;
    overflow: hidden;
    background: white;
  }
  
  .main-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .thumb-slider {
    margin-top: 15px;
    padding-right: 5px;
  }
  
  .thumb-slider img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    background: white;
  }
  
  .thumb-slider .swiper-slide-thumb-active img {
    opacity: 1;
    border: 1px solid var(--color-main-2);
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #7a5624;
  }
  

  /* BREADCRUMB */
  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: 18px;
    color: var(--color-main-1);
    font-weight: bold;
    display: flex;
    gap: 1rem;
  }
  .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
    color: var(--color-text);
    font-weight: 400;
    text-decoration: none;
  }

  .bc-separator {
    color: var(--color-text);
  }

  /* NEWS IN PRODUCTS */
  .home-news-section {
    padding: 30px 20px;
  }
  
  .home-news-title {
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-main-2);
    margin: 0;
    padding-bottom: 10px;
  }
  
  .home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .news-item {
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
  }
  
  .news-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
  }
  
  .news-title a {
    text-decoration: none;
    color: inherit;
  }
  
  .news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
  }
  
  .news-readmore {
    text-align: left;
    padding: 10px 15px 15px;
  }
  
  .news-readmore a {
    font-weight: 600;
    color: white;
    text-decoration: none;
    position: relative;
    background: linear-gradient(90deg, #8bc53f, #4a672f);
    padding: 7px 14px;
    border-radius: 5px;
    white-space: nowrap;
  }
  
  .news-readmore a::after {
    content: "→";
    margin-left: 6px;
    transition: margin 0.3s;
  }
  
  .news-readmore a:hover::after {
    margin-left: 10px;
  }  

  .product-template-default .product-scientific-name {
    margin: 0 0 10px;
  }



  /* HERB & EECV */

  .herb-eecv-section {
  	background-size: cover;
    background-repeat: no-repeat;
    max-width: 1260px;
    margin: 0 auto;
    justify-items: center;
    margin-top: 50px;
    border-radius: 50px;
  }

   .herb-block.herb-source {
    padding: 50px 0;
    position: relative;
    text-align: center;
  }
  
  .herb-block.herb-source .container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
    position: relative;
    z-index: 1;
  }
  
  .herb-block.herb-source .herb-info {
    flex: 1;
    max-width: 500px;
    padding-top: 50px;
  }
  
  .herb-block.herb-source .section-desc {
    font-size: var(--font-size-title);
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 30px;
    text-align: justify;
  }
  
  .herb-block.herb-source .herb-source-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 40px;
  }
  
  .herb-block.herb-source .herb-source-img img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .herb-info .news-readmore {
    text-align: center;
  }

  .news-readmore a {
    font-weight: 400;
  }

  .news-readmore a:hover {
    font-weight: 700;
  }

  .herb-bg {
    width: 100%;
    opacity: 0.1;
    position: absolute;
    z-index: 0;
  }

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

  .herb-block.herb-source.herb-eecv .container {
    flex-direction: row-reverse;
  }

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


  /* ĐỐI TÁC - KHÁCH HÀNG */
  .partners-section {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
  }
  
  .partners-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .partners-main-img img {
    width: 100%;
    object-fit: cover;
  }
  
  .partners-slider {
    margin-top: 30px;
    overflow: hidden;
  	padding: 20px 0;
  }
  
  .partner-logo img {
    width: auto;
    max-height: 120px;
    transition: all 0.3s ease;
  }
  
  .partner-banner {
    position: relative;
  }


  /* ==== NEWS ==== */
  .medherb-news-section {
    position: relative;
  }

  .medherb-news-section .container {
    display: grid;
    justify-content: center;
    justify-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 20px;
  }
  
  .news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
    padding-top: 20px;
    margin-bottom: 20px;
  }
  
  .news-sub {
    display: grid;
    gap: 20px;
  }

  .news-main {
    overflow: hidden;
  }
  
  .news-main .news-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
  }
  
  .news-main .news-headline {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-main-2);
    margin-bottom: 10px;
  }
  
  .news-main .news-excerpt {
    font-size: var(--font-size-title);
    color: var(--color-text);
    text-align: justify;
  }

  .excerpt {
    color: #333;
  }
  
  .news-item {
    position: relative;
    overflow: hidden;
  }
  
  .news-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .news-item-title {
    position: absolute;
    width: 100%;
    bottom: 0;
    color: #fff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    font-size: 14px;
  }

  .news-cat a {
    color: var(--color-main-2);
  }

  .news-item .news-readmore {
    padding: 15px 0 0;
    margin-bottom: 15px;
  }
  
  .btn-more {
    color: #5a3c15;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #5a3c15;
    transition: 0.3s;
  }
  
  .btn-more:hover {
    color: #b68a4c;
    border-color: #b68a4c;
  }
  
  .btn-more .arrow {
    margin-left: 4px;
    transition: transform 0.3s ease;
  }
  
  .btn-more:hover .arrow {
    transform: translateX(5px);
  }  

  .home-category-block .news-readmore {
    text-align: center;
  }


  /* PAGE SOURCE */
  .page-template-page-contact,
  .page-template-category-news,
  .archive.category,
  .search.search-results {
    overflow-x: hidden;
  }

  .anvy-source-section {
    position: relative;
    display: grid;
    justify-content: center;
    margin: 0 auto;
    line-height: 1.6;
    padding: 30px 20px;
    max-width: 1440px;
  }

  .page-template-page-source .home-news-section,
  .page-template-page-eecv .home-news-section {
    max-width: 1280px;
    margin: 0 auto;
  }

  .slides-source {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
  }

  .slides {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    aspect-ratio: 591/407;
    text-align: justify;
    border: solid #5a463340 5px;
  }

  .slides.background-source {
    background: url(/wp-content/themes/medherb/assets/images/page-source.webp) center / cover no-repeat;
    padding: 4rem 4rem 0;
  }
  
  .title-source h2 {
    margin: 0;
    font-size: 20px;
    color: var(--color-main-1);
  }

  .slides-source p {
    margin: 10px 0;
  }

  .header-source .title-source,
  .footer-source .title-source {
    text-align: center;
  }

  .header-source h2,
  .footer-source h2 {
    font-size: 30px;
  }

  .header-source p,
  .footer-source p {
    text-align: justify;
    color: #333;
  }

  .title-source i {
    font-size: 20px;
    font-weight: 600;
  }

  .header-source {
    padding-bottom: 2rem;
  }

  .footer-source {
    padding-top: 2rem;
  }

  .woocommerce-breadcrumb {
    font-size: 18px;
    color: var(--color-main-2);
    font-weight: bold;
    display: flex;
    gap: 1rem;
  }

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

  .woocommerce-breadcrumb a {
    color: var(--color-text);
    font-weight: 400;
    text-decoration: none;
  }

  .footer-source ul {
    text-align: start;
  }

  /* ==== PAGE CONTACT ==== */
  .contact-page.container {
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 30px 20px;
  }

.contact-page.container .breadcrumb {
	margin-bottom: 30px;
}

  .contact-info {
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px;
    background: white;
    padding: 20px;
    border-radius: 20px;
  }

  .contact-details,
  .contact-map {
    flex: 1; 
    min-width: 300px;
    color: var(--color-main-1);
  }

  .contact-details ul {
    line-height: 1.8;
    color: #333;
  }
  
  .contact-details ul strong {
    color: var(--color-main-2);
  }

  .map-container {
    width:100%; 
    height: 85%; 
    border-radius:10px; 
    overflow:hidden;
  }


  /* ==== NEWS CATEGORIES ==== */
  .news-page {
    margin: 0 auto;
    max-width: 1440px;
    padding: 30px 20px;
  }
  .news-page.container .breadcrumb {
	margin-bottom: 30px;
}
  .news-top {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
  }
  .featured-left {
    flex: 2;
  }
  .featured-left img {
    width: 100%;
    border-radius: 5px;
  }
  .featured-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .featured-right img {
    width: 100%;
    border-radius: 5px;
  }
  .side-item h3 {
    font-size: 16px;
    margin-top: 5px;
  }
  
  .news-page .news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
  	border-top: 1px dotted var(--color-main-1);
    padding-top: 25px;
  }
  .news-page .news-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
  }
  .news-page .news-thumb img {
    width: 250px;
    border-radius: 5px;
  }
  .news-content h3 {
    font-size: 18px;
    margin: 0 0 5px;
  }
  .news-content .date {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
  }
  .pagination {
    text-align: center;
    padding: 50px 0;
  }
  .pagination a, .pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    margin: 0 3px;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
  }
  .pagination .current {
    background: #018442;
    color: #fff;
    border-color: #018442;
    font-weight: bold;
  }
  
  .news-page h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-main-2);
    margin: 0;
  }

  .featured-left h2 {
    font-size: 24px;
  }


  /* ==== SINGLE ==== */
  .site-main.single-post-page {
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 30px 20px;
  }

  .post-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-main-1);
  }
  .post-content {
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 20px;
  }

  .post-content .wp-block-image {
    width: 100%;
    display: grid;
    justify-content: center;
    text-align: center;
  }

  .post-content img {
    max-width: 800px;
  }

  .related-posts h3 {
    font-size: 22px;
    margin-bottom: 20px;
    border-left: 4px solid #006400;
    padding-left: 10px;
  }
  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .related-item img {
    width: 100%;
    border-radius: 10px;
  }

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

  .related-title {
    font-size: 16px;
    margin-top: 10px;
  }
  .related-title a {
    color: #222;
    text-decoration: none;
  }
  .related-title a:hover {
    color: #006400;
  }  

  /* ==== SEARCH ==== */
  .search-page.container {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 50vh;
    padding: 0 20px;
  }
  
  .search-page.container .page-title {
    color: var(--color-main-2);
  }

  .search-item-excerpt {
    color: #333;
  }

  .search-item {
    border-bottom: 1px dotted var(--color-main-2);
    padding: 15px 0;
  }
  
  .search-item-title a {
    color: var(--color-main-1);
    text-decoration: none;
  }

.product-search-grid,
  .news-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px;
    justify-content: center;
  }

  .product-search-grid .product-item {
    text-align: center;
  }

  .product-search-grid .short-description::after {
    width: 100%;
  }

  .info-product-book {
    color: var(--color-main-2);
    padding: 5px;
    border-radius: 15px;
  }

  .info-product-book h3 {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
  }
  .info-product-book .product-scientific-name {
    font-size: 15px;
    color: black;
    margin: 0 0 10px;
  }
  .short-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    text-align: justify;
  }

  .search-results h2 {
    font-size: 2em;
    color: var(--color-main-1);
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid var(--color-main-2);
    padding-bottom: 4px;
  }


  /* ==== MENU SUB ==== */
  .quicksearch-toggle {
    position: absolute;
    top: 15px;
    right: -150px;
    padding: 10px 14px;
    border-radius: 0px 20px 20px 0px;
    cursor: pointer;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
  	font-weight: 400;
  	font-style: italic;
  	font-size: 16px;
    color: var(--color-main-1);
    border: solid 1px var(--color-main-1);
}
.quicksearch-toggle:hover {
    background: white;
}

.quicksearch-toggle.active-x {
	right: -40px;
	background: white;
  border-radius: 10px;
  border: none;
}
.quicksearch-toggle.active-x:hover {
	background: transparent;
}

.quicksearch-menu {
    position: relative;
    top: 0;
    left: -340px; 
    width: 320px;
    height: 100vh;
    background: white;
    padding: 20px;
    transition: left 0.4s ease;
    z-index: 9998;
}

.quicksearch-menu.active {
    left: 0;
}

#quicksearch-input {
    width: 80%;
    padding: 8px 10px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid #113b3975;
    background: #ffffff54;
    color: var(--color-main-2);
}

#quicksearch-list {
  overflow-y: auto;
  height: 80vh;
  list-style: none;
  padding: 0;
  margin: 0;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  &::-webkit-scrollbar {
    display: none;
} }
#quicksearch-list li {
    width: 80%;
    padding: 6px 0;
    border-bottom: 1px dashed var(--color-main-1);
}
#quicksearch-list li a {
    color: var(--color-main-1);
    text-decoration: none;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 5px;
}
#quicksearch-list li a:hover {
    color: white;
    background: var(--color-main-1);
    border-radius: 5px;
}

/* FORM CONTACT */
.form-contact {
  display: grid;
	gap: 5px;
  max-width: 600px;
  padding: 5px 35px 25px;
  margin: 0 auto;
  background-color: #ffffff85;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.form-contact .form-contact-heading,
.form-contact {
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
}

.form-contact .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 5px;
  box-sizing: border-box;
}

.form-contact .form-control:focus {
  z-index: 2;
}

.form-contact input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color 
ease-in-out .15s, box-shadow 
ease-in-out .15s;
    transition: border-color 
ease-in-out .15s, box-shadow 
    ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.btn.btn-lg.btn-primary.btn-block {
display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.contact-info .wrapper {
	margin-top: 20px;
}


/* PARTNER BONUS */
.partners-slider .swiper-slide {
  transition: all 0.5s ease;
  filter: grayscale(100%);
  transform: scale(0.9);
  opacity: 0.7;
}

.partners-slider .swiper-slide.swiper-slide-active-center {
  filter: grayscale(0);
  transform: scale(1.3);
  opacity: 1;
  z-index: 2;
}

/* DANH MỤC DƯỢC LIỆU */

.container.product-archive-page {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
  padding-bottom: 30px;
}

.product-archive-page .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
  padding: 0 20px;
}

.product-archive-page .product-content {
  display: block;
}

.product-archive-page .product-item {
  text-align: center;
}

.product-archive-page h2 {
  margin: 0;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-main-2);
}

.product-sidebar .sidebar-title {
  padding-bottom: 10px;
}

.product-archive-page .product-scientific-name {
  margin: 0;
  font-size: 15px;
  color: black;
}

.product-archive-page h1 {
  text-transform: uppercase;
  color: var(--color-main-2);
  margin: 0;
  border-bottom: 1px solid var(--color-main-1);
  padding: 0 20px;
}

.product-archive-page .short-description::after {
  position: absolute;
  height: 1px;
}

.product-archive-page .cover {
  background: url(../images/font-cover.webp) center / cover no-repeat;
  height: 100%;
  display: grid;
  justify-content: center;
  position: relative;
}

.product-category-list {
  display: grid;
  gap: 20px;
}

.product-category-list li {
  aspect-ratio: 600 / 836;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.product-archive-page .magazine-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
  font-weight: 500;
  font-size: 20px;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
}

.product-archive-page .logo-book {
  max-width: 60px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-45%);
}

.product-archive-page .magazine-title h3 {
  margin: 0;
  background: linear-gradient(90deg, #af7649 0%, #e6be72 40%, #f7d47e 80%, #c9995c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

.product-archive-page .magazine-title span {
  color: #e0dbca;
}

.container-sidebar {
  padding: 2rem 2rem;
  text-align: center;
}

.product-sidebar {
  width: 250px;
}

.product-archive-page .product-content {
  flex: 1;
}

.page-template-product-archive .short-description {
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.page-template-product-archive .product-content {
  border-radius: 0;
  margin-bottom: 0;
}

.page-template-product-archive .logo-book {
  max-width: 40px;
  top: 50px;
}

.page-template-product-archive .product-archive-page .magazine-title {
  font-size: 14px;
}


/* PC hiển thị */
.banner-pc {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile ẩn */
.banner-mobile {
  display: none;
  width: 100%;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .banner-pc {
      display: none;
  }
  .banner-mobile {
      display: block;
  }
}


/* Home About Anvy */
.anvy-intro-section {
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center calc(100% - 60px);
}
@media (min-width: 769px) {
  .anvy-intro-section {
    background-size: cover;
  }
}
.anvy-intro-content {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 0;
  font-size: 20px;
}
.anvy-intro-content h3 {
  font-weight: 500;
  margin: 0;
  font-size: 30px;
}
.anvy-intro-content h2 {
  font-size: 30px;
  margin: 10px;
  text-transform: uppercase;
  font-weight: 900;
}
.anvy-intro-content p,
.anvy-source-text p {
  max-width: 1000px;
  margin: 0 auto;
}
.anvy-intro-section .news-readmore {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Home Machine */
.machines-section {
  position: relative;
}
.background-section2 {
  background: white;
}
.machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.machines-item {
  background: var(--color-main-2);
  color: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  text-align: center;
  border: solid 1px var(--color-main-2);
}
.machines-section .news-readmore {
  text-align: center;
  margin-top: 20px;
  font-size: 20px;
}
.machines-item h3 {
  text-transform: uppercase;
  padding: 0 10px;
  line-height: 1.5;
}
.machines-header h2,
.anvy-source-content h2 {
  position: relative;
  display: inline-block;
  font-weight: 900;
}

/* ANVY SOURCE */
.anvy-source-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 0;
  font-size: 20px;
}
.anvy-source-content .news-readmore,
.herb-products-section .news-readmore {
  text-align: center;
}

.products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-filter-wrapper {
  padding: 20px;
  background: #f3f7f2;
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.product-filter {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  white-space: nowrap;
}

.product-filter a {
  padding: 8px 16px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  color: #333;
  display: inline-block;
}

.product-filter a.active {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
}

.product-item {
  background: #ffffff;
  padding: 10px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  border-radius: 5px;
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.product-item h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 0;
  color: #222;
}

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

.home-banner {
  position: relative;
}

.home-banner .slider-search-form {
  display: none;
}

.herb-products-section {
  max-width: 1440px;
  margin: 0 auto;
}

.herb-products-section .news-readmore {
  margin: 30px 0;
}

#load-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: var(--color-text);
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 30%;
  font-size: 20px;
  margin: 20px auto;
}
#load-more:hover {
  background: #4caf50;
  color: #fff;
}


/* Lightbox overlay */
#lightboxFullscreen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
}

#lightboxFullscreen.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 100000;
}

.lightbox-content {
  width: 100%;
  max-width: 900px;
}

.lightbox-content .swiper {
  overflow: visible;
}

#lightboxFullscreen img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .lightbox-close {
      font-size: 50px;
      top: 10px;
      right: 15px;
  }
}

.lightbox-zoom-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100000;
}

.lightbox-zoom-controls .zoom-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 26px;
  font-weight: bold;
  background: rgba(255,255,255,0.85);
  color: #000;
  cursor: pointer;
  transition: 0.2s;
}

.lightbox-zoom-controls .zoom-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.page-content.page-static {
	max-width: 1440px;
    margin: 0 auto;
}

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

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

.recommended-products {
	max-width: 1440px;
    margin: 0 auto;
}

.recommended-products .container {
	padding: 30px 20px;
}

.recommended-products .section-title {
	font-size: 1.5em;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-main-2);
}

.recommended-products .row {
	display: flex;
    gap: 20px;
}

.recommended-products .news-readmore {
	text-align: center;
	margin-top: 30px;
}