/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(./fonts/lato-light.woff2) format('woff2');
}
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(./fonts/lato-regular.woff2) format('woff2');
}
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(./fonts/lato-bold.woff2) format('woff2');
}
body {
	font-family: 'Lato', sans-serif;
}
.pt-0 {
	padding-top: 0;
}
.pb-0 {
	padding-bottom: 0;
}

/*header*/
.cart-item .header-button a.header-cart-link {
	border-width: 2px;
	border-color: #ffffff;
	min-width: 120px;
}
.cart-item .header-button a.header-cart-link:hover {
	border-color: #ffffff;
	background-color: #2f4858;
}

.button span.header-cart-title {
	text-transform: initial;
	color: #ffffff;
	font-size: 14px;
	line-height: 36px;
	font-weight: 400;
}
.header-nav-main.nav.nav-right {
	flex-wrap: nowrap;
}
form.searchform .search-field {
	height: 38px;
	border-radius: 5px 0px 0px 5px;
}
form.searchform .submit-button {
	padding-inline: 19px;
	height: 38px;
	border-radius: 0px 5px 5px 0px;
}
form.searchform .submit-button .icon-search {
	color: #333333;
}
/*logo*/
#logo {
	position: relative;
}
#headerCatProduct {
	position: absolute;
}

/*block header*/
.wrap-icon-header {
	flex-wrap: nowrap;
	min-width: 400px;
}

.icon-middle {
	align-items: center;
	flex-wrap: nowrap;
}
.icon-header .text {
	font-size: 14px;
}
.icon-header .text a {
	color: #ffffff;
}
.icon-header .text a.text-sm {
	font-size: 80%;
}
.icon-header .text a:hover {
	color: #fbd947;
}

/*header bottom*/
.header-bottom-nav > li > a {
	padding: 0px;
}

/*menu product cat*/
.wrap-menu-product-cat {
	/* display: none; */
	margin-top: 6px;
}

.cat-menu-header {
	display: none;
	justify-content: flex-start;
	align-items: center;
	height: 44px;
	padding: 10px;
	width: 280px;
	gap: 10px;
	background-color: var(--primacy-color);
	color: #ffffff;
}
.cat-menu-header .icon-menu {
	font-size: 22px;
}

.cat-menu-header span.cat-menu-title {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
}

#mega-menu-wrap-max_mega_menu_1 {
	width: 280px;
}

/*max mega menu*/

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
	/* display: flex;
	flex-direction: column; */
	display: none;
}

#mega-menu-wrap-max_mega_menu_1
	#mega-menu-max_mega_menu_1
	> li.mega-menu-item
	> a.mega-menu-link {
	display: flex;
	align-items: center;
	gap: 6px;
}
#mega-menu-wrap-max_mega_menu_1
	#mega-menu-max_mega_menu_1
	li.mega-menu-item-has-children
	> a.mega-menu-link
	> span.mega-indicator {
	margin-left: auto;
}

#mega-menu-wrap-max_mega_menu_1
	#mega-menu-max_mega_menu_1
	li.mega-menu-item
	> ul.mega-sub-menu {
	top: 0;
	left: 280px;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 input,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 img {
	width: 24px;
	height: 24px;
}

.header-bottom-nav {
	display: flex;
	gap: 20px;
	margin-left: 2rem;
}
.header-bottom-nav li a {
	font-size: 16px;
}

/*button*/
.custom-button.is-outline {
	border-radius: 4px;
	white-space: nowrap;
	border: 1px solid #f1f1f1;
	color: #333333 !important;
	font-weight: 400;
	line-height: 36px;
}
.custom-button.is-outline:hover {
	border-color: #dd0115;
	color: #333333 !important;
}
.custom-button.is-outline.text-blue {
	color: #007bff !important;
}

/*row*/
.col-scroll-x {
	overflow-x: scroll;
	padding-bottom: 0px !important;
}
.col-scroll-x::-webkit-scrollbar {
	width: 0px;
}
.col-scroll-x .col-inner {
	display: flex;
	width: fit-content;
	margin: 0 0 0 auto !important;
}
/*product box*/
.product-small .box-image .show-on-hover {
	opacity: 1;
	display: block !important;
}
.product-title a {
	text-transform: uppercase;
	height: max-content;
	display: block;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-height: 22px;
	max-width: 100%;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 10px !important;
}
.product-title a:hover {
	color: #dd0115;
}
span.amount {
	white-space: nowrap;
	color: red;
	font-weight: bold;
}

.col-inner .product-small.box {
	border: 1px solid #c2c2c2;
	padding: 2px;
	border-radius: 4px;
}

.col-inner .product-small.box:hover {
	box-shadow: 1px 1px 10px rgb(124 161 168);
}
.product-small .box-text {
	padding-bottom: 0.7em;
}
/*title section*/
.title-section {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 0;
}
.title-section a {
	color: #333333;
	text-transform: uppercase;
}
.title-section a:hover {
	color: #dd0115;
}

/*price product*/
.price {
	line-height: inherit;
}
.price .btn-contact {
	color: #dd0115;
}
.bg-blue-light {
	background-color: #f9f9fb;
}

.social-icons a {
	margin-bottom: 0;
}
/*widget sidebar*/
#shop-sidebar aside,
#product-sidebar aside {
	border: 1px #ebebeb solid;
	border-left: 1px #ebebeb solid;
}
#shop-sidebar aside .widget-title,
#product-sidebar aside .widget-title {
	font-size: 18px;
	line-height: 26px;
	color: white;
	display: block;
	/* background: #dd0115; */
	padding: 6px 20px;
	margin: 5px 5px;
}
#shop-sidebar aside .is-divider,
#product-sidebar .is-divider {
	display: none;
}

