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

/*************** HUNONIC Header Custom Styles ***************/

.nav>li>a {
    font-size: 14px;
}

.hunonic-primary-menu {
    position: relative;
}

.hunonic-primary-menu > li {
    position: relative;
}

.hunonic-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
}

.hunonic-primary-menu > li:hover > .hunonic-submenu,
.hunonic-primary-menu > li:focus-within > .hunonic-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hunonic-submenu--simple {
    min-width: 260px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .1);
    padding: 12px;
}

.hunonic-simple-lv2-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hunonic-simple-lv2-item a {
    display: block;
    padding: 10px 12px;
    color: #374151;
    border-radius: 8px;
    font-weight: 500;
}

.hunonic-simple-lv2-item a:hover {
    color: #111827;
    background: #f3f4f6;
}

.hunonic-submenu--mega {
    width: 840px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
    padding: 0;
    display: flex;
    overflow: hidden;
}

.hunonic-mega-left {
    width: 280px;
    border-right: 1px solid #ececec;
    background: #fafafa;
    padding: 16px 10px;
}

.hunonic-mega-lv2-list,
.hunonic-mega-lv3-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hunonic-mega-lv2-item a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
}

.hunonic-mega-lv2-item.is-active a,
.hunonic-mega-lv2-item a:hover {
    color: #111827;
    background: #e5e7eb;
}

.hunonic-mega-right {
    flex: 1;
    padding: 16px 18px;
    min-height: 240px;
}

.hunonic-mega-panel {
    display: none;
}

.hunonic-mega-panel.is-active {
    display: block;
}

.hunonic-mega-lv3-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hunonic-mega-lv3-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-align: center;
}

.hunonic-mega-lv3-thumb {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hunonic-mega-lv3-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hunonic-mega-lv3-title {
    font-size: 14px;
    line-height: 1.35;
}

.hunonic-mega-lv3-item a:hover .hunonic-mega-lv3-title {
    color: #16a34a;
}


/* Mobile menu links */
#hunonic-mobile-menu .menu-item a {
	display: block;
	padding: 0.5rem 0;
	font-weight: 600;
	color: #1f2937;
}
#hunonic-mobile-menu .menu-item a:hover,
#hunonic-mobile-menu .menu-item.current-menu-item a {
	color: #16a34a;
}

/* Search lightbox - ensure Flatsome popup works */
#hunonic-search-lightbox {
	padding: 3rem 2rem;
	max-width: 600px;
	margin: 0 auto;
}

/* WooCommerce success / error notices — modal overlay (CSS-only) */
.woocommerce-notices-wrapper:has(.woocommerce-message.message-wrapper)::before,
.woocommerce-notices-wrapper:has(.woocommerce-error.message-wrapper)::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9998;
}

.woocommerce-message.message-wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 520px);
	max-height: 85vh;
	overflow: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
	padding: 18px 20px;
	z-index: 9999;
}

.woocommerce-message.message-wrapper .button,
.woocommerce-message.message-wrapper .button.wc-forward {
	margin-top: 10px;
}

/* Error notices: same modal shell, distinct accent */
.woocommerce-error.message-wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 520px);
	max-height: 85vh;
	overflow: auto;
	margin: 0;
	padding: 18px 20px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(220, 38, 38, 0.35);
	border-radius: 12px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
	z-index: 9999;
}

.woocommerce-error.message-wrapper li {
	list-style: none;
}

