/*
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.   ***************/

/* === FONT: Montserrat (local) === */
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* === DEFAULT FONT === */
body,
body p,
body h1, body h2, body h3, body h4, body h5, body h6,
body a,
body span,
body li,
body input,
body button,
body textarea,
body select,
.header-main,
.nav > li > a,
#main {
  font-family: 'Montserrat', sans-serif;
}

/* === GLOBAL VARIABLES === */
:root {
  --primary-green: #2e7d32;
  --dark-green: #1a5e1f;
  --heading-green: #007946;
  --accent-green: #5fa622;
  --light-bg: #f5f5f5;
  --text-dark: #333;
  --text-muted: #666;
}

/* === GLOBAL RESET === */
.page-wrapper {
  overflow-x: hidden;
}

/* header */
#header .header-main{
  background-image: url(assets/images/bg_headertop_02.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#header .header-top{
  background-color: var(--heading-green);
}

#header .header-top .flex-left{
  margin-right: 0px;
  max-width: 400px;
  position: relative;
  min-height: inherit;
  height: 37px;
  display: flex;
  align-items: center;
  align-content: center;
}
#header .header-top .flex-left marquee{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
}
#header .header-top .flex-left::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -38px;
  height: 38px;
  width: 38px;
  background: url(assets/images/before_header_02.png) no-repeat;
  z-index: 9;
}
#header .header-top .flex-left::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 100%;
  background-color: #5fa622;
  z-index: 9;
}
#header .header-main .flex-right li span{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform:lowercase;
}
#header .header-main .flex-right .search-field{
  max-width: 440px;
  width: 100%;
}
#header .header-main .flex-right .ic_phone h3{
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fac300;
}
#header .header-main .flex-right .social-icons .icon i{
  color: #4a8a1a;
  font-size: 18px;
}

/* Header nav — search xuống dòng */
#header .heafder-main .header-nav {
  flex-wrap: wrap;
}

#header .header-main .header-nav > li.header-search-form {
  width: 80%;
  order: 3;
}
#header .header-main .header-nav>li.header-search-form .search-field{
  width: 100%;
  padding-left: 20px;
  height: 40px;
  border-radius: 25px;
  border: 1px solid var(--primary-green);
  font-size: 15px ;
  background: #fff;
}
#header .header-main .header-nav>li.header-search-form .ux-search-submit{
  height: 40px;
  min-width: 60px;
  background-color: var(--primary-green) !important;
  color: #fff !important;
  border-bottom-right-radius: 99px;
  border-top-right-radius: 99px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;

}
#header .header-main .header-nav>li.header-search-form{
  margin-left: -4.9em;
}
#header .header-bottom{
  background-color: var(--primary-green);
}
#header .header-vertical-menu__opener{
  background-color: #5fa623;
  color: #fff;
}
#header .header-bottom .flex-center{
  width: 100%;
}
#header .header-bottom .flex-center ul{
  justify-content: space-around;
}
#header .header-bottom .flex-center ul li a{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
#header .header-bottom .flex-center ul li a:hover{
  color: #fac300;
}
#header .stuck .header-main{
  display: none;
}
/* footer */
#footer .logo{
  margin: 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-green);
}
#footer .icon-box{
  margin-bottom: 10px;
}
#footer .icon-box .icon-box-text{
  align-content: center;
}
#footer .icon-box .icon-box-text p{
  margin-bottom: 0px;
}
#footer .absolute-footer {
  background-color: #fff;
}
#footer .absolute-footer{
  color: var(--primary-green);
  font-size: 14px;
}
#footer .lg_title h3{
  font-size: 18px;
}
#footer .footer_title h3{
  font-size: 16px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  position: relative;
}
#footer .footer_title h3::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 93px;
  height: 2px;
  background: #FFFFFF;
}
#footer .name_company h2{
  font-size: 25px;
}
#footer .ux-menu .ux-menu-link__link{
  font-size: 14px;
  color: #fff;
  text-transform: capitalize;
  position: relative;
}
#footer .ux-menu .ux-menu-link__link span{
  padding-left: 15px;
}
#footer .ux-menu .ux-menu-link__link:hover{
  color: #fac300;
}
#footer .ux-menu .ux-menu-link__link::before{
  content: "";
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  left: 0;
  width: 8px;
  height: 8px;
  background-image: url(assets/images/iclisst_03.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#footer .ic_ft_social p{
  font-size: 14px;
}

