/*
Theme Name:  Flatsome child
Author: Ux Buider
Template: flatsome
Version: 3.19.4
*/
/* Common */
body, h1, h2, h3, h4, h5, h6, p {
    font-family: Arial, sans-serif !important;
}
.mt-1r {
	margin-top: 1rem !important;
}
.mb-1r {
	margin-bottom: 1rem !important;
}
.p-0 {
	padding: 0 !important;
}
.m-0 {
	margin: 0;
}
.text-align {
	text-align: center;
}
.color-white {
	color: white;
}
.color-white a {
	color: white;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
}
.color-white a:hover {
	color: #fcba1b;
}
.fs27 {
	font-size: 27px;
	font-weight: bold;
}
.price {
	margin-top: 10px;
}
.contact-price {
	font-weight: bold;
	font-size: 17px;
	color: red;
}

/* Menu main */
.header-inner .flex-col.hide-for-medium.flex-right {
	width: 45%;
}
.header-bottom {
	background-color: var(--primary-color) !important;
}

/*  Block Menu center */
.text-menu-header .icon-cdn {
	width: 15px;
}
.banner-center {
	width: 120%;
	padding: 10px 0 0 0 !important;
}
.banner-center .text-menu-header {
	color: #838383;
	font-size: 14px;
}
.banner-center .word {
	font-size: 29px;
	font-family: 'UTMAvoBold';
	color: var(--primary-color);
	font-weight: 700;
}
/* Shortcode Text-menu-center */
.menu-flip-bottom .effect-text{
	margin:0 !important
}
.slogan .effect-text {
	justify-content: center;
	font-size: 17px;
	color: white;
	padding: 10px 0;
}
.effect-text {
	font-size: 2em;
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	text-transform: capitalize;
	color: white;
}
.word {
	display: inline-block;
	transform: translate3d(0, 0, 0);
}
.char {
	display: inline-block;
	visibility: hidden;
	transition: visibility 0s, opacity 0.5s linear;
	margin-right: 2px;
}
.char.visible {
	visibility: visible;
	opacity: 1;
}
.space {
	display: inline-block;
	width: 8px; /* Điều chỉnh kích thước khoảng trắng nếu cần */
}
@keyframes flip {
	from {
		transform: rotateY(90deg);
	}
	to {
		transform: rotateY(0deg);
	}
}

.phrase {
	opacity: 0;
	transition: opacity 0.5s ease;
}

.phrase.visible {
	opacity: 1;
	/* Thêm hiệu ứng flip nếu cần */
	animation: flip 0.5s forwards; /* Thay đổi hoặc thêm hiệu ứng flip tùy ý */
}

/* Home */
.img-item-home img {
	object-fit: inherit;
}
.product-categories-home img {
	padding: 30px;
	border: 1px solid #ccc;
	border-radius: 5px;
	text-align: center;
}
.product-categories-home h5 {
	font-size: 14px;
	color: #666;
	font-weight: normal;
}
.product-categories-home h5:hover {
	color: var(--primary-color);
}


.product-tabs-home .product-small.box {
	width: 100%;
	background: #fff;
	border: 1px solid #ccc;
	padding: 5px;
}
.product-tabs-home .product-small.box:hover {
	cursor: pointer;
}
.product-small.box {
	width: 100%;
	background: #fff;
	border: 1px solid #ccc;
	padding: 5px;
}

.product-small.box img {
	width: 100%;
    height: 200px;
    object-fit: initial;
}
.text-white .tab a {
	color: var(--primary-color) !important;
	padding: 6px 25px !important;
}
.product-tabs-home .tab a {
	padding: 1px 25px;
	border-radius: 5px;
	font-weight: 300;
	color: var(--primary-color);
	font-size: 20px;
	display: inline-block;
	text-transform: uppercase;
	cursor: pointer;
	border: 1px solid var(--primary-color);
	margin-right: 5px;
}
.product-tabs-home .tab a:hover {
	background: var(--primary-color);
	color: white !important;
}
.product-tabs-home .product-title,
.product-title {
	text-align: center;
	white-space: nowrap; /* Ngăn không cho văn bản xuống dòng */
	overflow: hidden; /* Ẩn phần văn bản vượt quá khung */
	text-overflow: ellipsis; /* Thêm dấu ba chấm */
	-webkit-box-orient: horizontal; /* Chỉ định hướng cho flexbox */
	-webkit-line-clamp: 1; /* Số dòng tối đa (1 dòng) */
	display: -webkit-box; /* Thiết lập kiểu hiển thị cho flexbox */
}
.product-tabs-home .product-title:hover,
.product-title:hover {
	cursor: pointer;
}
.img-two-home-col .col-inner {
	position: relative;
}
.img-two-home-col img:hover {
	filter: brightness(0.5);
	transition: all 0.5s;
}
.img-two-home-col .col-inner:before,
.img-two-home-col .col-inner:after {
	box-sizing: inherit;
	content: '';
	position: absolute;
	z-index: 9;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	left: 10px;
	top: 10px;
	transform-origin: center;
}

