.rrq-account-drawer__overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.4 );
	z-index: 9998;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.rrq-account-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 380px;
	max-width: 90vw;
	background: #fff;
	z-index: 9999;
	transform: translateX( 100% );
	transition: transform 0.35s cubic-bezier( 0.4, 0, 0.2, 1 );
	display: flex;
	flex-direction: column;
	box-shadow: -2px 0 12px rgba( 0, 0, 0, 0.1 );
	overflow-y: auto;
}

body.admin-bar .rrq-account-drawer {
	top: 32px;
}

body.rrq-account-drawer--open .rrq-account-drawer__overlay {
	display: block;
	opacity: 1;
}

body.rrq-account-drawer--open .rrq-account-drawer {
	transform: translateX( 0 );
}

.rrq-account-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #F2F2F2;
	flex-shrink: 0;
	gap: 16px;
}

.rrq-account-drawer__name {
	font-weight: 600;
	font-size: 0.95rem;
	color: #222;
	letter-spacing: 0;
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rrq-account-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	cursor: pointer;
	color: #666;
	border-radius: 4px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.rrq-account-drawer__close:hover {
	background: #f5f5f5;
	color: #222;
}

.rrq-account-drawer__close:active {
	background: #efefef;
}

.rrq-account-drawer__close-icon {
	display: block;
	transition: transform 0.25s cubic-bezier( 0.4, 0, 0.2, 1 );
}

.rrq-account-drawer__close:hover .rrq-account-drawer__close-icon {
	transform: rotate( 90deg ) scale( 1.1 );
}

.rrq-account-drawer__close:active .rrq-account-drawer__close-icon {
	transform: rotate( 90deg ) scale( 0.95 );
}

.rrq-account-drawer__nav {
	padding: 8px 0;
	flex: 1;
}

.rrq-account-drawer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rrq-account-drawer__nav li a {
	display: block;
	padding: 12px 24px;
	font-size: 0.93rem;
	color: #333;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
	border-left: 3px solid transparent;
}

.rrq-account-drawer__nav li a:hover {
	background: #fafafa;
	color: #111;
}

.rrq-account-drawer__nav li.is-active a {
	font-weight: 600;
	color: #111;
	background: #f5f5f5;
	border-left-color: #111;
}

/* Hide Kitify account menu submenu */
.kitify-menu-account .sub-menu {
	display: none !important;
}
