/* ReactWoo My Account shell: layout reset, account header, soft cards. Account pages only. */

body.rw-account-page .elementor-location-header {
	display: none !important;
}

body.rw-account-page .elementor-element-2cf6ddf,
body.rw-account-page .elementor-element-495dbc2 {
	display: none !important;
}

/* Stop Elementor vertical-tab floats (25% nav / 75% content) from collapsing the theme grid. */
body.rw-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce,
body.rw-account-page .elementor-widget-woocommerce-my-account .woocommerce,
body.rw-account-page .e-my-account-tabs-vertical .woocommerce {
	display: block !important;
	float: none !important;
	width: 100% !important;
}

body.rw-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation,
body.rw-account-page .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-MyAccount-content,
body.rw-account-page .e-my-account-tabs-vertical .woocommerce-MyAccount-navigation,
body.rw-account-page .e-my-account-tabs-vertical .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
}

body.rw-account-page .e-wc-account-tabs-nav {
	display: none !important;
}

body.rw-account-page .elementor-widget-woocommerce-my-account .elementor-widget-container,
body.rw-account-page .e-my-account-tab,
body.rw-account-page .e-con-inner,
body.rw-account-page .elementor-element-31ea3f4 {
	max-width: none !important;
	width: 100% !important;
}

body.rw-account-page .rw-account-layout {
	display: grid !important;
	grid-template-columns: 246px minmax(0, 1fr) !important;
	gap: 28px !important;
	align-items: start !important;
	width: 100% !important;
}

body.rw-account-page .rw-account-sidebar,
body.rw-account-page .rw-account-content,
body.rw-account-page .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Soft, padded cards and tables on the account page. */
body.rw-account-page .rwh-stats {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
	gap: 16px !important;
	margin: 0 0 20px !important;
}

body.rw-account-page .rwh-stat,
body.rw-account-page .rwh-card,
body.rw-account-page .rw-account-content :where(table.shop_table, .woocommerce-Address, .woocommerce-Addresses, address) {
	box-sizing: border-box !important;
	border: 1px solid #e1e4ea !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: none !important;
	padding: 16px !important;
}

body.rw-account-page .rw-account-content table.shop_table {
	overflow: hidden;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

body.rw-account-page .rw-account-content table.shop_table :where(th, td) {
	padding: 14px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid #eef0f4 !important;
	background: transparent !important;
}

body.rw-account-page .rw-account-content table.shop_table tr:last-child :where(th, td) {
	border-bottom: 0 !important;
}

body.rw-account-page .rwh-credit {
	margin: 8px 0 24px;
	color: #8a8e99;
	font-size: 12px;
}

body.rw-account-page .rw-account-hosting-overview {
	margin: 0 0 28px;
}

/* Account header (replaces Secure checkout on these endpoints only). */
body.rw-account-page .rw-account-shell-header {
	display: block !important;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid #e1e4ea;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #11121a;
}

.rw-account-shell-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
	min-height: 72px;
}

.rw-account-shell-header__menu {
	position: relative;
	flex: 0 0 auto;
}

.rw-account-shell-header__logo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	text-decoration: none !important;
	color: #11121a !important;
}

.rw-account-shell-header__logo img {
	display: block;
	height: 26px;
	width: auto;
}

.rw-account-shell-header__wordmark {
	font-weight: 800;
	letter-spacing: -0.04em;
	font-size: 18px;
	color: #11121a;
}

.rw-account-shell-header__badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: #7d4dff;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.rw-account-shell-header__nav {
	display: none;
	box-sizing: border-box;
	min-width: 0;
}

.rw-account-shell-header.is-open .rw-account-shell-header__nav {
	display: block;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	left: auto;
	z-index: 20;
	width: 320px;
	max-width: calc(100vw - 24px);
	border: 1px solid #e1e4ea;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(17, 18, 26, 0.12);
}

.rw-account-shell-header__nav ul {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-account-shell-header__item + .rw-account-shell-header__item {
	border-top: 1px solid #eef0f4;
}

.rw-account-shell-header__nav a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	min-height: 0;
	padding: 13px 14px;
	border-radius: 0;
	color: #3b3348 !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
}

.rw-account-shell-header__nav .rw-account-nav-icon {
	display: inline-flex;
	flex: 0 0 18px;
	align-items: flex-start;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: #9b7bff;
}

.rw-account-shell-header__nav .rw-account-nav-icon__svg {
	display: block;
	width: 18px;
	height: 18px;
}

.rw-account-shell-header__item--extra {
	display: none;
}

.rw-account-shell-header__nav li.is-active a,
.rw-account-shell-header__nav a[aria-current="page"] {
	background: #f3efff;
	color: #5b35e8 !important;
}

.rw-account-shell-header__nav li.is-active .rw-account-nav-icon,
.rw-account-shell-header__nav a[aria-current="page"] .rw-account-nav-icon {
	color: #5b35e8;
}