#shop-sidebar aside.widget_product_categories ul li {
	position: relative;
}

#shop-sidebar aside.widget_product_categories ul li:before {
	content: '';
	display: block;
	position: absolute;
	left: 10px;
	float: left;
	width: 15px;
	height: 15px;
	border: 1px solid #aaaaaa;
}
#shop-sidebar aside.widget_product_categories ul li a {
	padding-left: 40px;
	padding-right: 10px;
}

#shop-sidebar aside.widget_product_categories ul li.active:after,
#shop-sidebar aside.widget_product_categories ul li:hover:after {
	content: '\f00c';
	position: absolute;
	left: 10px;
	font-family: FontAwesome;
	color: #43d707;
	padding-right: 5px;
}
.price_slider_wrapper {
	padding: 5px 10px 0px 5px;
}
/*shop*/
.featured-title .page-title-inner {
	padding-top: 0px;
	padding-bottom: 0px;
}
.featured-title .page-title-inner .flex-col.flex-grow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-grow: 12;
}
/*single page product*/
#product-sidebar ul.product-categories > li > a {
	padding-inline: 5px;
}
#product-sidebar ul.product-categories > li > ul {
	border-left: unset;
}
.product-info.col-divided {
	border-right: unset;
}
form.cart,
.single_variation_wrap .woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: column;
}
form.cart .buy_now_button,
.single_variation_wrap .woocommerce-variation-add-to-cart .buy_now_button {
	margin-right: 0px;
	font-weight: normal;
	background-color: transparent !important;
}
.cus-btn-animate,
.single_add_to_cart_button {
	border: 1px solid #dd0115;
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgb(0 0 0 / 0%);
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.cus-btn-animate:before,
.single_add_to_cart_button:before {
	position: absolute;
	content: '';
	display: block;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-color: #dd0115;
}
.cus-btn-animate:before {
	transform: scaleX(1);
	transform-origin: left center;
}
.single_add_to_cart_button:before {
	transform: scaleX(0);
	transform-origin: right center;
}

.cus-btn-animate:not([disabled]):before,
.single_add_to_cart_button:not([disabled]):before {
	transition: transform 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.cus-btn-animate:hover:before {
	transform: scaleX(0);
	transform-origin: right center;
}
.single_add_to_cart_button:hover:before {
	transform: scaleX(1);
	transform-origin: left center;
}
.cus-btn-animate {
	color: #ffffff;
	font-weight: normal;
}
.single_add_to_cart_button {
	background-color: transparent !important;
	color: #dd0115;
	font-weight: normal;
}
.cus-btn-animate:hover {
	background-color: transparent !important;
	box-shadow: none;
	color: #dd0115;
}
.single_add_to_cart_button:hover {
	box-shadow: none;
	color: #ffffff;
}
#product-sidebar {
	padding-left: 0px;
}
#custom_html-2 {
	padding: 10px;
}

/*blog sidebar*/
.recent-blog-posts .post_comments {
	display: none;
}
/*footer*/
.col-form-contact .wpcf7-form {
	margin-bottom: 0;
}
.col-form-contact .wpcf7-spinner {
	display: none;
}

