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

.pum-theme-1643 .pum-container, .pum-theme-lightbox .pum-container {
    padding: 0px;
    border-radius: unset !important;
    border: unset;
    box-shadow: unset;
    background-color: unset;
}
.horizontal-menu {
	flex-direction: row;
	justify-content: flex-end;
	gap: 20px;
}

.nav:hover>li:not(:hover)>a:before{
	opacity: 1 !important;
}

footer .ux-menu-link__text{
	font-size: .8rem;
}

.img-overlap {
	position: absolute;
	top: 22px;
	left: 22px;
}

.text-giai-phap{
	position: absolute;
	bottom: 30px;
	transform: translatey(30px);
	transition: all 0.3s ease;
	left: 22px;
}

.col-giai-phap:hover .text-giai-phap{
	transform: translatey(0);
}

.col-giai-phap .col-inner{
	position: relative;
}

.col-rounded .col-inner{
	border-radius: 12px;
	overflow: hidden;
}

.pum-theme-1643 .pum-content + .pum-close, .pum-theme-lightbox .pum-content + .pum-close {
 
    right: 26px !important;
 
}

/* ===== TRẠNG THÁI BÌNH THƯỜNG ===== */
.col_gra > .col-inner {
  background: transparent;
  border: 2px solid transparent;   /* giữ layout */
  border-radius: 8px;
  transition: all .3s ease;
}

/* ===== HOVER TOÀN BỘ CARD ===== */
.col_gra:hover > .col-inner {
  background: #fff;
  border-color: #06793E;
}

/* ===== ICON BOX ===== */
.col_gra .icon-box-img {
  border-radius: 99px;
  transition: all .3s ease;
}

.col_gra:hover .icon-box-img {
    background: #067B3E;
    padding: 7px;
}

/* ===== HÌNH ICON ===== */
.col_gra .icon-box-img img {
  border-radius: 99px;
  transition: all .3s ease;
}

/* ===== TEXT ===== */
.col_gra h4,
.col_gra h4 a,
.col_gra p,
.col_gra p strong,
.col_gra p em {
  transition: color .3s ease;
}

.col_gra:hover h4,
.col_gra:hover h4 a,
.col_gra:hover p,
.col_gra:hover p strong,
.col_gra:hover p em {
  color: #06793E !important;
}

/* ===== TRẠNG THÁI BÌNH THƯỜNG ===== */
.col-white > .col-inner {
  background: #fff;
  border: 2px solid #057A3E;
  border-radius: 8px;
  transition: background .3s ease, color .3s ease;
}

/* ===== HOVER CARD ===== */
.col-white:hover > .col-inner {
  background: #067C3E;
  border-color: #057A3E; /* giữ nguyên border */
}

/* ===== TEXT (override inline + Flatsome) ===== */
.col-white h4,
.col-white h4 a,
.col-white p,
.col-white p strong,
.col-white p em,
.col-white span {
  transition: color .3s ease;
}

.col-white:hover h4,
.col-white:hover h4 a,
.col-white:hover p,
.col-white:hover p strong,
.col-white:hover p em,
.col-white:hover span {
  color: #fff !important;
}

/* ===== ICON: GIỮ NGUYÊN – KHÔNG HOVER EFFECT ===== */
.col-white .icon-box-img,
.col-white .icon-box-img img {
  background: transparent;
  padding: 0;
  border-radius: initial;
  transition: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #46b450;
}.menu-sidebar a.ux-menu-link__link.flex {
    margin-bottom: -8px;
}

.menu-sidebar span.ux-menu-link__text:hover {
    color: #F27221 !important;
}

/* ===== MENU SẢN PHẨM – ICON SVG TRƯỚC CHỮ ===== */
#menu-item-1755 > a.nav-top-link {
  display: flex;
  align-items: center;
  font-weight: 500;
  border-radius: 6px;
  padding: 5px 12px;
  color: #000;
  transition: all 0.3s ease;
}

/* ICON TRÒN + 3 GẠCH */
#menu-item-1755 > a.nav-top-link::before {
    content: "";
    width: 34px;
    height: 34px;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round'><line x1='4' y1='7' x2='20' y2='7'/><line x1='4' y1='12' x2='20' y2='12'/><line x1='4' y1='17' x2='20' y2='17'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

