/* ChloroVit Categories Mega Menu */

.chv-catmega {
	--chv-menu-primary: #194b34;
	--chv-menu-primary-2: #256342;
	--chv-menu-text: #18372a;
	--chv-menu-muted: #64736c;
	--chv-menu-border: #dde9e2;
	--chv-menu-soft: #f4f8f5;
	--chv-menu-warm: #fbf7f0;
	--chv-menu-gold: #f6bd27;
	position: relative;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	font-family: inherit;
}

.chv-catmega:not([data-initialized="yes"]) {
	visibility: hidden;
}

.chv-catmega *,
.chv-catmega *::before,
.chv-catmega *::after {
	box-sizing: border-box;
	letter-spacing: 0;
}

.chv-catmega__trigger {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	min-width: 198px !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #355B49 !important;
	color: #fff !important;
	box-shadow: 0 12px 24px rgba(20, 61, 43, .18) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-transform: none !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.chv-catmega__trigger::before,
.chv-catmega__trigger::after {
	display: none !important;
	content: none !important;
}

.chv-catmega__trigger:hover,
.chv-catmega__trigger:focus,
.chv-catmega.is-open .chv-catmega__trigger {
	background: #2d4f40 !important;
	color: #fff !important;
	box-shadow: 0 14px 28px rgba(20, 61, 43, .24) !important;
	transform: translateY(-1px);
	outline: none !important;
}

.chv-catmega__trigger-text {
	color: #fff !important;
	font: inherit;
}

.chv-catmega__burger {
	position: relative;
	display: inline-flex;
	flex: 0 0 24px;
	width: 24px;
	height: 18px;
}

.chv-catmega__burger::before,
.chv-catmega__burger::after,
.chv-catmega__burger span {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	width: 24px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
}

.chv-catmega__burger::before { top: 0; }
.chv-catmega__burger span { top: 8px; }
.chv-catmega__burger::after { bottom: 0; }

.chv-catmega__arrow {
	width: 8px;
	height: 8px;
	margin-inline-start: 2px;
	border-inline-end: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
}

.chv-catmega.is-open .chv-catmega__arrow {
	transform: rotate(225deg) translateY(-2px);
}

.chv-catmega__panel {
	--chv-panel-shift: 0px;
	position: absolute;
	top: calc(100% + 14px);
	inset-inline-start: 0;
	display: block;
	width: min(1020px, calc(100vw - 36px));
	max-height: calc(100vh - 118px);
	margin: 0;
	padding: 16px 20px 12px;
	overflow: auto;
	border: 1px solid var(--chv-menu-border);
	border-radius: 22px;
	background: rgba(255, 255, 255, .98);
	box-shadow: 0 28px 70px rgba(22, 47, 36, .18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(var(--chv-panel-shift)) translateY(10px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	z-index: 999999;
}

.chv-catmega.is-open .chv-catmega__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(var(--chv-panel-shift)) translateY(0);
}

.chv-catmega__panel::before {
	content: "";
	position: absolute;
	top: -8px;
	inset-inline-start: 70px;
	width: 16px;
	height: 16px;
	border-top: 1px solid var(--chv-menu-border);
	border-inline-start: 1px solid var(--chv-menu-border);
	background: #fff;
	transform: rotate(45deg);
}

.chv-catmega__close {
	display: none !important;
}

.chv-catmega__panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 10px;
}

.chv-catmega__title {
	position: relative;
	margin: 0 0 5px !important;
	padding-inline-start: 30px !important;
	color: var(--chv-menu-primary) !important;
	font-size: 19px !important;
	font-weight: 900 !important;
	line-height: 1.25 !important;
}

.chv-catmega__title::before {
	content: "🔥";
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	font-size: 20px;
	line-height: 1.25;
}

.chv-catmega__subtitle {
	margin: 0 !important;
	color: var(--chv-menu-muted) !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
}

.chv-catmega__featured {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.chv-catmega__feature-card {
	position: relative;
	display: flex !important;
	aspect-ratio: 7 / 5;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	border: 1px solid rgba(25, 75, 52, .07);
	border-radius: 14px !important;
	background: #f5efe7 !important;
	color: var(--chv-menu-text) !important;
	text-decoration: none !important;
	box-shadow: 0 10px 22px rgba(25, 75, 52, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}

.chv-catmega__feature-card--1,
.chv-catmega__feature-card--2,
.chv-catmega__feature-card--3,
.chv-catmega__feature-card--4 {
	background: #f7f4ed !important;
}

.chv-catmega__feature-card:hover {
	color: var(--chv-menu-primary) !important;
	box-shadow: 0 14px 28px rgba(25, 75, 52, .1);
	transform: translateY(-2px);
}

.chv-catmega__feature-card img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: #f5f1e8;
}

.chv-catmega__content {
	display: grid;
	grid-template-columns: minmax(265px, 1.18fr) minmax(285px, 1fr) minmax(200px, .78fr);
	gap: 18px;
	align-items: stretch;
}

.chv-catmega__section {
	padding-inline-end: 16px;
	border-inline-end: 1px solid var(--chv-menu-border);
}

.chv-catmega__section h4,
.chv-catmega__bestsellers h4 {
	margin: 0 0 10px !important;
	color: var(--chv-menu-primary) !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	line-height: 1.25 !important;
}

.chv-catmega__category-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
}

.chv-catmega__category-item {
	display: grid !important;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	min-width: 0;
	color: var(--chv-menu-text) !important;
	text-decoration: none !important;
}

.chv-catmega__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 50%;
	background: #f0f1e8;
}

