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

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root {
	--primary-color: #1E5631;
	--dark-primary-color: #166534;
	--secondary-color: #EFA220;
	--font-title: "Montserrat", sans-serif;
	--font-body: "Be Vietnam Pro", sans-serif;
	--vien-border: #DFE0D8;
	--box-shadow: 0px 0px 10px #2d6b286e;
	--linear-primary: linear-gradient(135deg, #1E5631, #3D8A34);
}

.header-main .nav>li>a {
	font-weight: bold;
}

.popup-tu-van-nhanh-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.55);
	align-items: center;
	justify-content: center;
}

.popup-tu-van-nhanh-overlay.is-open {
	display: flex;
}

body.popup-tu-van-open {
	overflow: hidden;
}

.popup-tu-van-nhanh-container {
	position: relative;
	background: #fff;
	border-radius: 12px;
	width: 100%;
	max-width: 520px;
	margin: 16px;
	padding: 40px 32px 32px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	animation: popup-fade-in 0.25s ease;
}

@keyframes popup-fade-in {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.popup-tu-van-nhanh-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 0;
	margin: 0;
	min-height: unset;
}

.popup-tu-van-nhanh-close:hover {
	color: #333;
}

.popup-tu-van-nhanh-content {
	font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-title);

	b,
	strong {
		font-weight: bold;
	}
}

body {
	font-family: var(--font-body);
}

.autocomplete-suggestion .search-price,
.absolute-footer,
.wpcf7-spinner,
.product-info .price-wrapper {
	display: none;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
}

.col-inner:last-child {
	padding-bottom: 0;
}

a {
	transition: all .25s ease;
}

p:last-child {
	margin-bottom: 0;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
	max-width: 350px;
	width: 100%;
}

.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
	font-size: 16px;
	text-transform: math-auto;
	color: #000;
}

.mfp-bg.mfp-ready {
	background-color: rgba(0, 0, 0, 0.4) !important;
	opacity: 1 !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
}

.mfp-wrap.mfp-ready {
	backdrop-filter: none !important;
}

.nav:not(.nav-slide) .active>.children {
	padding-bottom: 0;
}

.icon-box-img img,
.icon-box-img svg {
	padding-top: 0;
}

.autocomplete-suggestion img+.search-name {
	font-size: 16px;
}

.header-nav .sub-menu .menu-item-has-children:after {
	content: '\f105';
	font-family: "FontAwesome";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 11px;
}

.header-nav .sub-menu .menu-item-has-children {
	position: relative;
	width: 100%;
}