/* BỎ ICON MŨI TÊN MẶC ĐỊNH (NẾU MUỐN) */
#menu-item-1755 i.icon-angle-down {
  margin-left: 6px;
}
.flex-col.hide-for-medium.flex-right.flex-grow {
    flex: unset;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.col_gra .icon-box-img {
    margin-bottom: 13px;
}

	.nganh-menu {
    display: block !important;
  
}
	
	.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: auto !important;
    margin-top: -2px;
    background: #0B5E36;
    min-width: 120px;
    border-radius: 0px;
    z-index: 99999;
    left: -48px;
}
	    .nganh-menu li {
        margin-bottom: 6px !important;
        margin-left: 12px !important;
    }
	.nganh-menu li {
    text-align: left;
}
}

.cf7-inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f3f3;
    padding: 10px;
    border-radius: 16px;
    max-width: 600px;
}

.cf7-inline-form .cf7-input {
    flex: 1;
}

.cf7-inline-form input[type="email"] {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 12px 10px;
    color: #333;
	font-weight: 400;
	outline: none;
	box-shadow: none;
}
/* Chrome, Safari, Edge, Opera */
.cf7-inline-form input[type="email"]::-webkit-input-placeholder {
  font-weight: 400;
	color: #1A1A1A;
}

/* Firefox 19+ */
.cf7-inline-form input[type="email"]::-moz-placeholder {
  font-weight: 400;
	color: #1A1A1A;
}

/* IE 10-11 */
.cf7-inline-form input[type="email"]:-ms-input-placeholder {
  font-weight: 400;
	color: #1A1A1A;
}

.cf7-inline-form input::placeholder {
    color: #999;
}