.rw-account-shell-header__nav a:hover,
.rw-account-shell-header__nav a:focus {
	background: #f6f3ff;
	color: #5b35e8 !important;
}

.rw-account-shell-header__item.is-logout a {
	color: #c0566a !important;
}

.rw-account-shell-header__item.is-logout .rw-account-nav-icon {
	color: #c0566a;
}

.rw-account-shell-header__item.is-logout a:hover,
.rw-account-shell-header__item.is-logout a:focus {
	background: #fdf2f4;
	color: #b14a5c !important;
}

.rw-account-shell-header__tools {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex: 0 1 auto;
	min-width: 0;
}

.rw-account-shell-header__name,
.rw-account-shell-header__signin {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	color: #11121a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rw-account-shell-header__signin {
	color: #5b35e8 !important;
	text-decoration: none !important;
}

.rw-account-shell-header__signin:hover,
.rw-account-shell-header__signin:focus {
	text-decoration: underline !important;
}

.rw-account-shell-header__icon-btn,
.rw-account-shell-header__toggle,
.rw-account-shell-header__toggle:hover,
.rw-account-shell-header__toggle:focus,
.rw-account-shell-header__toggle:focus-visible,
.rw-account-shell-header__toggle:active {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #e1e4ea !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #9b7bff !important;
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none !important;
	cursor: pointer;
}

.rw-account-shell-header__icon-svg {
	display: block;
	width: 18px;
	height: 18px;
}

.rw-account-shell-header__icon-btn:hover,
.rw-account-shell-header__icon-btn:focus,
.rw-account-shell-header__toggle:hover,
.rw-account-shell-header__toggle:focus {
	background: #f6f3ff !important;
	border-color: #d8d0ea !important;
	color: #5b35e8 !important;
}

.rw-account-shell-header__tooltip {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	z-index: 30;
	box-sizing: border-box;
	max-width: calc(100vw - 16px);
	padding: 6px 8px;
	border-radius: 6px;
	background: #11121a;
	color: #fff;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: none;
}

.rw-account-shell-header__icon-btn:hover .rw-account-shell-header__tooltip,
.rw-account-shell-header__icon-btn:focus .rw-account-shell-header__tooltip,
.rw-account-shell-header__icon-btn:focus-visible .rw-account-shell-header__tooltip,
.rw-account-shell-header__icon-btn.is-tooltip-visible .rw-account-shell-header__tooltip {
	opacity: 1;
	visibility: visible;
}

.rw-account-shell-header__toggle,
.rw-account-shell-header__toggle:hover,
.rw-account-shell-header__toggle:focus,
.rw-account-shell-header__toggle:focus-visible,
.rw-account-shell-header__toggle:active {
	color: #11121a !important;
}

.rw-account-shell-header__icon-btn:focus,
.rw-account-shell-header__toggle:focus {
	outline: none;
}

.rw-account-shell-header__icon-btn:focus-visible,
.rw-account-shell-header__toggle:focus-visible {
	outline: 2px solid #5b35e8;
	outline-offset: 2px;
}

body.rw-account-page .rw-account-shell-header.is-open .rw-account-shell-header__toggle {
	background: #f6f3ff !important;
	border-color: #d8d0ea !important;
}

.rw-account-shell-header__burger,
.rw-account-shell-header__burger::before,
.rw-account-shell-header__burger::after {
	display: block;
	width: 18px;
	height: 2px;
	background: #11121a;
	border-radius: 2px;
}

.rw-account-shell-header__burger {
	position: relative;
}

.rw-account-shell-header__burger::before,
.rw-account-shell-header__burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.rw-account-shell-header__burger::before {
	top: -6px;
}

.rw-account-shell-header__burger::after {
	top: 6px;
}

.admin-bar .rw-account-shell-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .rw-account-shell-header {
		top: 46px;
	}
}

@media (max-width: 980px) {
	body.rw-account-page .rw-account-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}

	.rw-account-shell-header__inner {
		flex-wrap: nowrap;
		width: min(1200px, calc(100% - 24px));
		min-height: 64px;
		gap: 10px;
	}

	.rw-account-shell-header__name {
		max-width: 30vw;
	}

	.rw-account-shell-header.is-open .rw-account-shell-header__item--extra {
		display: block;
	}

	body.rw-account-page .rw-account-sidebar,
	body.rw-account-page .rw-account-mobile-nav {
		display: none !important;
	}
}


/* Sidebar and shared account nav: light row dividers, thin icons, clear states. */
body.rw-account-page .rw-account-mobile-nav {
	display: none !important;
}

@media (min-width: 981px) {
	body.rw-account-page .rw-account-layout {
		grid-template-columns: 260px minmax(0, 1fr) !important;
	}
}

