/*
Theme Name: Flastsome Child
Theme URI: https://example.com/
Description: Child theme for the Flatsome theme
Author: Your Name
Author URI: https://example.com/
Template: flatsome
Version: 1.0.0
*/
/* Tổng thể box sản phẩm */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* @font-face {
  font-family: 'SF-pro';
  src: url('fonts/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
} */

/* body, body *:not(i):not(.fa):not([class^="fa-"]):not([class*=" fa-"]) {
    font-family: 'SF-pro', sans-serif !important;
} */

* {
  /* font-family: 'SF-pro', sans-serif !important; */
  font-size: 16px;
}

h1 span, h2 strong{
	font-size: 24px !important
}
h3 span, h3 strong{
	font-size: 20px !important;
}

.product-small.box {
    border-radius: 12px;
    background-color: white; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Hiệu ứng hover nâng box lên nhẹ */
.product-small.box:hover {
    transform: translateY(-5px);
}

/* Hình ảnh sản phẩm */
.product-small .box-image img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* Tên sản phẩm */
.product-small .box-text .product-title a {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--Dark-Sage-Green);
	text-align: left;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Nút XEM THÊM */
.product-small .box-text .price-wrapper::after {
    content: "XEM THÊM →";
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #f9a825;
    transition: color 0.3s;
}

/* Hover đổi màu */
.product-small .box-text .price-wrapper::after:hover {
    color: #d68600;
    cursor: pointer;
}

.quick-view-button, .quickview, a.quick-view, .button.quick-view {
    display: none !important;
}

/* Tab đang active: chữ xanh lá, gạch vàng */
.sp .nav-line-bottom .tab.active a {
  color: var(--Dark-Sage-Green); 
  padding-bottom: 8px;
  font-weight: 700;
  font-size: 20px;
}

.nav-line-bottom>li>a:before {
	background: var(--Goldenrod) !important;
}

/* Các tab chưa active: chữ vàng, không có gạch */
.sp .nav-line-bottom .tab:not(.active) a {
  color: var(--Goldenrod);
  font-size: 20px;
  border-bottom: none;
  font-weight: 700;
}

/* Khoảng cách giữa các tab */
.sp .nav-line-bottom .tab {
  margin-right: 30px;
}

/* Bỏ margin phải của tab cuối cùng cho đẹp */
.sp .nav-line-bottom .tab:last-child {
  margin-right: 0;
}

/* Responsive cho mobile: cho phép tab kéo ngang */
@media (max-width: 768px) {
  .sp .nav-line-bottom {
    display: flex;
	flex-wrap: initial;
	justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* mượt trên iOS */
    scrollbar-width: none; /* Firefox: ẩn scrollbar */
  }
  .sp .nav-line-bottom::-webkit-scrollbar {
    display: none; /* Chrome, Safari ẩn scrollbar */
  }

  /* Tab tự co dãn, không xuống dòng */
  .sp .nav-line-bottom .tab {
    flex: 0 0 auto;
    margin-right: 20px; /* Giảm margin cho vừa hơn */
  }

  .sp .nav-line-bottom .tab:last-child {
    margin-right: 0;
  }
	
  .sp .nav-line-bottom .tab.active a, .sp .nav-line-bottom .tab:not(.active) a {
	font-size: 15px;
  }
}

.nghiencuu img {
  border-radius: 0px 200px;
}

.ngcuu img {
  border-radius: 200px 0px;
}

@media only screen and (max-width: 768px) {
	.nghiencuu img {
		border-radius: 0px 50px;
	}
} 

.but, .button.icon.is-small {
	background: var(--Dark-Sage-Green) !important;
}

.but:hover {
	background: var(--Goldenrod) !important;
}

.but1 {
	background: var(--Goldenrod);
	border: 3px solid var(--Goldenrod);
	color: var(--Goldenrod) !important;
}

.but1:hover {
	color: var(--Dark-Sage-Green) !important;
	border: 3px solid var(--Goldenrod) !important;
	background: var(--Goldenrod) !important;
	transition: .3s all;
}

.rice-card-wrapper {
  position: relative;
  background-color: #f7f3e9;
  border-radius: 16px;
  padding: 70px 20px 30px;
  max-width: 350px;
  margin: 40px auto 0;
  text-align: center;
  bottom: -190px;
}

.rice-card-wrapper1 {
  position: relative;
  background-color: #faedc8;
  border-radius: 16px;
  padding: 70px 20px 30px;
  max-width: 350px;
  margin: 40px auto 0;
  text-align: center;
  bottom: -190px;
}

.rice-image-wrapper {
  position: absolute;
  top: -50px;
  padding: 5px;
}

.rice-image-wrapper img {
  width: 150px;
  height: auto;
  display: block;
}

.rice-card-content h2 {
  font-size: 50px;
  font-weight: bold;
  margin: 0;
}

.rice-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: var(--Dark-Sage-Green);
  margin: 10px 0 6px;
}

.rice-desc {
  font-size: 16px;
  color: var(--Goldenrod);
  line-height: 1.6;
  margin: 0;
}

/* Responsive cho điện thoại */
@media (max-width: 600px) {
  .rice-card-wrapper {
    padding: 50px 15px 25px;
    max-width: 90%;
	bottom: 0;
  }
	
  .rice-card-wrapper1 {
    padding: 50px 15px 25px;
    max-width: 90%;
	bottom: 0;
  }

  .rice-image-wrapper {
    top: -35px;
    left: -3px;
    padding: 8px;
  }

  .rice-image-wrapper img {
    width: 100px;
  }

  .rice-card-content h2 {
    font-size: 45px;
  }
}

.social-group-xyz {
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
}

.social-group-xyz a {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 60px;
   height: 60px;
   border-radius: 15px;
   overflow: hidden;
   transition: transform 0.3s ease;
}

.social-group-xyz a:hover {
   transform: scale(1.1);
}

.social-group-xyz img {
   width: 90%;
   height: auto;
}

@media (max-width: 480px) {
  .social-group-xyz img {
     width: 80%;
  }
	
  .social-group-xyz {
	  gap: 0;
	 flex-wrap: nowrap;
  }
}

.contact-info {
   display: flex;
   flex-direction: column;
   max-width: 600px;
}

.contact-row {
   display: flex;
   justify-content: space-between;
   margin-bottom: 15px;
   flex-wrap: wrap;
}

.contact-label {
   font-weight: 600;
   min-width: 100px;
}

.contact-value {
   flex: 1;
   max-width: 100%;
}

@media (max-width: 600px) {
  .contact-row {
     flex-direction: column;
     align-items: flex-start;
  }

  .contact-label {
     margin-bottom: 5px;
  }
}

.custom-product-box {
  width: 100%;
  max-width: 280px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-product-title {
  background-color: var(--Dark-Sage-Green);
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 12px;
  font-size: 22px;
  text-transform: uppercase;
}

.custom-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-product-list li {
  border-bottom: 1px solid transparent;
  margin-bottom: 0;
  margin-left: 0 !important;
}

.custom-product-list li a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

.custom-product-list li:first-child a {
  color: black;
}

.custom-product-list li a:hover {
  color: var(--Goldenrod);
}

.custom-product-list li a.active {
  color: var(--Goldenrod);
}

/* Container timeline */
.history-time {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  padding: 40px 20px;
}

/* Vertical line in the center */
.history-time::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ccc;
  transform: translateX(-50%);
  z-index: 1;
}

/* Left and Right columns */
.history-left {
  width: 48%;
  position: relative;
}

/* Dot between columns */
.history-left .time-item,
.history-left.right .time-item {
  position: relative;
  padding: 20px 30px;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 6px;
  z-index: 2;
}

.history-left .time-item::before,
.history-left.right .time-item::before {
  content: '';
  position: absolute;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--Goldenrod);
  border-radius: 50%;
  z-index: 3;
}