.header-nav .sub-menu .menu-item-has-children .sub-menu {
	display: none;
	opacity: 0;
	transition: all 0.25s ease;
	position: absolute;
	left: 100%;
	background: #fff;
	border-radius: 5px;
	top: 0;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu {
	display: block;
	opacity: 1;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu .sub-menu {
	display: none;
	opacity: 0;
}

.header-nav .sub-menu .menu-item-has-children:hover .sub-menu .menu-item-has-children:hover .sub-menu {
	display: block;
	opacity: 1;
}

.header-nav .sub-menu.nav-dropdown-default {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.sub-menu li a {
	min-width: 150px;
	font-weight: 400 !important;
	text-transform: math-auto !important;
	color: initial !important;
	font-size: 14px !important;
}


.nav-uppercase li a,
.nav-uppercase li>a,
ul.nav-uppercase>li>a {
	text-transform: none !important;
	letter-spacing: normal !important;
}

.flickity-button {
	opacity: 1;
}

.flickity-button svg {
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	padding: 10px;
	border-radius: 4px;
	min-width: 30px;
	max-width: 30px;
	height: 30px;
}

.row-slider .flickity-prev-next-button svg {
	padding: 10px !important;
	border: 0;
}

.slider-nav-light .flickity-prev-next-button .arrow,
.slider-nav-light .flickity-prev-next-button svg {
	fill: #333;
}

.flickity-page-dots {
	background: #ffffff30;
	width: max-content;
	margin: auto;
	border-radius: 16px;
	padding: 0px 4px;
	padding-bottom: 2px;

}

.flickity-page-dots .dot {
	width: 8px;
	height: 8px;
	background-color: #fff;
}

.wpcf7 div.wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
	background: #fddddd;
	border: 1px solid red;
	color: red;
	box-shadow: none;
	font-size: 14px;
	padding: 15px;
	border-radius: 6px;
	margin: 0;
	margin-top: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #ebfee3;
	color: #398f14;
	border-color: #398f142e;
}

ul:last-child,
li:last-child {
	margin-bottom: 0;
}

.html_3 {
	display: flex;
	align-items: center;
	gap: 4px;

	i {
		color: var(--secondary-color);
		margin-right: 4px;
	}
}

.ss-pd {
	padding-top: 60px !important;
	padding-bottom: 30px !important;
}

.blog-wrapper {
	padding-top: 60px;

	.large-10.col {
		padding-bottom: 0;
	}
}

.shop-page-title {
	padding-top: 60px;

	.page-title-inner {
		padding-top: 0;
		min-height: unset;
	}
}

.woocommerce {
	.col.large-12 {
		padding-bottom: 40px;
	}
}

.product-main {
	padding: 60px 0 30px 0;
}

.product-footer {
	padding-bottom: 40px;
}

ul.nav-pagination {
	padding-bottom: 20px;
}

.ss-footer {

	p,
	a {
		font-size: 14px;
		color: #ffffff99;
	}

	h2 {
		span {
			color: #fff;
			text-transform: math-auto;
			font-size: 18px;
		}
	}

	h3 {
		font-size: 14px;
		color: #ffffff99;
	}

	a:hover {
		color: var(--secondary-color) !important;
	}

	.icon-box {
		align-items: center;
		margin-bottom: 20px;

		&:last-child {
			margin-bottom: 0;
		}

		img {
			background-color: #ffffff2b;
			padding: 5px;
			border-radius: 4px;
		}
	}
}

.ss-banner {
	.span {
		span {
			background: rgba(255, 255, 255, 0.15);
			backdrop-filter: blur(10px);
			border: 1px solid rgba(255, 255, 255, 0.3);
			color: var(--secondary-color);
			font-size: 14px;
			padding: 8px 16px;
			border-radius: 50px;
			font-weight: bold;
		}
	}

	h1 {
		font-weight: 900;
		line-height: 1.3;
		font-size: 50px;

		span {
			color: var(--secondary-color);
		}
	}

	p {
		font-size: 18px;
	}

	.row-solid {
		h3 {
			font-size: 36px;
			font-weight: 900;
			font-family: var(--font-body);
			color: var(--secondary-color);
		}

		p {
			font-size: 16px;
			margin-bottom: 0;
		}
	}

	.column-form {
		h2 {
			font-size: 24px;
			font-weight: bold;
			color: var(--primary-color);
		}
	}
}

form {
	margin-bottom: 0;

	.two-col {
		display: flex;
		gap: 15px;
		align-items: center;
	}

	label {
		font-size: 16px;
		font-weight: 500;

		span {
			color: red;
		}
	}

	input,
	select,
	textarea {
		height: 45px;
		border: 1px solid var(--vien-border);
		padding: 0px 16px;
		border-radius: 8px !important;
		font-weight: 400;
		box-shadow: none !important;

		&:focus {
			border-color: var(--primary-color);
		}
	}

	textarea {
		resize: vertical;
		min-height: 100px;
		padding: 10px;
	}

	.wpcf7-submit {
		display: block;
		width: 100%;
		margin: 0;
		text-transform: math-auto;
		font-weight: bold;
	}
}

.wpcf7-not-valid-tip {
	display: none;
}

.frame-title {
	span {
		backdrop-filter: blur(10px);
		border: 1px solid var(--primary-color);
		color: var(--primary-color);
		font-size: 14px;
		padding: 8px 16px;
		border-radius: 50px;
		font-weight: bold;
	}

	h2 {
		font-weight: 800;
		line-height: 1.3;
		font-size: 30px;

		b {
			color: var(--primary-color);
			font-weight: 800;
		}
	}
}

.ss-cat-shop {
	.box-text-bottom {
		box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
		border-radius: 16px;
		overflow: hidden;

		h3 {
			font-size: 18px;
			margin-bottom: 10px;
		}

		p {
			font-size: 14px;
		}
	}
}

.nav-pills {
	gap: 8px;

	li {
		a {
			border: 2px solid var(--vien-border);
			font-size: 14px;
			padding: 0px 24px;
		}
	}

	li.active a {
		border-color: var(--primary-color);
		box-shadow: var(--box-shadow);
	}
}

.product-small.box {
	border-radius: 16px;
	overflow: hidden;
	border: 1.5px solid var(--vien-border);

	.box-text {
		padding: 15px;

		.product-title a {
			font-weight: bold;
			font-size: 16px;
		}

		.product-card-excerpt {
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 2;
			overflow: hidden;
			color: #555;
		}

		.product-card-order-btn {
			width: 100%;
			padding: 11px;
			background: var(--linear-primary);
			color: #fff;
			border-radius: 8px;
			font-size: 14px;
			font-weight: 600;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			margin-top: 10px;

			&:hover {
				box-shadow: var(--box-shadow);
				transform: translateY(-2px);
			}
		}
	}

	.price-wrapper {
		display: none;
	}
}

.ss-about-hp {
	.column-img {
		border-radius: 28px;
		overflow: hidden;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	}

	.icon-box {
		align-items: center;
		background-color: #fff;
		border-radius: 16px;
		padding: 15px;
		box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
		margin-bottom: 15px;
		border-left: 2px solid var(--primary-color);
		height: 100%;

		h3 {
			font-size: 18px;
			font-family: var(--font-body);
			margin: 0;
		}

	}
}

.ss-number {
	background: var(--linear-primary);

	.icon-box {
		background-color: rgba(255, 255, 255, 0.08);
		border-radius: 16px;
		padding: 30px 20px;
		height: 100%;

		h3 {
			font-size: 36px;
			font-family: var(--font-body);
			margin: 0;
			color: var(--secondary-color);
		}

	}
}

.accordion-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;

	&:last-child {
		margin-bottom: 0;
	}

	.accordion-title {
		border-top: 0;
		background-color: #fff;
		color: var(--primary-color);
		padding-left: 20px;
		font-weight: 500;
		margin-bottom: 0;
		border: 1px solid #eee;
	}

	.accordion-title.active {
		background-color: var(--primary-color);
		color: #fff;
	}

	.toggle {
		left: unset;
		right: 0;
		margin-left: 0;
		top: 50%;
		transform: translateY(-50%);

		i {
			font-size: 18px;
		}
	}

	.accordion-inner {
		padding: 20px;
		background-color: #fff;
	}
}

.ss-cta {
	.row-edit {
		overflow: hidden;
		border-radius: 32px;
		box-shadow: 0 24px 80px rgba(45, 107, 40, 0.15);

		.frame-title {
			h2 {
				b {
					color: var(--secondary-color);
				}
			}
		}

		.bgc .col-inner {
			background: linear-gradient(135deg, #1A3D2E, #2D6B28);
			position: relative;

			&:after {
				content: '';
				position: absolute;
				bottom: 0;
				right: 0;
				background-image: url(/wp-content/uploads/2026/05/chicken.png);
				width: 200px;
				height: 200px;
				background-size: contain;
				background-repeat: no-repeat;
				background-position: center;
				opacity: .2;
			}
		}

		.icon-box {
			align-items: center;
			margin-top: 15px;

			.icon {
				background-color: rgba(255, 255, 255, 0.08);
				border-radius: 50%;
				padding: 10px;
				height: 40px;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}

		form {
			margin-top: 15px;
		}
	}
}

.ss-feedback {
	.icon-avatar {
		align-items: center;

		.icon {
			overflow: hidden;
			border-radius: 50%;
			border: 1px solid var(--primary-color);
		}

		h3 {
			font-size: 16px;
			margin-bottom: 0;
			font-family: var(--font-body);
		}

		p {
			font-size: 14px;
			color: var(--primary-color);
		}
	}

	.row-feedback {}
}

.flickity-slider>.row:not(.is-selected) {
	opacity: 1;
}

.ss-stared {
	.frame-title {
		span {
			border: 1px solid var(--secondary-color);
			color: var(--secondary-color);
		}
	}
}

.ss-vision-mission {
	.icon-box {
		.icon {
			background-color: var(--primary-color);
			border-radius: 8px;
			padding: 15px;
		}
	}
}

.ss-organizational-chart {
	.icon {
		border: 2px solid #dddddd3d;
		padding: 5px;
		border-radius: 50%;

		.icon-inner {
			background-color: #fff;
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 15px;
		}
	}

	.icon-box-text {
		h3 {
			font-size: 16px;
		}
	}

	.row-arrow {
		.col {
			&:after {
				content: '';
				width: 70px;
				height: 90px;
				background-image: url(/wp-content/uploads/2026/05/arrow-right.png);
				background-size: contain;
				background-repeat: no-repeat;
				position: absolute;
				top: 0;
				left: 0;
				transform: translateX(-50%);
			}
		}

		.col:first-child:after {
			content: none;
		}
	}
}

.btn-order {
	background-color: var(--secondary-color);
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: bold;
	display: inline-block;
	box-shadow: 1px 1px 10px var(--secondary-color);
	text-align: center;
	width: 100%;

	&:hover {
		transform: scale(.95);
	}

	i {
		margin-right: 8px;
	}
}

.btn-order.three {
	width: 100%;
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	box-shadow: 1px 1px 10px #3b82f6;
}

.frame-btn-order {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}

.post-item {
	.col-inner {
		height: 100%;
	}

	.box {
		height: 100%;
		border-radius: 12px;
		overflow: hidden;
		border: 1px solid #dddddd3d;
		background-color: #f5f4ef;

		.box-text {
			padding: 15px;

			.post-title a {
				font-size: 18px;
				font-family: var(--font-body);
				color: var(--primary-color);
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
			}

			.from_the_blog_excerpt {
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
			}
		}
	}
}

.ss-contact {
	iframe {
		border-radius: 12px;
		overflow: hidden;
	}
}

.ss-blog-post {
	.post-item {
		.box {
			background-color: #fff;
		}
	}
}

.header-button-1 a {
	font-size: 16px;
	text-transform: math-auto;
	font-weight: 600;
	width: max-content;
}

.fcv-contact-widget {
	left: 30px;
	right: unset;
}

.fcv-overlay-menu {
	left: 0;
	right: unset;
}

.product-badge-ngay-tuoi {
	position: absolute;
	z-index: 2;
	top: 8px;
	left: 8px;
	background-color: var(--secondary-color);
	color: #fff;
	padding: 5px 20px;
	border-radius: 8px;
	font-size: 12px;
	box-shadow: 0px 0px 25px 1px #ffffff87;
}


.image-tools:has(.product-badge-ngay-tuoi) {
	display: contents;

	.zoom-button {
		display: none;
	}
}


.widget {
	border: 1px solid var(--primary-color);
	border-radius: 12px;
	overflow: hidden;

	&:last-child {
		margin-bottom: 0;
	}

	.widget-title {
		display: block;
		padding: 15px;
		background: linear-gradient(228.35deg, var(--primary-color) 31.38%, #45875b 100%);
		color: #fff;
		text-transform: math-auto;
		letter-spacing: 0;
		font-size: 18px;
		text-align: center;
	}

	.is-divider,
	span.post_comments {
		display: none;
	}

	ul {
		padding: 15px;
	}

	.recent-blog-posts a {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		margin: 0;
		line-height: 1.4em;
	}

	.tagcloud {
		padding: 15px;
		display: flex;
		flex-wrap: wrap;
		gap: 5px;

		a {
			margin: 0;
			padding: 5px 10px;
		}
	}
}


.image-tools:has(.product-badge-ngay-tuoi) {
	display: contents;
}

@keyframes snt-shimmer {
	0% {
		background-position: -400px 0;
	}

	100% {
		background-position: 400px 0;
	}
}

.snt-shimmer {
	background: linear-gradient(90deg, #ebebeb 25%, #d6d6d6 50%, #ebebeb 75%);
	background-size: 800px 100%;
	animation: snt-shimmer 1.4s infinite linear;
	border-radius: 6px;
}

.snt-sk-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
}

.snt-sk-line {
	display: block;
}

.snt-load-more-wrap {
	text-align: center;
	margin-top: 24px;
}

.snt-load-more-btn {
	background: var(--primary-color);
	color: #fff;
	border: none;
	padding: 4px 32px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
	text-transform: math-auto;

	&:hover {
		background: var(--dark-primary-color);
		color: #fff;
	}
}

.filter-so-ngay-tuoi {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 15px;
}

.filter-so-ngay-tuoi__item {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;

	input[type="radio"] {
		accent-color: var(--primary-color);
		width: 16px;
		height: 16px;
		cursor: pointer;
		flex-shrink: 0;
		margin: 0;
	}

	span {
		line-height: 1.4;
	}

	&:hover span {
		color: var(--primary-color);
	}
}

.ss-aboutus {
	img {
		border-radius: 12px;
	}
}







@media(max-width: 600px) {
	.ss-contact {
		iframe {
			height: 300px;
		}
	}

	.ss-organizational-chart {
		.row-arrow {
			.col:nth-child(3):after {
				content: none;
			}
		}
	}

	form {
		.two-col {
			gap: 0;
			flex-direction: column;
		}
	}

	.frame-title {
		h2 {
			font-size: 26px;
		}
	}

	.ss-number {
		& .icon-box {
			h3 {
				font-size: 24px;
			}
		}
	}

	.product-small.box {
		& .box-text {
			.product-card-order-btn {
				font-size: 10px;
			}
		}
	}

	.nav-pills {
		display: grid;
		grid-template-columns: 1fr 1fr;

		li a {
			width: 100%;
			justify-content: center;
		}
	}

	.product-small {
		& .box-text {
			.product-title a {
				font-size: 14px;
			}
		}
	}

	.ss-banner {
		h1 {
			font-size: 30px;
		}

		& .span {
			span {
				font-size: 12px;
			}
		}

		.row-solid {
			h3 {
				font-size: 24px;
			}

			p {
				font-size: 14px;
			}
		}
	}

	.product-footer {
		padding-bottom: 10px;
	}

	.product-main {
		padding: 30px 0 0;
	}

	.shop-page-title {
		padding-top: 30px;
	}

	.woocommerce {
		.col.large-12 {
			padding-bottom: 10px;
		}
	}

	.blog-wrapper {
		padding-top: 30px;
		padding-bottom: 0;

		.large-9.col {
			padding-bottom: 0;
		}
	}

	.ss-pd {
		padding-top: 30px !important;
		padding-bottom: 0px !important;
	}
}