/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: SBS
Template: flatsome
Version: 3.20
*/
.nav-box > li > a,
.nav-pills > li > a {
	background-color: #0000001a !important;
	color: black !important;
	opacity: 1;
	border-radius: 8px;
}
.nav-pills > li > a:hover {
	background-color: var(--fs-color-primary) !important;
	color: #fff !important;
	opacity: 1;
}
.nav-pills > li.active > a {
	background-color: var(--fs-color-primary) !important;
	color: #fff !important;
	opacity: 1;
}
.header-nav-main {
	justify-content: center;
}
.section-title-container {
	margin-bottom: 0;
}
.section-title b {
	opacity: 0 !important;
}
span.section-title-main {
	font-size: 35px;
}
/* SECTION - DỊCH VỤ */
.sec-dv .icon-box {
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
	padding: 20px 10px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec-dv .icon-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: -10%;
	width: 120%;
	height: 100%;
	background: linear-gradient(to right, #863442, var(--primary-color));
	transform: skew(30deg) translateX(-100%);
	transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
	z-index: 0;
}

.sec-dv .icon-box:hover::before {
	transform: skew(30deg) translateX(0);
}

.sec-dv .icon-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.sec-dv .icon-box:hover img {
	filter: brightness(0) invert(1);
}
.sec-dv .icon-box:hover .text h3,
.sec-dv .icon-box:hover .text p {
	color: white !important;
}
.sec-dv .icon-box * {
	position: relative;
	z-index: 1;
	transition: color 0.4s;
}

.sec-dv .icon-box:hover * {
	color: #fff;
} /* SECTION - LỢI ÍCH */
.sec-loiich .icon-box {
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
	padding: 20px 10px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	z-index: 0;
}

/* Nền gradient trượt */
.sec-loiich .icon-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: -10%;
	width: 120%;
	height: 100%;
	background: linear-gradient(to right, #863442, var(--primary-color));
	transform: skew(30deg) translateX(-100%);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 0;
}

/* Hiệu ứng bong bóng */
.sec-loiich .icon-box::after {
	content: '';
	position: absolute;
	inset: 0;
	width: 180%;
	height: 180%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-repeat: no-repeat;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.4s ease;
	filter: blur(1px);
}

/* Hover */
.sec-loiich .icon-box:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.sec-loiich .icon-box:hover::after {
	opacity: 1;
	background-image: radial-gradient(
			circle,
			var(--primary-color) 25%,
			transparent 25%
		),
		radial-gradient(circle, rgba(255, 255, 255, 0.6) 15%, transparent 25%),
		radial-gradient(circle, var(--primary-color) 20%, transparent 25%),
		radial-gradient(circle, rgba(255, 255, 255, 0.4) 20%, transparent 30%),
		radial-gradient(circle, var(--primary-color) 20%, transparent 20%),
		radial-gradient(circle, rgba(255, 255, 255, 0.4) 15%, transparent 20%);
	background-size: 12% 12%, 10% 10%, 18% 18%, 14% 14%, 20% 20%, 16% 16%;
	background-position: 50% 60%;
	animation: bubbleGlow 1.2s ease-out forwards;
}

/* Hiệu ứng bong bóng mượt */
@keyframes bubbleGlow {
	0% {
		background-position: 50% 60%, 40% 65%, 60% 65%, 45% 75%, 55% 75%,
			50% 85%;
		opacity: 1;
		filter: blur(0px);
	}
	25% {
		background-position: 50% 60%, 40% 65%, 60% 65%, 45% 75%, 55% 75%,
			50% 85%;
		opacity: 1;
		filter: blur(0px);
	}
	45% {
		background-position: 50% 60%, 40% 65%, 60% 65%, 45% 75%, 55% 75%,
			50% 85%;
		opacity: 1;
		filter: blur(0px);
	}
	60% {
		background-position: 45% 40%, 30% 30%, 70% 35%, 40% 20%, 60% 15%,
			55% 25%;
		opacity: 0.9;
		filter: blur(1px);
	}
	80% {
		background-position: 40% 10%, 30% 5%, 70% 10%, 45% -5%, 55% -5%, 60% 0%;
		opacity: 0.6;
		filter: blur(2px);
	}
	100% {
		background-size: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
		opacity: 0;
		filter: blur(3px);
	}
}
.sec-ft img {
	background: WHITE;
	border-radius: 8px;
	padding: 5px;
}
/* SBS */
.text-title-thietke > p {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 55px;
	line-height: 70px;
	color: #00000099 !important;
	margin-bottom: 20px;
}
.text-title-thietke > p > span {
	padding-block: 10px;
	background: linear-gradient(90deg, #8d1a1a 0%, #e15021 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.col-banggia > div {
	border-radius: 16px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: white;
	display: flex;
	flex-direction: column;
	border: 2px solid white;
	transition: all 0.3s ease;
	box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.14);
}
.text-banggia {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}
.col-banggia-phobien > div {
	background: linear-gradient(267deg, #b11d31 23.73%, #ed0521 128.4%);
	border-color: red;
}
.col-banggia-phobien span,
.col-banggia-phobien p {
	color: white;
}
.btn-banggia {
	margin-top: auto;
	background-color: #dd3333;
	align-self: center;
}
.col-banggia > div:hover {
	border-color: var(--primary-color);
	cursor: pointer;
}
.col-banggia > div:hover .text-goi > h1 {
	color: var(--primary-color) !important;
}
/* THIẾT KẾ WEB */
.acc-new .accordion-title.plain {
	background: linear-gradient(90deg, #8d1a1a 0%, #e15021 100%);
	color: white;
	border-radius: 8px;
	text-transform: CAPITALIZE;
	margin-bottom: 1rem;
}
li.html.custom.html_topbar_left {
	font-size: 16px;
}
/* Product - Detail */
.woo-info-basic .col-inner {
	width: 100%;
	border-radius: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-box-shadow: rgb(0 0 0 / 18%) 0px 0px 5px;
	box-shadow: rgb(0 0 0 / 18%) 0px 0px 5px;
	padding: 15px !important;
	background: white;
	margin: 20px 5em 0 5em;

	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
	border-top-width: 3px;
}
.blogpost-css .col-inner {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
	border-top-width: 3px;
}
p.from_the_blog_comments.uppercase.is-xsmall {
	display: none;
}
.blogpost-css .image-zoom.image-cover {
	padding-top: 0px !important;
	height: 300px;
}
.blogpost-css .image-zoom.image-cover img {
	height: 300px;
	object-fit: cover;
}
.blogpost-css .is-divider {
	display: none;
}
.product-title.product_title.entry-title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 26px !important;
}
.group-btn-detail {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.xemdemo-btn {
	padding: 10px 20px;
	display: inline-block;
	background-color: red;
	border-radius: 8px;
}
.datmau-btn {
	padding: 10px 20px;
	display: inline-block;
	background-color: blue;
	border-radius: 8px;
}
.lienhe-product {
	font-weight: bold;
	color: var(--primary-color);
	cursor: pointer;
	font-size: 18px;
	text-transform: uppercase;
}
/* MASK */
.product-small .box-image {
	padding-top: 0 !important;
	height: 300px;
}
.product-small .box-image img {
	object-fit: contain;
	height: 300px;
}
.product-small .col-inner {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
	border-top-width: 3px;
}
.title-wrapper .category {
	display: none;
}
.product-small .box-text.text-center {
	background: #222222;
}
.name.product-title a {
	color: white;
	font-size: 16px;
}
.page-title-inner.flex-row.medium-flex-wrap.container {
	display: none;
}
.no-p-m {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
/* WIDGET */
.widget-title.shop-sidebar {
	text-align: center;
	display: block;
	padding: 15px;
	background: var(--primary-color);
	border-radius: 10px 10px 0 0;
	color: white;
	background: linear-gradient(135deg, #74b7d8 0%, #1f5a82 100%);
	background-blend-mode: multiply;
	font-size: 22px;
}
.widget .is-divider.small {
	display: none;
}
aside.widget_product_categories > ul.product-categories {
	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;
}
aside.widget_product_categories > ul.product-categories > li {
	background: linear-gradient(135deg, #74b7d8 0%, #1f5a82 100%);
	padding: 5px 5px;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s;
	margin: 10px;
}
aside.widget_product_categories > ul.product-categories > li > a {
	text-transform: uppercase;
	font-weight: bold;
	color: white;
}
aside.widget_product_categories > ul.product-categories > li:hover {
	background: linear-gradient(135deg, #ffffff, #ffffff);
	transform: translateY(-5px);
	border: 1px solid var(--primary-color);
}
aside.widget_product_categories > ul.product-categories > li:hover a {
	color: var(--primary-color);
}
.comment-respond {
	display: none;
}
.entry-divider.is-divider.small {
	display: none;
}
/* WIDGET DANH MỤC */
.widget-title {
	text-align: center;
	display: block;
	padding: 15px;
	background: var(--primary-color);
	border-radius: 10px 10px 0 0;
	color: white;
	background: linear-gradient(135deg, #4b0e16 0%, #843540 100%);
	background-blend-mode: multiply;
	font-size: 22px;
}
.widget .is-divider.small {
	display: none;
}
.widget.widget_recent_entries 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_recent_entries ul li {
	background: linear-gradient(135deg, #ff001c, #b50a3d);
	padding: 5px 5px;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.3s;
	margin: 10px;
}
.widget.widget_recent_entries ul li > a {
	text-transform: uppercase;
	font-weight: bold;
	color: white;
}
.widget.widget_recent_entries ul > li:hover {
	background: linear-gradient(135deg, #ffffff, #ffffff);
	transform: translateY(-5px);
	border: 1px solid var(--primary-color);
}
.widget.widget_recent_entries ul > li:hover a {
	color: var(--primary-color);
}

/* INSTRUMENT */
.section-linear {
	background: linear-gradient(135deg, #1a5074, #51a6cf);
}
.section-linear .flickity-viewport .row {
	top: 0 !important;
}
.gallery-home .box-image {
	border-radius: 12px;
}
.gallery-home .box-image img {
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
	height: 80px;
	border-radius: 12px;
	background: white;
	padding: 10px;
	object-fit: contain;
}
.gallery-home .box-text.text-left {
	display: none;
}
.sec-cer .col {
	margin: 0;
	padding: 0;
}
img,
.img-inner {
	border-radius: 12px !important;
}
.sec-advan .col-inner {
	height: 100%;
}
@media (max-width: 768px) {
	li.html.custom.html_topbar_left {
		font-size: 16px;
		text-align: center;
	}
	.row-btn-mb .button {
		width: 100%;
	}
	.text-mb {
		background: black;
		padding: 10px;
	}
	.text-mb p span {
		font-size: 20px !important;
		color: white !important;
	}
	.no-p-m .col.large-3.hide-for-medium {
		display: block !important;
	}
	.widget_product_categories ul.product-categories {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;

		padding: 10px 0;
		-webkit-overflow-scrolling: touch; /* cuộn mượt */
		scrollbar-width: none; /* ẩn thanh scroll trên Firefox */
		flex-direction: initial !important;
	}
	.widget_product_categories ul.product-categories::-webkit-scrollbar {
		display: none; /* ẩn thanh scroll trên Chrome/Safari */
	}

	.widget_product_categories ul.product-categories li {
		flex: 0 0 auto;
		min-width: 150px;
		background: #f7f7f7;
		border-radius: 8px;
		text-align: center;
		padding: 8px 10px;
		white-space: nowrap;
	}
}
/* Đảm bảo wrapper chiếm full height */
#fullpage-wrapper {
	height: 100vh;
}

/* Style cho navigation dots */
#fp-nav ul li a span {
	background: #fff;
}

#fp-nav ul li a.active span {
	background: #0071ce;
}
.product-short-description {
	font-size: 20px;
	color: white;
	background: var(--fs-color-primary);
	padding: 5px 10px;
	border-radius: 8px;
}
.woocommerce-Tabs-panel p {
	color: black;
	font-size: 18px;
	text-align: justify;
}
.children li a {
	color: white;
	font-size: 16px;
}