.chv-catmega__icon img,
.chv-catmega__goal-item img {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
	filter: brightness(0) saturate(100%) invert(24%) sepia(29%) saturate(879%) hue-rotate(97deg) brightness(92%) contrast(91%);
	opacity: .95;
}

.chv-catmega__item-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.chv-catmega__item-copy strong,
.chv-catmega__goal-item span,
.chv-catmega__best-copy strong {
	overflow-wrap: anywhere;
	color: inherit;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.45;
}

.chv-catmega__item-copy small,
.chv-catmega__best-copy small {
	color: var(--chv-menu-muted);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
}

.chv-catmega__goal-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.chv-catmega__goal-item {
	display: grid !important;
	grid-template-columns: 31px minmax(0, 1fr);
	align-items: center;
	justify-content: stretch;
	justify-items: start;
	gap: 10px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #e4eee8;
	border-radius: 9px !important;
	background: #f4faf6 !important;
	color: var(--chv-menu-text) !important;
	text-decoration: none !important;
	text-align: right;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.chv-catmega__goal-item img {
	justify-self: center;
}

.chv-catmega__goal-item span {
	align-self: center;
	justify-self: stretch;
	text-align: right;
}

.chv-catmega__goal-item:hover {
	border-color: rgba(25, 75, 52, .22);
	background: #edf6ef !important;
	color: var(--chv-menu-primary) !important;
	transform: translateY(-1px);
}

.chv-catmega__bestsellers {
	padding-inline-start: 8px;
}

.chv-catmega__bestsellers h4::after {
	content: " ★";
	color: var(--chv-menu-gold);
}

.chv-catmega__best-list {
	display: grid;
	gap: 10px;
}

.chv-catmega__best-item {
	display: grid !important;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	color: var(--chv-menu-text) !important;
	text-decoration: none !important;
}

.chv-catmega__best-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.chv-catmega__best-copy strong {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.chv-catmega__best-item img {
	display: block;
	width: 56px;
	height: 60px;
	object-fit: contain;
}

.chv-catmega__rating {
	color: var(--chv-menu-gold);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.chv-catmega__more-link {
	display: inline-flex !important;
	align-items: center;
	gap: 9px;
	margin-top: 10px;
	color: var(--chv-menu-primary) !important;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none !important;
}

.chv-catmega__more-link::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-inline-end: 2px solid currentColor;
	transform: rotate(-135deg);
}

.chv-catmega--en .chv-catmega__more-link::before {
	transform: rotate(45deg);
}

.chv-catmega__footer {
	display: flex;
	justify-content: center;
	margin-top: 12px;
	padding: 8px;
	border: 1px solid var(--chv-menu-border);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(244, 250, 246, .95), rgba(255, 255, 255, .95));
}

.chv-catmega__shop-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
	min-width: 310px;
	min-height: 42px !important;
	padding: 0 34px !important;
	border-radius: 999px !important;
	background: #355B49 !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease !important;
}

.chv-catmega__shop-link:hover {
	background: #2d4f40 !important;
	color: #fff !important;
	box-shadow: 0 12px 24px rgba(23, 69, 47, .2);
	transform: translateY(-1px);
}

.chv-catmega__shop-arrow {
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-inline-end: 2px solid currentColor;
	transform: rotate(-135deg);
}

.chv-catmega--en .chv-catmega__shop-arrow {
	transform: rotate(45deg);
}

