/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/* body {
font-family: 'Times New Roman', Times, serif !important;
} */

/*logo*/
#logo {
	position: relative;
}
#headerCatProduct {
	position: absolute;
}
#logo img {
	padding: 0 !important;
}
/*header bottom*/
.header-bottom-nav > li > a {
	padding: 0px;
}

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

@media screen and (max-width: 600px) {
	.title-wrapper {
		text-align: center;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
	.price-wrapper {
		text-align: center;
	}
	.section-title {
		font-size: 20px;
	}

	.text-topbar {
		margin: 0;
		padding: 0;
		color: #ffffff;
		font-size: 14px;
		font-weight: 100;
		text-align: center;
	}
	.section-title.section-title-center {
		font-size: 20px !important;
	}
	.row-ft .section-title-main {
		height: unset !important;
	}
	.col-inner p {
		text-align: justify;
	}
	/*icon cart header*/
	.cart-item .header-button a.header-cart-link {
		border-width: 0px;
		min-width: 44px;
	}
	h3 {
		font-size: 2em;
	}
	/*cat menu*/
	#headerCatProduct {
		display: none;
	}
	/*header main*/
	.nav-vertical > li > a {
		gap: 6px;
	}
	/*header bottom*/
	.header-wrapper .header-bottom {
		background-color: var(--primary-color);
	}
	/*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;
	}
	form.searchform .search-field {
		width: max-content;
		font-size: 18px;
		box-shadow: 1px 1px 10px rgb(124 161 168);
		background: white;
	}
}

/* NEW */
.text-topbar {
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-size: 16px;
	font-weight: 100;
}

.form-flat input:not([type='submit']),
.form-flat select,
.form-flat textarea {
	background-color: unset !important;
	border-color: unset !important;
	color: black !important;
}
input::placeholder {
	color: black !important;
	font-size: 16px;
}
.header-nav.header-nav-main {
	justify-content: center !important;
}
.icon-search {
	filter: invert(1);
}
.header-button-1 .button {
	border-color: var(--fs-color-primary) !important;
	color: var(--fs-color-primary) !important;
}
.header-button-1 .button span {
	color: var(--fs-color-primary) !important;
}
.header-main .header-button > .button:not(.is-outline) {
	background-color: red !important;
}

.header:not(.transparent) .header-bottom-nav.nav > li > a {
	color: white !important;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a {
	color: black !important;
}
.nav-column > li > a,
.nav-dropdown > li > a {
	display: block;
	color: black !important;
}
.section-title b {
	opacity: 0;
}
.section-title-center span {
	margin: 0 15px;
	padding-top: 10px;
}
.row-image-box-km .box-text.text-center {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
.row-image-box-km .col-inner .box {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
.woocommerce-Price-amount.amount bdi {
	color: red;
	font-size: 17px;
}
/* .button.alt,
.button.checkout,
.checkout-button,
.secondary {
background-color: var(--primary-color) !important;
opacity: 1;
width: max-content;
} */
.woocommerce-variation-add-to-cart > *,
form.cart > * {
	flex: auto;
	margin: 0;
}

.product-home-css .woocommerce-Price-amount.amount bdi,
.box-text.box-text-products .woocommerce-Price-amount.amount bdi {
	color: red;
	font-size: 16px;
}
.product-home-css .name.product-title.woocommerce-loop-product__title a,
.box-text.box-text-products
.name.product-title.woocommerce-loop-product__title
a {
	font-size: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--fs-color-secondary);
	font-weight: bold;
}
.button.alt-hihi {
	border-radius: 6px;
	font-size: 12px;
}
.product-home-css .col-inner,
.product-home-css .box-text.text-center,
.product-home-css {
	border-radius: 12px;
}
.nav.nav-pills {
	gap: 30px;
	font-size: 20px;
}
.nav.nav-pills li a span {
	color: #000;
}
.nav.nav-pills li.active a span {
	color: white !important;
}
.nav-pills > li.active > a {
	background-color: var(--fs-color-primary);
	color: #fff !important;
	opacity: 1;
}
.row-ft .section-title-main {
	height: 75px;
}
.ux-menu-link__text {
	color: white !important;
}
.absolute-footer .container.clearfix {
	color: white;
	display: flex;
	justify-content: center;
}
.shop-page-title.category-page-title {
	background: #ecf0f9;
}
.page-title-inner.flex-row {
	padding: 0 !important;
}
.breadcrumbs a {
	color: black !important;
	font-weight: 400;
}
.breadcrumbs a:hover {
	color: var(--fs-color-secondary) !important;
	font-weight: 800;
}
aside.widget {
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 5px;
	position: relative;
}
aside.widget::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: block;
	height: 5px;
	background-color: var(--primary-color);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.is-divider {
	background-color: var(--primary-color);

	display: block;
	height: 3px;
	margin: 1em 0;
	max-width: 30px;
	width: 100%;
}

.row.category-page-row .product-small .col-inner {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 5px;
}
.button.alt-hihihi {
	border-radius: 6px;
	font-size: 12px;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}
/* .section.has-block.tooltipstered {
padding: 20px !important;
} */
.col-border-product .col-inner {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-top-width: 8px;
}
.post_comments.op-7 {
	display: none;
}

/* NEW */
.row-icon-header .icon-box-text.last-reset h4 {
	font-size: 14px;
}
.row-icon-header .icon-box-text.last-reset {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.section-title-normal span {
	border-bottom: unset;

	position: relative;
	height: 55px;
	line-height: 55px;
	margin: 0;
	padding: 0 32px;
	font-size: 18px;
	display: inline-block;
	margin-top: -10px;
	margin-left: -1px;
	background-image: -webkit-linear-gradient(
		90deg,
		var(--primary-color) 0%,
		#4476dc 100%
	);
	color: white;
}
.section-title-normal span:before {
	width: 43px;
	content: '';
	background-image: url(https://bizweb.dktcdn.net/100/347/320/themes/710568/assets/border-title-right.png?1563961656077);
	background-size: cover;
	position: absolute;
	left: 100%;
	top: 0;
	height: 55px;
	filter: invert(1);
}
/* Ẩn nút mua hàng ban đầu */
.btn-hover-custom {
	display: none !important;
	position: absolute;
	width: 100%;
	left: 0;
	padding: 0 10px;
	box-sizing: border-box;
	/* Đảm bảo nút có cùng vị trí với phần giá */
	margin-top: 0;
}

/* Khi hover, hiển thị nút và ẩn giá */
.product-small:hover .btn-hover-custom {
	display: block !important;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 50%;
	width: 50%;
	left: 25%;
	border-radius: 12px;
	background: white;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
	font-weight: 440;
}
.product-small .btn-hover-custom:hover {
	background: var(--primary-color);
	color: white;
}

/* Đảm bảo box-text có đủ không gian */
.product-small:hover .box-text.text-center {
	height: max-content;
	position: relative;
}

/* Đảm bảo nút và giá có cùng chiều cao */
.product-price-display,
.btn-hover-custom {
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cart-icon strong {
	display: none;
}
.cart-icon strong:after {
	display: none;
}
.product-small-custom .cart-icon strong {
	display: none !important;
}
.banner-page-content section {
	padding: 0 !important;
	margin-bottom: 1rem;
}
.row.equalize-box .col-inner,
.product-small-custom {
	border-radius: 12px;
}
.product-small-custom .box-image {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}
.row-icon-3 .col-inner:hover {
	background-color: var(--primary-color) !important;
}
.row-icon-3 .col-inner:hover .icon {
	padding: 10px;
	background: antiquewhite;
	border-radius: 99px;
}
.ux-menu-link__link.flex {
	justify-content: center;
}
.icon-angle-down:before {
	content: '';
	filter: invert(1);
}
#mega-menu-wrap-primary
#mega-menu-primary
> li.mega-menu-item
> a.mega-menu-link {
	color: white;

	border: none !important;
	font-size: 17px;
}
#mega-menu-wrap-primary
#mega-menu-primary
> li.mega-menu-item
> a.mega-menu-link:hover {
	background: var(--primary-color) !important;
	color: #fff;
	font-weight: normal;
	text-decoration: none;
	border-color: #ddd;
	border: 1px solid;
}
#mega-menu-wrap-primary
#mega-menu-primary
> li.mega-menu-item.mega-toggle-on
> a.mega-menu-link {
	background: var(--primary-color) !important;
	color: #fff;
	font-weight: normal;
	text-decoration: none;
	border-color: #ddd;
}
#mega-menu-wrap-primary
#mega-menu-primary
> li.mega-menu-flyout
ul.mega-sub-menu
li.mega-menu-item
a.mega-menu-link:hover,
#mega-menu-wrap-primary
#mega-menu-primary
> li.mega-menu-flyout
ul.mega-sub-menu
li.mega-menu-item
a.mega-menu-link:focus {
	background: white;

	color: black !important;
	text-decoration: underline;
}
.price_label {
	display: flex;
}
.price_label .from,
.price_label .to {
	color: red;
}
.input-group.search-bar.search_form .col.medium-4.small-12.large-4 {
	margin: 0;
	padding: 0 20px;
}
.input-group.search-bar.search_form .col.medium-4.small-12.large-4 select {
	margin: 0;
}
.input-group.search-bar.search_form .row {
	display: flex;
	align-items: center;
}
.dule_search.btn {
	margin: 0;
	background: var(--primary-color);
	width: 100%;
	color: white;
}
.add-to-cart-container.form-flat.is-normal form {
	display: flex;
	flex-direction: column;
}
.entry-author.author-box {
	display: none;
}
/* NEW */
.flex-right .header-nav.header-nav-main {
	display: flex;
	flex-wrap: initial;
}
.flex-right .header-nav.header-nav-main li {
	display: flex;
	justify-content: center;
}
.text-button-header p {
	font-size: 20px;
}
.text-button-header p:hover {
	color: red;
}
.icon-search:before {
	content: '';
	filter: invert(1);
}
.slider-nav-light .flickity-page-dots .dot {
	border-color: red;
}

.woocommerce-privacy-policy-text {
	display: none;
}
.name-fields .form-row-first,
.name-fields .form-row-last {
	width: 100% !important;
	display: inline-block;
	margin: 0 !important;
}
.input-text.woocommerce-Input.woocommerce-Input--text.input-text {
	border-radius: 8px;
}
.woocommerce form .form-row .required {
	visibility: visible;
	color: red;
}
div.nsl-container .nsl-button-default {
	color: #fff;
	display: flex;
	background-color: red !important;
}
.line-break {
	max-width: 100%;
	margin: 0px auto 20px;
	text-align: center;
	position: relative;
}
.line-break:before {
	content: '';
	width: 100%;
	height: 1px;
	background: #eee;
	z-index: 1;
	position: absolute;
	left: 0;
	top: 10px;
}
.line-break span {
	display: inline-block;
	font-size: 13px;
	color: #999;
	padding: 1px 10px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	border: 1px solid #eee;
	background-color: #fff;
	position: relative;
	z-index: 1;
}
.woocommerce-Button.button {
	width: max-content;
	background: black;
	border-radius: 8px;
	color: white;
}
#login-form-popup .page-title-inner.flex-row.container.text-left {
	display: none !important;
}

.nav.header-nav.header-bottom-nav {
	gap: 20px;
}
/* .header-bottom {
background-color: white !important;
} */
.section-title {
	align-items: center;
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	position: relative;
	width: 100%;
}
.section-title a {
	display: block;
	font-size: 14px;
	margin-left: auto;
	padding-left: 15px;
}
.icon-angle-right:before {
	content: '';
	color: red;
	font-weight: bold;
}
.title-home-sp .section-title-main {
	position: relative;
}
.title-home-sp .section-title-main::before {
	content: '';
	width: 92px;
	height: 2px;
	position: absolute;
	left: 50%;
	background: #ff9a8c;
	bottom: -10px;
	transform: translateX(-50%);
}
.button.alt-hihi {
	display: none !important;
}
.wpcf7.js {
	margin-top: 15px;
}
.wpcf7-form-control.wpcf7-submit.has-spinner.secondary {
	background-color: black !important;
}

/* ART */

.row {
	max-width: 95% !important;
	margin: auto !important;
}
.row.row-collapse.row-full-width {
	max-width: 100% !important;
}
.text-title-home p {
	text-align: justify;
}
.accordion-title.active {
	background-color: rgba(0, 0, 0, 0.03);
	border-color: var(--fs-color-primary);
	color: var(--fs-color-secondary) !important;
	font-weight: 700;
}
.accordion-title {
	font-size: 17px !important	;
}
.title-italic .section-title {
	font-style: italic;
}
.row-gap-10 {
	margin: 0 10px;
}
.text-align-justify p {
	text-align: justify !important;
}
.timeline::before {
	content: '';
	position: absolute;
	width: 2px;
	background-color: #13405f;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1px;
}
.timeline {
	position: relative;
}
.timeline-item {
	position: relative;
	min-height: 12rem;

	display: flex;
	align-items: center;
}
.timeline-content {
	width: 100%;
	overflow: hidden;
	margin-bottom: 2rem;
}
.timeline-content-right {
	float: right;
	width: 45%;
	text-align: left;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translatey(-50%);
}
.timeline-content-left {
	float: left;
	width: 45%;
}
.timeline-content .year {
	color: white;
	padding: 10px;
	font-weight: bold;
}
.blue-box.blue-box-right,
.blue-box.blue-box-left {
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.22);
}
.timeline-content .description {
	padding: 10px;
	font-size: 14px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.22);
	border: 1px solid #ddd;
}
/* .is-divider {
display: none;
} */
.row-khachhang .testimonial-image.circle img {
	border-radius: 0% !important;
	width: 480px !important;
	height: 325px !important;
	object-fit: cover;
}
.row-khachhang .testimonial-image.circle {
	margin: 0 !important;
	width: 480px !important;
	object-fit: contain;
}
.section-baochi .col-inner .box-image img {
	height: 100px;
	object-fit: contain;
}
.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
	margin-top: -5%;
}
.has-dropdown .icon-angle-down {
	font-size: 16px;
	margin-left: 0.2em;
	opacity: 1;
	filter: invert(1);
}
.section-sanpham .page-title-inner {
	background: white !important;
}
.tax-product_cat .row.category-page-row {
	max-width: 100% !important;
	margin: auto !important;
	padding: 0;
}
.tax-product_cat .row.category-page-row .col.large-12 {
	padding: 0;
}
.posted_in a {
	color: red;
}
.box-blog-post .is-divider {
	display: none;
}
