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

/* ///// GENERAL ///// */
:root{
	--primary-color: #02953d;
	--secondary-color: #da251c;
}
body {
	margin: 0;
	padding: 0;
}
.margin-t15 {
	margin-top: 15px !important;
}
.margin-b20 {
    margin-bottom: 20px !important;
}
.margin-0{
	margin: 0 !important;
}
.padding-0{
	padding: 0 !important;
}

.header-main .nav > li > a {
	letter-spacing: -0.25px;
	word-spacing: -0.25px;
}

blockquote{
	border-left: 4px solid #ec921a;
}

.count-up{
	font-family: "Tektur", sans-serif;
	font-weight: 600;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400;500;600;700&display=swap');

/* TITLE & BREADCRUMB */
.titleBreadcrumb {
	width: 100%;
	display: flex;
	justify-content: space-between; 
	align-items: end;
	padding: 10px 30px;
}
.leftTitle {
	font-size: 2.3rem; 
	font-weight: bold;
}
.rightBreadcrumb {
	display: inline-flex; 
	align-items: center;
	background: var(--primary-color); 
	padding: 6px 20px 6px 12px;
	border-radius: 4px;
	color: white; 
	font-size: 12px; 
	font-weight: 500; 
}
.rightBreadcrumb a{
	text-decoration:none;
	font-weight: 600;
	color:inherit;
}
.rightBreadcrumb a:hover{
	color:#fff;
}
.rightBreadcrumb i{
	margin:0 8px;
}

/* Title Underline */
hr.underline{
	border-top: 1.5px solid var(--primary-color);
	height: 0;
	margin: 0 0 20px;
	overflow: visible;
	opacity: 1; /* default:0.1 */
}
hr.underline::after{
	position: relative;
	content: "\f0d7";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	display: inline-block;
	font-size: 22px;
	top: -16px;
	left: 26px;
	color: var(--primary-color);
	line-height: 35px;
}


/* Button View More */
a.view-more{
	color: #facc17;
}
a.view-more::after{
	position: relative;
	content: '\f101';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-left: 3px;
	display: inline-block;
	font-size: 0.6rem;
}

/* list */
ul li.bullet-arrow{
	border-bottom: none;
	padding: 5px 0 5px 25px;
}
ul li.bullet-arrow:before{
	color: var(--primary-color);
	line-height: 1.2;
}
.bullet-arrow a:hover{
	color: #facc17;
}

ul li.itemProduct {
	list-style: none;
	margin-left: 0;
}
li.itemProduct::before {
	content: "\f105"; 
	font-family: 'Font Awesome 5 Free';
	font-weight: 900; 
	margin-right: 8px;
	color: #facc17;
	font-size: 0.85rem;
}
.itemProduct a{
	color: inherit;
	text-decoration: none;
}
.itemProduct a:hover{
	color: #e2762e;
}

/* ///// TYPOGRAPHY ///// */

/* GOLD LUXURY TITLE */
.luxury-title-wrapper {
	text-align: center;
}
.gold-luxury-heading {
	/* 1. Font chữ sang trọng */
	font-family: "Arizonia", cursive;
	font-weight: 900; /* In đậm */
	font-size: 3rem;  /* Kích thước chữ lớn (điều chỉnh nếu cần) */
	line-height: 1.2;
	letter-spacing: 3px; /* Khoảng cách chữ rộng tạo sự thoáng đạt, sang chảnh */
	margin: 0;
	background: linear-gradient(
        to right, 
        #bf953f 0%, 
        #fcf6ba 20%, 
        #b38728 40%, 
        #ffffff 50%, /* Đây là dải ánh sáng trắng */
        #fbf5b7 60%, 
        #aa771c 80%, 
        #bf953f 100%
    );
	
	/* 2. Tăng kích thước background lên để có không gian chạy */
    background-size: 200% auto;
	
	/* Kỹ thuật cắt nền theo khuôn chữ */
	background-clip: text;
	-webkit-background-clip: text; /* Safari/Chrome */
	
	/* Làm trong suốt màu chữ gốc để hiện nền gradient */
	color: transparent; 
	-webkit-text-fill-color: transparent;

	/* 3. Hiệu ứng */
	/* Thêm một chút bóng nhẹ để chữ nổi lên */
	filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.15));

	position: relative;
	display: inline-block;
	
	/* Hiệu ứng ánh sáng chạy */
    animation: shine-gold 4s linear infinite;
}
@keyframes shine-gold {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* (Tùy chọn) Thêm đường gạch chân trang trí nhỏ bên dưới */
.STOP_gold-luxury-heading::after {
	content: '';
	display: block;
	width: 60px; /* Độ dài đường gạch */
	height: 3px; /* Độ dày */
	/* Dùng chung gradient vàng */
	background-image: linear-gradient(to right, #bf953f, #fcf6ba, #aa771c);
	margin: 20px auto 0 auto; /* Căn giữa bên dưới chữ */
}




/* EMERALD LUXURY TITLE (Xanh Ngọc Lục Bảo) */
.luxury-title-wrapper.ava-emerald {
	text-align: center;
	padding: 40px 0;
	background-color: #f8f9fa; /* Nền sáng nhẹ để tôn màu đậm */
}
.emerald-heading {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 3rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 2.5px; /* Khoảng cách rộng sang trọng */
	margin: 0;
	position: relative;
	display: inline-block;

	/* --- HIỆU ỨNG KIM LOẠI XANH NGỌC LỤC BẢO --- */
	/* Gradient chuyển từ xanh đen -> xanh ngọc -> xanh sáng -> xanh đen */
	background-image: linear-gradient(
		to right, 
		#003319, 
		#006633, 
		#00b359, 
		#006633, 
		#003319
	);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;

	/* Đổ bóng nhẹ màu xanh tối để tạo chiều sâu */
	filter: drop-shadow(0px 2px 3px rgba(0, 51, 25, 0.3));
}
/* --- ĐIỂM NHẤN MÀU ĐỎ RUBY --- */
/* Đường gạch chân nhỏ màu đỏ đậm */
.emerald-heading::after {
	content: '';
	display: block;
	width: 80px;
	height: 3px;
	/* Gradient đỏ đậm sang trọng */
	background-image: linear-gradient(to right, #660000, #b30000, #660000);
	margin: 25px auto 0 auto;
}




/* STATISTICS */
.num{
	color: #555;
/* 	color: var(--primary-color); */
	font-size: 3rem; 
	font-weight: 600;
}
.sub{
	font-size: 1.6rem; 
	font-weight: 600;
}
.cnt-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Điều chỉnh: space-between, space-around, space-evenly */
    gap: 40px 128px;         /* Khoảng cách giữa các cột (Dọc - Ngang) */
    width: 100%;
    padding: 40px 0;
}
.cnt-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ép mọi thành phần con bám lề trái */
    text-align: left;        /* Đảm bảo text luôn căn trái */
    min-width: 220px;        /* Độ rộng tối thiểu để các cột đều nhau */
}
.cnt-item .num-group {
    display: flex;
    align-items: baseline;   /* Giúp dấu + nằm ngang hàng với chân con số */
    color: #555;
    line-height: 1;
}
.cnt-item .num {
    font-size: 3rem;
    font-weight: 600;
}
.cnt-item .sub {
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: 4px;
}
.cnt-item .desc {
    display: block;
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}



/* Contact Us */
.contactUs ul li{
	list-style: none;
	margin-left: 0;
}
.contactUs ul li i{
	color: var(--primary-color);
	margin-right: 10px;
}


/* Menu Vertical Style 1 */
.verticalMenu{
	padding: 0;
	margin: 20px 0;
	background-color: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.verticalMenu h3{
	background-color: var(--secondary-color);
	color: white;
	margin: 0;
	padding: 10px;
	font-size: 0.8rem;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.verticalMenu ul{
	padding: 0;
	margin: 0;
}
li.itemMenu {
	list-style: none;
	padding: 10px;
	margin: 0;
	font-size: 0.8rem;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}
li.itemMenu:hover {
	background-color: #e0e0e0;
}
li.itemMenu:last-child {
	border-bottom: none;
}
li.itemMenu::before {
	content: "\f0da"; /* Biểu tượng menu (hamburger) */
	font-family: 'Font Awesome 5 Free';
	font-weight: 900; /* Đảm bảo biểu tượng hiển thị đúng */
	margin-right: 8px;
	color: var(--secondary-color);
}
li.itemMenu a{
	color: inherit;
	text-decoration: none;
}

/* Menu Vertical Style2 */
.verticalMenu2{
	padding: 0 15px;
	margin: 20px 0;
	border: 1px solid #eee;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.verticalMenu2 h3{
	margin: 10px 0;
	padding: 14px 0px;
	font-size: 0.85rem;
	font-weight: 600;
	position: relative;
	color: #b20000;
}
.verticalMenu2 h3::before {
	content: "";
	position: absolute;
	left: -17px;
	top: 6px;
	bottom: 6px;
	width: 3px;
	background-color: #d26e4b;
	border-radius: 2px;
}
.verticalMenu2 ul{
	padding: 0;
	margin: 0;
}
li.itemMenu2 {
	list-style: none;
	padding: 10px 0px;
	margin: 0;
	font-size: 0.8rem;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}
li.itemMenu2:hover {
	color: var(--secondary-color);
}
li.itemMenu2:last-child {
	border-bottom: none;
}
li.itemMenu2::before {
	content: "\f0da"; 
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 0.8rem;
	margin-right: 8px;
	color: #999;
}
li.itemMenu2 a{
	color: inherit;
	text-decoration: none;
}



/* ///// FEATURRES MODULE ///// */
.features-module {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 20px;
}
.featureItem {
	flex: 1;
	min-width: 200px;
	max-width: 300px;
	background: #f7f7f7;
	border-radius: 10px;
	text-align: center;
	position: relative;
	padding: 20px; /* padding-top để tạo khoảng trống cho đường kẻ ngang */
}
.featureItem::before {
	content: "";
	position: absolute;
	top: 70px; 
	left: 0;
	width: 100%;
	height: 3px;
	background-color: orange;
	border-radius: 10px;
	z-index: 1; 
}
.featureItem:nth-child(odd)::before {
	background-color: var(--primary-color); 
}
.featureItem:nth-child(even)::before {
	background-color: var(--secondary-color); 
}
.featureItem:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
	transition: all 0.3s ease;
}
.featureItem h3 {
	color: var(--primary-color);
	margin-top: 15px;
	font-weight: 600;
	font-size: 1.2rem;
}
.featureItem:nth-child(odd) h3 {
	color: var(--primary-color);
}
.featureItem:nth-child(even) h3 {
	color: var(--secondary-color);
}
.featureItem p {
	color: #555;
	font-size: 13px;
	line-height: 1.6;
}
.circle-btn {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background-color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	color: white;
	font-size: 35px;
	text-decoration: none;
	transition: 0.3s;
	position: relative;
	z-index: 3;
}
.circle-btn:hover {
	transform: scale(1.1);
	background-color: #ff6600;
}
.circle-btn:active {
	background-color: #cc3300;
}


/* HEADER CONTACT MODULE */
.itemContact {
    display: flex;
    align-items: center;
    justify-content: center;
}
.itemContact em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: #0a9548; */
    border: 1.5px solid var(--primary-color);
	color: var(--primary-color);
    width: 35px;
    height: 35px;
	border-radius: 3px;
}
.icFont {
    font-family: 'FontAwesome';
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icTel:before {
    content: "\f095";
}
.icMail:before {
    content: "\f0e0";
}
.icChat:before {
    content: "\f075";
}
.itemContact .contactInfo {
    padding-left: 10px;
    color: #000;
    line-height: 1.3;
}
.itemContact .contactInfo span {
    color: var(--primary-color);
    font-size: 12px;
}
.itemContact .contactInfo p {
    font-size: 14px;
    word-break: break-word;
	margin:0;
}
.itemContact .contactInfo a {
    color: var(--secondary-color);
}


/* /////// BLOG ///////// */

h5.post-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: -0.7rem;
}

/* Tiêu đề item */
.box-list-view .box .box-image, .box-list-view .box .box-text, .box-vertical .box-image, .box-vertical .box-text{
	direction: ltr;
	display: table-cell;
	vertical-align: top;	/* căn top */
}


/*////////  CATEGORY BY HONEYCROMB  //*/
.fl-honeycomb-container {
	--d-size: 300px;      /* Kích thước hình thoi trên Desktop */
	--d-gap: 60px;        /* Khoảng cách */
	--d-m-size: 120px;    /* Kích thước hình thoi trên Mobile */
	--border-size: 10px;   /* Độ dày viền trắng */

	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px 0;
	width: 100%;
	overflow: visible; /* Quan trọng để không mất góc khi hover */
}
.fl-hc-row {
	display: flex;
	justify-content: center;
}
/* Hàng thứ 2 đẩy lên */
.fl-hc-row.row-2 {
/* 	margin-top: calc(var(--d-size) / -2 + var(--d-gap) / 2); */
	margin-top: calc((var(--d-size) / -2) + (var(--d-gap) / 2) - (var(--border-size) / 2));
}
.fl-hc-item {
	width: var(--d-size);
	height: var(--d-size);
	margin: 0 calc(var(--d-gap) / 2);
	position: relative;
	text-decoration: none;
	z-index: 1;
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Hiệu ứng mượt hơn */
	
	background-color: #ffffff;
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);	/* Cắt khối này thành hình thoi */
	filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.1)); /* Thêm một chút đổ bóng nhẹ cho toàn khối nổi lên */
	display: flex;
    justify-content: center;
    align-items: center;
}
.fl-hc-item:hover {
    transform: scale(1.08); /* Phóng to nhẹ cả khối gồm viền */
    z-index: 10;
    filter: drop-shadow(0px 15px 25px rgba(0,0,0,0.2)); /* Bóng đậm hơn khi hover */
}
/* Hình ảnh bên trong */
.fl-hc-item img {
    /* Thu nhỏ ảnh lại bằng 100% trừ đi 2 lần độ dày viền */
    width: calc(100% - (var(--border-size) * 2));
    height: calc(100% - (var(--border-size) * 2));
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;

    /* (Quan trọng) Cắt ảnh bên trong cũng thành hình thoi */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.fl-hc-item:hover img {
    transform: scale(1.1); /* Ảnh bên trong zoom thêm chút nữa tạo chiều sâu */
    filter: brightness(0.6); /* Làm tối ảnh hơn chút để nổi text */
}
/* Text Overlay */
.fl-hc-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff !important;
	font-family: 'Tektur';
	font-weight: 600;
	font-size: 18px;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
	width: 80%;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
	line-height: 1.2;
}
.fl-hc-item:hover .fl-hc-text {
	opacity: 1;
}