.woocommerce-error.message-wrapper li + li {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.woocommerce-error.message-wrapper .button {
	margin-top: 10px;
}

/* Homepage hero: full viewport width (break out of boxed main if any) */
.hunonic-home-hero-full {
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: auto;
	margin-left: -50vw;
	margin-right: -50vw;
}
.hunonic-home-hero-full .hunonic-hero-slider .slider {
	min-height: 55vh;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.hunonic-submenu {
    display: none !important;
}

}

.hunonic-smart-home{
	background-image: url('img/bg-gioithieu.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.hunonic-smart-home h2{
	font-size: 36px;
    color: #00b33d;
    text-transform: uppercase;
    margin-bottom: 35px;
	font-weight: bold;
}

.section-bg-overlay {
    background: linear-gradient(180deg, rgba(251, 255, 249, 0.96) 0%, rgba(251, 255, 249, 0.90) 100%);
}

.hunonic-smart-home-content{
	position: relative;
	z-index: 1;
}

.hunonic-smart-home-content p{
	line-height: 20px;
    color: #575757;
    text-align: justify;
	margin-bottom: 16px;
}

.hunonic-feature-item{
	border-radius: 8px;
    background: linear-gradient(359deg, #FFF -2.46%, #F0FFE9 119.43%);
    box-shadow: 0px -1px 0px 1px #3C3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 20px 23px;
    cursor: pointer;
}

.hunonic-feature-item p{
	font-size: 15px;
    font-weight: 500;
    color: #575757;
	margin-bottom: 0px;
}

.hunonic-feature-item > div{
	width: 47px;
	height: 47px;
	background: #33cc33;
	border-radius: 50%;
	padding: 10px;
}

.hunonic-feature-item > div img{
	height: 100%;
    object-fit: contain;
    width: auto;
    filter: brightness(0) invert(1);
    padding: 0;
	margin: 0px auto;
}

.hunonic-feature-item p{
	font-weight: bold;
	text-align: center;
	margin-top: 10px;
}

.hunonic-feature-item:hover{
	background: linear-gradient(359deg, #3C3 0.45%, #00B33D 98.93%);
}

.hunonic-feature-item:hover > div{
	background: #fff;
}

.hunonic-feature-item:hover > div img{
	filter: unset;
}

.hunonic-feature-item:hover > p{
	color: #fff;
}

.hunonic-smart-home-video h2{
	font-size: 36px;
    color: #00b33d;
    text-transform: uppercase;
    margin-bottom: 35px;
	font-weight: bold;
}

.hunonic-smart-home-video .hunonic-company-intro__text p {
	line-height: 1.55;
	color: #575757;
	text-align: left;
	margin-bottom: 1rem;
}

.hunonic-smart-home-video .hunonic-company-intro__text p:last-child {
	margin-bottom: 0;
}

.hunonic-company-intro__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 5.5rem;
	margin-top: 2rem;
}

.hunonic-company-intro__cell {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hunonic-company-intro__icon {
	display: flex;
	align-items: center;
	width: 64px;
	height: 64px;
	color: #00b33d;
	flex-shrink: 0;
}

.hunonic-company-intro__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hunonic-company-intro__caption {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #333333;
	margin: 0;
}

@media only screen and (max-width: 28em) {
	.hunonic-company-intro__grid {
		gap: 1.25rem 0.75rem;
	}

	.hunonic-company-intro__caption {
		font-size: 14px;
	}
}

/* Khối ảnh + nút play video giới thiệu */
.hunonic-intro-video-wrap {
	position: relative;
	display: block;
	max-width: 100%;
}

.hunonic-intro-video-wrap > img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
	border-radius: 8px;
}

.hunonic-intro-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 88px;
	height: 88px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	box-shadow: none;
}

.hunonic-intro-video-play:focus-visible {
	outline: 3px solid #00b33d;
	outline-offset: 4px;
}

.hunonic-intro-video-play::before {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: rgba(0, 179, 61, 0.28);
	box-shadow: 0 0 0 10px rgba(0, 179, 61, 0.15);
	pointer-events: none;
}

.hunonic-intro-video-play__icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-45%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #00b33d;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.hunonic-intro-video-play__icon::after {
	content: '';
	position: absolute;
	left: 54%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #fff;
}

.hunonic-intro-video-play:hover .hunonic-intro-video-play__icon {
	background: #009933;
}

/* Lightbox YouTube */
.hunonic-youtube-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.hunonic-youtube-lightbox[hidden] {
	display: none !important;
}

.hunonic-youtube-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	cursor: pointer;
}

.hunonic-youtube-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: 90vh;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.hunonic-youtube-lightbox__close {
	position: absolute;
    top: -29px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    color: #ffffff;
    font-size: 47px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}



.hunonic-youtube-lightbox__ratio {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
}

.hunonic-youtube-lightbox__ratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

html.hunonic-youtube-lightbox-open,
html.hunonic-youtube-lightbox-open body {
	overflow: hidden;
}


 /* Hiệu ứng lớp nền nhô lên từ góc dưới bên phải */
 .hover-card .bg-overlay {
	transition: all 0.5s ease-out;
	transform: translate(100%, 100%);
	border-top-left-radius: 100%;
}
.hover-card:hover .bg-overlay {
	transform: translate(0, 0);
	border-top-left-radius: 0;
}
/* Đảm bảo nội dung luôn nổi trên lớp overlay */
.content-layer {
	position: relative;
	z-index: 10;
}