.cf7-inline-form .cf7-button input[type="submit"] {
    background: #ff7a1a;
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.img-startup{
	border-radius: 12px; 
	background: #fff;
	padding: 16px;
	box-shadow: 2px 2px 10px;
}

.cf7-inline-form .cf7-button input[type="submit"]:hover {
    background: #e5670f;
}

input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email{
	margin-bottom: 0;
}

/* Container chính */
.regular-faq {
    background: transparent;
    border: none;
}

/* Từng item của accordion */
.regular-faq .accordion-item {
    background-color: #fff;
    border-radius: 20px; /* Bo góc lớn theo ảnh */
    margin-bottom: 20px; /* Khoảng cách giữa các câu hỏi */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Đổ bóng nhẹ */
    border: none !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Phần tiêu đề câu hỏi */
.regular-faq .accordion-title {
    padding: 15px 30px !important;
    display: flex !important;
    flex-direction: row-reverse; /* Đưa icon sang bên phải */
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    border: none !important;
}

.regular-faq .accordion-title span {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

/* Trạng thái khi đang mở (Active) */
.regular-faq .accordion-title.active span {
    color: #000;
}

/* CSS cho Icon Toggle (Biến mũi tên thành dấu + / -) */
.regular-faq .toggle {
    background: none !important;
    border: none !important;
    position: relative;
    width: 20px;
    height: 20px;
}

/* Tạo dấu + bằng CSS pseudo-elements */
.regular-faq .toggle i {
    display: none; /* Ẩn icon gốc của theme */
}

.regular-faq .toggle::before,
.regular-faq .toggle::after {
    content: "";
    position: absolute;
    background-color: #f97316; /* Màu cam theo mẫu */
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Thanh ngang */
.regular-faq .toggle::before {
    width: 18px;
    height: 2px;
}

/* Thanh dọc (để tạo dấu +) */
.regular-faq .toggle::after {
    width: 2px;
    height: 18px;
}

/* Khi mở (Active): Xoay thanh dọc để chỉ còn lại dấu - */
.regular-faq .accordion-title.active .toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Phần nội dung câu trả lời */
.regular-faq .accordion-inner {
    padding: 0 30px 25px 30px !important;
    border: none !important;
}

.regular-faq .accordion-inner p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
.accordion.regular-faq  .toggle{
	top: 0;
}

/* Hiệu ứng Hover cho cả khối */
.regular-faq .accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .regular-faq .accordion-title {
        padding: 15px 20px !important;
    }
    .regular-faq .accordion-title span {
        font-size: 16px;
    }
}

/* 1. Tổng thể khung Testimonial */
.test-cus {
    background-color: #fff !important;
    border-radius: 25px !important;
    padding: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important; /* Xếp dọc */
    border: none !important;
    max-width: 450px; /* Tùy chỉnh độ rộng card */
}

/* 2. Đảo nội dung văn bản lên trên đầu */
.test-cus .icon-box-text {
    order: 1 !important; /* Chữ lên đầu */
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* 3. Đưa khối ảnh xuống dưới */
.test-cus .icon-box-img {
    order: 2 !important; /* Ảnh xuống dưới */
    float: none !important;
}

/* 4. Tạo bố cục ngang cho hàng cuối (Ảnh | Tên) */
.test-cus {
    display: grid !important;
    grid-template-areas: 
        "text"
        "footer";
}

.test-cus .icon-box-text { grid-area: text; }

/* Gom Ảnh và Thông tin Meta vào một hàng */
.test-cus .icon-box-img, 
.test-cus .testimonial-meta {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Căn chỉnh lại phần Meta để nằm cạnh ảnh */
.test-cus .icon-box-text {
    display: flex !important;
    flex-direction: column !important;
}

.test-cus .testimonial-meta {
    order: 3;
    margin-left: 15px !important;
    padding-top: 0 !important;
    text-align: left;
}

/* CSS xử lý vị trí Ảnh nằm cạnh Tên */
@media (min-width: 1px) {
    .test-cus {
        display: flex !important;
        flex-direction: column !important;
    }
    .test-cus .icon-box-text {
        order: 1 !important;
    }
    /* Kỹ thuật để Ảnh và Meta nằm ngang dưới cùng */
    .test-cus::after {
        content: "";
        display: table;
        clear: both;
    }
    .test-cus .icon-box-img {
        order: 2 !important;
        display: inline-block !important;
        width: 70px !important;
    }
    .test-cus .testimonial-meta {
        display: inline-block !important;
        width: auto !important;
        margin-top: 25px !important;
        margin-left: 15px !important;
    }
}

/* 5. Định dạng văn bản giống mẫu */
.test-cus .testimonial-text {
    font-style: normal !important; /* Bỏ in nghiêng Flatsome */
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}


.slider-partner .col .col-inner{
	transform: scale(0.9);
}
.test-cus .testimonial-text strong {
    color: #1a1a1a;
    display: inline; /* Giữ inline để dấu ngoặc bao quanh */
}

/* 6. Định dạng Tên và Công ty */
.test-cus .testimonial-name {
    font-weight: 700 !important;
    color: #111 !important;
    text-transform: none !important;
    display: block !important;
}

.test-cus .testimonial-company {
    font-size: 16px !important;
    color: #888 !important;
    text-transform: none !important;
    display: block !important;
    opacity: 1 !important;
}

.slider-style-container .flickity-slider>:not(.is-selected), .slider-style-focus .flickity-slider>:not(.is-selected), .slider-style-shadow .flickity-slider>:not(.is-selected){
	opacity: 1;
}

.slider-cus .row > .col > .col-inner{
	padding: 10px;
}

/* Ẩn dấu gạch chéo phân cách / */
.test-cus .testimonial-name-divider {
    display: none !important;
}

/* 7. Bo tròn ảnh nhân vật */
.test-cus .icon-box-img img {
    border-radius: 50% !important;
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
}

.test-cus .testimonial-meta{
	padding-left: 65px;
}

.test-cus .icon-box-img.testimonial-image.circle{
	position: absolute;
	bottom: 0;
	left: 20px;
}

.slider-cus button.flickity-button.flickity-prev-next-button {
    top: -60px;
    right: 20px !important;
    height: max-content;
}

.slider-cus button.flickity-button.flickity-prev-next-button.next{
	left: calc(100% - 32px);
}

.product-tabs-container { margin: 40px 0; font-family: sans-serif; }

/* CSS cho thanh Tabs */
.tabs-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.tab-link {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    border-radius: 30px;
}
.tab-link.active {
    background: #e5e7eb;
    color: #111;
    font-weight: bold;
}
.tab-icon { font-size: 18px; }

/* CSS cho Grid sản phẩm */
.tabs-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.inner-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: 0.3s;
    height: 100%;
}
.inner-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

/* Badge */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    z-index: 1;
}
.badge.hot { 
	background: var(--fs-color-secondary);
/* 	background: #f97316; */
} /* Màu cam */
.badge.sale { background: #15803d; } /* Màu xanh */

/* Ảnh & Chữ */
.p-img { margin-bottom: 15px; text-align: center; height: 180px; display: flex; align-items: center; justify-content: center; }
.p-img img { max-height: 100%; width: auto; object-fit: contain; }
.p-title { font-size: 14px; margin: 0 0 10px; line-height: 1.4; height: 40px; overflow: hidden; }
.p-title a { color: #333; text-decoration: none; }
.p-price { color: #15803d; font-weight: bold; font-size: 16px; }
.p-unit { font-size: 13px; font-weight: normal; color: #666; }

@media (max-width: 1024px) { .tabs-content-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tabs-content-grid { grid-template-columns: 1fr; } }

/* Khung chứa Grid */
.tabs-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px 0;
}

/* Thẻ sản phẩm */
.inner-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.inner-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Badge góc trái */
.p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    color: #fff;
    z-index: 2;
}
.p-badge.hot {
/* 	background-color: #f38235;  */
	background: var(--fs-color-secondary);
} /* Màu cam Bán chạy */

.p-badge.stock { background-color: #386d4d; } /* Màu xanh Có sẵn */

/* Ảnh sản phẩm */
.p-img {
    margin: 20px 0;
    text-align: center;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Tiêu đề 2 dòng */
.p-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
    height: 40px; /* Cố định 2 dòng */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.p-title a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

/* Giá và Đơn vị (Màu xanh lá đậm) */
.p-price-row {
    color: #386d4d; /* Màu xanh lá đặc trưng trong ảnh */
    font-weight: 700;
    font-size: 16px;
    margin-top: auto; /* Đưa giá xuống đáy card */
}
.p-unit {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) { .tabs-content-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .tabs-content-grid { grid-template-columns: repeat(2, 1fr); } }



/* ==================== KHUNG NGOÀI ==================== */
.col-giai-phap .col-inner {
    position: relative;
    border-radius: 25px;
    box-shadow: 0 4px 25px rgba(26, 26, 26, 0.45);
    overflow: hidden;
    background: #fff;
}

/* ==================== PHẦN BLUR Ở DƯỚI ==================== */
.col-giai-phap .box-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.0) 100%);
	backdrop-filter: blur(1px);
}

.slider-banner-pre-footer .flickity-page-dots {
    bottom: 110px;
    line-height: 0;
    left: -804px;
}

/* Style chung cho từng dấu dot */
.slider-banner-pre-footer .flickity-page-dots .dot {
    width: 20px;          /* Độ dài của dot bình thường */
    height: 4px;          /* Độ dày của thanh ngang */
    margin: 0 5px;
    background: #ffffff;  /* Màu trắng */
    opacity: 0.5;         /* Làm mờ các dot chưa chọn */
    border-radius: 0;     /* Xóa bo tròn hoàn toàn để ra hình chữ nhật, hoặc để 2px nếu muốn bo nhẹ */
    border: none;
    transition: all 0.3s ease; /* Hiệu ứng mượt mà khi chuyển slide */
}

/* Style riêng cho dot đang được chọn (is-selected) */
.slider-banner-pre-footer .flickity-page-dots .dot.is-selected {
    width: 50px;          /* Độ dài vượt trội của dot đang chọn như trong ảnh */
    opacity: 1;           /* Hiện rõ màu trắng */
}

/* Loại bỏ hiệu ứng focus mặc định nếu cần */
.slider-banner-pre-footer .flickity-page-dots .dot:focus {
    outline: none;
    box-shadow: none;
}

/* ==================== TEXT ==================== */
.col-giai-phap .text-giai-phap {
    position: absolute;
    bottom: 50px;
    left: 28px;
    z-index: 2;
}

.col-giai-phap .text-giai-phap h3 {
    margin: 0;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
    letter-spacing: -0.4px;
}

/* "Xem thêm" */
.col-giai-phap .box-text {
    position: absolute;
    bottom: 0px;
    left: 8px;
    z-index: 2;
    text-align: left;
}

.col-giai-phap .box-text p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 17.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.col-giai-phap .box-text p::after {
    content: "↗";
    font-size: 21px;
    line-height: 1;
}

/* Icon góc trên trái */
.col-giai-phap .img {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    width: 48px !important;
}

.col-giai-phap .img img {
    filter: brightness(0) invert(1);
}

/* Hover effect */
.col-giai-phap:hover .box-image img {
    transform: scale(1.06);
    transition: transform 0.7s ease;
}

/* Ẩn overlay mặc định của Flatsome */
.col-giai-phap .overlay {
    display: none !important;
}

.ft-heading {
	font-size: .85em;
    opacity: .8;
	letter-spacing: .05em;
    line-height: 1.05;
    text-transform: uppercase;
}