.cw-account-control {
	--cw-account-plum: #741552;
	--cw-account-plum-deep: #39152f;
	--cw-account-gold: #d8b55f;
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, var(--cw-account-gold) 76%, transparent);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cw-account-plum-deep), var(--cw-account-plum));
	box-shadow: 0 8px 24px rgb(49 17 41 / 15%);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cw-header-commerce { display: inline-flex; align-items: center; gap: 9px; }
.cw-header-cart {
	position: relative;
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--cw-account-gold, #d8b55f) 76%, transparent);
	border-radius: 50%;
	background: #39152f;
	color: #d8b55f;
	text-decoration: none;
	transition: transform 160ms ease, color 160ms ease;
}
.cw-header-cart.is-empty { display: none; }
.cw-header-cart svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cw-header-cart__count { position: absolute; top: -5px; right: -5px; display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border: 2px solid #39152f; border-radius: 999px; background: #d8b55f; color: #2a1022; font-size: 11px; font-weight: 800; line-height: 1; }
.cw-header-cart:hover,
.cw-header-cart:focus-visible { color: #fff; transform: translateY(-1px); }
.cw-header-cart:focus-visible { outline: 3px solid color-mix(in srgb, #d8b55f 42%, transparent); outline-offset: 3px; }

.cw-account-control:hover,
.cw-account-control:focus-visible {
	border-color: var(--cw-account-gold);
	box-shadow: 0 10px 30px rgb(85 18 65 / 24%);
	color: #fff;
	transform: translateY(-1px);
}

.cw-account-control:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--cw-account-gold) 42%, transparent);
	outline-offset: 3px;
}

.cw-account-control__icon {
	display: inline-grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	color: var(--cw-account-gold);
}

.cw-account-control__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cw-account-control--authenticated .cw-account-control__icon svg {
	fill: currentColor;
	stroke: none;
}

/* The Theme Builder wrapper is the single sticky surface. Neutralize Elementor's
 * nested sticky container so two independent sticky calculations cannot fight. */
.elementor-location-header {
	position: sticky !important;
	top: 0;
	/* Above page content, below Magnific Popup and the WordPress admin bar. */
	z-index: 900;
	overflow: visible !important;
}

.elementor-location-header .elementor-sticky,
.elementor-location-header .elementor-sticky--active,
.elementor-location-header .elementor-sticky__spacer {
	position: static !important;
	top: auto !important;
	width: auto !important;
	transform: none !important;
}

.elementor-location-header .elementor-sticky__spacer { display: none !important; }

body.admin-bar .elementor-location-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .elementor-location-header {
		top: 46px;
	}
}

@media (max-width: 767px) {
	.cw-header-commerce { gap: 7px; }
	.cw-account-control {
		width: 42px;
		min-width: 42px;
		height: 42px;
		min-height: 42px;
		padding: 0;
		gap: 0;
		border-radius: 50%;
	}

	.cw-account-control__label {
		display: none;
	}

	.cw-account-control__icon {
		width: 21px;
		height: 21px;
		flex-basis: 21px;
	}
}

/* Scoped Listeo dialog normalization. Elementor headers can leave Listeo's native
 * dialog in the document, while CelebWeave supplies the same markup as a guarded
 * fallback when it is absent. Normalize both paths without changing authentication. */
.mfp-wrap #sign-in-dialog,
#sign-in-dialog {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	width: min(468px, calc(100vw - 32px)) !important;
	max-width: 468px !important;
	max-height: calc(100vh - 64px) !important;
	max-height: calc(100dvh - 64px) !important;
	margin: 32px auto !important;
	padding: 0 !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	box-sizing: border-box !important;
	transform: none !important;
}

#sign-in-dialog .small-dialog-header {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 72px;
	align-items: center;
	margin: 0 !important;
	padding: 22px 72px 16px 24px !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	box-sizing: border-box !important;
	transform: none !important;
}

#sign-in-dialog .small-dialog-header :is(h1, h2, h3, h4, h5, h6),
#sign-in-dialog .small-dialog-header :is(h1, h2, h3, h4, h5, h6) * {
	position: static !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: clamp(24px, 6vw, 32px);
	line-height: 1.15;
	text-align: left !important;
	transform: none !important;
	opacity: 1 !important;
}

#sign-in-dialog .sign-in-form {
	width: auto !important;
	margin: 0 !important;
	padding: 0 24px 24px !important;
	box-sizing: border-box !important;
}

@media (max-width: 480px) {
	.mfp-wrap #sign-in-dialog,
	#sign-in-dialog {
		width: calc(100vw - 20px) !important;
		max-height: calc(100vh - 20px) !important;
		max-height: calc(100dvh - 20px) !important;
		margin: 10px auto !important;
	}
	#sign-in-dialog .small-dialog-header { padding: 20px 64px 12px 20px !important; }
	#sign-in-dialog .sign-in-form { padding: 0 20px 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.cw-account-control {
		transition: none;
	}
}

/* Server-rendered role destination in the Elementor/Listeo primary header. */
.elementor-location-header .cwp-primary-role-link > a {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.elementor-location-header .cwp-primary-role-link > a:hover,
.elementor-location-header .cwp-primary-role-link > a:focus-visible,
.elementor-location-header .cwp-primary-role-link.current-menu-item > a,
.elementor-location-header .cwp-primary-role-link.is-active > a {
	color: var(--cw-account-gold) !important;
	-webkit-text-fill-color: var(--cw-account-gold);
}

.elementor-location-header .cwp-primary-role-link.current-menu-item > a::after,
.elementor-location-header .cwp-primary-role-link.is-active > a::after {
	background-color: var(--cw-account-gold) !important;
}