.hunonic-smart-home-why-choose-us h2{
	font-size: 36px;
}

.hunonic-smart-home-why-choose-us p,
.hunonic-smart-home-why-choose-us ul
{
	font-size: 16px;
}

.hunonic-smart-home-why-choose-us ul li
{
	position: relative;
	padding-left: 20px;
}


.hunonic-smart-home-why-choose-us ul li:before {
    content: "";
    border: 5px solid transparent;
    position: absolute;
    border-left: 6px solid #3C3;
    left: 4px;
    display: block;
    opacity: 1;
    top: 6px;
}

.hunonic-smart-home-partner h2{
	font-size: 36px;
}

.partner-marquee-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.partner-marquee {
	position: relative;
	overflow: hidden;
}

.partner-track {
	--partner-logo-width: clamp(120px, 10vw, 170px);
	--partner-logo-gap: clamp(18px, 2.8vw, 64px);
	display: flex;
	align-items: center;
	gap: var(--partner-logo-gap);
	width: max-content;
	will-change: transform;
}

.partner-logo {
	width: var(--partner-logo-width);
	height: auto;
	flex: 0 0 auto;
	opacity: 1;
	transition: opacity .3s ease;
}

.partner-logo:hover {
	opacity: 1;
}

/* Hiệu ứng mờ 2 đầu để slide trông gọn hơn */
.mask-gradient {
	mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

@media (max-width: 767px) {
	.hunonic-smart-home-partner h2 {
		font-size: 28px;
	}
}

.section-news-home h2{
	font-size: 36px;
	text-align: center;
	color: #00b33d;
	display: block;
	text-transform: uppercase;
	font-weight: bold;
}

.section-news-home {
	padding: 40px 0 20px;
}

.section-news-home .news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.section-news-home .news-card {
	height: 100%;
	border: 1px solid #e8edf2;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.section-news-home .news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 32px rgba(15, 23, 42, .12);
}

.section-news-home .news-thumb-link {
	display: block;
}

.section-news-home .news-thumb {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.section-news-home .news-card-content {
	padding: 16px 16px 18px;
}

.section-news-home .news-meta {
	font-size: 13px;
	line-height: 1.4;
	color: #64748b;
	margin-bottom: 8px;
}

.section-news-home .news-title {
	font-size: 20px;
	line-height: 1.4;
	margin: 0 0 10px;
}

.section-news-home .news-title a {
	color: #0f172a;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.section-news-home .news-title a:hover {
	color: #00b33d;
}

.section-news-home .news-excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #475569;
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.section-news-home .news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.section-news-home h2 {
		font-size: 28px;
	}

	.section-news-home .news-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.section-news-home .news-thumb {
		height: 190px;
	}
}

/* About page - company history timeline */
.hunonic-timeline {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	padding-left: 36px;
}

.hunonic-timeline::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 8px;
	bottom: 8px;
	width: 3px;
	border-radius: 999px;
	background: linear-gradient(180deg, #00b33d 0%, #2dd4bf 100%);
}

.hunonic-timeline__item {
	position: relative;
	margin-bottom: 20px;
}

.hunonic-timeline__item:last-child {
	margin-bottom: 0;
}

.hunonic-timeline__dot {
	position: absolute;
	left: -36px;
	top: 22px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #00b33d;
	color: #fff;
	font-size: 14px;
	box-shadow: 0 0 0 6px rgba(0, 179, 61, 0.14);
}

.hunonic-timeline__dot.is-highlight {
	background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
	box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.18);
}