.whb-header,
.whb-row,
.whb-column,
.whb-col-left,
.whb-col-center,
.whb-col-right,
.wd-header-html,
.wd-header-text {
	overflow: visible !important;
}

html.chv-catmega-open,
html.chv-catmega-open body {
	overflow: hidden;
}

.chv-catmega.chv-catmega--mobile-host > .chv-catmega__trigger {
	display: none !important;
}

@media (max-width: 1199px) {
	.chv-catmega__panel {
		width: min(960px, calc(100vw - 28px));
		padding: 18px;
	}

	.chv-catmega__featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.chv-catmega__content {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.chv-catmega__bestsellers {
		grid-column: 1 / -1;
		padding-inline-start: 0;
	}

	.chv-catmega__best-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.chv-catmega {
		position: static;
	}

	.chv-catmega__trigger {
		min-width: 145px !important;
		height: 38px !important;
		padding: 0 12px !important;
		gap: 8px !important;
		font-size: 13px !important;
	}

	.chv-catmega__burger {
		flex-basis: 20px;
		width: 20px;
		height: 15px;
	}

	.chv-catmega__burger::before,
	.chv-catmega__burger::after,
	.chv-catmega__burger span {
		width: 20px;
	}

	.chv-catmega__burger span {
		top: 6.5px;
	}

	.chv-catmega__panel {
		position: fixed;
		inset: 0 !important;
		width: 100vw;
		max-height: none;
		height: 100vh;
		padding: 14px 12px 18px;
		border: 0;
		border-radius: 0;
		background: #fff;
		transform: translateY(18px);
	}

	.chv-catmega.is-open .chv-catmega__panel {
		transform: translateY(0);
	}

	.chv-catmega__panel::before {
		display: none;
	}

	.chv-catmega__close {
		position: sticky !important;
		top: 0;
		z-index: 2;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		float: inline-end;
		width: 38px !important;
		height: 38px !important;
		margin: 0 0 8px !important;
		padding: 0 !important;
		border: 1px solid var(--chv-menu-border) !important;
		border-radius: 50% !important;
		background: #fff !important;
		color: var(--chv-menu-primary) !important;
		box-shadow: none !important;
	}

	.chv-catmega__close span,
	.chv-catmega__close span::before {
		position: absolute;
		width: 17px;
		height: 2px;
		border-radius: 99px;
		background: currentColor;
		content: "";
		transform: rotate(45deg);
	}

	.chv-catmega__close span::before {
		inset: 0;
		transform: rotate(90deg);
	}

	.chv-catmega__panel-header {
		clear: both;
		margin-bottom: 10px;
	}

	.chv-catmega__title {
		font-size: 17px !important;
	}

	.chv-catmega__subtitle {
		font-size: 12px !important;
	}

	.chv-catmega__featured,
	.chv-catmega__content,
	.chv-catmega__category-list,
	.chv-catmega__goal-grid,
	.chv-catmega__best-list {
		grid-template-columns: 1fr;
	}

	.chv-catmega__featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.chv-catmega__featured {
		gap: 9px;
		margin-bottom: 16px;
	}

	.chv-catmega__feature-card {
		min-height: 96px;
	}

	.chv-catmega__content {
		gap: 16px;
	}

	.chv-catmega__section {
		padding-inline-end: 0;
		border-inline-end: 0;
		border-bottom: 1px solid var(--chv-menu-border);
		padding-bottom: 14px;
	}

	.chv-catmega__category-list {
		gap: 10px;
	}

	.chv-catmega__goal-grid {
		gap: 8px;
		width: max-content;
		max-width: 100%;
		margin-inline-start: 0;
		margin-inline-end: auto;
	}

	.chv-catmega__goal-item {
		grid-template-columns: 28px minmax(max-content, 1fr);
		gap: 7px;
		min-height: 40px;
		padding: 0 9px;
		width: clamp(190px, 68vw, 260px);
	}

	.chv-catmega__goal-item img {
		width: 23px;
		height: 23px;
	}

	.chv-catmega__goal-item span {
		font-size: 13px;
		line-height: 1.45;
		text-align: right;
	}

	.chv-catmega__bestsellers {
		padding-inline-start: 0;
	}

	.chv-catmega__best-item {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.chv-catmega__best-item img {
		width: 56px;
		height: 64px;
	}

	.chv-catmega__footer {
		margin-top: 14px;
		padding: 8px;
	}

	.chv-catmega__shop-link {
		width: 100%;
		min-width: 0;
		min-height: 48px !important;
		font-size: 14px !important;
	}
}
