/*
Theme Name:  Flatsome child
Author: Ux Buider
Template: flatsome
Version: 3.19.3
*/

.section-1-row-col,
.section-title.section-title-normal {
	margin: 0;
	padding: 0;
}
.section-1-row-col .col-inner {
	display: flex;
	justify-content: center;
}
.title-text p:hover {
	opacity: 0.95;
}
.title-text p {
	text-align: center;
	font-size: 18px;
	padding: 20px 40px;
	border-radius: 5px;
	border: 1px solid white;
	background: white;
	display: inline-block;
	margin: 0;
	color: var(--primary-color);
	font-weight: 600;
}
.title-text p i {
	margin-right: 10px;
}

.title-text-new h2 {
	font-size: 35px;
	color: white;
	padding: 0;
	margin: 0;
}

.title-text-new p {
	font-size: 20px;
	color: white;
	margin: 0;
}
.btn-new {
	background: black;
	margin: 0;
}

.title-text-news h3 {
	font-size: 20px;
	margin: 0;
	color: black;
	font-weight: 600;
	text-transform: uppercase;
}

.title-text-news h2 {
	font-size: 30px;
	color: #c4161c;
	font-weight: bold;
	text-transform: uppercase;
}

.col-why i {
	color: #c4161c;
	font-size: 60px;
}
.col-why i::before {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 5%;
}
.text-why h3 {
	font-size: 16px;
	font-weight: 600;
	color: #c4161c;
	margin-bottom: 5px;
}
.text-why p {
	font-size: 13px;
}
.row-why .col.medium-6.small-12.large-6 .col-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.row-why-contact .col.medium-6.small-12.large-6 .col-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.wpcf7-spinner {
	display: none;
}
.col-inner-input-white p {
	text-align: center;
	background: black;
	border-radius: 5px;
}
.col-inner-input-white input {
	text-align: center;
	background: black;
	margin: 0;
}
input.wpcf7-form-control {
	height: 40px !important;
	border-radius: 5px;
}
.wpcf7-form.init,
.col-cf7,
.col-page {
	padding: 0;
	margin: 0;
}

.title-page h1 {
	font-size: 40px;
	font-weight: bold;
	color: white;
	text-align: center;
}

.text-page-gt h2 {
	font-size: 35px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1.3px;
}

.text-page-gt h3 {
	color: #e54e4e;
	font-size: 25px;
}
.text-page-gt h4 {
	color: #e54e4e;
	font-size: 25px;
	text-transform: uppercase;
}
.accordion-item a {
	font-weight: bold;
}

.col-cf7-page .wpcf7-form {
	padding: 30px;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.col-cf7-page .wpcf7-form .row-cf7-page .col {
	padding: 0;
	margin: 0;
}
.mb-5 {
	margin-bottom: 10px !important;
}
.img-page-bor5 img {
	border-radius: 5px;
}
.text-align {
	text-align: center;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 16px;
	text-align: left;
}
th,
td {
	padding: 12px;
	border: 1px solid #ddd;
}
th {
	background-color: #f4f4f4;
}
.col-page-border {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 0 20px;
}

/* Detail */
.product-detail .box-image {
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
	transition: background 0.3s, border 0.3s, border-radius 0.3s,
		box-shadow 0.3s;
	height: 250px;
}
.product-small {
	position: relative;
}
.product-detail .col-inner{
	border-radius: 20px;
}
.product-detail .title-wrapper p {
	position: absolute;
	top: 30px;
	align-self: flex-start;
	font-size: 17px;
	font-weight: 600;
	color: #e54e4e;
}

.product-detail .title-wrapper p a {
	font-size: 17px;
	font-weight: 600;
	color: #e54e4e;
	height:50px;
}
.product-price-acf {
	position: absolute;
	border: 1px solid;
	background-color: black;
	color: white;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	padding: 5px 8px;
	border-radius: 30px;
	top: -15%;
	left: 0;
	border: 2px solid red;
}
.product-small {
	.col-inner{
		border-radius: 12px;
		.product-small.box{
			background-color: #fff;
			border-radius: 12px;
			overflow: hidden;
			border: 1px solid var(--primary-color);
			border-bottom-width: 8px;	
		} 
	}
}
.product-con-acf {
	font-weight: 500;
	font-size: 15px;
}

.product-detail .box-text-products {
	background-color: #e2e8f0;
	box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.5);
	transition: background 0.3s, border 0.3s, border-radius 0.3s,
		box-shadow 0.3s;
	border-radius: 0px 0px 20px 20px;
	height:100px;
}
.product-detail .title-wrapper{
	display:flex;
	justify-content:center;
}
/*  */
/* .specs-table {
margin: 20px 0;
padding: 10px;
border: 1px solid #ddd;
background-color: #f9f9f9;
} */

