.amm-wrapper {
	position: relative;
	display: inline-block;
	font-family: inherit;
}

/* ---- Trigger Button ---- */
.amm-wrapper .amm-trigger {
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px;
	background: #e8221e;
	color: #fff;
	border: none;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	border-radius: 4px 4px 0 0;
	line-height: 1;
	white-space: nowrap;
	width: auto;
	max-width: none;
	transition: background 0.2s ease;
	box-sizing: border-box;
}

.amm-trigger:hover,
.amm-wrapper.is-open .amm-trigger {
	background: #c81b17;
}

.amm-icon-hamburger {
	display: inline-flex !important;
	align-items: center;
	flex-shrink: 0;
	line-height: 1;
}

.amm-icon-hamburger svg,
.amm-icon-hamburger i {
	display: block;
	font-size: 16px;
	width: 18px;
	height: 18px;
	text-align: center;
}

.amm-label {
	display: inline-block !important;
	white-space: nowrap;
	flex-shrink: 0;
}

.amm-icon-chevron {
	display: inline-flex !important;
	align-items: center;
	flex-shrink: 0;
	margin-left: 4px;
	transition: transform 0.2s ease;
}

.amm-wrapper.is-open .amm-icon-chevron {
	transform: rotate(180deg);
}

/* ---- Dropdown Panel ---- */
.amm-panel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	display: flex;
	width: max-content;
	max-width: 900px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.amm-wrapper.is-open .amm-panel,
.amm-wrapper:hover .amm-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.amm-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(180px, 1fr));
	gap: 30px;
	padding: 30px;
}

/* ---- Full Width Dropdown (position fixed — JS sets "top" so it always
   breaks out of any parent container, boxed section, or nesting) ---- */
.amm-wrapper.amm-full-width .amm-panel {
	position: fixed;
	left: 0;
	right: 0;
	width: 100vw;
	max-width: 100vw;
	z-index: 99999;
}

.amm-wrapper.amm-full-width .amm-columns {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	max-width: 1400px;
	margin: 0 auto;
}

/* ---- Custom Width Dropdown (JS ise screen ke center me, button se
   gap ke saath position karta hai) ---- */
.amm-wrapper.amm-custom-width .amm-panel {
	position: fixed;
	z-index: 99999;
}

.amm-col-title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: #111;
}

.amm-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.amm-links li {
	margin-bottom: 10px;
}

.amm-links a {
	color: #555;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease;
}

.amm-links a:hover {
	color: #e8221e;
}

/* ---- Banner ---- */
.amm-banner {
	flex: 0 0 300px;
	background-color: #e67e22;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
}

.amm-banner-overlay {
	background: linear-gradient(0deg, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
	width: 100%;
	padding: 24px;
	color: #fff;
}

.amm-banner-overlay h3 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 800;
	text-transform: uppercase;
}

.amm-banner-overlay p {
	margin: 0 0 14px;
	font-size: 13px;
	opacity: 0.9;
}

.amm-banner-btn {
	display: inline-block;
	background: #e8221e;
	color: #fff;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 3px;
	text-decoration: none;
}

.amm-banner-btn:hover {
	background: #c81b17;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.amm-panel {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		flex-direction: column;
		overflow-y: auto;
	}

	.amm-columns {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.amm-banner {
		flex: none;
		min-height: 180px;
	}
}
