/* Aqlano Mega Menu — dropdown panels only. Parent menu is never styled. */

.menu-item.aqlano-mm-parent > .sub-menu,
.aqlano-mm-parent > .sub-menu {
	display: none !important;
}

.menu-item.aqlano-mm-parent {
	position: relative;
}

/* Chevron arrow appended by JS inside parent <a> */
.aqlano-mm-parent > a .aqlano-mm-chevron {
	display: inline-block;
	width: 10px;
	height: 6px;
	margin-left: 5px;
	vertical-align: middle;
	flex-shrink: 0;
	transition: transform 0.2s ease;
	position: relative;
	top: -1px;
}

.aqlano-mm-parent:hover > a .aqlano-mm-chevron,
.aqlano-mm-parent.aqlano-mm-open > a .aqlano-mm-chevron {
	transform: rotate(180deg);
}

/* Hide chevron when disabled per menu config (JS adds data-mm-no-chevron attr) */
.aqlano-mm-parent[data-mm-no-chevron] > a .aqlano-mm-chevron {
	display: none;
}

.menu-item.aqlano-mm-parent:hover,
.menu-item.aqlano-mm-parent.aqlano-mm-open,
.menu-item.aqlano-mm-parent:focus-within {
	z-index: 100001;
}

/* Dropdown: portaled to body + fixed positioning via JS */
.aqlano-mm-dropdown {
	--aqlano-mm-divider: rgba(0, 0, 0, 0.08);
	--aqlano-mm-link-hover-bg: rgba(0, 0, 0, 0.04);
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 100002;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0.28s;
	pointer-events: none;
	box-sizing: border-box;
	width: 100%;
	isolation: isolate;
}

/* Portaled dropdown escapes header overflow/transform clipping */
.aqlano-mm-dropdown.is-portal {
	z-index: 999999;
}

/* Desktop: only show after JS positions (prevents narrow menu-item-width flash) */
@media (min-width: 1025px) {
	.menu-item.aqlano-mm-parent:hover > .aqlano-mm-dropdown:not(.is-positioned),
	.menu-item.aqlano-mm-parent.aqlano-mm-open > .aqlano-mm-dropdown:not(.is-positioned),
	.menu-item.aqlano-mm-parent:focus-within > .aqlano-mm-dropdown:not(.is-positioned) {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

.aqlano-mm-dropdown.is-positioned,
.aqlano-mm-dropdown.is-portal.is-positioned {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

/* When JS positions (fixed), use translateY only on show */
.aqlano-mm-dropdown.is-positioned {
	transform: translateY(0);
}

.menu-item.aqlano-mm-parent:not(:hover):not(.aqlano-mm-open) > .aqlano-mm-dropdown:not(.is-positioned) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

[data-header] .ct-header,
[data-header] .ct-header [data-row],
[data-header] [data-column],
[data-header] .site-header,
header.ct-header,
#header,
.ct-header,
.ct-header [data-row] {
	overflow: visible !important;
}

.aqlano-mm-panel {
	width: 100%;
	background: #fff;
	box-sizing: border-box;
	position: relative;
}

/* Baseline elevation — always separates panel from white page sections below */
.aqlano-mm-elevated {
	border-top: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.03),
		0 2px 4px rgba(0, 0, 0, 0.04),
		0 8px 20px rgba(0, 0, 0, 0.06),
		0 20px 40px rgba(0, 0, 0, 0.05);
}

.aqlano-mm-shadow-none {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: none;
}

.aqlano-mm-shadow-soft {
	border-top: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.03),
		0 4px 8px rgba(0, 0, 0, 0.04),
		0 12px 28px rgba(0, 0, 0, 0.08),
		0 24px 48px rgba(0, 0, 0, 0.06);
}

.aqlano-mm-shadow-medium {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.04),
		0 6px 12px rgba(0, 0, 0, 0.05),
		0 16px 36px rgba(0, 0, 0, 0.1),
		0 32px 64px rgba(0, 0, 0, 0.08);
}

/* Full-width panels need stronger bottom separation from hero/content */
.aqlano-mm-dropdown-width-full .aqlano-mm-elevated,
.aqlano-mm-dropdown-width-full .aqlano-mm-shadow-soft {
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.03),
		0 4px 8px rgba(0, 0, 0, 0.05),
		0 14px 32px rgba(0, 0, 0, 0.09),
		0 28px 56px rgba(0, 0, 0, 0.07);
}

.aqlano-mm-dropdown-width-full .aqlano-mm-shadow-medium {
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.04),
		0 8px 16px rgba(0, 0, 0, 0.06),
		0 20px 44px rgba(0, 0, 0, 0.11),
		0 36px 72px rgba(0, 0, 0, 0.09);
}