.specs-table .header {
	background: #e3342f;
	display: inline-block;
	color: white;
	font-size: 25px;
	text-transform: uppercase;
	padding: 5px 20px;
	width: 50%;
	text-align: center;
	border-radius: 5px;
	margin: 0;
	position: relative;
}
.specs-table .header::after {
	position: absolute;
	top: 94%;
	content: '';
	height: 3px;
	background: #e3342f;
	width: 100%;
	left: 99%;
}

.specs-table table {
	width: 100%;
	border-collapse: collapse;
}

.specs-table table th,
.specs-table table td {
	padding: 10px;
	text-align: left;
	border-bottom: 1px solid #ccc;
	color: #333;
	font-size: 14px;
	box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.5);
	transition: background 0.3s, border 0.3s, border-radius 0.3s,
		box-shadow 0.3s;
}

.specs-table table tr:nth-child(2n) {
	background-color: #f4f9fe;
}

.specs-table table th {
	background-color: #f0f0f0;
}
/* Màu nền cho các hàng */
.product-row:nth-child(odd) {
	background-color: hsla(
		0,
		0%,
		50.2%,
		0.10196078431372549
	); /* Màu nền cho hàng lẻ */
}

.product-row:nth-child(even) {
	background-color: #f4f9fe; /* Màu nền cho hàng chẵn */
}

/* Cải thiện màu sắc văn bản */
.product-name,
.product-price {
	color: #333;
}

.fs-16 {
	font-size: 16px;
}
.promotion-container {
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 5px;
	background-color: #f9f9f9;
	margin-bottom: 20px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
	transition: background 0.3s, border 0.3s, border-radius 0.3s,
		box-shadow 0.3s;
}

.promotion-header {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
}
.promotion-header h4 {
	margin: 0;
	padding: 0;
}

.promotion-content {
	font-size: 16px;
}

.promotion-content ul {
	list-style-type: none;
	padding: 0;
}

.promotion-content ul li {
	margin: 10px 0;
}

.promotion-content ul li span {
	font-weight: bold;
	color: #ff0000;
}

.promotion-action {
	text-align: center;
	margin-top: 20px;
}

.promotion-button {
	background-color: #ff0000;
	color: #fff;
	padding: 12px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 18px;
}

.promotion-button:hover {
	background-color: #d40000;
}

