/* Nova header account icon + menus — Figma */

.nova-header-account {
	--nova-account-text: #757575;
	--nova-account-text-hover: #000000;
	--nova-account-item-hover: #f0f0f0;
	--nova-account-border: #e5e5e5;
	position: relative;
	display: flex;
	align-items: center;
	font-family: "Rubik", Arial, sans-serif;
}

.nova-header-account__trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	background-color: transparent;
	border-color: transparent;
	color: #000;
	cursor: pointer;
	text-decoration: none;
	line-height: 26px;
	box-shadow: none;
}

.nova-header-account__trigger:hover,
.nova-header-account__trigger:focus,
.nova-header-account__trigger:active,
.nova-header-account.is-open .nova-header-account__trigger {
	background: transparent !important;
	background-color: transparent !important;
	border-color: transparent !important;
	color: #000 !important;
	box-shadow: none !important;
}

.nova-header-account__trigger:focus-visible {
	outline: 2px solid #019594;
	outline-offset: 3px;
}

.nova-header-account__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: 8px;
	flex-shrink: 0;
	line-height: 0;
}

.nova-header-account__avatar svg {
	display: block;
	width: 40px;
	height: 40px;
}

.nova-header-account__greeting {
	font-family: "Rubik", Arial, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	color: #000;
	text-align: right;
	white-space: nowrap;
	vertical-align: middle;
}

.nova-header-account__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-inline-end: 4px;
	color: #0e0c17;
	line-height: 0;
	/* Closed = arrow up; open = arrow-down.svg as designed. */
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.nova-header-account__chevron svg {
	display: block;
	width: 18px;
	height: 18px;
}

.nova-header-account.is-open .nova-header-account__chevron {
	transform: rotate(0deg);
}

.nova-header-account__menu {
	z-index: 10050;
	box-sizing: border-box;
	background: #f8f9f9;
	border: 1px solid #e5e5e5;
	overflow: hidden;
}

.nova-header-account__item {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 46px;
	padding: 10px 12px;
	color: var(--nova-account-text);
	text-decoration: none;
	font-family: "Rubik", Arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	vertical-align: middle;
}

.nova-header-account__item:first-child {
	border-bottom: 1px solid #e5e5e5;
}

.nova-header-account__item:hover,
.nova-header-account__item:focus {
	background: var(--nova-account-item-hover);
	color: var(--nova-account-text-hover);
}

.nova-header-account__item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	line-height: 0;
	color: inherit;
}

.nova-header-account__item-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.nova-header-account__item-label {
	vertical-align: middle;
}

/* Desktop: 184×92 floating dropdown */
.nova-header-account--desktop .nova-header-account__menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	width: 184px;
	height: 92px;
	border-radius: 4px;
}

.nova-header-account--desktop .nova-header-account__item {
	width: 184px;
}

.nova-header-account--desktop .nova-header-account__greeting,
.nova-header-account--desktop .nova-header-account__chevron {
	display: inline-flex;
}

.nova-header-account--mobile {
	display: none;
}

.ast-header-widget-area {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 24px;
}

.ast-header-widget-area .widget {
	margin: 0.5em 0;
}

@media (max-width: 921px) {
	.ast-header-break-point .main-header-bar-wrap,
	.ast-header-break-point .main-header-bar {
		position: relative;
		overflow: visible;
	}

	.ast-header-break-point .main-header-bar .ast-container,
	.ast-header-break-point .main-header-bar .main-header-container {
		position: static;
	}

	.ast-header-break-point .main-header-bar .ast-flex.main-header-container,
	.ast-header-break-point .main-header-bar .main-header-container {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		direction: ltr !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box;
	}

	.ast-header-break-point .main-header-bar .ast-mobile-menu-buttons {
		order: -1 !important;
		flex: 0 0 auto;
		position: relative;
		z-index: 2;
		margin: 0;
	}

	.ast-header-break-point.ast-header-custom-item-outside .ast-mobile-header-inline .site-branding,
	.ast-header-break-point .main-header-bar .site-branding {
		order: 0 !important;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		flex: 0 0 auto;
		width: auto;
		max-width: 50%;
		margin: 0;
		text-align: center;
		z-index: 1;
	}

	.ast-header-break-point .main-header-bar .site-branding .site-logo-img img,
	.ast-header-break-point .main-header-bar .site-branding img.custom-logo {
		max-width: 110px;
		height: auto;
		width: auto;
	}

	.ast-header-break-point .nova-header-account--mobile {
		display: flex;
		order: 1 !important;
		flex: 0 0 auto;
		margin: 0;
		direction: rtl;
		position: static;
		z-index: 2;
	}

	.nova-header-account--mobile .nova-header-account__greeting,
	.nova-header-account--mobile .nova-header-account__chevron {
		display: none;
	}

	.nova-header-account--desktop {
		display: none !important;
	}

	.ast-header-break-point .main-header-bar .main-header-container > .ast-header-widget-area,
	.ast-header-break-point .main-header-bar .main-header-container > .ast-masthead-custom-menu-items {
		display: none;
	}

	/*
	 * Same pattern as .nova-header-account__menu: pin to .main-header-bar,
	 * not the flex row. That keeps full width and sits below the header.
	 */
	.ast-header-break-point .main-header-bar .ast-main-header-bar-alignment,
	.ast-header-break-point .main-header-bar .main-header-container > .ast-main-header-bar-alignment,
	.ast-header-break-point .main-header-bar .main-header-container > .main-header-bar-navigation {
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0;
		flex: none !important;
		transform: none !important;
		direction: rtl;
		z-index: 30;
	}

	.ast-header-break-point .main-header-bar .ast-main-header-bar-alignment .main-header-bar-navigation,
	.ast-header-break-point .main-header-bar .ast-main-header-bar-alignment .main-navigation,
	.ast-header-break-point .main-header-bar .ast-main-header-bar-alignment .main-header-menu {
		width: 100%;
		max-width: none;
		margin: 0;
		box-sizing: border-box;
	}

	.ast-header-break-point .main-header-bar .ast-main-header-bar-alignment .menu-link {
		box-sizing: border-box;
		padding-left: 20px;
		padding-right: 20px;
	}

	.nova-header-account--mobile .nova-header-account__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: auto;
		max-width: none;
		height: auto;
		margin: 0;
		transform: none;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
	}

	.nova-header-account--mobile .nova-header-account__item {
		width: 100%;
	}
}

@media (min-width: 922px) {
	.nova-header-account--mobile {
		display: none !important;
	}
}