/* Dot position */
.history-left .time-item::before {
  right: -8px;
}
.history-left.right .time-item::before {
  left: -8px;
}

/* Label and text */
.time-item label {
  font-size: 24px;
  font-weight: bold;
  color: var(--Dark-Sage-Green);
  display: block;
  margin-bottom: 8px;
}
.time-item span {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .history-time {
    flex-direction: column;
    padding: 20px 10px;
  }

  .history-left,
  .history-left.right {
    width: 100%;
  }

  .history-time::before {
    left: 10px;
  }

  .history-left .time-item,
  .history-left.right .time-item {
    padding-left: 30px;
  }

  .history-left .time-item::before,
  .history-left.right .time-item::before {
    left: 0;
    right: auto;
  }
}


/* ======= topbar (bắt đầu) =======*/
.call-box {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 5px;
  width: fit-content;
}

.call-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.call-number {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.email-box {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 5px;
  width: fit-content;
}

.email-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.email-address {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
/* ======= topbar (kết thúc) =======*/
/* ======= headermain (bắt đầu) =======*/
#masthead {
	height: 80px !important;
}

#top-bar {
	background: transparent !important;
}




#masthead .flex-col.hide-for-medium.flex-right ul li a{
	font-size: 20px;
	font-weight: 600;
	line-height: 25px;
}

#masthead .flex-col.hide-for-medium.flex-right {
	border-top: 1px solid #fff;
	padding-top: 30px;
}
/* ======= headermain (kết thúc) =======*/
/* ======= banner (bắt đầu) =======*/