.img-two-home-col .col-inner:before {
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	transform: scale3d(0, 1, 1);
}
.img-two-home-col .col-inner:after {
	border-left: 1px solid white;
	border-right: 1px solid white;
	transform: scale3d(1, 0, 1);
}

.col-pad-home {
	display: flex;
	justify-content: center;
	width: 100%;
	background: #fff;
	border: 1px solid #ccc;
	padding: 0 !important;
}
.col-pad-home .col-inner {
	padding: 10px;
}
.title-newsletter {
	margin-top: 2rem;
}
.title-newsletter p {
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	font-size: 20px;
	background: url(../images/web/bgtitle-newsletter.png) no-repeat bottom
		center;
	padding-bottom: 16px;
	margin-bottom: 10px;
	line-height: 30px;
}
.slogan-newsletter p {
	margin-bottom: 20px;
	color: #fff;
	text-align: center;
	padding: 0 10px;
	font-size: 14px;
}
.title-main-show {
	margin-top: 5rem;
}
.title-main-show h3 {
	font-size: 20px;
	color: #fff;
	font-family: 'UTMAvoBold';
	text-transform: uppercase;
}

.show-item-criteria-box {
	display: flex;
	justify-content: space-between;
}
.item-img-criteria .img-show-criteria {
	position: absolute;
	left: 0;
	width: 100%;
	top: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.item-img-criteria {
	width: 100%;
	position: relative;
	text-align: center;
}
.show-item-slick {
	padding: 0 23px;
	box-sizing: border-box;
	position: relative;
	outline: none;
	width: calc(100% / 4);
}

/* CF7 */
.cf7-form-register {
	padding: 0 10px;
}
.wpcf7-submit {
	padding: 10px 40px;
	margin: 0;
	background: #fcba1b !important;
}
.wpcf7-spinner {
	display: none;
}

/* Product Detail */
.product_meta .sku_wrapper {
	border: 0;
	font-size: 14px;
}
.product_meta .posted_in {
	display: none;
}
.des-product-detail .col-inner {
	padding: 20px;
	border-radius: 8px;
}
.des-product-detail .description_tab a {
	border-radius: 5px;
}
.des-product-detail .reviews_tab {
	display: none;
}

.title-main p {
	text-transform: uppercase;
	color: #0aa2d3;
	padding-bottom: 15px;
	padding-top: 3rem;
	font-size: 28px;
	font-weight: bold;
	font-family: 'UTMAvoBold';
	background: url(./assets/img/bgtitlepro1.png) no-repeat bottom center;
}

/* Breadcrumb */
.shop-page-title .page-title-inner {
	display: none;
}
.woocommerce-breadcrumb.breadcrumbs.uppercase,
.custom-breadcrumb {
	font-size: 16px;
	color: black !important;
	padding: 10px 0px;
	display: flex;
	justify-content: center !important;
	gap: 10px;
}
.woocommerce-breadcrumb.breadcrumbs.uppercase a {
	color: #18768b !important;
}
.custom-breadcrumb a {
	text-decoration: none;
	color: #0b588c !important;
}

.custom-breadcrumb a:hover {
	text-decoration: underline;
}

.woocommerce-breadcrumb.breadcrumbs.uppercase,
.custom-breadcrumb span {
	color: #555;
}

.product-detail-price .price{
	margin-top:0;
	text-align:left;
}

/* Mobile */
/* Điều chỉnh các thành phần cho màn hình nhỏ */
@media only screen and (max-width: 768px) {
	.show-item-criteria-box {
		display: flex; /* Sử dụng flexbox */
		flex-wrap: wrap; /* Cho phép các item quấn lại vào hàng mới */
		gap: 40px; /* Khoảng cách giữa các item */
	}

	.show-item-slick {
		flex: 0 0 calc(50% - 20px); /* Mỗi item chiếm 50% chiều rộng trừ khoảng cách */
		box-sizing: border-box; /* Đảm bảo padding và border không làm tăng kích thước */
	}
	.product-tabs-home ul{
		display: flex;
		flex-wrap: nowrap;
		text-align: center;
	}
	.product-tabs-home .tab a{
		        padding: 0 10px;

	}
	.product-tabs-home ul a span{
		    font-size: 18px;
    		white-space: nowrap;
	}
	.woocommerce-breadcrumb.breadcrumbs.uppercase, .custom-breadcrumb {
		font-size: 13px;
		color: black !important;
		padding: 10px 0px;
		display: flex;
		justify-content: center !important;
		gap: 10px;
	}
}
