/* Advance Mega Sidebar – responsive sidebar menu (data from Advance Mega Menu) */
.unlockafe-ams {
	position: relative;
	display: block;
	--ams-duration: 300ms;
	--ams-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toggle button */
.unlockafe-ams-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border: none;
	background: transparent;
	cursor: pointer;
	transition: color var(--ams-duration), background-color var(--ams-duration);
}

.unlockafe-ams-toggle svg {
	width: 1em;
	height: 1em;
}

.unlockafe-ams-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
}

.unlockafe-ams-toggle__bar + .unlockafe-ams-toggle__bar {
	margin-top: 5px;
}

/* Backdrop */
.unlockafe-ams-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ams-duration) var(--ams-ease), visibility var(--ams-duration);
	z-index: 9998;
}

.unlockafe-ams.is-open .unlockafe-ams-backdrop {
	opacity: 1;
	visibility: visible;
}

/* Panel – slide from right (default) */
.unlockafe-ams-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	width: 70%;
	max-width: 100%;
	background: #000;
	color: #fff;
	overflow-x: hidden;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform var(--ams-duration) var(--ams-ease), box-shadow var(--ams-duration);
	z-index: 9999;
	box-shadow: none;
}

.unlockafe-ams.is-open .unlockafe-ams-panel {
	transform: translateX(0);
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

.unlockafe-ams--position-left .unlockafe-ams-panel {
	left: 0;
	right: auto;
	transform: translateX(-100%);
}

.unlockafe-ams.is-open.unlockafe-ams--position-left .unlockafe-ams-panel {
	transform: translateX(0);
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.unlockafe-ams-panel__inner {
	padding: 24px;
	padding-top: 60px;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

/* Close button */
.unlockafe-ams-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 24px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity var(--ams-duration), transform var(--ams-duration);
	z-index: 2;
}

.unlockafe-ams--position-left .unlockafe-ams-close {
	right: auto;
	left: 16px;
}

.unlockafe-ams-close:hover {
	opacity: 0.9;
	transform: scale(1.05);
}

/* Logo */
.unlockafe-ams-logo {
	margin-bottom: 16px;
	text-align: center;
}

.unlockafe-ams-logo__link {
	display: inline-block;
}

.unlockafe-ams-logo__img {
	max-width: 100%;
	height: auto;
	max-height: 48px;
	display: block;
}

.unlockafe-ams-brand-name {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Description */
.unlockafe-ams-desc {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
	opacity: 0.9;
}

/* Contact blocks – below menu list */
.unlockafe-ams-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
	margin-bottom: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.unlockafe-ams-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.unlockafe-ams-contact-item__icon {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.unlockafe-ams-contact-item__icon svg {
	width: 18px;
	height: 18px;
}

.unlockafe-ams-contact-item__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.unlockafe-ams-contact-item__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.8;
}

.unlockafe-ams-contact-item__value {
	color: inherit;
	text-decoration: none;
	display: inline-block;
	max-width: 100%;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
}

.unlockafe-ams-contact-item__value:hover {
	text-decoration: underline;
}

/* Nav list */
.unlockafe-ams-nav {
	flex: 1;
	margin-bottom: 24px;
}

.unlockafe-ams-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.unlockafe-ams-nav__item {
	margin-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.unlockafe-ams-nav__item:last-child {
	border-bottom: none;
}

.unlockafe-ams-nav__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.unlockafe-ams-nav__link {
	display: block;
	padding: 12px 0;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: inherit;
	text-decoration: none;
	flex: 1;
}

.unlockafe-ams-nav__link:hover {
	opacity: 0.9;
}

.unlockafe-ams-nav__toggle {
	width: 32px;
	height: 32px;
	min-width: 32px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: inherit;
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 4px;
	transition: background var(--ams-duration);
}

.unlockafe-ams-nav__toggle:hover {
	background: rgba(255, 255, 255, 0.2);
}

.unlockafe-ams-nav__item.is-expanded .unlockafe-ams-nav__toggle span {
	transform: rotate(45deg);
	display: inline-block;
}

/* Submenu (cards & dropdown lists) */
.unlockafe-ams-sub {
	margin-bottom: 16px;
	padding-left: 0;
}

.unlockafe-ams-sub[hidden] {
	display: none !important;
}

.unlockafe-ams-sub__grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 12px;
}

@media (min-width: 480px) {
	.unlockafe-ams-sub__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Category tabs inside mega submenu */
.unlockafe-ams-sub-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.unlockafe-ams-sub-tab {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: inherit;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 6px 10px;
	border-radius: 999px;
	cursor: pointer;
	transition: background var(--ams-duration), color var(--ams-duration), border-color var(--ams-duration);
}

.unlockafe-ams-sub-tab.is-active {
	background: #fff;
	color: #000;
	border-color: #fff;
}

/* Dropdown-style submenu list (for \"dropdown\" menu_type) */
.unlockafe-ams-sub__list {
	list-style: none;
	margin: 4px 0 8px;
	padding: 0;
}

.unlockafe-ams-sub__item {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.unlockafe-ams-sub__item:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.unlockafe-ams-sub__link {
	display: block;
	padding: 10px 0;
	font-size: 13px;
	text-decoration: none;
	color: inherit;
}

.unlockafe-ams-sub__link:hover {
	background: rgba(255, 255, 255, 0.06);
}

.unlockafe-ams-sub__link-label {
	display: block;
}

.unlockafe-ams-sub__link-desc {
	display: block;
	font-size: 11px;
	opacity: 0.8;
	margin-top: 2px;
}

/* Submenu card */
.unlockafe-ams-card {
	background: rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.unlockafe-ams-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.unlockafe-ams-card__img {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: rgba(255, 255, 255, 0.08);
}

.unlockafe-ams-card__img--placeholder {
	background-image: none;
}

.unlockafe-ams-card__content {
	padding: 12px;
}

.unlockafe-ams-card__title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.unlockafe-ams-card__subtitle {
	margin: 0;
	font-size: 12px;
	opacity: 0.85;
	line-height: 1.4;
}

/* Footer */
.unlockafe-ams-footer {
	font-size: 12px;
	opacity: 0.8;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Empty state */
.unlockafe-ams-empty {
	padding: 16px 0;
	font-size: 14px;
	opacity: 0.8;
}

/* Body scroll lock when sidebar open */
body.unlockafe-ams-body-open {
	overflow: hidden;
}
