/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* New */
.html.custom.html_nav_position_text .gtranslate_wrapper {
	display: flex;
	flex-direction: row-reverse;
	gap: 5px;
}
.header-button .button {
	color: black;
}
.ux-search-submit.submit-button.secondary.button.icon {
	background: var(--primary-color);
}
#headerCatProduct {
	display: none !important;
}
.row-mt-border {
	margin-top: -4rem;
}
.col-mt-border {
	background: white;
	border-radius: 16px;
	padding: 20px;
	border: 1px solid;
}
.title-text-transform h1 {
	text-transform: capitalize;
}
.slogan__title h2 {
	font-family: math;
	font-size: 40px;
	font-weight: bold;
	color: var(--primary-color);
	font-family: 'icomoon' !important;
}

.row-mt-home {
	margin-top: -10rem;
}
.col-mt-home {
	background: azure;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 1px 2px 2px 0 black;
}
.imagebox-home .box-image,
.imagebox-home {
	border-radius: 12px !important;
}
.imagebox-home .icon-box-img img {
	filter: brightness(0.5);
}
.iconbox-home h5 {
	font-weight: 200;
	font-size: 16px;
}
.iconbox-home:hover .icon-box-img {
	width: 80px;
}
.col-m0 .col-inner .img {
	margin: 0;
	padding: 0;
}
.img-border-radius img {
	border-radius: 12px;
}
.product_meta_content {
	margin: 0 !important;
}
span.posted_in.product_meta_content_custom {
	font-size: 16px;
	text-transform: uppercase;

	text-align: center;
}
.product-small-custom {
	background-color: #fff;
	overflow: hidden;
	margin-bottom: 20px;
	background-color: #fff;
	border-radius: 10px;
	-webkit-box-shadow: 0 2px 5px #ddd;
	box-shadow: 0 2px 5px #ddd;
	border-bottom: 4px solid #f8f9fa;
	-webkit-transition: all ease 0.25s;
	transition: all ease 0.25s;
}
.product-small-custom .box-text p a {
	color: var(--primary-color);
	font-size: 17px;
	font-weight: bold;
}
.custom-product-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.contact-price {
	color: white;
	margin-top: 7px;
	border: 1px solid var(--primary-color);
	padding: 5px;
	width: max-content;
	text-align: center;
	margin: auto;
	border-radius: 8px;
	font-size: 16px;
	background: var(--primary-color);
}
.contact-price:hover {
	cursor: pointer;
}
.product_meta {
	font-size: 16px;
	font-weight: bold;
}
.product_meta .sku_wrapper {
	color: var(--primary-color);
}
.product-short-description {
	display: -webkit-box;
	-webkit-line-clamp: 3; /* Giới hạn 3 dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
	color: #555;
	max-height: 4.5em; /* Điều chỉnh nếu cần */
	line-height: 1.5em; /* Đảm bảo dòng có độ cao phù hợp */
}
.tabs-category h4 {
	text-align: CENTER;
	font-size: 38px;
}
.tabs-category ul .tab.has-icon span {
	color: black;
}
.text-title-home h2 {
	font-size: 42px;
	display: inline;
	color: var(--primary-color);
	position: relative;
}
.text-title-home h2::before {
	position: absolute;
	content: '';
	width: 100%;
	height: 3px;
	top: 88%;
	z-index: 9999;
	overflow: auto;
	background: black;
}
.ux-menu-link__link.flex {
	justify-content: center;
}
.text-justify p {
	text-align: justify;
}
@media screen and (max-width: 768px) {
	.tabs-category ul {
		justify-content: center;
	}
}
