/*
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;
}

/*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) {
	.header-language-dropdown__link.nav-top-link {
		font-size: 0 !important;
	}
	.title-wrapper {
		text-align: center;
		display: flex;
		justify-content: 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: capitalize;
	font-size: 16px;
}
.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: black;
}
.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: var(--primary-color) !important;
	font-weight: 400;
}
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 {
	border: 1px solid var(--fs-color-primary);
	border-radius: 0;
	color: var(--fs-color-primary);
	font-family: Helvetica, Arial, Sans-serif;
	font-size: 1em;
	font-weight: 700;
	height: 23px;
	line-height: 1.9em;
	margin: 0rem 4rem;
	position: relative;
	text-align: center;
	width: 11.2em;
	border-radius: 8px;
}
.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;
}

.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;
}

/* ACQUY */
.product-short-description tbody tr:nth-child(odd) {
	background: black;
	color: #fff;
}
.product-short-description tbody tr:nth-child(even) {
	background: cornsilk;
	color: #fff;
}
.product-short-description tbody tr:nth-child(odd) td {
	color: #fff;
}
.product-short-description tbody tr:nth-child(even) td {
	color: black;
}
.product-short-description {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-top-width: 5px;
	padding: 10px;
}
.product-short-description table {
	margin: 0;
}
.product-short-description tbody tr td {
	padding: 10px 5px;
}
.row-icon-3 .icon-box-img img,
.row-icon-3 .icon-box-img svg {
	filter: invert(1);
}
.row-icon-3 .col-inner:hover {
	background-color: white !important;
	border: 2px solid var(--fs-color-primary);
	box-shadow: 0 18px 40px 0 rgba(250, 131, 8, 0.4);
}
.row-icon-3 .col-inner:hover .icon {
	padding: 10px;
	background: var(--primary-color);
	border-radius: 99px;
}
/* .row-icon-3 .col-inner:hover img {
	filter: invert(0) !important;
} */
.row-icon-3 .col-inner:hover .text h3,
.row-icon-3 .col-inner:hover .text p {
	color: black !important;
}
.img-border img,
.img-border .img-inner {
	border-radius: 8px;
}
.section-title-container {
	margin-bottom: 0 !important;
}
/* WIDGET DANH MỤC */
.widget-title {
	text-align: center;
	display: block;
	padding: 15px;
	border-radius: 10px 10px 0 0;
	color: white;
    background: linear-gradient(to left, #0ba2dc, #0041b8) !important;
	background-blend-mode: multiply;
	font-size: 22px;
}
.widget .is-divider.small {
	display: none;
}
.widget.widget_product_categories ul {
	padding: 0px;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	border-radius: 0 0 10px 10px;
	display: flex;
	flex-direction: column;
}
.widget.widget_product_categories ul li {
    background: linear-gradient(to right, #0ba2dc, #0041b8);
	padding: 5px 5px;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s;
	margin: 10px;
}
.widget.widget_product_categories ul li > a {
	text-transform: uppercase;
	font-weight: bold;
	color: white;
	font-size: 13px;
}
.widget.widget_product_categories ul > li:hover {
	background: linear-gradient(135deg, #ffffff, #ffffff);
	transform: translateY(-5px);
	border: 1px solid var(--primary-color);
}
.widget.widget_product_categories ul > li:hover a {
	color: var(--primary-color);
}
.children .cat-item {
	background: black !important;
}
.children {
	background: white !important;
	border-radius: 10px !important;
}

/* SẢN PHẨM */
.product-css .box-image .image-cover {
	height: 250px;
	object-fit: cover;
	padding-top: 0 !important;
}
.product-css .box-image img {
	height: 250px;
	object-fit: cover;
}
.product-css a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
} /* Khối cần có position: relative để pseudo-element nằm đúng */
.product-css {
	position: relative;
	overflow: hidden;
}

/* Copy y nguyên từ .btn_main:after sang đây */
.product-css:after {
	position: absolute;
	top: 0;
	left: -54%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-gradient(
		linear,
		left top,
		right top,
		from(rgba(255, 255, 255, 0)),
		to(rgba(255, 255, 255, 0.3))
	);
	background: -o-linear-gradient(
		left,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.3) 100%
	);
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.3) 100%
	);
	-webkit-transform: skewX(-25deg);
	-ms-transform: skewX(-25deg);
	transform: skewX(-25deg);
	pointer-events: none;
}

/* Khi hover vào sản phẩm thì chạy animation */
.product-css:hover:after {
	-webkit-animation: shine 0.95s;
	animation: shine 0.95s;
}

/* Nếu chưa có keyframes shine thì thêm: */
@keyframes shine {
	0% {
		left: -54%;
	}
	100% {
		left: 120%;
	}
}
.blog-css .col-inner {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
}
.nocodevn-list-store .nocodevn-card {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-top-width: 8px;
}
.list-filter .filter-gr:last-child {
	display: none;
}
.address-detail {
	padding: 20px;
	overflow: scroll !important;
	scrollbar-width: auto !important;
	background: beige;
}
.icon-search:before {
	content: '';
	filter: invert(1);
}
.tooltip.tooltipstered span {
	color: white !important;
	font-size: 16px !important;
}
.stuck .nav-line-bottom > li > a:before {
	bottom: 12px !important;
	top: auto;
}
.text-table table {
    border-color: black;
	
}
.text-table td,
.text-table th {
    border-bottom: 1px solid black;
    font-size: .9em;
    line-height: 1.3;
    padding: .5em;
    text-align: left;
	color: black !important;
}
.text-table table p,
.text-table table strong,
.text-table table tr{
    color: black !important;
	
}