.col-form-contact .wpcf7-form-control {
	height: 42px;
	border-radius: 4px 0px 0px 4px;
}
.col-form-contact .wpcf7-email {
	width: 100%;
}
.col-form-contact .wpcf7-submit {
	color: #333333;
	line-height: 26px;
	padding: 7px 20px;
	font-size: 14px;
	border-radius: 0px 4px 4px 0px;
	background-color: #fbd947 !important;
	text-transform: initial;
	margin-right: 0px;
}
.section-p-1 {
	padding: 10px 0;
}
@media screen and (min-width: 600px) {
	.stuck #headerCatProduct {
		margin-top: -58px;
	}
	.stuck .cat-menu-header {
		background-color: #dd0115;
	}
	.stuck #logo > a {
		opacity: 0;
	}
	.stuck #mega-menu-wrap-max_mega_menu_1.mega-menu-wrap {
		display: none;
	}
	#headerCatProduct:hover #mega-menu-wrap-max_mega_menu_1.mega-menu-wrap {
		display: block;
	}
	.header-nav-main.nav.nav-left {
		justify-content: flex-end;
	}
	.header-search-form-wrapper {
		margin-right: 20px;
	}
}
@media screen and (max-width: 600px) {
	.title-home-ct h3::before {
		display: none;
	}
	.title-home-ct h3 {
		background: linear-gradient(
			to right,
			var(--primary-color),
			var(--fs-color-secondary)
		);
		margin: 0;
		padding: 5px 4rem;
		width: max-content;
		border-top-left-radius: 8px;
	}
	/*icon cart header*/
	.cart-item .header-button a.header-cart-link {
		border-width: 0px;
		min-width: 44px;
	}

	/*cat menu*/
	#headerCatProduct {
		display: none;
	}
	/*header main*/
	.nav-vertical > li > a {
		gap: 6px;
	}
	/*header bottom*/
	.header-wrapper .header-bottom {
		background-color: #dd0115;
	}
	/*banner*/
	.custom-banner .banner-grid-wrapper .wrap-banner.grid-col-2-3 {
		height: 225.5px !important;
	}
	/*sidebar menu*/
	.off-canvas .sidebar-menu {
		padding-top: 0px;
	}
	.off-canvas:not(.off-canvas-center) li.html {
		padding: 5px 20px;
		background-color: #dd0115;
	}
	.social-icons {
		text-align: center;
	}
}

/* new */
.badge-circle,
.badge-outline {
	margin-left: -0.4em;
	margin-top: 1rem;
}
.tab-home.tabbed-content ul li a {
	color: var(--primary-color);
	font-size: 16px;
	font-weight: bold;
}
.text-flex-home .section-title {
	display: flex;
	justify-content: center;
}
.text-justify p {
	text-align: justify;
}
.row.row-cf7-page {
	background: white;
	border-radius: 12px;
	padding: 10px;
}
.row.row-cf7-page .col {
	margin: 0 20px;
	padding: 0;
}
.mb-5.text-align {
	text-align: center;
	color: var(--primary-color);
	font-size: 26px;
	font-weight: bold;
}
.woocommerce-shipping-fields {
	display: none !important;
}
.name.product-title.woocommerce-loop-product__title {
	font-weight: bold;
	height: 50px;
}
/* Widget */
.widget-custom .is-divider {
	display: none;
}
.widget-custom .widgets-boxed .widget,
.widgets-framed .widget {
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.05);
	padding: 0px !important;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