/* ////// SINGLE PRODUCT FORMAT //////// */
/* Breadcrumb */
.x7-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
	background: #f7f7f7;
	margin-top: 2rem;
	padding: 8px 15px;
	font-weight: 500;
}
.x7-breadcrumb a {
    color: #555;
}
.x7-breadcrumb .x7-breadcrumb-cat {
  position: relative;
}
.x7-breadcrumb .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  min-width: 180px;
  z-index: 99;
	list-style-type: none;
    padding: 5px;
}
.x7-breadcrumb .dropdown li{
	font-size: 13px;
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 9px 6px;
}
.x7-breadcrumb .dropdown li a:hover{
	color: var(--secondary-color);
	font-weight: 600;
}
.x7-breadcrumb .x7-breadcrumb-cat:hover .dropdown {
  display: block;
}
.x7-breadcrumb .arrow {
  font-size: 10px;
  margin-left: 4px;
}

/* Ảnh sản phẩm (Ảnh đại diện) */
.x7-product-thumb-wrap {
  position: relative;
  padding: 20px;
  background: radial-gradient(
    circle at center,
    #ffffff 0%,
    #fafafa 45%,
    #fdfdfd 100%
  );
  border-radius: 4px;
  text-align: center;
}
.x7-product-thumb {
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: auto;
}