/* Inner container — centers mega menu content (especially in full-width mode) */
.aqlano-mm-container {
	width: 100%;
	max-width: var(--aqlano-mm-container-max, 1290px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Full-width: true viewport-wide shell, content centered inside */
.aqlano-mm-dropdown-width-full.is-positioned {
	width: 100vw !important;
	max-width: 100vw !important;
	left: 0 !important;
	right: 0 !important;
}

.aqlano-mm-dropdown-width-container.is-positioned .aqlano-mm-panel,
.aqlano-mm-dropdown-width-custom.is-positioned .aqlano-mm-panel {
	border-radius: 0 0 8px 8px;
	overflow: hidden;
}

.aqlano-mm-dropdown-width-full .aqlano-mm-container {
	max-width: var(--aqlano-mm-container-max, 1290px);
	padding-left: var(--aqlano-mm-gutter-left, var(--aqlano-mm-gutter, 20px));
	padding-right: var(--aqlano-mm-gutter-right, var(--aqlano-mm-gutter, 20px));
}

/* Container / custom width modes: dropdown is already constrained */
.aqlano-mm-dropdown-width-container .aqlano-mm-container,
.aqlano-mm-dropdown-width-custom .aqlano-mm-container {
	max-width: 100%;
}

.aqlano-mm-anim-slide.is-positioned {
	animation: aqlano-mm-slide-in 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes aqlano-mm-slide-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.aqlano-mm-columns {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

.aqlano-mm-has-dividers .aqlano-mm-column + .aqlano-mm-column {
	border-left: 1px solid var(--aqlano-mm-divider);
}

.aqlano-mm-column {
	padding: 0 28px;
	box-sizing: border-box;
	min-width: 0;
}

.aqlano-mm-dropdown-width-full .aqlano-mm-column:first-child {
	padding-left: 0;
}

.aqlano-mm-dropdown-width-full .aqlano-mm-column:last-child {
	padding-right: 0;
}

.aqlano-mm-dropdown-width-container .aqlano-mm-column:first-child,
.aqlano-mm-dropdown-width-custom .aqlano-mm-column:first-child {
	padding-left: 0;
}

.aqlano-mm-dropdown-width-container .aqlano-mm-column:last-child,
.aqlano-mm-dropdown-width-custom .aqlano-mm-column:last-child {
	padding-right: 0;
}

.aqlano-mm-column-title {
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--aqlano-mm-divider);
	font-family: var(--aqlano-mm-font-family, var(--aqlano-mm-theme-font, inherit));
	font-size: var(--aqlano-mm-heading-font-size, 11px);
	font-weight: var(--aqlano-mm-heading-font-weight, 700);
	letter-spacing: var(--aqlano-mm-heading-letter-spacing, 0.12em);
	text-transform: var(--aqlano-mm-heading-text-transform, uppercase);
	color: var(--aqlano-mm-heading, #111);
	line-height: 1.2;
}

.aqlano-mm-items {
	display: grid;
	gap: 2px 24px;
}

.aqlano-mm-subcols-2 {
	grid-template-columns: 1fr 1fr;
}

.aqlano-mm-subcols-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.aqlano-mm-item-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--aqlano-mm-link, #111);
	font-family: var(--aqlano-mm-font-family, var(--aqlano-mm-theme-font, inherit));
	font-size: var(--aqlano-mm-font-size, 14px);
	font-weight: var(--aqlano-mm-font-weight, 400);
	line-height: var(--aqlano-mm-line-height, 1.5);
	letter-spacing: var(--aqlano-mm-letter-spacing, 0);
	text-transform: var(--aqlano-mm-text-transform, none);
	padding: 8px 10px;
	margin: 0 -10px;
	border-radius: 6px;
	transition: color 0.18s ease, background-color 0.18s ease;
}

.aqlano-mm-item-link:hover,
.aqlano-mm-item-link:focus-visible {
	color: var(--aqlano-mm-link-hover, #111);
	background-color: var(--aqlano-mm-link-hover-bg);
	outline: none;
}

.aqlano-mm-link-text {
	flex: 1;
	min-width: 0;
}

.aqlano-mm-icon {
	flex-shrink: 0;
	width: var(--aqlano-mm-icon-size, 32px);
	height: var(--aqlano-mm-icon-size, 32px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.aqlano-mm-icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.aqlano-mm-badge {
	margin-left: auto;
	font-size: 9px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex-shrink: 0;
	line-height: 1.2;
}

.aqlano-mm-badge-hot { background: var(--aqlano-mm-badge-hot, #e53935); }
.aqlano-mm-badge-new { background: var(--aqlano-mm-badge-new, #1976d2); }
.aqlano-mm-badge-sale { background: #ff9800; }
.aqlano-mm-badge-custom { background: #555; }

.aqlano-mm-item-image .aqlano-mm-card {
	display: block;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
}

.aqlano-mm-card-img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.aqlano-mm-card-placeholder {
	aspect-ratio: 3/4;
	background: #f3f3f3;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #bbb;
}

.aqlano-mm-card-btn-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	text-align: center;
}

.aqlano-mm-card-btn {
	display: inline-block;
	background: #fff;
	color: #111;
	padding: 10px 24px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.aqlano-mm-item-heading {
	font-weight: 600;
	font-size: 13px;
	color: var(--aqlano-mm-heading, #111);
}

.aqlano-mm-item-divider {
	height: 1px;
	background: var(--aqlano-mm-divider);
	margin: 10px 0;
}

.aqlano-mm-shortcode-nav .aqlano-mm-menu,
.aqlano-mm-elementor-nav .aqlano-mm-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 1024px) {
	.aqlano-mm-columns {
		flex-wrap: wrap;
	}

	.aqlano-mm-column {
		flex: 1 1 100% !important;
		max-width: 100% !important;
		padding: 16px 0 !important;
	}

	.aqlano-mm-has-dividers .aqlano-mm-column + .aqlano-mm-column {
		border-left: none;
		border-top: 1px solid #e8e8e8;
	}
}