/* toc */
#ez-toc-container{
  width: 75%;
}
#ez-toc-container a{
  font-size: 14px;
  text-align: left;
  text-transform:initial;
}
#ez-toc-container li{
  text-align: left;
}
#ez-toc-container .ez-toc-title-container{
  text-align: left;
}
#ez-toc-container .ez-toc-title{
  text-align: left;
  text-transform: capitalize;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #000 !important;
}
/* === Custom Breadcrumb === */
.custom-breadcrumb-wrap {
  background: var(--light-bg);
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}
.custom-breadcrumb-wrap .col{
  padding-bottom: 0px;
}
.custom-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
}

.custom-breadcrumb a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.custom-breadcrumb a:hover {
  color: #6c757d;
  text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-sep {
  margin: 0 8px;
  color: #999;
}

.custom-breadcrumb .breadcrumb-current {
  color: #6c757d;
  font-weight: 500;
}

/* =============================================
   SECTION: Banner Slider (.sec-banner)
   ============================================= */

.sec-banner .slider {
  max-height: 700px;
  overflow: hidden;
}

/* Text */
.sec-banner .banner-layers .text-box-content h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 38px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.sec-banner .banner-layers .text-box-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  line-height: 1.6;
  margin-bottom: 5px;
}

/* Buttons */
.sec-banner .banner-layers .button {
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.sec-banner .banner-layers .button.success {
  background: var(--primary-green);
  border-color: var(--primary-green);
}

.sec-banner .banner-layers .button.success:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sec-banner .banner-layers .button.white.outline {
  border-width: 2px;
  color: #fff;
}

.sec-banner .banner-layers .button.white.outline:hover {
  background: #fff;
  color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sec-banner .banner-layers .button.alert {
  background: #e53935;
  border-color: #e53935;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
}

.sec-banner .banner-layers .button.alert:hover {
  background: #c62828;
  border-color: #c62828;
}

/* Text banner — animate.css chỉ chạy khi change slide */

/* Slider dots */
.sec-banner .slider .flickity-page-dots {
  bottom: 20px;
}

.sec-banner .slider .flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border: 2px solid #fff;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.sec-banner .slider .flickity-page-dots .dot.is-selected {
  background: #fff;
  transform: scale(1.2);
}

/* Slider arrows */
.sec-banner .slider .flickity-prev-next-button {
  width: 45px;
  height: 45px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.sec-banner .slider .flickity-prev-next-button:hover {
  background: rgba(0,0,0,0.6);
}

.sec-banner .slider .flickity-prev-next-button .arrow {
  fill: #fff;
}


/* =============================================
   SECTION: Giới thiệu (.sec-intro)
   ============================================= */

/* Background gradient */
.sec-intro {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 40%, #ffffff 100%) !important;
}

/* Layout flex 45/55 */
.sec-intro .row {
  display: flex !important;
  align-items: center;
}

.sec-intro .intro-col-left {
  flex: 0 0 45% !important;
  max-width: 45% !important;
}

.sec-intro .intro-col-right {
  flex: 0 0 55% !important;
  max-width: 55% !important;
}

/* Images */
.sec-intro .intro-col-left > .col-inner {
  position: relative;
  padding-bottom: 40px;
}

.sec-intro .intro-img-big .img-inner {
  border-radius: 8px;
  overflow: hidden;
}

.sec-intro .intro-img-big img {
  transition: transform 0.5s ease;
}

.sec-intro .intro-img-big:hover img {
  transform: scale(1.05);
}

/* Ảnh nhỏ đè góc phải dưới */
.sec-intro .intro-img-small {
  position: absolute !important;
  bottom: 0;
  right: -50px;
  /* width: 65% !important; */
  z-index: 2;
}

.sec-intro .intro-img-small .img-inner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.sec-intro .intro-img-small img {
  transition: transform 0.5s ease;
}

.sec-intro .intro-img-small:hover img {
  transform: scale(1.05);
}

/* Hover glass */
.sec-intro .intro-img-big .img-inner,
.sec-intro .intro-img-small .img-inner {
  position: relative;
}

.sec-intro .intro-img-big .img-inner::before,
.sec-intro .intro-img-small .img-inner::before,
.sec-testimonials .icon-box .icon-box-img::before,
.sec-blog .post-item .box-image::before,
.sec-register .col_left .img-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -83%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
}

.sec-intro .intro-img-big:hover .img-inner::before,
.sec-intro .intro-img-small:hover .img-inner::before,
.sec-testimonials .icon-box .icon-box-img:hover::before,
.sec-blog .post-item .box-image:hover::before,
.sec-register .col_left .img-inner:hover::before {
  animation: glassSwipe 1.2s ease forwards;
}

@keyframes glassSwipe {
  0% { left: -83%; }
  100% { left: 125%; }
}

/* h3 = label nhỏ */
.sec-intro .intro-col-right h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-green);
  /* letter-spacing: 2px; */
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* h2 = tên công ty */
.sec-intro .intro-col-right h2 {
  font-size: 50px;
  font-weight: 700;
  background: linear-gradient(to bottom, #5fa624, var(--heading-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  margin-bottom: 10px;
}
.main_title{
  font-size: 35px;
  font-weight: 700;
  background: linear-gradient(to bottom, #5fa624, var(--heading-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  margin-bottom: 0px;
}
.page_title h2{
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(to bottom, #5fa624, var(--heading-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  margin-bottom: 0px;
}
/* p đầu tiên = slogan italic */
.sec-intro .intro-col-right > .col-inner > p {
  font-size: 14px;
  font-style: italic;
  color: var(--primary-green);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* .intro-desc */
.sec-intro .intro-desc p {
  line-height: 1.7;
}

/* Buttons cùng 1 hàng */
.sec-intro .intro-btn,
.sec-intro .intro-phone {
  display: inline-block;
  vertical-align: middle;
}

.sec-intro .intro-phone {
  animation: blink-hotline 1s ease-in-out infinite;
}

@keyframes blink-hotline {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


/* =============================================
   SECTION: Danh mục sản phẩm (.sec-categories)
   ============================================= */

.header-container h2 {
  font-size: 35px;
  font-weight: 600;
  color: var(--heading-green);
  text-transform: uppercase;
  margin-bottom: 0px;
}
.header-container .title-desc{
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-green);
  font-style: italic;
  text-transform: capitalize;
}
/* Category card — overlay style giống mẫu */
.sec-categories .product-category {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.sec-categories .product-category .box-image {
  border-radius: 12px;
  overflow: hidden;
}

.sec-categories .product-category .box-image img {
  transition: transform 0.5s ease;
  min-height: 280px;
  object-fit: cover;
}

.sec-categories .product-category:hover .box-image img {
  transform: scale(1.08);
}

/* Overlay text ở dưới */
.sec-categories .product-category .box-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,80,30,0.85));
  padding: 30px 15px 15px;
  z-index: 2;
}

.sec-categories .product-category .box-text h5 {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Ẩn count sản phẩm (nếu có) */
.sec-categories .product-category .box-text .count,
.sec-categories .product-category .box-text .is-small {
  color: rgba(255,255,255,0.8);
}

/* Ẩn button "Xem chi tiết" mặc định */
.sec-categories .product-category .box-text .button {
  display: none;
}

/* =============================================
   COMPONENT: Cat Card (.cat-card-item)
   ============================================= */

.cat-card-item {
  box-sizing: border-box;
  width: 25%;
  max-width: 25%;
  margin-bottom: 15px !important;
}

.cat-card-box {
  margin: 0 10px;
  border-radius: 8px;
  /* overflow: hidden; */
}

/* Top bar — tên danh mục */
.cat-card-top {
  padding: 10px 15px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--heading-green);
  width: fit-content;
  margin: 0 auto 10px;
}
.cat-card-top:hover{
  background: var(--heading-green);
}
.cat-card-top:hover a{
  color: #fff;
}
.cat-card-top a {
  color: var(--heading-green);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
}

/* Photo */
.cat-card-bottom{
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
.cat-card-photo {
  overflow: hidden;
  background: #f9f9f9;
}

.cat-card-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
  /* padding: 10px; */
}

/* Glass hover effect */
.cat-card-photo a {
  display: block;
  position: relative;
  overflow: hidden;
}

.cat-card-photo a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -83%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
}

.cat-card-box:hover .cat-card-photo a::before {
  animation: glassSwipe 1.2s ease forwards;
}

/* Info — "Xem chi tiết" */
.cat-card-info {
  padding: 12px 15px;
  text-align: center;
  border-top: 1px solid #eee;
}

.cat-card-info a {
  color: var(--heading-green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cat-card-info a:hover {
  color: var(--dark-green);
}

.cat-card-info a i {
  margin-left: 5px;
  font-size: 11px;
  transition: transform 0.3s ease;
}

.cat-card-info a:hover i {
  transform: translateX(4px);
}


/* =============================================
   SECTION: Sản phẩm bán chạy (.sec-products)
   ============================================= */

.sec-products .section-title {
  color: var(--primary-green);
}

.sec-products .title-divider {
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  margin: 0 auto 40px;
}

/* === Product Tabs === */
.product-tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sec-products .product-small.col .col-inner{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  background: #fff;
 
}
.product-tabs-nav::-webkit-scrollbar {
  display: none;
}

.product-tab-btn {
  padding: 6px 15px;
  border: 2px solid var(--heading-green);
  background: transparent;
  color: var(--heading-green);
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 !important;
  min-height: auto !important;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2 !important;
  font-family: 'Montserrat', sans-serif;
}

.product-tab-btn:hover {
  background: var(--heading-green);
  color: #fff;
}

.product-tab-btn.active {
  background: var(--heading-green);
  color: #fff;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}
.sec-products .product-tabs-content .page-numbers li{
  margin: 0 5px;
}
.sec-products .product-tabs-content .page-numbers li span,
.sec-products .product-tabs-content .page-numbers li a{
  font-size: 16px;
  font-weight: 500;
}
.nav-pagination>li>.current,
.nav-pagination>li>a:hover,
.nav-pagination>li>span:hover {
  background-color: var(--heading-green);
  border-color: var(--heading-green);
  color: #fff;
}
@media (max-width: 549px) {
  .product-tab-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* =============================================
   Single Product Gallery + Magic Zoom
   ============================================= */

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

/* Main area — ảnh + zoom box cạnh nhau */
.custom-product-gallery .gallery-main-area {
  position: relative;
  margin-bottom: 12px;
}

/* Ảnh chính */
.custom-product-gallery .main-image-wrap {
  position: relative;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  cursor: crosshair;
  overflow: hidden;
}

.custom-product-gallery .main-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cursor lens — ô vuông nhỏ di chuyển trên ảnh chính */
.custom-product-gallery .zoom-cursor {
  display: none;
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid var(--heading-green);
  background: rgba(0, 121, 70, 0.15);
  pointer-events: none;
  z-index: 5;
}

/* Zoom result box — hiện bên phải ảnh chính */
.custom-product-gallery .zoom-result-box {
  position: absolute;
  top: 0;
  left: 105%;
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.custom-product-gallery .zoom-result-img {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

/* Thumbnails */
.custom-product-gallery .product-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.custom-product-gallery .product-thumbs::-webkit-scrollbar {
  display: none;
}

.custom-product-gallery .product-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 6px;
  border: 2px solid #ddd;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.custom-product-gallery .product-thumb.active,
.custom-product-gallery .product-thumb:hover {
  border-color: var(--heading-green);
}

.custom-product-gallery .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive — mobile ẩn zoom box */
@media (max-width: 849px) {
  .custom-product-gallery .zoom-result-box {
    display: none !important;
  }
  .custom-product-gallery .zoom-cursor {
    display: none !important;
  }
  .custom-product-gallery .main-image-wrap {
    cursor: default;
  }
}

@media (max-width: 549px) {
  .custom-product-gallery .product-thumb {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
  }
}

/* === Product Card Custom === */
.product-small .box-image {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.product-small .box-image img {
  transition: transform 0.4s ease;
}

.product-small:hover .box-image img {
  transform: scale(1.05);
}
.product-small .col-inner{
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}
/* Glass hover effect */
.product-small .box-image::before,
.album-items::before {
  content: "";
  position: absolute;
  top: 0;
  left: -83%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
}

.product-small:hover .box-image::before,
.album-items:hover::before {
  animation: glassSwipe 1.2s ease forwards;
}

.product-small .box-text {
  padding: 12px 15px 15px;
}

/* Ẩn category label mặc định */
.product-small .box-text .category {
  display: none;
}

/* Tên sản phẩm */
.product-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
}
.product-card-title:hover{
  color: #f5a623;
}
/* Mô tả ngắn — max 2 dòng */
.product-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

/* 2 Buttons */
.product-card-buttons {
  display: flex;
  gap: 4px;
  align-items: center;
  border-top: 1px solid #eee;
  padding: 12px 10px 12px 10px;
}

.product-card-btn {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  /* text-transform: uppercase; */
}

.product-card-btn.btn-contact {
  background: var(--heading-green);
  color: #fff;
}

.product-card-btn.btn-contact:hover {
  background: var(--dark-green);
}

.product-card-btn.btn-detail {
  background: var(--heading-green);
  color: #fff;
}

.product-card-btn.btn-detail:hover {
  background: #4a8a1a;
}

/* Giá (thay nút Liên hệ khi có giá) */
.product-card-price {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #e53935;
}

.product-card-price del {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

.product-card-price ins {
  text-decoration: none;
}


/* =============================================
   SECTION: Lý do chọn (.sec-why-us)
   ============================================= */

.sec-why-us .icon-box {
  padding: 0px;
}

.sec-why-us .icon-box h4 {
  margin-top: 15px;
  font-weight: 700;
}

.sec-why-us .icon-box::before {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
}
.sec-why-us .amlab-row-top .icon-box::before{
  bottom: -28px;
}
.sec-why-us .amlab-row-bottom .icon-box::before{
  top: -70px;
}
.sec-why-us .amlab-row-top .col{
  padding-bottom: 25px;
}
.sec-why-us .amlab-row-bottom .col{
  padding-top: 70px;
}
.sec-why-us .amlab-row-top .col:nth-child(1) .icon-box::before{
  background: url(assets/images/beforeReason_06.png) no-repeat;
  right: 0;
  background-size: 100%;
  transform: rotate(10deg);
}
.sec-why-us .amlab-row-bottom .col:nth-child(1) .icon-box::before{
  background: url(assets/images/beforeReason_06.png) no-repeat;
  right: 0;
  background-size: 100%;
  transform: rotate(85deg);
}
.sec-why-us .amlab-row-top .col:nth-child(2) .icon-box::before{
  background: url(assets/images/beforeReason_06.png) no-repeat;
  left: 0;
  background-size: 100%;
  transform: rotate(90deg);
}
.sec-why-us .amlab-row-bottom .col:nth-child(2) .icon-box::before{
  background: url(assets/images/beforeReason_06.png) no-repeat;
  left: 0;
  background-size: 100%;
  transform: rotate(10deg);
}
.sec-why-us .amlab-row-center .col{
  position: relative;
  max-width: 730px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--heading-green);
  border-radius: 10px;
  padding: 30px 20px;
  z-index: 1;
}
.sec-why-us .icon-box .icon-box-text{
  padding: 0 !important;
  max-width: 80%;
}
.sec-why-us .amlab-row-top .col:nth-child(1) .icon-box-text,
.sec-why-us .amlab-row-bottom .col:nth-child(1) .icon-box-text{
  margin-left: 0px;
}
.sec-why-us .amlab-row-top .col:nth-child(2) .icon-box,
.sec-why-us .amlab-row-bottom .col:nth-child(2) .icon-box{
  justify-content: end;
}
.sec-why-us .amlab-row-top .col:nth-child(2) .icon-box-text,
.sec-why-us .amlab-row-bottom .col:nth-child(2) .icon-box-text {
  margin-right: 0px;
}
.sec-why-us .icon-box .icon-box-text h3{
  padding: 30px;
  text-align: center;
  background: var(--heading-green);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0;
}
.sec-why-us .icon-box .icon-box-text p{
  padding: 10px;
  background: #83e036;
  text-align: center;
  margin-right: 60px;
}
.sec-why-us .amlab-row-top .col:nth-child(1) .icon-box .icon-box-text p,
.sec-why-us .amlab-row-bottom .col:nth-child(1) .icon-box .icon-box-text p{
  border-bottom-right-radius: 100px;
  margin-left: 60px;
  margin-right: 0;
}
.sec-why-us .amlab-row-top .col:nth-child(2) .icon-box .icon-box-text p,
.sec-why-us .amlab-row-bottom .col:nth-child(2) .icon-box .icon-box-text p{
  border-bottom-left-radius: 100px;
  margin-right: 60px;

}

.sec-why-us .icon-box .icon-box-img{
  position: absolute;
  top: 0;
  z-index: 2;
  /* top: 50% */
}
.sec-why-us .amlab-row-top .col:nth-child(1) .icon-box-img,
.sec-why-us .amlab-row-bottom .col:nth-child(1) .icon-box-img{
  right: 5%;
}
.sec-why-us .amlab-row-top .col:nth-child(2) .icon-box-img,
.sec-why-us .amlab-row-bottom .col:nth-child(2) .icon-box-img{
  left: 5%;
}

.sec-why-us .amlab-row-top .col:nth-child(1) .icon-box .icon,
.sec-why-us .amlab-row-bottom .col:nth-child(1) .icon-box .icon{
  right: 20%;
}
.sec-why-us .amlab-row-top .col:nth-child(2) .icon-box .icon,
.sec-why-us .amlab-row-bottom .col:nth-child(2) .icon-box .icon {
  right: -20%;
}
.sec-why-us .icon-box .icon-box-img img{
  max-width: 130px !important;
  width: 130px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding-top: 0px;
}

.sec-albums .row-img .col {
  flex: 0 0 39%;
  max-width: 39%;
  padding: 0 5px;
  margin-bottom: 10px;
}
.sec-albums .row-img .col:nth-child(3),
.sec-albums .row-img .col:nth-child(4) {
  flex: 0 0 22%;
  max-width: 22%;
  padding: 0 5px;
  margin-bottom: 10px;
}
.sec-albums .row-img .col .album-items{
  border-radius: 10px;
  overflow: hidden;
}
.sec-albums .row:last-child .col{
  padding-bottom: 0;
}
.sec-albums .row:last-child .col p{
  margin-bottom: 0;
  color: #000;
}
/* =============================================
   SECTION: Phản hồi khách hàng (.sec-testimonials)
   ============================================= */
.sec-testimonials .section-content .row:first-child{
  margin-bottom: 30px;
}

.sec-testimonials .testimonial-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}
.sec-testimonials .col-inner{
  padding: 0 !important;
  box-shadow: none;
}
/* Flexbox reorder: Tên → Mô tả → Rating */ 
.sec-testimonials .icon-box-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.sec-testimonials .col .col-inner{
  box-shadow: none !important;
}

.sec-testimonials .testimonial-meta {
  order: 1;
  margin-bottom: 8px;
  margin-left: 0;
  color: #333;
}

.sec-testimonials .testimonial-meta strong {
  color: #333;
}

.sec-testimonials .testimonial-meta span {
  color: #333;
}

.sec-testimonials .testimonial-text {
  order: 2;
  margin-bottom: 10px;
  color: #333;
}

.sec-testimonials .testimonial-text p {
  color: #333;
  font-style: normal !important;
}

.sec-testimonials .star-rating {
  order: 3;
  margin-left: 0;
}

.sec-testimonials .testimonial-box {
  text-align: left;
}

.sec-testimonials .star-rating span::before {
  color: #f5a623;
}
.sec-testimonials .icon-box::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: url(assets/images/ic_feedback_03.png) no-repeat;
  background-size: 100%;
  bottom: 20px;
  right: 20px;
}
.sec-testimonials .icon-box .icon-box-img{
  position: absolute;
  top: -30px;
  z-index: 2;
  right: 20px;
}
.sec-testimonials .icon-box .icon-box-img{
  overflow: hidden;
}

/* =============================================
   SECTION: Hợp tác phân phối (.sec-cta)
   ============================================= */

.sec-cta .button.white.outline {
  border-width: 2px;
  transition: all 0.3s ease;
}

.sec-cta .button.white.outline:hover {
  background: #fff;
  color: var(--dark-green);
  transform: translateY(-2px);
}
.sec-cta .col{
  padding: 0 10px;
}
.sec-cta .icon-box{
  padding: 10px;
  border-radius: 10px;
  background-color: #5fa622;
}
.sec-cta .icon-box .icon-box-text{
  align-content: center;
  align-self: center;
}
.sec-cta .icon-box .icon-box-text h4{
  font-size: 14px;
  font-weight: 500;
}
.sec-cta .row:nth-child(2) .large-7 .button{
  margin-top: 20px;
  font-size: 16px;
  text-transform: uppercase;
  /* padding: 10px 25px; */
  border-radius: 10px;
  background: linear-gradient(to bottom, #7cdb37, var(--heading-green));
  transition: all 0.3s;
  border: none;
}

/* =============================================
   SECTION: Góc kiến thức (.sec-blog)
   ============================================= */

.sec-blog .section-title {
  color: var(--primary-green);
}

.sec-blog .title-divider {
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  margin: 0 auto 40px;
}

.sec-blog .post-item .box-image,
.post-item .box-image {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}
.sec-blog .post-item .is-divider,
.post-item .is-divider{
  display: none;
}

.sec-blog .post-item .box-image img,
.post-item .box-image img {
  transition: transform 0.3s ease;
}

.sec-blog .post-item:hover .box-image img,
.post-item:hover .box-image img {
  transform: scale(1.05);
}
.sec-blog .post-item .box-text,
.post-item .box-text{
  padding: 20px 15px;
  background: #FFFFFF;
  border: 1px solid #5fa622;
  border-top: none;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  max-width: 88%;
  justify-self: end;
  margin-left: auto;
}
.sec-blog .post-item .box-text::before,
.post-item .box-text::before{
  content: "";
  position: absolute;
  left: -40px;
  top: 0;
  width: 40px;
  height: 40px;
  background: #5fa622;
  border-bottom-left-radius: 100%;
}
.sec-blog .col{
  padding-bottom: 0px;
}
.sec-blog .post-item .box-text .post-title a,
.post-item .box-text .post-title a {
  color: var(--text-dark);
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  font-size: 16px;
  -webkit-box-orient: vertical;
}
.sec-blog .post-item .box-text .from_the_blog_excerpt,
.post-item .box-text .from_the_blog_excerpt{
  font-weight: 500;
  font-size: 14px;
  color: #000;
}
.sec-blog .post-item .box-text .from_the_blog_excerpt~.button,
.post-item .box-text .from_the_blog_excerpt~.button{
  padding: 5px 20px;
  border-radius: 5px;
  background: #5fa622;
  color: #FFFFFF;
  text-transform: capitalize;
  transition: all 0.3s;
  border: none;
}

.sec-blog .post-item .box-text .post-title a:hover,
.post-item .box-text .post-title a:hover {
  color: var(--primary-green);
}

.page-title-inner{
  display: none;
}
/* =============================================
   SECTION: Đăng ký tư vấn (.sec-register)
   ============================================= */

.sec-register .button.success {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transition: all 0.3s ease;
}

.sec-register .button.success:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sec-register .col_left .img-inner{
  border-radius: 24px;
  
}
.sec-register .col_right .custom-reg-form .form-row {
  display: flex;
  justify-content: space-between;
}
.sec-register .col_right .custom-reg-form .form-row .form-group{
  max-width: 48%;
  flex: 0 0 48%;
}
.sec-register .col_right .custom-reg-form input,
.sec-register .col_right .custom-reg-form textarea{
  border-radius: 10px;
  box-shadow: none;
  width: 100%;
  border-radius: 25px;
  border: 2px solid var(--heading-green);
  padding-left: 15px;
  font-size: 14px;
  color: #000;
}
.sec-register .col_right .custom-reg-form input::placeholder,
.sec-register .col_right .custom-reg-form textarea::placeholder{
  color: #000;
}
.sec-register .col_right .custom-reg-form input{
  height: 50px;
  min-height: 50px;

}
.sec-register .col_right .custom-reg-form input.wpcf7-submit{
  background: #1a5e1f;
  font-size: 16px;
  color: #fff;
  border-radius: 12px;
  border: none;
}
.sec-register .col_right .custom-reg-form .amlab_name input{
  background: url(assets/images/ic_newsletter_03.png) right 15px top 15px no-repeat;
  background-size: 20px;
}
.sec-register .col_right .custom-reg-form .amlab_email input{
  background: url(assets/images/ic_newsletter_09.png) right 15px top 15px no-repeat;
  background-size: 20px;
}
.sec-register .col_right .custom-reg-form .amlab_phone input{
  background: url(assets/images/ic_newsletter_05.png) right 15px top 15px no-repeat;
  background-size: 20px;
}
.sec-register .col{
  padding-bottom: 0;
}
/* =============================================
   GLOBAL: WooCommerce Pagination
   ============================================= */

.woocommerce-pagination {
  margin-top: 30px;
  text-align: center;
}

.woocommerce-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: var(--text-dark);
  text-decoration: none;
}

.woocommerce-pagination .page-numbers.current {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
}

.woocommerce-pagination .page-numbers:hover:not(.current) {
  background: var(--light-bg);
  border-color: var(--primary-green);
  color: var(--primary-green);
}


.sec-page-header .col{
  padding-bottom: 0;
}



.amlab_contact .col_left ul li p{
  margin-bottom: 0;
  color: #000;
}
/* =============================================
   RESPONSIVE: Mobile (max-width: 48em / 768px)
   ============================================= */

@media only screen and (max-width: 48em) {

  /* Banner */
  .sec-banner .banner-layers .text-box-content h1 {
    font-size: 22px !important;
  }

  .sec-banner .banner-layers .text-box-content p {
    font-size: 13px !important;
  }

  .sec-banner .banner-layers .button {
    font-size: 12px !important;
    padding: 8px 18px !important;
  }

  .sec-banner .slider {
    max-height: 300px;
  }

  /* Section titles */
  .sec-categories .section-title,
  .sec-products .section-title,
  .sec-blog .section-title {
    font-size: 1.4em;
  }

  /* About */
  .sec-intro .row {
    flex-direction: column !important;
  }

  .sec-intro .intro-col-left,
  .sec-intro .intro-col-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .sec-intro .intro-col-left > .col-inner {
    padding-bottom: 25px;
  }

  .sec-intro .intro-img-small {
    width: 55% !important;
    right: 0 !important;
  }

  /* Testimonials */
  .sec-testimonials .testimonial-box {
    margin-bottom: 15px;
  }

  .cat-card-photo img {
    height: 160px;
  }

  .cat-card-top {
    padding: 8px 10px;
  }

  .cat-card-top a {
    font-size: 12px;
  }
}

/* =============================================
   COMPONENT: Contact Form (.contact-form-container)
   ============================================= */

/* Honeypot ẩn */
.contact-form-container .input-hidden-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute;
  left: -9999px;
}

/* Form row — 2 cột */
.contact-form-container .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form-container .form-row .form-group {
  flex: 1;
}

.contact-form-container .form-row.full-width .form-group {
  flex: 1;
}

/* Input + Textarea */
.contact-form-container input[type="text"],
.contact-form-container input[type="tel"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.3s ease;
  outline: none;
  box-shadow: none;
  margin-bottom: 0px;
}
.contact-form-container input[type="text"],
.contact-form-container input[type="tel"],
.contact-form-container input[type="email"]{
  min-height: 42px;
}
.contact-form-container input:focus,
.contact-form-container textarea:focus {
  border-color: var(--heading-green);
}

.contact-form-container textarea {
  min-height: 120px;
  resize: vertical;
}

/* File input */
.contact-form-container .file-wrapper p{
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.contact-form-container .file-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.contact-form-container .file-custom-placeholder {
  flex: 1;
  padding: 12px 15px;
  font-size: 14px;
  color: #999;
}

.contact-form-container .file-btn {
  padding: 12px 20px;
  background: #f5f5f5;
  border-left: 1px solid #ddd;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form-container .file-btn:hover {
  background: #e0e0e0;
}

/* Buttons */
.contact-form-container .form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.contact-form-container .btn-submit {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s ease;
  text-transform: capitalize;
}

/* .contact-form-container .btn-submit:hover {
  background: #c62828;
} */

.contact-form-container .btn-reset {
  background: #9e9e9e;
  color: #fff;
  border: none;
  padding: 0px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s ease;
  text-transform: capitalize;
}

.contact-form-container .btn-reset:hover {
  background: #757575;
}

/* Responsive */
@media (max-width: 549px) {
  .contact-form-container .form-row {
    flex-direction: column;
    gap: 10px;
  }
}