body.rw-account-page .rw-account-sidebar > nav.rw-account-nav,
body.rw-account-page .rw-account-nav {
	position: static !important;
	display: block !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	border: 1px solid #e1e4ea !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: none !important;
	overflow: hidden;
}

body.rw-account-page .rw-account-nav ul {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.rw-account-page .rw-account-nav li,
body.rw-account-page .rw-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
}

body.rw-account-page .rw-account-nav li + li {
	border-top: 1px solid #eef0f4 !important;
}

body.rw-account-page .rw-account-nav a {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	min-height: 0 !important;
	box-sizing: border-box !important;
	padding: 13px 14px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #3b3348 !important;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
}

body.rw-account-page .rw-account-nav .rw-account-nav-icon {
	display: inline-flex !important;
	flex: 0 0 18px !important;
	align-items: flex-start !important;
	justify-content: center !important;
	width: 18px !important;
	height: 18px !important;
	margin-top: 1px !important;
	color: #9b7bff !important;
	font-size: 0 !important;
	background: none !important;
}

body.rw-account-page .rw-account-nav .rw-account-nav-icon__svg {
	display: block;
	width: 18px;
	height: 18px;
}

body.rw-account-page .rw-account-nav .rw-account-nav-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
	text-overflow: unset;
	white-space: normal;
}

body.rw-account-page .rw-account-nav .rw-account-nav-count {
	display: inline-flex !important;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: auto;
	padding: 0 7px;
	border-radius: 999px;
	background: #f0ebff;
	color: #653ee7;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

body.rw-account-page .rw-account-nav a:hover,
body.rw-account-page .rw-account-nav a:focus {
	background: #f6f3ff !important;
	color: #5b35e8 !important;
}

body.rw-account-page .rw-account-nav a:hover .rw-account-nav-icon,
body.rw-account-page .rw-account-nav a:focus .rw-account-nav-icon {
	color: #5b35e8 !important;
}

body.rw-account-page .rw-account-nav li.is-active a,
body.rw-account-page .rw-account-nav li.is-active a:hover,
body.rw-account-page .rw-account-nav a[aria-current="page"] {
	background: #f3efff !important;
	color: #5b35e8 !important;
}

body.rw-account-page .rw-account-nav li.is-active .rw-account-nav-icon,
body.rw-account-page .rw-account-nav a[aria-current="page"] .rw-account-nav-icon {
	color: #5b35e8 !important;
}

body.rw-account-page .rw-account-nav li.is-active .rw-account-nav-count,
body.rw-account-page .rw-account-nav a[aria-current="page"] .rw-account-nav-count {
	background: #fff;
	color: #5b35e8;
}

body.rw-account-page .rw-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a,
body.rw-account-page .rw-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout .rw-account-nav-icon {
	color: #c0566a !important;
}

body.rw-account-page .rw-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover,
body.rw-account-page .rw-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:focus {
	background: #fdf2f4 !important;
	color: #b14a5c !important;
}

body.rw-account-page .rw-account-profile-card,
body.rw-account-page .rw-account-support-card {
	border-radius: 12px !important;
	box-shadow: none !important;
}

/* Inter throughout the account shell. Theme rules such as
   `font: 700 18px Montserrat` name Montserrat with no fallback, so titles,
   marks and metric values fell back to Times when that face was not loaded. */
body.rw-account-page,
body.rw-account-page .rw-account-layout,
body.rw-account-page .rw-account-content,
body.rw-account-page .woocommerce-MyAccount-content,
body.rw-account-page .woocommerce-MyAccount-navigation {
	font-family: Inter, "RWA Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.rw-account-page :is(
	h1, h2, h3, h4, h5, h6,
	p, a, strong, small, em, b, label, li, td, th, dt, dd,
	button, input, select, textarea, legend, figcaption,
	.rw-account-hero h1,
	.rw-account-section-heading h2,
	.rw-account-product-mark,
	.rw-account-product-mark strong,
	.rw-product-card-title h3,
	.rw-account-subsection-heading h3,
	.rw-account-help h3,
	.rw-account-empty h3,
	.rw-account-brand,
	.rw-account-metric strong,
	.rw-account-support-card h2,
	.rw-account__title,
	.rw-account__metric-value,
	.rw-account__section-head h2,
	.rw-account__help-card h2,
	.rw-account__orders-card h2,
	.rw-account__empty h2,
	.rw-account__product-mark,
	.rw-account__card-title-row h3,
	.rwh-stat strong,
	.rwh-stat p,
	.elementor-heading-title,
	.elementor-button,
	.button
):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not(.eicon):not(.eicons):not([class^="eicon-"]):not([class*=" eicon-"]):not(.dashicons):not([class^="dashicons-"]) {
	font-family: Inter, "RWA Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.rw-account-page span:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not(.eicon):not(.eicons):not([class^="eicon-"]):not([class*=" eicon-"]):not(.dashicons):not([class^="dashicons-"]) {
	font-family: Inter, "RWA Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