.row-2-product {
	background-color: transparent;
	background-image: linear-gradient(200deg, #055284 0%, #1c3c51 100%);
	border-radius: 5px;
}
.btn-product {
	margin: 0;
	border-radius: 99px;
	padding: 0 20px;
	margin-bottom: 10px;
}
.btn-product-2 {
	margin: 0;
}
.text-product-col3 p {
	margin-top: 1rem;
}

.product-menu .product-con-acf {
	color: #e63312;
	font-size: 14px;
	font-weight: bold;
	text-align: justify;
	white-space: nowrap;
}

.product-menu .price-wrapper .price,
.product-menu .product-price-acf {
	display: none;
}
.product-menu .title-wrapper {
	/* height: 40px; */
}
.product-menu .title-wrapper a {
	font-size: 14px;
	font-weight: bold;
	color: #002c5f;
}

.row-giaxe-page {
	border-style: dashed;
	border-width: 0px 0px 2px 0px;
	border-color: #dddddd;
	transition: background 0.3s, border 0.3s, border-radius 0.3s,
		box-shadow 0.3s;
}
.row.row-giaxe-page > div {
	margin: 0;
	padding: 0;
}
.col-8-custom {
	position: absolute;
	width: 800px;
	top: 0;
	left: 130%;
}
.product-page .product-con-acf,
.product-page .product-price-acf {
	display: none;
}

.blog-page-tintuc .col-inner {
	height: 100%;
}
.col-footer-3 .ux-menu.stack.stack-col {
	color: white;
}
.col-footer-3 .ux-menu-title.flex {
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	color: white;
	border-bottom: 3px solid #e54e4e;
}
.ux-menu-link__link.flex:hover {
	color: #e54e4e;
	font-weight: bold;
}


/* Mobile */
.col-product-detail-mb .product-detail .title-wrapper p {
	bottom: 0 !important;
}
.col-product-detail-mb .product-detail .title-wrapper p a{
	top: 0 !important;
	height:50px;
}
.col-product-detail-mb .product-price-acf {
	top: -90% !important;
}

.col-product-detail-mb .product-detail .box-text-products {
	height: 100px !important;
}
.col-product-page-mb {
	overflow: scroll;
}

.col-product-detail-fixed {
	position: fixed;
	/* 	top: 18%; */
	right: 10%;
	width: 250px;
	background-color: transparent;
	background-image: linear-gradient(200deg, #055284 0%, #1c3c51 100%);
	border-radius: 5px;
	transition: opacity 0.3s ease, visibility 0.3s ease; /* Thêm hiệu ứng mượt */
}

/* Ẩn khi cuộn xuống */
.col-product-detail-fixed.hidden {
	opacity: 0;
	visibility: hidden;
}
.product-menu .col-8-custom {
	display: none !important;
}

.col-product-page-mb1 .col-8-custom {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	padding: 0 20px;
}
.row-giaxe-page-mb {
	height: 500px;
	border-style: dashed;
	border-width: 0px 0px 2px 0px;
	border-color: #dddddd;
	transition: background 0.3s, border 0.3s, border-radius 0.3s,
		box-shadow 0.3s;
}
.col-product-page-mb1 .product-title a {
	color: red;
	font-size: 16px;
	font-weight: bold;
}
.col-product-detail-mb-text .specs-table .header {
	width: 100%;
}
.col-product-detail-mb-text .specs-table .header::after {
	position: absolute;
	top: 105%;
	content: '';
	height: 2px;
	background: #e3342f;
	width: 100%;
	left: 0%;
	bottom: 0;
}
#id-btn-form-ct {
	height: 430px !important;
	border-radius: 12px;
}
#id-btn-form-ct .row-cf7-page .col {
	margin: 0;
	padding: 0 20px;
}


.col-inner-ct .wpcf7-form-control-wrap{
	width:95%;
}


#popup-overlay {
	display: none;
}

#popup-overlay.show {
	display: flex;
}
#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6); /* Overlay mờ */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

#popup-overlay.show {
	opacity: 1;
	visibility: visible;
}

#popup-overlay .popup-content {
	background-color: white;
	border-radius: 0.75rem; /* rounded-lg */
	max-width: 44rem; /* max-w-md */
	width: 100%;
	position: relative;
	padding: 1rem; /* p-6 */
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
	max-height: 90vh;
}

#close-popup {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 1.5rem;
	color: #e54e4e;
	cursor: pointer;
	transition: color 0.3s;
	z-index: 999;
}

#close-popup:hover {
	color: #ff0000;
}

/* Responsive */
@media (max-width: 640px) {
	#popup-overlay .popup-content {
		width: 90%;
		margin: 0 5%;
	}
	#close-popup {
		right: -2rem;
	}

}
