/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
@media (max-width: 767px) {
  .mobile-banner-text h2 {
    font-family: 'Pacifico', cursive;
    font-size: 18px !important;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
  }

  .mobile-banner-text h3 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #ffffff;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .header-logo, .header-logo-dark {
    max-height: 60px !important;
    height: auto !important;
    width: auto !important;
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 28px !important;
  }

  .hero-text h3 {
    font-size: 16px !important;
  }

  .hero-text p {
    font-size: 14px !important;
  }

  .hero-btn {
    font-size: 14px !important;
    padding: 8px 18px !important;
  }
	.my-custom-tab h4{
	font-size: 26px !important;
}
}


}

@font-face {
  font-family: 'Baomoi';
  src: url('fonts/Baomoi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Áp dụng font cho toàn site */
body, p, a, li, span, input, textarea, button {
  font-family: 'Baomoi', sans-serif !important;
}

/* Font cho tiêu đề */
h1,h4, h5, h6 {
  font-family: 'Baomoi', sans-serif !important;
  font-weight: 700;
}


.header .nav > li {
  padding: 10px 0!important;
  white-space: nowrap;
	font-size: 16px;
}
.header .nav > li a{
font-size: .9rem;
    line-height: 16px;
    font-weight: 400 !important;

}
.hinh-trung-tam img {
    width: 600px !important; /* Ép chiều rộng theo ý muốn */
    height: 550px !important; /* Giữ chiều cao to như bạn muốn */
    object-fit: contain;      /* Ảnh giữ nguyên tỷ lệ, không méo */
    display: block;
    margin: 0 auto;
}
 
/* Thêm vào Custom CSS */
.icon-box-with-rotate {
  position: relative !important;
  display: inline-block !important;
  width: 150px !important; /* Kích thước tổng */
  height: 150px !important;
}

.icon-box-with-rotate img.rotating-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  animation: spin 15s linear infinite !important;
  z-index: 1 !important;
}

.icon-box-with-rotate .icon-box-content {
  position: relative !important;
  z-index: 2 !important;
  width: 70% !important; /* Nhỏ hơn container */
  margin: 15% auto !important; /* Căn giữa */
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



.hero-overlay {
  background-color: rgba(255, 255, 255, 0.1);
  width: 1135px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner-box {
   border: 5px solid #ffffff;
  max-width: 908px;
  width: 100%;
  height: 335px;
  padding: 40px;
  background-color: transparent !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.hero-overlay * {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.hero-text {
  text-align: center;
  color: white;
}

.hero-text h3 {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: white;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 10px 0;
  color: white;
}

.hero-text p {
  font-size: 16px;
  color: white;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  background-color: #7ac943 !important;
  color: white !important;
    max-width: 100%;
  padding: 10px 1.25rem;
    font-size: .97em;
    font-weight: 400;
  border-radius: 99px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hover nút */
.hero-btn:hover {
  background-color: #66b031 !important;
}




/* Tiêu đề tab trong section có class "my-custom-tab" */
.my-custom-tab h4 {
   font-family: 'Pacifico', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    color: #9BCA53 !important;
    text-transform: none !important;
    margin-bottom: 15px;
    margin-top: 20px;
    padding: 0 15px 30px;
}

/* Màu gạch dưới của tab – áp dụng cho nav-line class của Flatsome */
.my-custom-tab .nav-line-bottom > li > a::before,
.my-custom-tab .nav-line-grow > li > a::before,
.my-custom-tab .nav-line > li > a::before {
    background-color: #9BCA53 !important;
}


.ux-tabs .tab-title {
  color: #6ac045;
}

.ux-tabs .tab-panels-nav li a:hover,
.ux-tabs .tab-panels-nav li.active a {
  color: #6ac045;
  border-color: #6ac045;
}
.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
    font-weight: 400 !important;
}


/* Spacing giữa các section */
.space-top-80 {
  margin-top: 10px;
}
.space-bottom-80 {
  margin-bottom: 10px;
}



.product-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  list-style: none;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.product-tabs li {
  white-space: nowrap;
}

.product-tabs li a {
  color: #333;
  justify-content: flex-end; /* Đẩy toàn bộ sang phải */
  align-items: center; /* Căn giữa chiều dọc các column */
	font-size: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.product-tabs li a:hover {
  color: #7ac943; /* xanh khi hover */
}
/* ----- Gỡ bỏ khoảng cách mặc định của row/column/p/text ----- */
.product-header {
  position: relative;
  align-items: center; /* Căn giữa chiều dọc các column */
  margin-bottom: 0 !important;
}

.product-header .col,
.product-header .columns {
  align-items: center; /* Căn giữa chiều dọc các column */
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.product-header p,
.product-header h2,
.product-header h3,
.product-header h1 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ----- Tạo border-bottom bằng pseudo element ----- */
.product-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 95%;
  height: 4px;
  background-color: #80bb01; /* Màu xanh lá */
}
.product-tabs-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.product-tabs {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  list-style: none;
}
.single-post .entry-image {
    display: none;
}
/* Căn lề phải cho tiêu đề trong danh sách bài viết */
.blog .post-item .post-title,
.blog .post-item .post-title a {
    text-align: left !important;
}

/* Căn lề phải cho tiêu đề trong trang bài viết chi tiết */
.single-post .entry-title {
    text-align: left !important;
}
.single-post .entry-meta {
    text-align: left !important;
}

.col-menu{
    color: white !important;

}
.col-menu h3 {
  position: relative;
  display: inline-block;
}

.col-menu h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30%;
  height: 4px;
  background-color: #9BCA53;
}

.woocommerce-product-search button[type="submit"] {
  background-color: #9BCA53 !important;
}


/* Nút xem giỏ hàng */
.widget_shopping_cart .button {
    background-color: #8dc63f;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.widget_shopping_cart .button:hover {
    background-color: #7cb532;
}

/* Nút Thanh toán */
.widget_shopping_cart .checkout {
    background-color: #4d7300;
    color: #fff;
}

.widget_shopping_cart .checkout:hover {
    background-color: #3b5a00;
}

/* Tổng tiền giỏ hàng */
.widget_shopping_cart .total strong {
    color: #000;
    font-size: 16px;
}

/* Căn chỉnh tổng thể Mini Cart */
.widget_shopping_cart {
    padding: 20px;
    font-size: 14px;
}

.widget_shopping_cart ul.cart_list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.widget_shopping_cart ul.cart_list li img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.widget_shopping_cart .remove {
    position: absolute;
    top: 5px;
    right: 5px;
}

/* Container của product */
.product-small {
  position: relative;
  overflow: hidden;
}

/* Add-to-cart dạng overlay */
.product-small .add-to-cart-button {
  position: absolute;
border-radius: 10px;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 15px 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 20;
}

/* Add-to-cart dạng overlay */
.woocommerce .product-small .add-to-cart-button {
  position: absolute;
border-radius: 10px;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 15px 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 20;
}
.product-small .add-to-cart-button a {
  border-radius: 5px !important;
}
/* Hover sẽ hiện nút trượt lên */
.product-small:hover .add-to-cart-button {
  opacity: 1;
  transform: translateY(0);
}

/* Thêm overlay trắng phủ phần box-text */
.product-small .box-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(246,245,241,255)	;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.3s ease;
}

/* Thêm overlay trắng phủ phần box-text */
.woocommerce .product-small .box-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.3s ease;
}

/* Khi hover thì overlay trắng hiện lên */
.product-small:hover .box-text::before {
  opacity: 1;
}
.about-circle {
  position: relative;
  width: 100px;
  height: 100px;
  margin: auto;
}

.circle-custom {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: 92% 110% 132% 88%;
  transform-origin: 50% 50%;
  transition: all 0.5s ease;
}

.circle-custom:nth-child(1) {
  animation: spin1 6s linear infinite;
  border-color: #c7c7c7;
}

.circle-custom:nth-child(2) {
  animation: spin2 6s linear infinite;
  border-color: #c7c7c7;
}

.circle-custom:nth-child(3) {
  animation: spin3 6s linear infinite;
  border-color: #c7c7c7;
}

.circle-custom:nth-child(4) {
  animation: spin4 6s linear infinite;
  border-color: #c7c7c7;
}

@keyframes spin1 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin2 {
  0% { transform: rotate(72deg); }
  100% { transform: rotate(-288deg); }
}

@keyframes spin3 {
  0% { transform: rotate(-144deg); }
  100% { transform: rotate(216deg); }
}

@keyframes spin4 {
  0% { transform: rotate(216deg); }
  100% { transform: rotate(-144deg); }
}

.icon-inner-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.icon-inner-custom img {
  width: 70px;
  height: 70px;
}
.price .woocommerce-Price-amount {
  color: red !important;
  font-weight: 500;
}

.price del .woocommerce-Price-amount {
  color: #999999 !important;
}

.icon-box {
  text-align: center;
  padding: 20px;

}

.icon-box .icon {
  margin-bottom: 15px;
  transition: all 0.3s ease;

}

.icon-box h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.icon-box p {
  color: #555;
  font-size: 14px;
}
/* Hiệu ứng khi hover */
.icon-box:hover .icon {
  transform: translateY(-10px) scale(1.2); /* nhấc nhẹ lên */
}
.img-circle {
 width: 150px;
  height: 150px;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
}


/* Thêm CSS */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #9bca53;
  cursor: pointer;
  z-index: 10;
}
.testimonial-arrow.prev { left: 10px; }
.testimonial-arrow.next { right: 10px; }

.contact-wrapper {
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 20px;
  color: #555;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
  color: #666;
}

.contact-info ul li {
  margin-bottom: 10px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

/* Tùy biến Contact Form 7 */
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.wpcf7-submit {
  background-color: #80bb01;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-submit:hover {
  background-color: #679c00;
}

 .guideline {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin: 40px 0;
    }
    .step {
      flex: 0 1 200px;
      text-align: center;
    }
    .step .icon {
      font-size: 36px;
      margin-bottom: 15px;
    }
    .step h4 {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    .step p {
      font-size: 15px;
      color: #555;
    }
    .expert-tips {
      padding: 40px 20px;
      max-width: 800px;
      margin: 0 auto;
    }
    .expert-tips ul {
      font-size: 16px;
	text-decoration:none;
      line-height: 1.8;
    }
	.expert-tips ul li{
list-style:none;
}
    .faq {
      max-width: 800px;
      margin: 40px auto;
    }
    .faq p {
      margin-bottom: 20px;
    }
    .cta {
      text-align: center;
      padding: 40px;
    }
    .cta a {
      background: #9bca53;
      color: #fff;
      padding: 15px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
    }	

.ux-slider,
.banner
 {
  background-color: transparent !important;
}

	

