/**
 * Authenticated My Account dashboard.
 *
 * This layer follows the supplied BlueGam reference while retaining native
 * WooCommerce endpoints and real customer data.
 */

body.bg-account-customer-page .bg-account {
	gap: var(--wp--preset--spacing--50);
}

body.bg-account-customer-page .bg-account-template.bluegam-shell {
	max-inline-size: 2140px;
	padding-inline: clamp(24px, 2.35vw, 56px);
	padding-block: clamp(32px, 3vw, 52px) clamp(64px, 6vw, 96px);
}

/*
 * The account template is built from constrained Gutenberg groups. Keep every
 * wrapper on the customer screen full-width so the generated content-size
 * rules cannot pull the dashboard back into a narrow centred column.
 */
body.bg-account-customer-page :is(
	.bg-account,
	.bg-account__native,
	.bg-account__native > .woocommerce,
	.bg-account__native .woocommerce-MyAccount-content
) {
	inline-size: 100%;
	margin-inline: 0;
	max-inline-size: none;
}

body.bg-account-customer-page .bg-account-template > .bluegam-breadcrumbs {
	font-size: 13px;
	margin-block-end: clamp(24px, 2.5vw, 40px);
}

body.bg-account-customer-page .bg-account__hero {
	display: none;
}

body.bg-account-customer-page .bg-account__native .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	gap: var(--wp--preset--spacing--50) clamp(38px, 3vw, 64px);
	grid-template-areas:
		"notices notices"
		"navigation heading"
		"navigation content";
	grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	inline-size: 100%;
	margin-inline: 0;
	max-inline-size: none;
}