/* Product-format Features (bên dưới ảnh sp) */
.product-values-wrapper {
	border: 1px dashed var(--primary-color);
	border-radius: 6px;
	padding: 14px 10px;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	background-color: #f9fdf9;
	max-width: 800px;
	margin: 20px auto;
}
.value-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 5px;
}
.value-icon {
    font-size: 28px; 
    margin-bottom: 8px;
    color: var(--primary-color, #27ae60);
    height: 40px; /* Giữ chiều cao cố định để các icon thẳng hàng */
    display: flex;
    align-items: center;
}
.value-text {
	font-family: Arial, sans-serif;
	font-size: 10px;
	color: #333;
	line-height: 1.2;
	word-wrap: break-word;
}

/* Product Title */
.product-title {
    color: var(--primary-color);
}

/* Shortcode "Giá" */
.x7-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}
.x7-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.x7-price-original .label,
.x7-price-sale .label {
  display: none;	/* Ẩn label mặc định */
}
/* Giá gốc */
.x7-price-original .value {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  white-space: nowrap;
}
/* Giá KM */
.x7-price-sale .value {
	font-family: serif;
  font-size: 20px;
  font-weight: 600;
	color: var(--secondary-color);
  white-space: nowrap;
}
/* SL đã bán */
.x7-price-sold {
  font-size: 13px;
  color: #777;
  font-style: italic;
  white-space: nowrap;
}
/* giữ label cho SL đã bán */
.x7-price-sold .label {
  display: inline;
}
/* Hiển thị "(SL đã bán: 1234)" */
.x7-price-sold::before {
  content: "(";
}
.x7-price-sold::after {
  content: ")";
}