.hunonic-timeline__card {
	background: #ffffff;
	border: 1px solid #dcfce7;
	border-left: 4px solid #00b33d;
	border-radius: 18px;
	padding: 22px 24px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hunonic-timeline__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.hunonic-timeline__card.is-highlight {
	background: linear-gradient(160deg, #0f172a 0%, #111827 100%);
	border-color: rgba(52, 211, 153, 0.45);
	border-left-color: #34d399;
}

.hunonic-timeline__year {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 8px;
	color: #047857;
}

.hunonic-timeline__card.is-highlight .hunonic-timeline__year {
	color: #6ee7b7;
}

.hunonic-timeline__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.72;
	color: #334155;
}

.hunonic-timeline__card.is-highlight .hunonic-timeline__text {
	color: #d1fae5;
}

/* Scroll reveal animation */
.reveal-on-scroll {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 992px) {
	.hunonic-timeline {
		padding-left: 0;
	}

	.hunonic-timeline::before {
		left: 50%;
		transform: translateX(-50%);
	}

	.hunonic-timeline__item {
		width: 50%;
	}

	.hunonic-timeline__item:nth-child(odd) {
		padding-right: 36px;
	}

	.hunonic-timeline__item:nth-child(even) {
		margin-left: 50%;
		padding-left: 36px;
	}

	.hunonic-timeline__item:nth-child(odd) .hunonic-timeline__dot {
		left: auto;
		right: -17px;
	}

	.hunonic-timeline__item:nth-child(even) .hunonic-timeline__dot {
		left: -17px;
	}
}

@media (max-width: 767px) {
	.hunonic-timeline {
		padding-left: 32px;
	}

	.hunonic-timeline__dot {
		width: 30px;
		height: 30px;
		left: -32px;
		top: 20px;
		font-size: 13px;
	}

	.hunonic-timeline__card {
		padding: 18px 16px;
	}

	.hunonic-timeline__year {
		font-size: 20px;
	}
}

/* Shop / category archive (democategory layout) */
.hunonic-shop-archive .woocommerce-breadcrumb {
	margin: 0;
	font-size: inherit;
}

.hunonic-shop-archive .woocommerce-breadcrumb a {
	color: inherit;
}

.hunonic-shop-archive .woocommerce-breadcrumb a:hover {
	color: #22c55e;
}

.hunonic-shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.hunonic-shop-toolbar .woocommerce-ordering select.orderby {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #d1d5db;
	border-radius: 0.25rem;
	color: #374151;
	padding: 0.375rem 2rem 0.375rem 0.75rem;
	font-size: 0.875rem;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.5rem center;
	background-size: 0.75rem;
}

.hunonic-shop-sidebar .widget {
	border: 2px solid #16a34a;
	border-radius: 2px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 1.5rem;
}

.hunonic-shop-sidebar .widget:last-child {
	margin-bottom: 0;
}

.hunonic-shop-sidebar .widget-title,
.hunonic-shop-sidebar span.widget-title {
	display: block;
	background: #16a34a;
	color: #fff !important;
	font-weight: 700;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	margin: 0 !important;
	border: 0;
}

.hunonic-shop-sidebar .widget .is-divider,
.hunonic-shop-sidebar .widget > .widget-title + .is-divider {
	display: none;
}

.hunonic-shop-sidebar .widget > ul,
.hunonic-shop-sidebar .widget .widget-inner,
.hunonic-shop-sidebar .widget > form,
.hunonic-shop-sidebar .widget > div:not(.widget-title):not([class*="widget-title"]) {
	padding: 1rem;
}

.hunonic-shop-archive .star-rating {
	float: none;
	margin: 0;
	color: #facc15;
}

.hunonic-shop-archive .star-rating span {
	color: #facc15;
}

/* Product category tree in shop sidebar */
.hunonic-widget-product-cats .widget-inner {
	padding: 0.75rem 0.75rem 0.9rem;
}

.hunonic-cat-tree,
.hunonic-cat-children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hunonic-cat-item + .hunonic-cat-item {
	margin-top: 4px;
}

.hunonic-cat-node {
	display: block;
}

.hunonic-cat-summary {
	list-style: none;
	cursor: pointer;
}
.hunonic-cat-summary::-webkit-details-marker {
	display: none;
}

.hunonic-cat-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 8px;
	border-radius: 6px;
	color: #374151;
}

.hunonic-cat-check {
	width: 14px;
	height: 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: #fff;
}

.hunonic-cat-link {
	color: inherit;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	text-decoration: none;
	flex: 1 1 auto;
	min-width: 0;
}

.hunonic-cat-item.is-current > .hunonic-cat-label,
.hunonic-cat-item.is-current > .hunonic-cat-node > .hunonic-cat-summary > .hunonic-cat-label,
.hunonic-cat-item.is-ancestor > .hunonic-cat-label,
.hunonic-cat-item.is-ancestor > .hunonic-cat-node > .hunonic-cat-summary > .hunonic-cat-label {
	color: #16a34a;
}

.hunonic-cat-item.is-current .hunonic-cat-check,
.hunonic-cat-item.is-current > .hunonic-cat-node .hunonic-cat-check {
	border-color: #16a34a;
	background: #16a34a;
}
.hunonic-cat-item.is-current .hunonic-cat-check::after,
.hunonic-cat-item.is-current > .hunonic-cat-node .hunonic-cat-check::after {
	content: "";
	width: 7px;
	height: 3px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
	margin-top: -1px;
}

