.sme-account-header { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
.sme-account-header-panel {
	--sme-account-widget-navy: var(--sme-account-token-widget-navy);
	--sme-account-widget-orange: var(--sme-color-primary);
	--sme-account-widget-muted: var(--sme-color-muted);
	--sme-account-widget-line: var(--sme-account-token-widget-line);
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 100140;
	box-sizing: border-box;
	width: min(320px, calc(100vw - 24px));
	border: 1px solid var(--sme-account-widget-line);
	border-top: 3px solid var(--sme-account-widget-orange);
	border-radius: 12px;
	background: var(--sme-color-white);
	color: var(--sme-color-text);
	box-shadow: none !important;
	filter: none !important;
	backdrop-filter: none !important;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.sme-account-header-panel[hidden] { display: none !important; }
.sme-account-header-panel::before { display: none; }
.sme-account-widget, .sme-account-widget * { box-sizing: border-box; box-shadow: none !important; text-shadow: none !important; filter: none !important; backdrop-filter: none !important; }
.sme-account-widget { width: 100%; background: var(--sme-color-white); font-size: 12px; line-height: 1.35; }
.sme-account-widget a { text-decoration: none; }
.sme-account-widget__profile { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 78px; padding: 11px 13px; border-bottom: 1px solid var(--sme-account-widget-line); background: var(--sme-account-token-widget-profile-surface); }
.sme-account-widget__avatar { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--sme-account-token-avatar-border); border-radius: 50%; background: var(--sme-color-white); color: var(--sme-account-token-avatar-text); font-size: 16px; font-weight: 800; overflow: hidden; }
.sme-account-widget__avatar-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sme-account-widget__identity { min-width: 0; }
.sme-account-widget__identity > strong { display: block; overflow: hidden; color: var(--sme-account-widget-navy); font-size: 14px; font-weight: 800; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.sme-account-widget__identity > span { display: block; overflow: hidden; margin-top: 2px; color: var(--sme-account-token-widget-email); font-size: 11px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.sme-account-widget__identity > small { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 2px 7px; border: 1px solid var(--sme-account-token-verified-border); border-radius: 20px; background: var(--sme-account-token-verified-surface); color: var(--sme-account-token-verified-text); font-size: 10px; font-weight: 700; }
.sme-account-widget__identity > small i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--sme-account-token-success-accent); color: var(--sme-color-white); font-size: 9px; font-style: normal; }
.sme-account-widget__section { padding: 10px 12px; border-bottom: 1px solid var(--sme-account-widget-line); }
.sme-account-widget__section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.sme-account-widget__section-head strong, .sme-account-widget__section-title { color: var(--sme-account-widget-navy); font-size: 13px; font-weight: 800; text-transform: none; }
.sme-account-widget__section-head a { color: var(--sme-account-widget-orange); font-size: 10px; font-weight: 700; }
.sme-account-widget__section-head a:hover, .sme-account-widget__section-head a:focus-visible { color: var(--sme-color-primary-hover); text-decoration: underline; outline: 0; }
.sme-account-widget__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--sme-account-token-widget-stat-border); border-radius: 9px; overflow: hidden; }
.sme-account-widget__stats > span { display: grid; justify-items: center; gap: 2px; min-width: 0; padding: 5px 2px; border-right: 1px solid var(--sme-account-token-widget-stat-border); background: var(--sme-color-white); text-align: center; }
.sme-account-widget__stats > span:last-child { border-right: 0; }
.sme-account-widget__stats small { overflow: hidden; width: 100%; color: var(--sme-account-token-widget-muted-strong); font-size: 8px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.sme-account-widget__stats strong { color: var(--sme-account-widget-navy); font-size: 16px; font-weight: 800; line-height: 1; }
.sme-account-widget__access { padding-top: 9px; padding-bottom: 9px; }
.sme-account-widget__section-title { display: block; margin-bottom: 5px; }
.sme-account-widget__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
.sme-account-widget__links a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 10px; gap: 6px; align-items: center; min-height: 31px; padding: 3px 2px; color: var(--sme-account-widget-navy); font-weight: 500; }
.sme-account-widget__links a:hover, .sme-account-widget__links a:focus-visible { color: var(--sme-account-widget-orange); font-weight: 800; outline: 0; }
.sme-account-widget__links i { display: grid; place-items: center; width: 22px; height: 22px; color: currentColor; font-style: normal; }
.sme-account-widget__links i svg { width: 17px; height: 17px; }
.sme-account-widget__links span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sme-account-widget__links b { color: var(--sme-account-token-widget-arrow); font-size: 16px; font-weight: 400; }
.sme-account-widget__support { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 58px; padding: 9px 11px; background: var(--sme-account-token-widget-support-surface); }
.sme-account-widget__support-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--sme-account-token-widget-support-border); border-radius: 50%; background: var(--sme-color-white); color: var(--sme-account-token-widget-icon); }
.sme-account-widget__support-icon svg { width: 17px; height: 17px; }
.sme-account-widget__support div { min-width: 0; }
.sme-account-widget__support strong { display: block; color: var(--sme-account-widget-navy); font-size: 12px; font-weight: 800; }
.sme-account-widget__support div span { display: block; margin-top: 1px; color: var(--sme-account-token-widget-muted-strong); font-size: 9px; font-weight: 400; }
.sme-account-widget__support > a { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 6px 12px; border: 1px solid var(--sme-account-widget-orange); border-radius: 20px; background: var(--sme-account-widget-orange); color: var(--sme-color-white); font-size: 10px; font-weight: 800; }
.sme-account-widget__support > a:hover, .sme-account-widget__support > a:focus-visible { border-color: var(--sme-color-primary-hover); background: var(--sme-color-primary-hover); color: var(--sme-color-white); outline: 0; }

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
	body.suntechmall-engine-account-page .woocommerce { width: 100% !important; max-width: none !important; padding-right: 10px !important; padding-left: 10px !important; }
	.sme-account { width: 100%; }
	.sme-account-header-panel { position: fixed; right: auto; left: 10px; width: min(320px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); }
	.sme-account-header-panel::before { display: none; }
}
@media (max-width: 480px) {
	.sme-account-header-panel { left: 10px; width: min(320px, calc(100vw - 20px)); }
	.sme-account-photo-field { grid-template-columns: 1fr; }
	.sme-account-photo-field__preview { width: 76px; height: 76px; }
}

.sme-account-widget__avatar .sme-account-default-avatar {
 position:absolute; inset:0; box-sizing:border-box; width:100%; height:100%; padding:20%; background:var(--sme-account-token-orange-pale); color:var(--sme-color-primary-hover);
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
	.sme-account-header.is-open::after {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 100049;
		width: min(320px, calc(100vw - 24px));
		height: 14px;
		background: transparent;
		content: '';
		pointer-events: auto;
	}
}