/* Shortcode "Thành phần" */
.x7-thanhphan {
  margin: 15px 0 25px;
}
.x7-thanhphan-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
	display: none;
}
.x7-thanhphan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.x7-thanhphan-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
  font-size: 13px;
	margin-bottom: 0;
}
.x7-thanhphan-item:last-child {
/*   border-bottom: none; */
}
.x7-thanhphan-item .label {
  color: #333;
}
.x7-thanhphan-item .value {
  font-weight: 500;
  color: #111;
}

/* Shortcode "Intro text" */
.x7-intro {
  margin: 10px 0 16px;
  padding-left: 12px;
  border-left: 3px solid #ddd;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

/* btn "Mua hàng" */
.product-actions-wrapper {
  display: flex;
  gap: 25px;
  max-width: 800px;
  margin: 20px auto;
}
.btn-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 8px;
}
.btn-chat {
  border: 1px solid var(--primary-color, #27ae60);
  color: var(--primary-color, #27ae60);
  background-color: transparent;
}
.btn-chat:hover {
  background-color: rgba(39, 174, 96, 0.05);
}
.btn-call {
  background-color: var(--secondary-color, #f39c12);
  color: #ffffff;
  border: 1px solid var(--secondary-color, #f39c12);
}
.btn-call:hover {
  opacity: 0.9;
}

/* Content */
.product-content {
    margin: 2rem 0;
}
.product-content ul li {
    margin-left: 1.3rem;
}

/* Product Related */
.x7-related-title {
    border-bottom: 3px solid var(--secondary-color);
    text-transform: uppercase;
    line-height: 2;
    margin-bottom: 1.5rem;
}
.x7-related-item {
/*     background: #f9f9f9; */
    border-radius: 8px;
    border: 1px solid #eee;
	padding: 15px;
	box-shadow: 0 2px 8px #959da533;
}
.x7-related-thumb {
    background: #f9f9f9;
	border-radius: 8px 8px 0 0;
}
.x7-related-name {
    font-size: 14px;
    padding: 15px 0 0;
    margin-top: 10px;
    font-weight: 600;
	color: #333;
	border-top: 1px solid #ddd;
}

/* Sidebar */
.sidebarP{
	border-radius: 20px;
    box-shadow: 0 8px 24px #959da533;
	padding: 20px 0 0;
	margin-bottom: 20px;
}
/* FIX Flatsome row overflow để sticky hoạt động */
.x7-category-product {
  overflow: visible !important;
}
.x7-category-product > .col {
  overflow: visible !important;
}/* Sticky sidebar */
.x7-cat-sidebar.is-sticky {
  position: sticky;
  top: 90px; /* chỉnh theo chiều cao header */
  align-self: flex-start;
}
.single-post .sidebarP.is-sticky {
  position: sticky;
  top: 90px;
  align-self: flex-start;
}
/* FIX sticky cho trang chi tiết sản phẩm */
.single-product .product-page,
.single-product .product-page .row,
.single-product .product-page .col {
  overflow: visible !important;
}
/* Gỡ overflow gây chết sticky ở Single Product */
.single-post .row,
.single-post .product-layout,
.single-post .product-layout > .col {
  overflow: visible !important;
}


/* Nhà sản xuất */
.x7-nsx {
    display: flex;
    flex-direction: column; /* Xếp chồng các nhóm thông tin theo hàng dọc */
    gap: 15px;
	padding: 0 10px;
}
.x7-nsx-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #2c3e50;
}
.x7-nsx-info p {
    margin: 0;
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}
.x7-nsx-sta {
    display: flex;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}
.sta-item {
    flex: 1; /* Mỗi item chiếm 50% */
    display: flex;
    flex-direction: column; /* Số ở trên, chữ ở dưới cho chuyên nghiệp */
    align-items: center;
    font-size: 12px;
    color: #666;
    border-right: 1px solid #eee;
}
.sta-item:last-child {
    border-right: none;
}
.x7-nsx-sta span {
    font-weight: bold;
    font-size: 18px;
    color: #27ae60;
}
.x7-nsx-sta i {
    color: #f1c40f;
    font-size: 12px;
}
.x7-nsx-iso {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.iso-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
    font-weight: 500;
}
.iso-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}


/*///// CATEGORY PRODUCT FORMAT /////*/
/* Title */
.x7-cat-title {
	font-family: "Arizonia", cursive;
	font-weight: 900;
	font-size: 3rem;
	line-height: 1.2;
	letter-spacing: 3px;
	margin: 1rem 0 -1rem;
	background-image: linear-gradient(
		to right, 
		#d1a026, 
		#9f8047, 
		#b38828, 
		#fbf5b7, 
		#aa451c
	);
	/* Kỹ thuật cắt nền theo khuôn chữ */
	background-clip: text;
	-webkit-background-clip: text; /* Cho trình duyệt Safari/Chrome */
	color: transparent; /* Làm trong suốt màu chữ gốc để hiện nền gradient */
	-webkit-text-fill-color: transparent;

	position: relative;
	display: inline-block;
}

.x7-category-product {
    margin-top: 2rem;
}

.x7-cat-main {
    margin-top: 20px;
}

/* Search Form */
.x7-search-wrap {
  position: relative;
  width: 100%;
}
button.x7-search-btn {
  display: flex;
  gap: 10px;
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  height: calc(100% - 12px);
  padding: 0 14px;
	margin-bottom: 0;
	background-color: transparent !important;
	color: #ddd;
  font-size: 13px;
  cursor: pointer;
}
.x7-search-btn:hover {
  color: #333;
}
input.x7-search-input {
	width: 100%;
	box-sizing: border-box;
    border-radius: 20px;
    padding: 21px 70px 21px 20px;  /* padding-right: 70px;  chừa chỗ cho nút */
	margin: 0;
	color: #ddd;
    font-style: italic;
}

/* Tag Filter */
.x7-tag-filter-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
	padding: 0 0 10px;
}
.x7-tag-label {
	font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.x7-tag-filter {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.x7-tag-item {
  cursor: pointer;
  white-space: nowrap;
}
.x7-tag-item.active {
    background: #ededed;
    color: var(--secondary-color);
    padding: 0 8px;
    border-radius: 3px;
}
.x7-tag-item.active:hover {
	color: var(--primary-color);
}
button.x7-tag-item {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 13px;
	color: var(--primary-color);
	margin: 0;
	padding: 0;
}
button.x7-tag-item:hover{
	color: var(--secondary-color);
	font-weight: 600;
}

/* Clear Filter */
.x7-clear-filter {
  display: none;
	margin: 0 0 0 auto;
	color: var(--secondary-color);
	border: 1px dashed var(--secondary-color);
    border-radius: 2px;
	font-weight: 500;
  padding: 1px 10px;
  font-size: 12px;
  cursor: pointer;
}
.x7-clear-filter.is-visible {
  display: inline-flex;
}
.x7-clear-icon {
  font-weight: bold;
  line-height: 2.4;
	margin-right: 8px;
}


/* Grid Products */
.x7-product-grid {
    margin-top: 25px;
}
.x7-product-item {
	padding: 12px;
}
.x7-product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
	padding: 15px;
}
.x7-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}
.x7-product-thumb {
  overflow: hidden;
}
.x7-product-thumb img {
  width: 100%;
  height: auto;
}
.x7-product-name {
  font-size: 15px;
  margin: 8px 0 0;
  line-height: 1.3;
}
a.x7-btn-view {
    color: var(--primary-color);
}
a.x7-btn-view:hover{
	color: var(--secondary-color);
}

/* Load more */
button.x7-load-more.button {
    background-color: #eee;
    color: #666;
    font-size: 13px;
	font-weight: 500;
    width: 100%;
    margin: 2rem 0;
	padding: 5px 0;
	border-radius: 4px;
}
button.x7-load-more.button:hover{
	color: var(--secondary-color);
	font-weight: 600;
}


/* SHORTCODE PRODUCT SLIDER */
/* Slick track dùng flex */
.x7-product-slider .slick-track {
  display: flex;
}
/* Mỗi slide cao đều nhau */
.x7-product-slider .slick-slide {
  height: auto;
  display: flex;
}
/* Card chiếm full slide – KHÔNG set width */
.x7-product-slider .slick-slide > div {
  height: 100%;
}
/* Vô hiệu col của Flatsome BÊN TRONG slide */
.x7-product-slider .slick-slide .col,
.x7-product-slider .slick-slide [class*="large-"],
.x7-product-slider .slick-slide [class*="medium-"],
.x7-product-slider .slick-slide [class*="small-"] {
  float: none !important;
  max-width: 100% !important;
}





@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

	.titleBreadcrumb {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	
	/* GOLD LUXURY TITLE */
	.gold-luxury-heading {
		font-size: 2rem; /* Giảm size trên mobile */
		letter-spacing: 1.5px;
	}
	.gold-luxury-heading::after {
		margin-top: 15px;
		height: 2px;
	}

	
	/* EMERALD LUXURY TITLE (Xanh Ngọc Lục Bảo) */
	.emerald-heading {
		font-size: 2rem;
		letter-spacing: 1.5px;
	}
	.emerald-heading::after {
		margin-top: 15px;
		width: 60px;
	}
	
	
	/* CATEGORY BY HONEYCROMB */
	.fl-honeycomb-container {
		--d-size: var(--d-m-size);
		--d-gap: 15px;
		--border-size: 4px;
	}
	.fl-hc-row.row-2 {
		margin-top: calc(var(--d-m-size) / -2 + var(--d-gap) / 2);
	}
	.fl-hc-text {
		font-size: 11px;
		opacity: 1; /* Trên mobile hiện text luôn cho dễ nhìn */
		background: rgba(0,0,0,0.2);
		padding: 2px;
	}
	
	
	/* STATISTICS */
    .cnt-wrapper {
        gap: 40px; /* Giảm khoảng cách trên mobile */
        padding-left: 20px; /* Tạo khoảng trống nhẹ để không dính sát mép */
    }
    .cnt-item {
        flex: 0 0 100%; /* Mỗi số chiếm trọn 1 hàng */
        max-width: 250px; /* Giới hạn độ rộng để khối căn lề trái trông gọn ở giữa màn hình */
    }
    .cnt-item .num {
        font-size: 2.8rem;
    }
	
	/* // SINGLE PRODUCT FORMAT // */
	/* Product-format Features (bên dưới ảnh sp) */
	.value-text { font-size: 12px; }
	.value-icon { width: 30px; height: 30px; }
	/* btn "Mua hàng" */
	.product-actions-wrapper {
		flex-direction: column-reverse; /* Đảo ngược: Nút 2 lên trên, Nút 1 xuống dưới */
		gap: 10px;
		padding: 0 15px;
	}
	.btn-action {
		width: 100%;
	}
	
	/* // CATEGORY PRODUCT FORMAT // */
	/* Đổi vị trí trên mobile */
	.x7-cat-main    { order: 1; }
	.x7-cat-sidebar { order: 2; margin-top: 24px; }
}