.video-banner .banner-text h1 {
	font-family: 'Anton', sans-serif;
  font-size: 60px !important;
  color: #fff !important;
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 2px 3px 4px rgba(0,0,0,0.35);
}

/* ==== PHẦN CHUNG ==== */
.video-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.banner-text {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.banner-text h1 {
  font-size: 40px !important;
  margin-bottom: 15px !important;
  line-height: 1.4;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  word-break: break-word;
}

/* Button đẹp */
.banner-button {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  background-color: #f5c518;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.banner-button:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

/* ==== RESPONSIVE ==== */

/* Máy tính bảng */
@media (max-width: 1024px) {
  .banner-text h1 {
    font-size: 2.2rem;
  }

  .banner-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Điện thoại */
@media (max-width: 768px) {
  .video-banner {
    height: auto;
  }

  .banner-text h1 {
    font-size: 20px !important;
    line-height: 1.3;
	  margin-bottom: 20px !important;
  }

  .banner-button {
    padding: 10px 20px;
    font-size: 10px;
  }
	.banner-text{
		width: 80%;
	}
}

.video-banner {
      position: relative;
      width: 100%;
      height: 600px;
      overflow: hidden;
    }

.video-banner video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
    }

.banner-text {
      position: absolute;
      top: 60%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      padding: 20px 30px;
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 8px;
      max-width: 90%;
    }

.banner-text h1 {
      font-size: 3em;
      margin: 0;
    }

.banner-text p {
      font-size: 1.2em;
      margin-top: 10px;
    }

@media (max-width: 768px) {
      .video-banner {
        height: 300px;
      }

      .banner-text h1 {
        font-size: 2em;
      }

      .banner-text p {
        font-size: 1em;
      }
    }

/* ======= banner (kết thúc) =======*/

/* ======= Giới thiệu about us (bắt đầu) =======*/

.introduce-homepage .img-inner.dark {
	border-radius: 20px;
}

.introduce-homepage .img-inner.dark {
  position: relative;
  overflow: hidden;
}

.introduce-homepage .img-inner.dark:before{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  z-index: 10;
  transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -120%, 0);
  opacity: 0;
}

.introduce-homepage .img-inner.dark:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  z-index: 2;
  transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -120%, 0);
  opacity: 0;
}

/* Hover vào -> chạy xuống */
.introduce-homepage .img-inner.dark:hover:before {
  opacity: 1;
  animation: shine-down 0.75s forwards;
}

/* Rê chuột ra -> chạy ngược lên */
.introduce-homepage .img-inner.dark:not(:hover):before {
  opacity: 1;
  animation: shine-up 0.75s forwards;
}

@keyframes shine-down {
  100% {
    transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 120%, 0);
    opacity: 0;
  }
}

@keyframes shine-up {
  0% {
    transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 120%, 0);
    opacity: 1;
  }
  100% {
    transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -120%, 0);
    opacity: 0;
  }
}

.button.primary.is-link.lowercase span,.button.primary .icon-angle-right{
	color: #e8ae31;
}

.button.primary.is-link.lowercase:hover{
	transform: translatex(5px);
}

.introduce-homepage .col-inner p{
	text-align: justify;
}
.introduce-homepage .col-inner h1{
	margin-bottom: 30px;
}

@media (max-width: 768px){
	.about-us-homepage-1 {
		order: 2;
	}
	.About-us-homepage .col-inner{
		padding: 0px !important;
	}
}

.products-homepage .row-small>.col{
	padding: 0 5px 19px !important;
}
/* ======= Giới thiệu about us (kết thúc) =======*/	
	
/* ======= Đối tác (bắt đầu) =======*/	
	
.logo-slider {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 20px 0;
  background: #fff; /* hoặc bất kỳ màu nền nào bạn muốn */
}

.logo-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 10s linear infinite;
}

.logo-track img {
  height: 60px;
  margin: 0 40px;
  vertical-align: middle;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ======= Đối tác (kết thúc) =======*/	
	
/* ======= Tin tức (bắt đầu) =======*/	
.news-blog-homepage .banner-bg.fill,.news-blog-homepage .banner-inner.fill, .news-blog-homepage .banner.has-hover,.news-blog-homepage .col-inner,.news-blog-homepage .banner-layers.container, .news-blog-homepage .fill.banner-link {
	border-radius: 10px !important;	
}

.news-blog-homepage .blog-post-inner a{
	color: #22641f;
}

.news-blog-homepage .box-image .image-cover{
	border-radius: 10px;
}
/* ======= Tin tức (kết thúc) =======*/

/* ======= Liên hệ (bắt đầu) =======*/
.contact-form-homepage {
	background: #e8ae31;
	padding: 20px 20px;
	border-radius: 20px;
}

.contact-form-homepage .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100% !important;
    padding: 25px 20px !important;
    border-radius: 50px !important;
    border: 1px solid var(--main-color-second) !important;
    color: #000 !important;
}