body.bg-account-customer-page .bg-account__native .woocommerce-notices-wrapper {
	grid-area: notices;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:not(:empty) {
	display: block;
	inline-size: 100%;
	margin: 0 0 clamp(20px, 1.7vw, 28px);
	max-inline-size: none;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-content > .woocommerce-notices-wrapper .wc-block-components-notice-banner {
	align-items: center;
	border-radius: var(--wp--custom--radius--card);
	box-sizing: border-box;
	inline-size: 100%;
	margin: 0;
	min-block-size: 66px;
	padding: 15px 18px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-content > .woocommerce-notices-wrapper .wc-block-components-notice-banner__content {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: space-between;
	line-height: 1.7;
	min-inline-size: 0;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-content > .woocommerce-notices-wrapper .wc-forward {
	float: none;
	margin: 0;
	white-space: nowrap;
}

.bg-account-context-heading {
	align-self: end;
	grid-area: heading;
}

.bg-account-context-heading h1,
.bg-account-context-heading p {
	margin: 0;
}

.bg-account-context-heading h1 {
	color: var(--wp--preset--color--deep-navy);
	font-size: clamp(38px, 2.4vw, 50px);
	line-height: 1.18;
	white-space: nowrap;
}

.bg-account-context-heading p {
	color: var(--wp--preset--color--text-muted);
	font-size: 17px;
	line-height: 1.7;
	margin-block-start: var(--wp--preset--spacing--30);
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation {
	grid-area: navigation;
	position: sticky;
	top: var(--wp--preset--spacing--40);
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-content {
	grid-area: content;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation ul {
	gap: 0;
	padding: var(--wp--preset--spacing--30) 0;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation li {
	border-block-end: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 72%, transparent);
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation li:last-child {
	border-block-end: 0;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");

	border-radius: 0;
	font-size: 17px;
	gap: var(--wp--preset--spacing--30);
	min-block-size: 66px;
	padding-block: var(--wp--preset--spacing--40);
	padding-inline: var(--wp--preset--spacing--60);
	position: relative;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a::before {
	-webkit-mask: var(--bg-account-nav-icon) center / contain no-repeat;
	background-color: currentColor;
	block-size: 24px;
	border-radius: 0;
	inline-size: 24px;
	mask: var(--bg-account-nav-icon) center / contain no-repeat;
	opacity: 0.72;
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--dashboard a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v9a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--orders a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 7 8-4 8 4-8 4-8-4Zm0 0v10l8 4 8-4V7M12 11v10' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--edit-account a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4 21c.8-4.3 3.5-6.5 8-6.5s7.2 2.2 8 6.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--credit a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--saved-payment-methods a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 10h18M7 15h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--security a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 4.5 6v5.6c0 4.5 3 7.7 7.5 9.4 4.5-1.7 7.5-4.9 7.5-9.4V6L12 3Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m9.5 12 1.7 1.7 3.6-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .woocommerce-MyAccount-navigation-link--customer-logout a {
	--bg-account-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5M14 8l4 4-4 4m4-4H8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation .is-active > a,
body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a[aria-current="page"] {
	background: linear-gradient(90deg, var(--wp--preset--color--blue-50), #fff);
	color: var(--wp--preset--color--primary-active);
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation .is-active > a::after,
body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a[aria-current="page"]::after {
	background: var(--wp--preset--color--light-blue);
	block-size: 100%;
	content: "";
	inline-size: 4px;
	inset-block: 0;
	inset-inline-start: 0;
	position: absolute;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation-link--customer-logout {
	border-block-start: 1px solid color-mix(in srgb, var(--wp--preset--color--error) 28%, transparent);
	margin: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0;
	padding: var(--wp--preset--spacing--30) 0 0;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation-link--customer-logout a {
	background: color-mix(in srgb, var(--wp--preset--color--error) 6%, white);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--error) 35%, white);
	border-radius: var(--wp--custom--radius--input);
	color: var(--wp--preset--color--error);
	font-weight: 750;
	justify-content: center;
	min-block-size: 54px;
	padding: 12px 18px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: var(--wp--preset--color--error);
	border-color: var(--wp--preset--color--error);
	color: white;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile {
	align-items: center;
	background:
		radial-gradient(circle at 12% 15%, rgb(65 164 238 / 16%), transparent 38%),
		linear-gradient(135deg, #fbfdff, #eef7ff);
	border: 1px solid #d5e9f7;
	border-radius: 18px;
	display: grid;
	gap: 14px;
	grid-template-columns: 72px minmax(0, 1fr);
	margin: 14px 14px 4px;
	min-block-size: 108px;
	padding: 16px;
	position: relative;
	text-decoration: none;
	white-space: normal;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile::before {
	content: none;
	display: none;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile:is(:hover, :focus-visible) {
	background:
		radial-gradient(circle at 12% 15%, rgb(65 164 238 / 22%), transparent 38%),
		linear-gradient(135deg, #fff, #e7f4ff);
	border-color: #b9dbf2;
	color: inherit;
}

.bg-account-navigation-profile__avatar {
	block-size: 72px;
	border-radius: 50%;
	display: block;
	inline-size: 72px;
	position: relative;
}

.bg-account-navigation-profile__avatar::after {
	background: #10ad69;
	block-size: 12px;
	border: 3px solid #fff;
	border-radius: 50%;
	content: "";
	inline-size: 12px;
	inset-block-end: 3px;
	inset-inline-start: 3px;
	position: absolute;
}

.bg-account-navigation-profile .bg-account-profile-card__avatar {
	block-size: 72px;
	border-width: 3px;
	display: block;
	inline-size: 72px;
	padding: 2px;
}

.bg-account-navigation-profile__copy {
	display: grid;
	gap: 3px;
	min-inline-size: 0;
}

.bg-account-navigation-profile__copy strong {
	color: var(--wp--preset--color--deep-navy);
	font-size: 18px;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-account-navigation-profile__copy > span {
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 750;
}

.bg-account-navigation-profile__copy small {
	color: var(--wp--preset--color--text-muted);
	font-size: 11px;
	overflow: hidden;
	text-align: start;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation .bg-account-navigation-profile + ul {
	padding-block-start: 10px;
}

body.bg-account-dashboard-page .bg-account__native .woocommerce-MyAccount-content > p {
	display: none;
}

/* Security and privacy */

.bg-account-security {
	display: grid;
	gap: clamp(22px, 2vw, 32px);
}

.bg-account-security__card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--preset--shadow--xs);
	padding: clamp(26px, 3vw, 42px);
}

.bg-account-security__card-header {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--40);
}

.bg-account-security__card-header > div {
	flex: 1 1 auto;
}

.bg-account-security__card-header :is(p, h2) {
	margin: 0;
}

.bg-account-security__card-header p {
	color: var(--wp--preset--color--primary);
	font-size: 13px;
	font-weight: 700;
	margin-block-end: 4px;
}

.bg-account-security__card-header h2 {
	color: var(--wp--preset--color--deep-navy);
	font-size: clamp(22px, 2vw, 30px);
}

.bg-account-security__card-icon {
	align-items: center;
	background: var(--wp--preset--color--blue-50);
	block-size: 60px;
	border-radius: var(--wp--custom--radius--small);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	flex: 0 0 auto;
	inline-size: 60px;
	justify-content: center;
}

.bg-account-security__card-icon svg {
	block-size: 32px;
	fill: none;
	inline-size: 32px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bg-account-security__status {
	border-radius: var(--wp--custom--radius--pill);
	font-size: 13px;
	font-weight: 750;
	padding: 8px 14px;
}

.bg-account-security__status.is-enabled {
	background: color-mix(in srgb, var(--wp--preset--color--success) 11%, white);
	color: #087b48;
}

.bg-account-security__status.is-disabled {
	background: var(--wp--preset--color--surface-soft);
	color: var(--wp--preset--color--text-muted);
}

.bg-account-security__intro {
	color: var(--wp--preset--color--text-secondary);
	font-size: 15px;
	line-height: 1.8;
	margin: var(--wp--preset--spacing--50) 0 0;
}

.bg-account-security__provider-note {
	background: var(--wp--preset--color--blue-50);
	border-inline-start: 4px solid var(--wp--preset--color--light-blue);
	color: var(--wp--preset--color--text-secondary);
	font-size: 13px;
	line-height: 1.75;
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 14px 18px;
}

.bg-account-security__card--whatsapp {
	background: linear-gradient(135deg, color-mix(in srgb, #25d366 5%, white), white 72%);
}

.bg-account-security__card--whatsapp .bg-account-security__card-icon {
	background: color-mix(in srgb, #25d366 12%, white);
	color: #087b48;
}

.bg-account-security__whatsapp-form {
	border-block-start: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--50);
}

.bg-account-security__switch-row {
	align-items: center;
	background: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--input);
	cursor: pointer;
	display: flex;
	gap: var(--wp--preset--spacing--40);
	justify-content: space-between;
	padding: 18px 20px;
}

.bg-account-security__switch-row > span {
	display: grid;
	gap: 5px;
}

.bg-account-security__switch-row strong {
	color: var(--wp--preset--color--deep-navy);
	font-size: 15px;
}

.bg-account-security__switch-row small {
	color: var(--wp--preset--color--text-muted);
	font-size: 12px;
}

.bg-account-security__switch-row input {
	accent-color: #149954;
	block-size: 24px;
	flex: 0 0 24px;
	inline-size: 24px;
}

.bg-account-security__tfa-settings {
	border-block-start: 1px solid var(--wp--preset--color--border);
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--50);
}

.bg-account-security__tfa-settings .wrap {
	margin: 0;
	padding: 0;
}

.bg-account-security__tfa-settings .simba_tfa_intro_notice:first-child {
	display: none;
}

.bg-account-security__tfa-settings .simba_tfa_intro_notice {
	color: var(--wp--preset--color--text-secondary);
	font-size: 14px;
	line-height: 1.75;
	margin-block: 0 var(--wp--preset--spacing--40);
}

.bg-account-security__tfa-settings .tfa_settings_form {
	background: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--input);
	padding: 18px 20px;
}

.bg-account-security__tfa-settings .tfa_settings_form > p {
	line-height: 2;
	margin: 0 0 12px;
}

.bg-account-security__tfa-settings :is(.tfa_enable_radio, .tfa_enable_radio_label) {
	cursor: pointer;
}

.bg-account-security__tfa-settings .tfa_enable_radio_label {
	color: var(--wp--preset--color--deep-navy);
	font-size: 15px;
	font-weight: 650;
	margin-inline-start: 5px;
}

.bg-account-security__tfa-settings .simbatfa_settings_save,
.bg-account-security__whatsapp-form > button,
.bg-account-security__password-form > button {
	background: linear-gradient(135deg, var(--wp--preset--color--light-blue), var(--wp--preset--color--primary-active));
	border: 0;
	border-radius: var(--wp--custom--radius--input);
	box-shadow: 0 12px 24px color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent);
	color: white;
	font: inherit;
	font-size: 15px;
	font-weight: 750;
	margin: 0;
	min-block-size: 50px;
	padding: 12px 24px;
}

.bg-account-security__tfa-settings .postbox {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: var(--wp--preset--spacing--50) 0 0;
	padding: 0;
}

.bg-account-security__tfa-settings .postbox > h2 {
	color: var(--wp--preset--color--deep-navy);
	font-size: 20px;
	margin-block: 0 var(--wp--preset--spacing--30);
}

.bg-account-security__tfa-settings .postbox .inside {
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.75;
	margin: 0;
	padding: 0;
}

.bg-account-security__tfa-settings .simbaotp_qr_container {
	background: white;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	float: none;
	inline-size: max-content;
	margin: 18px 0;
	padding: 14px;
}

.bg-account-security__tfa-settings .simbaotp_qr_container img {
	display: block;
	inline-size: 190px;
}

.bg-account-security__tfa-settings .simba_current_otp {
	color: var(--wp--preset--color--primary-active);
	direction: ltr;
	display: inline-block;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.bg-account-security__password-form {
	border-block-start: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--50);
}

.bg-account-security__password-form .form-row {
	display: grid;
	gap: 9px;
	margin: 0;
}

.bg-account-security__password-form label {
	color: var(--wp--preset--color--deep-navy);
	font-size: 14px;
	font-weight: 700;
}

.bg-account-security__password-form input {
	inline-size: 100%;
	min-block-size: 54px;
}

.bg-account-security__password-grid {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-account-security__password-hint {
	color: var(--wp--preset--color--text-muted);
	font-size: 12px;
	line-height: 1.7;
	margin: 0;
}

.bg-account-security__password-form > button {
	justify-self: start;
}

.bg-account-security__whatsapp-form > button {
	justify-self: start;
}

.bg-account-security__card--privacy {
	background: color-mix(in srgb, var(--wp--preset--color--blue-50) 42%, white);
}

.bg-account-privacy-preferences {
	border-block-start: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: 14px;
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--50);
}

.bg-account-privacy-preferences__state {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
}

.bg-account-privacy-preferences__state span,
.bg-account-privacy-preferences > p {
	color: var(--wp--preset--color--text-muted);
	font-size: 12px;
	line-height: 1.7;
	margin: 0;
}

.bg-account-privacy-preferences__state strong {
	background: var(--wp--preset--color--surface-soft);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--deep-navy);
	font-size: 12px;
	padding: 6px 10px;
}

.bg-account-privacy-preferences__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.bg-account-privacy-preferences__actions button {
	background: white;
	border: 1px solid var(--wp--preset--color--blue-200);
	border-radius: 10px;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	min-block-size: 42px;
	padding: 9px 14px;
}

.bg-account-privacy-preferences__actions button.is-active {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: white;
}

.bg-account-security__secondary-link {
	border: 1px solid var(--wp--preset--color--blue-200);
	border-radius: var(--wp--custom--radius--input);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	font-size: 14px;
	font-weight: 750;
	margin-block-start: var(--wp--preset--spacing--40);
	padding: 11px 18px;
	text-decoration: none;
}

/* Dashboard overview */

.bg-account-dashboard {
	display: grid;
	gap: clamp(28px, 2vw, 38px);
	inline-size: 100%;
}

.bg-account-dashboard__overview {
	display: grid;
	gap: clamp(16px, 1.15vw, 22px);
	grid-template-columns: repeat(3, minmax(220px, 1fr));
	inline-size: 100%;
}

.bg-account-profile-card,
.bg-account-stat-card,
.bg-account-dashboard-orders,
.bg-account-action-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--preset--shadow--xs);
}

.bg-account-profile-card {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--50);
	min-block-size: 178px;
	min-inline-size: 0;
	overflow: hidden;
	padding: clamp(24px, 1.6vw, 30px);
}

.bg-account-profile-card__avatar {
	background: var(--wp--preset--color--blue-50);
	block-size: 92px;
	border: 4px solid var(--wp--preset--color--blue-100);
	border-radius: 50%;
	flex: 0 0 auto;
	inline-size: 92px;
	object-fit: cover;
	padding: 3px;
}

.bg-account-profile-card__copy {
	display: grid;
	gap: 8px;
	min-inline-size: 0;
}

.bg-account-profile-card__copy strong {
	color: var(--wp--preset--color--deep-navy);
	font-size: 23px;
}

.bg-account-profile-card__copy > span:not(.bg-account-profile-card__verified) {
	color: var(--wp--preset--color--text-muted);
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-account-profile-card__verified {
	align-items: center;
	color: var(--wp--preset--color--success);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 5px;
}

.bg-account-profile-card__verified > span {
	align-items: center;
	background: color-mix(in srgb, var(--wp--preset--color--success) 12%, white);
	block-size: 17px;
	border-radius: 50%;
	display: inline-flex;
	inline-size: 17px;
	justify-content: center;
}

.bg-account-profile-card__copy a {
	color: var(--wp--preset--color--primary);
	font-size: 14px;
	font-weight: 700;
	margin-block-start: 2px;
	text-decoration: none;
}

.bg-account-stat-card {
	align-content: center;
	appearance: none;
	color: var(--wp--preset--color--deep-navy);
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 14px 16px;
	grid-template-areas:
		"icon label"
		"value value";
	grid-template-columns: 60px minmax(0, 1fr);
	grid-template-rows: auto auto;
	min-block-size: 178px;
	min-inline-size: 0;
	overflow: hidden;
	padding: clamp(22px, 1.55vw, 28px);
	text-align: start;
	text-decoration: none;
	transition: border-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out;
}

.bg-account-stat-card:hover {
	border-color: var(--wp--preset--color--blue-200);
	box-shadow: var(--wp--preset--shadow--sm);
	color: var(--wp--preset--color--deep-navy);
	transform: translateY(-2px);
}

.bg-account-stat-card__icon {
	align-items: center;
	align-self: center;
	background: var(--wp--preset--color--blue-50);
	block-size: 60px;
	border-radius: var(--wp--custom--radius--card);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	grid-area: icon;
	inline-size: 60px;
	justify-content: center;
}

.bg-account-stat-card__icon svg {
	block-size: 32px;
	fill: none;
	inline-size: 32px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bg-account-stat-card > span:not(.bg-account-stat-card__icon) {
	align-self: center;
	font-size: 15px;
	font-weight: 700;
	grid-area: label;
	line-height: 1.5;
	min-inline-size: 0;
}

.bg-account-stat-card > strong {
	align-items: center;
	align-self: stretch;
	background: color-mix(in srgb, white 72%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--border) 72%, transparent);
	border-radius: var(--wp--custom--radius--small);
	box-sizing: border-box;
	display: flex;
	font-size: 24px;
	grid-area: value;
	inline-size: 100%;
	justify-content: center;
	line-height: 1.35;
	min-block-size: 44px;
	min-inline-size: 0;
	overflow: hidden;
	padding: 7px 10px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-account-stat-card > small {
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 750;
	grid-column: 1 / -1;
	text-align: center;
}

.bg-account-stat-card--orders {
	background: color-mix(in srgb, var(--wp--preset--color--success) 5%, white);
}

.bg-account-stat-card--orders .bg-account-stat-card__icon {
	background: color-mix(in srgb, var(--wp--preset--color--success) 10%, white);
	color: var(--wp--preset--color--success);
}

.bg-account-stat-card--wishlist {
	background: color-mix(in srgb, #845ef7 5%, white);
}

.bg-account-stat-card--wishlist .bg-account-stat-card__icon {
	background: color-mix(in srgb, #845ef7 10%, white);
	color: #6d3fe0;
}

/* Recent orders */

.bg-account-dashboard-orders {
	margin: 0;
	overflow: hidden;
	padding: 0;
}

.bg-account-dashboard-orders__header {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--40);
	justify-content: space-between;
	margin: 0;
	padding: 30px 34px 20px;
}

.bg-account-dashboard-orders__header h2 {
	color: var(--wp--preset--color--deep-navy);
	font-size: 30px;
	margin: 0;
}

.bg-account-dashboard-orders__header a {
	color: var(--wp--preset--color--primary);
	font-size: 15px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.bg-account-dashboard-orders__table-wrap {
	overflow-x: auto;
	padding-inline: 34px;
}

.bg-account-dashboard-orders__table {
	border: 0;
	border-collapse: collapse;
	inline-size: 100%;
	margin: 0 0 var(--wp--preset--spacing--40);
	min-inline-size: 680px;
	table-layout: fixed;
}

.bg-account-dashboard-orders__col--number {
	inline-size: 11%;
}

.bg-account-dashboard-orders__col--product {
	inline-size: 25%;
}

.bg-account-dashboard-orders__col--date,
.bg-account-dashboard-orders__col--status {
	inline-size: 14%;
}

.bg-account-dashboard-orders__col--actions {
	inline-size: 36%;
}

.bg-account-dashboard-orders__table :is(th, td) {
	border: 0;
	border-block-end: 1px solid var(--wp--preset--color--border);
	padding: 15px 16px;
	text-align: start;
	vertical-align: middle;
}

.bg-account-dashboard-orders__table thead th {
	background: var(--wp--preset--color--surface-soft);
	color: var(--wp--preset--color--text-muted);
	font-size: 13px;
	font-weight: 600;
}

.bg-account-dashboard-orders__table tbody tr:last-child :is(th, td) {
	border-block-end: 0;
}

.bg-account-dashboard-orders__table tbody :is(th, td) {
	color: var(--wp--preset--color--text-secondary);
	font-size: 14px;
}

.bg-account-dashboard-orders__table tbody th a {
	color: var(--wp--preset--color--primary-active);
	font-weight: 800;
	text-decoration: none;
}

.bg-account-order-product {
	align-items: center;
	display: flex;
	gap: var(--wp--preset--spacing--30);
	min-inline-size: 0;
}

.bg-account-order-product img {
	block-size: 48px;
	border-radius: var(--wp--custom--radius--small);
	flex: 0 0 auto;
	inline-size: 48px;
	object-fit: cover;
}

.bg-account-order-product > span {
	display: flex;
	font-weight: 600;
	gap: 5px;
	min-inline-size: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bg-account-order-product small {
	color: var(--wp--preset--color--text-muted);
}

.bg-account-order-status {
	background: var(--wp--preset--color--blue-50);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	padding: 7px 13px;
	white-space: nowrap;
}

.bg-account-order-status--completed {
	background: color-mix(in srgb, var(--wp--preset--color--success) 10%, white);
	color: #087b48;
}

.bg-account-order-status--processing,
.bg-account-order-status--on-hold,
.bg-account-order-status--pending {
	background: color-mix(in srgb, var(--wp--preset--color--warning) 11%, white);
	color: #a15c00;
}

.bg-account-order-status--cancelled,
.bg-account-order-status--failed {
	background: color-mix(in srgb, var(--wp--preset--color--error) 9%, white);
	color: var(--wp--preset--color--error);
}

.bg-account-order-action {
	background: var(--wp--preset--color--blue-50);
	border: 1px solid var(--wp--preset--color--blue-200);
	border-radius: var(--wp--custom--radius--small);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	min-inline-size: 0;
	padding: 9px 14px;
	text-decoration: none;
}

.bg-account-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bg-account-order-actions .bg-account-order-action {
	flex: 1 1 118px;
}

.bg-account-order-action--again {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: white;
}

.bg-account-order-action--again:hover {
	background: var(--wp--preset--color--primary-hover);
	border-color: var(--wp--preset--color--primary-hover);
	color: white;
}

.bg-account-order-action--support {
	background: color-mix(in srgb, #25d366 10%, white);
	border-color: color-mix(in srgb, #25d366 48%, white);
	color: #08783f;
}

.bg-account-order-action--support:hover {
	background: #128c4a;
	border-color: #128c4a;
	color: white;
}

.bg-account-dashboard-orders__empty {
	align-items: center;
	background: var(--wp--preset--color--surface-soft);
	display: flex;
	gap: var(--wp--preset--spacing--40);
	justify-content: space-between;
	margin: 0 34px 34px;
	min-block-size: 92px;
	padding: 24px 28px;
}

.bg-account-dashboard-orders__empty p {
	color: var(--wp--preset--color--text-secondary);
	font-size: 16px;
	margin: 0;
}

.bg-account-dashboard-orders__empty a {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

/* Useful actions */

.bg-account-dashboard-actions {
	display: grid;
	gap: clamp(16px, 1.5vw, 24px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bg-account-action-card {
	align-items: center;
	color: var(--wp--preset--color--deep-navy);
	display: grid;
	gap: 14px 18px;
	grid-template-columns: 64px minmax(0, 1fr);
	min-block-size: 190px;
	padding: clamp(24px, 2vw, 32px);
	text-decoration: none;
}

.bg-account-action-card:hover {
	border-color: var(--wp--preset--color--blue-200);
	box-shadow: var(--wp--preset--shadow--sm);
	color: var(--wp--preset--color--deep-navy);
}

.bg-account-action-card__icon {
	align-items: center;
	background: var(--wp--preset--color--blue-50);
	block-size: 64px;
	border-radius: var(--wp--custom--radius--small);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	font-size: 28px;
	grid-row: 1 / 3;
	inline-size: 64px;
	justify-content: center;
}

.bg-account-action-card__icon svg {
	block-size: 34px;
	fill: none;
	inline-size: 34px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bg-account-action-card > span:not(.bg-account-action-card__icon) {
	display: grid;
	gap: 3px;
}

.bg-account-action-card strong {
	font-size: 21px;
	line-height: 1.45;
}

.bg-account-action-card small {
	color: var(--wp--preset--color--text-muted);
	font-size: 14px;
	line-height: 1.6;
}

.bg-account-action-card > b {
	background: var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--radius--small);
	color: white;
	font-size: 14px;
	font-weight: 700;
	grid-column: 1 / -1;
	justify-self: stretch;
	padding: 12px 16px;
	text-align: center;
}

.bg-account-action-card--offers {
	background: color-mix(in srgb, var(--wp--preset--color--warning) 7%, white);
}

.bg-account-action-card--offers .bg-account-action-card__icon {
	background: color-mix(in srgb, var(--wp--preset--color--warning) 13%, white);
	color: var(--wp--preset--color--warning);
}

.bg-account-action-card--support {
	background: var(--wp--preset--color--blue-50);
}

/* Saved payment methods */

.bg-account-payment-methods {
	display: grid;
	gap: clamp(22px, 2vw, 32px);
}

.bg-account-payment-methods__intro,
.bg-account-payment-methods__empty,
.bg-account-saved-card,
.bg-account-payment-methods__notice {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: 0 14px 36px rgb(13 51 105 / 6%);
}

.bg-account-payment-methods__intro {
	align-items: center;
	display: flex;
	gap: clamp(18px, 1.8vw, 28px);
	padding: clamp(24px, 2.5vw, 38px);
}

.bg-account-payment-methods__intro-icon,
.bg-account-payment-methods__empty > span {
	align-items: center;
	background: var(--wp--preset--color--blue-50);
	block-size: 68px;
	border-radius: 20px;
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	flex: 0 0 auto;
	inline-size: 68px;
	justify-content: center;
}

.bg-account-payment-methods :is(.bg-account-payment-methods__intro-icon, .bg-account-payment-methods__empty > span) svg {
	block-size: 34px;
	fill: none;
	inline-size: 34px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bg-account-payment-methods__intro :is(h2, p),
.bg-account-payment-methods__empty :is(h3, p),
.bg-account-saved-card :is(p, strong),
.bg-account-payment-methods__footnote {
	margin: 0;
}

.bg-account-payment-methods__intro h2 {
	color: var(--wp--preset--color--deep-navy);
	font-size: clamp(23px, 1.7vw, 30px);
	line-height: 1.35;
}

.bg-account-payment-methods__intro p {
	color: var(--wp--preset--color--text-muted);
	font-size: 16px;
	line-height: 1.8;
	margin-block-start: 6px;
}

.bg-account-payment-methods__notice {
	color: var(--wp--preset--color--error);
	font-size: 16px;
	line-height: 1.7;
	padding: 20px 24px;
}

.bg-account-payment-methods__notice.is-error {
	background: color-mix(in srgb, var(--wp--preset--color--error) 5%, white);
	border-color: color-mix(in srgb, var(--wp--preset--color--error) 24%, white);
}

.bg-account-payment-methods__empty {
	align-items: center;
	display: grid;
	gap: 8px 22px;
	grid-template-columns: auto 1fr;
	padding: clamp(28px, 3vw, 46px);
}

.bg-account-payment-methods__empty > span {
	grid-row: 1 / span 2;
}

.bg-account-payment-methods__empty h3 {
	color: var(--wp--preset--color--deep-navy);
	font-size: 21px;
}

.bg-account-payment-methods__empty p {
	color: var(--wp--preset--color--text-muted);
	font-size: 15px;
	line-height: 1.75;
}

.bg-account-payment-methods__grid {
	display: grid;
	gap: clamp(18px, 1.8vw, 28px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-account-saved-card {
	background:
		linear-gradient(135deg, rgb(15 126 225 / 8%), transparent 62%),
		var(--wp--preset--color--surface);
	display: grid;
	gap: 22px;
	min-block-size: 218px;
	padding: clamp(24px, 2.5vw, 38px);
}

.bg-account-saved-card header {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.bg-account-saved-card__brand {
	color: var(--wp--preset--color--deep-navy);
	font-size: 20px;
	font-weight: 800;
}

.bg-account-saved-card__secure {
	align-items: center;
	background: color-mix(in srgb, var(--wp--preset--color--success) 10%, white);
	block-size: 42px;
	border-radius: 50%;
	color: var(--wp--preset--color--success);
	display: inline-flex;
	inline-size: 42px;
	justify-content: center;
}

.bg-account-saved-card__secure svg {
	block-size: 24px;
	fill: none;
	inline-size: 24px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bg-account-saved-card > strong {
	color: var(--wp--preset--color--deep-navy);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: clamp(21px, 1.7vw, 28px);
	font-weight: 750;
	letter-spacing: 0.04em;
	text-align: start;
}

.bg-account-saved-card > p {
	color: var(--wp--preset--color--text-muted);
	display: flex;
	font-size: 14px;
	gap: 8px;
}

.bg-account-saved-card > p b {
	color: var(--wp--preset--color--deep-navy);
}

.bg-account-saved-card__actions {
	align-items: center;
	border-block-start: 1px solid var(--wp--preset--color--border);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
	margin-block-start: auto;
	padding-block-start: 18px;
}

.bg-account-saved-card__delete-request {
	align-items: center;
	background: color-mix(in srgb, var(--wp--preset--color--primary) 9%, white);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, white);
	border-radius: 10px;
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	min-block-size: 42px;
	padding: 9px 16px;
	text-decoration: none;
}

.bg-account-saved-card__delete-request:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--primary);
	color: white;
}

.bg-account-saved-card__actions small {
	color: var(--wp--preset--color--text-muted);
	font-size: 12px;
	line-height: 1.6;
}

.bg-account-payment-methods__footnote {
	color: var(--wp--preset--color--text-muted);
	font-size: 14px;
	line-height: 1.7;
}

@media (max-width: 1560px) {
	.bg-account-dashboard__overview {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	body.bg-account-customer-page .bg-account__native .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-areas:
			"notices"
			"heading"
			"navigation"
			"content";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation {
		position: static;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation ul {
		display: flex;
		overflow-x: auto;
		padding: var(--wp--preset--spacing--20);
		scrollbar-width: thin;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation li {
		border: 0;
		flex: 0 0 auto;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation-link--customer-logout {
		border: 0;
		margin: 0;
		padding: 0;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a {
		border-radius: var(--wp--custom--radius--input);
		min-block-size: 46px;
		padding-inline: var(--wp--preset--spacing--40);
		white-space: nowrap;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile {
		border-radius: 18px;
		margin-block-end: 10px;
		min-block-size: 100px;
		padding: 14px;
		white-space: normal;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation .is-active > a::after,
	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a[aria-current="page"]::after {
		block-size: 3px;
		inline-size: 100%;
		inset-block: auto 0;
		inset-inline: 0;
	}
}

@media (max-width: 760px) {
	.bg-account-security__password-grid {
		grid-template-columns: 1fr;
	}

	.bg-account-dashboard__overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bg-account-profile-card {
		grid-column: 1 / -1;
	}

	.bg-account-stat-card--wishlist {
		grid-column: 1 / -1;
	}

	.bg-account-dashboard-orders__table-wrap {
		overflow: visible;
		padding-inline: var(--wp--preset--spacing--40);
	}

	.bg-account-dashboard-orders__table,
	.bg-account-dashboard-orders__table tbody,
	.bg-account-dashboard-orders__table tr,
	.bg-account-dashboard-orders__table :is(th, td) {
		display: block;
		inline-size: 100%;
		min-inline-size: 0;
	}

	.bg-account-dashboard-orders__table thead {
		display: none;
	}

	.bg-account-dashboard-orders__table tbody {
		display: grid;
		gap: var(--wp--preset--spacing--30);
	}

	.bg-account-dashboard-orders__table tbody tr {
		border: 1px solid var(--wp--preset--color--border);
		border-radius: var(--wp--custom--radius--card);
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: hidden;
	}

	.bg-account-dashboard-orders__table tbody :is(th, td) {
		border-block-end: 1px solid var(--wp--preset--color--border);
		padding: var(--wp--preset--spacing--30);
	}

	.bg-account-dashboard-orders__table tbody :is(th, td)::before {
		color: var(--wp--preset--color--text-muted);
		content: attr(data-label);
		display: block;
		font-size: 10px;
		margin-block-end: 5px;
	}

	.bg-account-dashboard-orders__table tbody td:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.bg-account-dashboard-orders__table tbody td:last-child {
		border-block-end: 0;
	}

	.bg-account-dashboard-orders__table colgroup {
		display: none;
	}

	.bg-account-dashboard-actions {
		grid-template-columns: 1fr;
	}

	.bg-account-action-card {
		min-block-size: 156px;
	}

	.bg-account-payment-methods__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	body.bg-account-customer-page .bg-account {
		gap: var(--wp--preset--spacing--40);
	}

	.bg-account-context-heading h1 {
		font-size: 28px;
		white-space: normal;
	}

	.bg-account-security__card {
		padding: 22px 18px;
	}

	.bg-account-security__card-header {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.bg-account-security__card-icon {
		block-size: 50px;
		inline-size: 50px;
	}

	.bg-account-security__status {
		margin-inline-start: 66px;
	}

	.bg-account-security__password-form > button {
		inline-size: 100%;
	}

	.bg-account-security__whatsapp-form > button {
		inline-size: 100%;
	}

	.bg-account-payment-methods__intro,
	.bg-account-payment-methods__empty {
		align-items: flex-start;
		grid-template-columns: 1fr;
	}

	.bg-account-payment-methods__intro {
		flex-direction: column;
	}

	.bg-account-payment-methods__empty > span {
		grid-row: auto;
	}

	.bg-account-dashboard__overview {
		grid-template-columns: 1fr;
	}

	.bg-account-profile-card,
	.bg-account-stat-card--wishlist {
		grid-column: auto;
	}

	.bg-account-profile-card__avatar {
		block-size: 72px;
		inline-size: 72px;
	}

	.bg-account-stat-card {
		min-block-size: 142px;
		padding: 20px;
	}

	.bg-account-dashboard-orders__header {
		align-items: start;
		padding-inline: var(--wp--preset--spacing--40);
	}

	.bg-account-dashboard-orders__header h2 {
		font-size: 19px;
	}

	.bg-account-dashboard-orders__table tbody tr {
		grid-template-columns: 1fr;
	}

	.bg-account-dashboard-orders__table tbody td:nth-child(2) {
		grid-column: auto;
		grid-row: auto;
	}

	.bg-account-dashboard-orders__empty {
		align-items: flex-start;
		flex-direction: column;
		margin-inline: var(--wp--preset--spacing--40);
	}
}

/* Calm, consistent account UI scale shared by every authenticated tab. */

.bg-account-context-heading h1 {
	font-size: clamp(30px, 2vw, 39px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.bg-account-context-heading p {
	font-size: 14px;
	line-height: 1.65;
	margin-block-start: 4px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation ul {
	padding-block: 8px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a {
	font-size: 15px;
	gap: 12px;
	min-block-size: 52px;
	padding: 11px 18px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a::before {
	block-size: 20px;
	inline-size: 20px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile {
	background: #f8fbfe;
	border-radius: 14px;
	gap: 12px;
	grid-template-columns: 56px minmax(0, 1fr);
	margin: 10px 10px 4px;
	min-block-size: 84px;
	padding: 13px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile:is(:hover, :focus-visible) {
	background: #f3f8fc;
}

.bg-account-navigation-profile__avatar,
.bg-account-navigation-profile .bg-account-profile-card__avatar {
	block-size: 56px;
	inline-size: 56px;
}

.bg-account-navigation-profile .bg-account-profile-card__avatar {
	border-width: 2px;
}

.bg-account-navigation-profile__avatar::after {
	block-size: 9px;
	border-width: 2px;
	inline-size: 9px;
}

.bg-account-navigation-profile__copy {
	gap: 4px;
}

.bg-account-navigation-profile__copy strong {
	font-size: 16px;
}

.bg-account-navigation-profile__copy small {
	font-size: 11px;
}

body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation-link--customer-logout a {
	min-block-size: 44px;
	padding: 8px 14px;
}

.bg-account-security,
.bg-account-payment-methods {
	gap: 18px;
}

.bg-account-security {
	align-items: start;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-account-security__card,
.bg-account-payment-methods__intro,
.bg-account-payment-methods__empty,
.bg-account-saved-card,
.bg-account-payment-methods__notice,
.bg-account-profile-card,
.bg-account-stat-card,
.bg-account-dashboard-orders,
.bg-account-action-card {
	border-radius: 18px;
	box-shadow: 0 8px 24px rgb(13 51 105 / 4%);
}

.bg-account-security__card {
	background: #fff;
	padding: clamp(20px, 1.8vw, 26px);
}

.bg-account-security__card--whatsapp,
.bg-account-security__card--privacy {
	background: #fff;
}

.bg-account-security__card-header {
	gap: 14px;
}

.bg-account-security__card-header p {
	color: var(--wp--preset--color--text-muted);
	font-size: 11px;
	font-weight: 650;
}

.bg-account-security__card-header h2 {
	font-size: clamp(18px, 1.35vw, 22px);
}

.bg-account-security__card-icon,
.bg-account-security__card--whatsapp .bg-account-security__card-icon {
	background: var(--wp--preset--color--blue-50);
	block-size: 38px;
	border: 1px solid var(--wp--preset--color--blue-100);
	border-radius: 11px;
	color: var(--wp--preset--color--primary);
	inline-size: 38px;
}

.bg-account-security__card-icon svg {
	block-size: 19px;
	inline-size: 19px;
}

.bg-account-security__status {
	font-size: 11px;
	padding: 6px 10px;
}

.bg-account-security__intro {
	font-size: 13px;
	line-height: 1.7;
	margin-block-start: 14px;
}

.bg-account-security__provider-note {
	background: #f7fafc;
	border: 1px solid var(--wp--preset--color--border);
	border-inline-start-width: 1px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.65;
	margin-block-start: 12px;
	padding: 9px 11px;
}

.bg-account-security__whatsapp-form,
.bg-account-security__tfa-settings,
.bg-account-security__password-form {
	margin-block-start: 18px;
	padding-block-start: 18px;
}

.bg-account-security__switch-row,
.bg-account-security__tfa-settings .tfa_settings_form {
	padding: 14px 16px;
}

.bg-account-security__switch-row strong,
.bg-account-security__tfa-settings .tfa_enable_radio_label {
	font-size: 14px;
}

.bg-account-security__switch-row input {
	block-size: 20px;
	flex-basis: 20px;
	inline-size: 20px;
}

.bg-account-security__tfa-settings .simbatfa_settings_save,
.bg-account-security__whatsapp-form > button,
.bg-account-security__password-form > button {
	background: var(--wp--preset--color--primary);
	border-radius: 10px;
	box-shadow: none;
	font-size: 14px;
	min-block-size: 44px;
	padding: 9px 17px;
}

.bg-account-security__password-form input {
	min-block-size: 48px;
}

.bg-account-security__secondary-link {
	font-size: 13px;
	margin-block-start: 16px;
	padding: 9px 14px;
}

.bg-account-dashboard {
	gap: 20px;
}

.bg-account-dashboard__overview,
.bg-account-dashboard-actions {
	gap: 14px;
}

.bg-account-stat-card {
	gap: 10px 12px;
	grid-template-columns: 44px minmax(0, 1fr);
	min-block-size: 140px;
	padding: 18px;
}

.bg-account-stat-card--orders,
.bg-account-stat-card--wishlist {
	background: #fff;
}

.bg-account-stat-card__icon,
.bg-account-stat-card--orders .bg-account-stat-card__icon,
.bg-account-stat-card--wishlist .bg-account-stat-card__icon {
	background: var(--wp--preset--color--blue-50);
	block-size: 44px;
	border-radius: 12px;
	color: var(--wp--preset--color--primary);
	inline-size: 44px;
}

.bg-account-stat-card__icon svg {
	block-size: 22px;
	inline-size: 22px;
}

.bg-account-stat-card > span:not(.bg-account-stat-card__icon) {
	font-size: 14px;
}

.bg-account-stat-card > strong {
	font-size: 20px;
	min-block-size: 40px;
	padding: 6px 9px;
}

.bg-account-dashboard-orders__header {
	padding: 22px 26px 14px;
}

.bg-account-dashboard-orders__header h2 {
	font-size: 24px;
}

.bg-account-dashboard-orders__header a {
	font-size: 13px;
}

.bg-account-dashboard-orders__table-wrap {
	padding-inline: 26px;
}

.bg-account-dashboard-orders__table :is(th, td) {
	padding: 12px;
}

.bg-account-dashboard-orders__table tbody :is(th, td) {
	font-size: 13px;
}

.bg-account-order-product img {
	block-size: 42px;
	inline-size: 42px;
}

.bg-account-order-action {
	font-size: 12px;
	padding: 8px 11px;
}

.bg-account-dashboard-orders__empty {
	margin: 0 26px 26px;
	min-block-size: 72px;
	padding: 18px 20px;
}

.bg-account-dashboard-orders__empty p {
	font-size: 14px;
}

.bg-account-action-card {
	gap: 10px 14px;
	grid-template-columns: 44px minmax(0, 1fr);
	min-block-size: 150px;
	padding: 20px;
}

.bg-account-action-card--offers,
.bg-account-action-card--support {
	background: #fff;
}

.bg-account-action-card__icon,
.bg-account-action-card--offers .bg-account-action-card__icon {
	background: var(--wp--preset--color--blue-50);
	block-size: 44px;
	border-radius: 12px;
	color: var(--wp--preset--color--primary);
	font-size: 20px;
	inline-size: 44px;
}

.bg-account-action-card__icon svg {
	block-size: 22px;
	inline-size: 22px;
}

.bg-account-action-card strong {
	font-size: 18px;
}

.bg-account-action-card small {
	font-size: 12px;
}

.bg-account-action-card > b {
	font-size: 13px;
	padding: 9px 13px;
}

.bg-account-payment-methods__intro {
	gap: 16px;
	padding: clamp(20px, 2vw, 28px);
}

.bg-account-payment-methods__intro-icon,
.bg-account-payment-methods__empty > span {
	block-size: 46px;
	border-radius: 13px;
	inline-size: 46px;
}

.bg-account-payment-methods :is(.bg-account-payment-methods__intro-icon, .bg-account-payment-methods__empty > span) svg {
	block-size: 23px;
	inline-size: 23px;
}

.bg-account-payment-methods__intro h2 {
	font-size: clamp(20px, 1.5vw, 24px);
}

.bg-account-payment-methods__intro p,
.bg-account-payment-methods__empty p,
.bg-account-payment-methods__notice {
	font-size: 14px;
}

.bg-account-payment-methods__empty {
	gap: 6px 14px;
	padding: clamp(20px, 2vw, 26px);
}

.bg-account-payment-methods__empty > span {
	block-size: 40px;
	border-radius: 11px;
	inline-size: 40px;
}

.bg-account-payment-methods__empty > span svg {
	block-size: 20px;
	inline-size: 20px;
}

.bg-account-payment-methods__empty h3 {
	font-size: 18px;
}

.bg-account-saved-card {
	background: #fff;
	gap: 16px;
	min-block-size: 184px;
	padding: clamp(20px, 2vw, 28px);
}

.bg-account-saved-card__brand {
	font-size: 17px;
}

.bg-account-saved-card__secure {
	block-size: 36px;
	inline-size: 36px;
}

.bg-account-saved-card__secure svg {
	block-size: 19px;
	inline-size: 19px;
}

.bg-account-saved-card > strong {
	font-size: clamp(18px, 1.5vw, 23px);
}

.bg-account-saved-card__delete-request {
	font-size: 13px;
	min-block-size: 38px;
	padding: 7px 12px;
}

@media (max-width: 1200px) {
	.bg-account-security {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a {
		min-block-size: 48px;
	}

	body.bg-account-customer-page .bg-account__native .woocommerce-MyAccount-navigation a.bg-account-navigation-profile {
		min-block-size: 80px;
	}
}

@media (max-width: 520px) {
	.bg-account-context-heading h1 {
		font-size: 27px;
	}

	.bg-account-security__card {
		padding: 18px;
	}

	.bg-account-security__card-icon {
		block-size: 36px;
		inline-size: 36px;
	}

	.bg-account-security__status {
		margin-inline-start: 48px;
	}

	.bg-account-privacy-preferences__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.bg-account-privacy-preferences__actions button {
		inline-size: 100%;
	}

	.bg-account-stat-card {
		min-block-size: 126px;
		padding: 16px;
	}

	.bg-account-action-card {
		min-block-size: 132px;
	}
}
.bluegam-phone-manager {
	margin-block: 1.5rem;
	padding: 1rem;
	border: 1px solid #d9e7f3;
	border-radius: 14px;
	background: #f8fbfe;
}

.bluegam-phone-manager legend {
	padding-inline: .4rem;
	color: #0d3766;
	font-weight: 800;
}

.bluegam-phone-manager__intro {
	margin-block: 0 1rem;
	color: #4b647c;
}

.bluegam-phone-manager__list {
	display: grid;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bluegam-phone-manager__item {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .7rem;
	border: 1px solid #dfe9f2;
	border-radius: 10px;
	background: #fff;
}

.bluegam-phone-manager__primary {
	padding: .2rem .55rem;
	border-radius: 999px;
	background: #def7e8;
	color: #08713c;
	font-size: .78rem;
}

.bluegam-phone-manager__delete {
	color: #a62121 !important;
}

.bluegam-phone-manager__delete-primary,
.bluegam-phone-manager__add {
	display: grid;
	gap: .65rem;
	margin-block-start: 1rem;
}

@media (max-width: 600px) {
	.bluegam-phone-manager__item {
		align-items: stretch;
		flex-direction: column;
	}
}