.widget-custom .widget-title {
	background: linear-gradient(
		to left,
		var(--primary-color),
		var(--fs-color-secondary)
	);
	display: flex !important;
	padding: 15px;
	justify-content: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	color: white;
}
.widget-custom .widget-title span {
	color: white;
	position: relative;
}
.widget-custom .widget-title span::before {
	content: '';
	position: absolute;
	top: -5px;
	left: -2rem;
	background: url(./assets/img/Categories-256.webp);
	width: 25px;
	height: 25px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.widget-custom .product-categories li {
	padding: 5px 20px;
}
.widget-custom .product-categories li:hover {
	padding: 5px 20px;
	background: linear-gradient(to right, #0ba2dc, #0041b8);
	color: white;
}
.widget-custom .product-categories li:hover a {
	color: white;
}

.widget-before .widget-title {
	color: white;
	position: relative;
}
.widget-before .widget-title::before {
	content: '';
	position: absolute;
	top: 10px;
	left: 1.5rem;
	background: url(./assets/img/Categories-256.webp);
	width: 25px;
	height: 25px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.widget-before .textwidget p {
	padding: 10px 20px;
	border-bottom: 1px solid #ececec;
	margin: 0;
}
.widget-custom .product_list_widget li a img {
	left: 10px !important;
	height: revert-layer;
}
.absolute-footer.dark.medium-text-center.small-text-center {
	display: none !important;
}
.title-home-ct h3 {
	background: linear-gradient(
		to right,
		var(--primary-color),
		var(--fs-color-secondary)
	);
	margin: 0;
	padding: 5px 5rem;
	width: max-content;
	border-top-left-radius: 8px;
}

.title-home-ct h3::after {
	content: '';
	position: absolute;
	top: 7px;
	left: 1rem;
	background: url(./assets/img/Categories-256.webp);
	width: 32px;
	height: 30px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.title-home-ct h3::before {
	content: '';
	position: absolute;
	top: -6px;
	right: -48px;
	background: linear-gradient(
		to right,
		var(--primary-color),
		var(--fs-color-secondary)
	);
	width: 42px;
	height: 55px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	clip-path: polygon;
	clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
	transform: rotate(90deg);
}

.title-home-ct h3 span {
	color: white !important;
	border: none;
	margin: 0;
	padding: 0;
}
.product-home-ct {
	padding: 0 20px;
}
#shop-sidebar aside,
#product-sidebar aside {
	border: none !important;
	border-left: 0 !important ;
}
.product-main .row.mb-0.content-row {
	display: flex;
	flex-direction: row-reverse;
}
.product-main .row.mb-0.content-row .product-gallery.col.large-4 {
	order: 1;
}
.product-main .row.mb-0.content-row #product-sidebar {
	order: 1;
}
.product-main .widget-custom .widget-title {
	padding: 10px !important;
	margin: 0 !important;
	font-size: 16px !important;
}
.product-main .widget-custom .widget-title span::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -2rem;
	background: url(./assets/img/Categories-256.webp);
	width: 25px;
	height: 25px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.product-main .product-categories {
	border: 1px solid #ddd;
}
.product-main .col {
	margin: 0;
	padding: 0 !important;
	position: relative;
	width: 100%;
}
.contact-price {
	font-size: 20px;
	font-weight: bold;
	color: red;
}
.posted_in {
	display: none !important;
}
span.sku_wrapper {
	font-size: 16px;
}
.sidebar-page-product .widget-custom .widget-title span::before {
	content: '';
	position: absolute;
	top: -1px;
	left: -1.6rem;
	background: url(./assets/img/Categories-256.webp);
	width: 25px;
	height: 25px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.product-home-ct .image-zoom {
	height: 250px;
}
.product-home-ct .image-zoom IMG {
	height: 250px;
}
.product_list_widget .product-title {
	text-transform: uppercase;
	height: max-content;
	display: block;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-height: 22px;
	max-width: 100%;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 10px !important;
}
.woocommerce-breadcrumb.breadcrumbs a {
	color: black;
}

/* New */
.header-top {
	background: linear-gradient(
		to right,
		var(--primary-color),
		var(--fs-color-secondary)
	);
}
.header-bottom {
	background: var(--primary-color) !important;
}
.button,
input[type='button'].button,
input[type='reset'].button,
input[type='submit'],
input[type='submit'].button {
	background: linear-gradient(
		to left,
		var(--primary-color),
		var(--fs-color-secondary)
	);

	border-color: rgba(0, 0, 0, 0.05);
	color: #fff;
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a {
	align-items: center;
	display: flex;
	padding: 10px 15px;
	font-size: 15px;
	color: black;
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a:hover {
	color: var(--primary-color);
}

.img-y-kien img {
	border: 2px solid white;
	border-radius: 99px;
	padding: 5px;
}
.text-y-kien p {
	font-size: 13px;
}
.text-y-kien-kh h3 {
	color: var(--primary-color);
}
.text-y-kien-kh p {
	font-size: 13px;
}
.text-border-home {
	display: inline-block;
	border: 2px solid white;
	border-radius: 100%;

	height: 120px;
	width: 120px;
}
.text-border-home h3 {
	text-align: center;
	margin: 0;
	padding: 15px 0 0 0;
	display: inline-block;
	color: var(--primary-color) !important;
	font-size: 23px;
	font-weight: bold;
}
.text-border-home p {
	text-align: center;
	margin: 0;
	padding: 0;
	font-size: 13px;
	width: 50%;

	justify-content: center;
	margin: auto;
}
.text-justify p {
	text-align: justify;
}
.icon-box.featured-box {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}
.icon-box.featured-box h4 {
	margin: 0;
	padding: 0;
	font-size: 17px;
}
.normal-title,
.page-title {
	background: linear-gradient(
		to right,
		var(--primary-color),
		var(--fs-color-secondary)
	);
}
.woocommerce-breadcrumb.breadcrumbs a {
	font-size: 18px;
	color: white !important;
}
.page-title-inner {
	min-height: 60px;
	padding-top: 0px !important;
	position: relative;
}
.breadcrumbs {
	color: white !important;
	font-weight: 700;
	letter-spacing: 0;
	padding: 0;
}
.woocommerce-result-count.hide-for-medium {
	color: white !important;
}