.contact-form-homepage .wpcf7-form-control.wpcf7-textarea {
    width: 100% !important;
    border-radius: 15px !important;
    border: 1px solid var(--main-color-second) !important;
    color: #000 !important;
}
.contact-info-homepage {
	background: rgba(255,255,255,0.7);
	border-radius: 20px;
}
@media (max-width: 768px){
	.contact-form-homepage{
		margin: 20px;
	}
	.contact-info-homepage {
		border-radius: 0px;
}
}
/* ======= Liên hệ (kết thúc) =======*/
/* ======= Chứng nhận (bắt đầu) =======*/
 
.certificate-homepage .box-text-inner p{
	color: #fff;
}

.certificate-homepage .box-text-inner h4 strong,.certificate-homepage .box-text-inner h4{
	font-size: 20px !important;
	color: #e8ae31 !important;
}
.road-map-homepage .icon, .domestic-suppliers-homepage .icon{
	width: 100% !important;
}
/* ======= Chứng nhận (kết thúc) =======*/
/* ======= Đối tác (bắt đầu) =======*/

.our-partners-homepage .col-inner p{
	text-align: justify !important;
}

.testimonial-card .badge{
	height: 15px !important;
	width: 15px !important;
}



.accordion-title.plain span{
	width: 80%;
}

#logo img {
	max-height: 80px !important;
}
#masthead .flex-col.hide-for-medium.flex-right ul li a {
	font-size: 17px !important;
}
#masthead .flex-col.hide-for-medium.flex-right{
	padding-top: 0px !important;
}
/* .flex-col.hide-for-medium.flex-right >ul>li{
	margin-left: 40px !important;
} */
#top-bar .flex-col.hide-for-medium.flex-right{
	border-bottom: 1px solid #e8ae31;
}
@media (max-width: 900px){
	#top-bar{
		display: none;
	}
}
.nav-dropdown-has-border .nav-dropdown{
	border: 1px solid #e8ae31 !important;
	border-radius: 10px;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a{
	border-bottom: 1px solid #e8ae31 !important;
}

.contact-info-homepage .wpcf7-form-control.wpcf7-submit.has-spinner{
	width: 100%;
    line-height: 1 !important;
    background-color: #24652b !important;
    padding: 15px !important;
    border-radius: 50px !important;
	border: none !important;
	transition: background ease-in.3s, color ease-in .3s;
}

.contact-info-homepage .wpcf7-form-control.wpcf7-submit.has-spinner:hover{
	background: #fff !important;
	color: #24652b;
}

.facilities-capacity .custom-thumbs .col.medium-2.small-6.large-2 {
	padding: 0 5px !important;
	background: #1a612b !important;
	border-radius: 20px !important;
	margin-left: 32px;
}
.facilities-capacity .row.custom-thumbs .col.medium-2.small-6.large-2 h4{
	color: #fff !important;
}
.facilities-capacity .row.custom-thumbs .col.medium-2.small-6.large-2 .box-image{
	filter: brightness(0) saturate(100%) invert(100%) sepia(22%) saturate(149%) hue-rotate(113deg) brightness(107%) contrast(101%);
}
.facilities-capacity .custom-thumbs img.active,.facilities-capacity .custom-thumbs img:hover {
    opacity: 1;
    border: none !important;
}
.facilities-capacity .custom-thumbs img{
	opacity: 1 !important;
}
.facilities-capacity .row.custom-thumbs {
	margin-bottom: 20px;
}
.facilities-capacity .slick-slide img{
	border-radius: 20px;
} 


.text-left-1 .col-inner.text-left,.text-left-1 .col-inner{
	width: 100% !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    border: 1px solid var(--main-color-second) !important;
    color: #000 !important;
	background: #fff;
}
.effectively-controller .col.text-left-1.medium-6.small-12.large-6 p{
	margin-bottom: 0px;
}

.factory-location .img-inner.image-cover.dark , .factory-location .img-inner.image-cover.dark img{
	border-radius: 20px;
}

.map-locations {
	border-radius: 20px;
}
.factory-locations .banner-layers.container h3{
	color: #fff !important;
}
.hightlight-text .col-inner, .hightlight-text .col-inner ,.hightlight-text .col-inner .banner.has-hover,.hightlight-text .col-inner .banner-inner.fill,.hightlight-text .col-inner .banner-layers.container, .hightlight-text .col-inner .fill.banner-link {
	border-radius: 20px !important;
}