.hunonic-cat-label:hover {
	background: #f3f4f6;
	color: #111827;
}

.hunonic-cat-item.is-current .hunonic-cat-label:hover,
.hunonic-cat-item.is-current > .hunonic-cat-node > .hunonic-cat-summary > .hunonic-cat-label:hover {
	background: rgba(22, 163, 74, 0.08);
	color: #16a34a;
}

.hunonic-cat-children {
	margin-left: 22px;
	padding-left: 8px;
	border-left: 1px dashed #e5e7eb;
}

.hunonic-cat-node[open] > .hunonic-cat-summary .hunonic-cat-label::after {
	content: "▾";
	margin-left: auto;
	color: #9ca3af;
	font-size: 12px;
}
.hunonic-cat-node:not([open]) > .hunonic-cat-summary .hunonic-cat-label::after {
	content: "▸";
	margin-left: auto;
	color: #9ca3af;
	font-size: 12px;
}

.devvn-popup-title{
	background: #0eae41;
}

.popup-customer-info-group .devvn-order-btn{
	background: #0eae41;
}

.has-border{
	border-color: #0eae41;
}

input[type=submit]{
	background-color: #0eae41;
}

.stars a.active:after, .stars a:hover:after {
    color: #facc15;
}

.header-wrapper{
	background: #fff;
}

.hunonic-home-page {
        font-family: 'Roboto', sans-serif;
    }

    .hunonic-nav-bar {
        background: #fff;
        border-bottom: 2px solid #00a651;
    }

    .hunonic-nav-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hn-category-btn {
        background: #00a651;
        color: #fff;
        padding: 15px 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 250px;
        text-transform: uppercase;
        font-size: 14px;
    }

    .hn-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
        font-weight: 600;
        color: #333;
    }

    .hn-menu li {
        cursor: pointer;
    }

    .hn-menu li:hover {
        color: #00a651;
    }

    .hn-hotline {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .hn-hotline-icon svg {
        width: 24px;
        height: 24px;
        fill: #00a651;
    }

    .hn-hotline-text {
        font-size: 12px;
        color: #666;
    }

    .hn-hotline-number {
        font-weight: bold;
        color: #333;
        font-size: 15px;
    }

    .hn-banner {
        width: 100%;
    }

    .hn-banner img {
        width: 100%;
        display: block;
    }

    .hn-section-title {
        max-width: 1200px;
        margin: 30px auto 15px;
        font-size: 20px;
        font-weight: bold;
        color: #333;
    }



    /* Flash Sale Styles */
    .hn-flash-sale {
        max-width: 1200px;
        margin: 50px auto 50px;
        background: #fff;
    }

    .hn-fs-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .hn-fs-title {
        font-size: 24px;
        font-weight: bold;
        color: #ff4d4f;
        /* Reddish orange color for flash sale */
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .hn-fs-icon {
        font-size: 28px;
    }





    .hn-product-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ff4d4f;
        color: white;
        padding: 2px 5px;
        font-size: 12px;
        font-weight: bold;
        border-radius: 3px;
        z-index: 2;
    }

    .hn-product-img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .hn-product-sales {
        font-size: 12px;
        color: #666;
        margin-bottom: 5px;
    }

    .hn-product-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        flex-grow: 1;
        line-height: 1.4;
    }

    .hn-product-rating {
        font-size: 12px;
        margin-bottom: 10px;
        color: #fadb14;
        /* Yellow for stars */
    }

    .hn-product-rating .review-count {
        color: #999;
        margin-left: 5px;
    }

    .hn-product-price {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .hn-product-price .old-price {
        font-size: 13px;
        color: #999;
        text-decoration: line-through;
    }

    .hn-product-price .new-price {
        font-size: 18px;
        font-weight: bold;
        color: #00a651;
        /* Green color for price */
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
        .hn-flash-sale {
            margin: 30px auto;
            padding: 0 0px;
        }
    }

    @media (max-width: 480px) {
        .hn-cat-item {
            padding: 10px 5px;
        }

        .hn-cat-item img {
            width: 40px;
            height: 40px;
        }

        .hn-cat-name {
            font-size: 11px;
        }



        .hn-product-title {
            font-size: 12px;
        }

        .hn-product-price .new-price {
            font-size: 14px;
        }

        .hn-fs-title {
            font-size: 18px;
        }

        .hn-fs-icon {
            font-size: 20px !important;
        }
    }