.vmm-nav {
	--vmm-primary: #E6007E;
	--vmm-panel-width: 900px;
	position: relative;
	font-family: inherit;
	display: flex;
	align-items: center;
}

/* ---------- Base list ---------- */
.vmm-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
}

.vmm-nav-link > a {
	display: block;
	padding: 12px 14px;
	text-decoration: none;
	color: #1a1a1a;
	font-weight: 600;
	font-size: 15px;
}

.vmm-nav-link > a:hover {
	color: var(--vmm-primary);
}

/* ---------- Mega trigger ---------- */
.vmm-nav-mega {
	position: relative;
}

.vmm-trigger {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px !important;
    color: #212c58 !important;
    text-transform:capitalize !important;
    letter-spacing: normal !important;
}

.vmm-trigger:hover {
	color: var(--vmm-primary);
}

.vmm-caret {
	font-size: 11px;
	transition: transform 0.2s ease;
}

.vmm-nav-mega.is-open .vmm-caret {
	transform: rotate(180deg);
}

/* ---------- Dropdown panel ---------- */
.vmm-panel {
	position: absolute;
	top: 100%;
	left: 0;
	width: var(--vmm-panel-width);
	max-width: 92vw;
	background: #fff;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 999;
	overflow: hidden;
}

.vmm-nav-mega.is-open .vmm-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Step 1 - categories */
.vmm-step-categories {
	display: none;
	padding: 10px 0;
}

.vmm-step-categories.is-active {
	display: block;
}

.vmm-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vmm-category-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	cursor: pointer;
	font-weight: 600;
	transition: background 0.15s ease;
}

.vmm-category-item:hover {
	background: #f7f7f9;
	color: var(--vmm-primary);
}

.vmm-category-item i {
	width: 18px;
	text-align: center;
	color: var(--vmm-primary);
}

/* Step 2 - detail (tabs + grid) */
.vmm-step-detail {
	display: none;
	padding: 20px 24px;
}

.vmm-step-detail.is-active {
	display: block;
}

.vmm-detail-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.vmm-back {
    background: none !important;
    border: none !important;
    cursor: pointer;
    font-weight: 600;
    color: #444 !important;
    padding: 6px 10px !important;
    box-shadow: none !important;
}

.vmm-link-outline {
	margin-left: auto;
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #1a1a1a;
	white-space: nowrap;
}

.vmm-detail-body {
	display: flex;
	gap: 24px;
}

.vmm-tabs {
	display: flex;
	flex-direction: column;
	min-width: 140px;
	border-right: 1px solid #eee;
	padding-right: 16px;
	gap: 4px;
}

.vmm-tab-btn {
	background: none;
	border: none;
	text-align: left;
	padding: 10px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	color: #555;
}

.vmm-tab-btn.is-active,
.vmm-tab-btn:hover {
	background: #f2f2f5 !important;
    color: #1d2d62 !important;
    padding: 10px 15px !important;
    box-shadow: none;
}

.vmm-grids {
	flex: 1;
	min-width: 0;
}

.vmm-grid {
	display: none;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.vmm-grid.is-active {
	display: grid;
}

.vmm-grid-item {
	text-decoration: none;
	color: #1a1a1a;
	display: block;
}

.vmm-grid-item img,
.vmm-grid-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
	background: #eee;
	display: block;
}

.vmm-grid-label {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

/* ---------- Hamburger (mobile only by default) ---------- */
.vmm-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.vmm-hamburger span {
	display: block;
	height: 2px;
	background: #1a1a1a;
	border-radius: 2px;
}

/* ==================================================
   RESPONSIVE — tablets aur mobile ke liye
   ================================================== */
@media (max-width: 1024px) {
	.vmm-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.vmm-panel {
		width: 700px;
	}
}

@media (max-width: 782px) {
	.vmm-hamburger {
		display: flex;
	}

	.vmm-nav-list {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: 300px;
		max-width: 85vw;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 60px 0 20px;
		box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
		transform: translateX(100%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		z-index: 1000;
	}

	.vmm-nav.is-open .vmm-nav-list {
		transform: translateX(0);
	}

	.vmm-nav-link > a,
	.vmm-trigger {
		width: 100%;
		padding: 14px 20px;
		border-bottom: 1px solid #f0f0f0;
	}

	.vmm-trigger {
		justify-content: space-between;
	}

	/* Mega panel becomes an inline accordion, not a floating box */
	.vmm-panel {
		position: static;
		width: 100%;
		max-width: 100%;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.vmm-nav-mega.is-open .vmm-panel {
		display: block;
	}

	.vmm-detail-body {
		flex-direction: column;
	}

	.vmm-tabs {
		flex-direction: row;
		overflow-x: auto;
		border-right: none;
		border-bottom: 1px solid #eee;
		padding-right: 0;
		padding-bottom: 10px;
	}

	.vmm-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vmm-link-outline {
		margin-left: 0;
	}
}
@media (min-width: 783px) {
    .vmm-nav {
        justify-content: center;
        width: 100%;
    }
}
