/**
 * Sparkle ACC — Customer Account v4.6.0
 * Isolated from Cart, Checkout and product layouts.
 */

body.woocommerce-account {
	--sa-account-ink: #111820;
	--sa-account-paper: #fffdf7;
	--sa-account-cream: #fff7df;
	--sa-account-orange: #ffad27;
	--sa-account-coral: #f05b43;
	--sa-account-teal: #49b9b1;
	--sa-account-blue: #3277e8;
	--sa-account-muted: #667078;
	--sa-account-line: 2px solid var(--sa-account-ink);
	color: var(--sa-account-ink);
	background:
		linear-gradient(rgb(17 24 32 / 3%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(17 24 32 / 3%) 1px, transparent 1px),
		var(--sa-account-cream);
	background-size: 38px 38px, 38px 38px, auto;
}

body.woocommerce-account *,
body.woocommerce-account *::before,
body.woocommerce-account *::after {
	box-sizing: border-box;
}

body.woocommerce-account :where(.site-main, main#main, main#content) {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(38px, 5vw, 68px) max(18px, calc((100vw - 1180px) / 2)) clamp(82px, 9vw, 124px) !important;
}

body.woocommerce-account :where(.page-content, .entry-content) {
	width: min(100%, 1180px) !important;
	max-width: 1180px !important;
	margin-inline: auto !important;
}

body.woocommerce-account .entry-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.woocommerce-account :where(.woocommerce, input, button, select, textarea, label, a, p, span, small, strong, h1, h2, h3) {
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

body.sparkleacc-account-authenticated .woocommerce {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	align-items: start;
	gap: 30px;
	direction: rtl;
}

body.sparkleacc-account-authenticated .woocommerce::before,
body.sparkleacc-account-authenticated .woocommerce::after {
	display: none !important;
}

/* Account navigation ------------------------------------------------ */

body.woocommerce-account .woocommerce-MyAccount-navigation {
	position: sticky;
	top: 112px;
	float: none !important;
	width: 100% !important;
	padding: 14px;
	background: var(--sa-account-paper);
	border: 3px solid var(--sa-account-ink);
	border-radius: 20px;
	box-shadow: 7px 8px 0 var(--sa-account-teal);
}

body.woocommerce-account .woocommerce-MyAccount-navigation::before {
	content: "SPARKLE PANEL";
	display: block;
	margin: -2px -2px 12px;
	padding: 11px 12px;
	color: var(--sa-account-paper);
	background: var(--sa-account-ink);
	border-radius: 11px;
	font-family: "Lilita One", sans-serif;
	font-size: 13px;
	letter-spacing: .8px;
	text-align: center;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 7px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 11px 13px;
	color: var(--sa-account-ink) !important;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.6;
	text-decoration: none !important;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	color: var(--sa-account-paper);
	background: var(--sa-account-ink);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 900;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "⌂"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before { content: "□"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "⌖"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "○"; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "↪"; }

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible {
	background: var(--sa-account-cream);
	border-color: var(--sa-account-ink);
	transform: translateX(-2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--sa-account-orange);
	border-color: var(--sa-account-ink);
	box-shadow: 3px 3px 0 var(--sa-account-coral);
	font-weight: 900;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px !important;
	padding-top: 12px !important;
	border-top: 1px dashed rgb(17 24 32 / 25%) !important;
}

.sparkleacc-account-mobile-actions {
	display: none;
}

/* Main account surface --------------------------------------------- */

body.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	min-width: 0;
	padding: clamp(20px, 3.2vw, 34px);
	background: var(--sa-account-paper);
	border: 3px solid var(--sa-account-ink);
	border-radius: 22px;
	box-shadow: 8px 9px 0 var(--sa-account-orange);
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > p {
	color: var(--sa-account-muted);
	font-size: 15px;
	font-weight: 550;
	line-height: 1.95;
}

body.woocommerce-account .woocommerce-MyAccount-content > h2,
body.woocommerce-account .woocommerce-MyAccount-content > h3,
body.woocommerce-account .woocommerce-MyAccount-content form > h3,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
	margin: 0 0 20px !important;
	color: var(--sa-account-ink) !important;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
	font-size: clamp(23px, 2.8vw, 32px) !important;
	font-weight: 900 !important;
	line-height: 1.45 !important;
}

/* Dashboard --------------------------------------------------------- */

.sparkleacc-account-dashboard {
	display: grid;
	gap: 24px;
}

.sparkleacc-account-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 26px;
	min-height: 190px;
	padding: clamp(24px, 4vw, 38px);
	overflow: hidden;
	color: var(--sa-account-paper);
	background:
		radial-gradient(circle at 10% 18%, rgb(73 185 177 / 28%) 0 58px, transparent 60px),
		linear-gradient(120deg, transparent 0 70%, rgb(240 91 67 / 16%) 70% 100%),
		var(--sa-account-ink);
	border: 3px solid var(--sa-account-ink);
	border-radius: 18px;
	box-shadow: 6px 7px 0 var(--sa-account-teal);
}

.sparkleacc-account-hero::after {
	content: "✦";
	position: absolute;
	inset-block-start: 17px;
	inset-inline-start: 19px;
	z-index: -1;
	color: var(--sa-account-orange);
	font-size: 24px;
}

.sparkleacc-account-hero__copy > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sa-account-orange);
	font-size: 12px;
	font-weight: 850;
}

.sparkleacc-account-hero__copy > span i {
	width: 22px;
	height: 4px;
	background: currentColor;
	border-radius: 99px;
}

.sparkleacc-account-hero h1 {
	margin: 8px 0 7px !important;
	color: var(--sa-account-paper) !important;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
	font-size: clamp(30px, 4vw, 44px) !important;
	font-weight: 900 !important;
	line-height: 1.35 !important;
	letter-spacing: -.8px;
}

.sparkleacc-account-hero p {
	max-width: 620px;
	margin: 0 !important;
	color: rgb(255 253 247 / 73%);
	font-size: 14px;
	font-weight: 550;
	line-height: 1.95;
}

.sparkleacc-account-hero > a,
.sparkleacc-account-empty > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 11px 17px;
	color: var(--sa-account-ink) !important;
	background: var(--sa-account-orange);
	border: 2px solid var(--sa-account-paper);
	border-radius: 11px;
	box-shadow: 4px 4px 0 var(--sa-account-coral);
	font-size: 13px;
	font-weight: 900;
	text-decoration: none !important;
	transition: transform 140ms ease, box-shadow 140ms ease;
}

.sparkleacc-account-hero > a:hover,
.sparkleacc-account-hero > a:focus-visible,
.sparkleacc-account-empty > a:hover,
.sparkleacc-account-empty > a:focus-visible {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--sa-account-coral);
}

.sparkleacc-account-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.sparkleacc-account-metrics article {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 3px 12px;
	min-height: 115px;
	padding: 18px;
	background: #f7f2e7;
	border: var(--sa-account-line);
	border-radius: 14px;
}

.sparkleacc-account-metrics article::before {
	content: "";
	position: absolute;
	inset-block-start: 13px;
	inset-inline-end: 13px;
	width: 8px;
	height: 8px;
	background: var(--sa-account-ink);
	border-radius: 50%;
}

.sparkleacc-account-metrics article.is-active {
	background: #fff1cc;
}

.sparkleacc-account-metrics article.is-active::before {
	background: var(--sa-account-orange);
}

.sparkleacc-account-metrics article.is-delivered {
	background: #dff8f4;
}

.sparkleacc-account-metrics article.is-delivered::before {
	background: var(--sa-account-teal);
}

.sparkleacc-account-metrics span {
	font-size: 13px;
	font-weight: 800;
}

.sparkleacc-account-metrics strong {
	grid-row: 1 / span 2;
	grid-column: 2;
	font-size: 32px;
	font-weight: 900;
	line-height: 1;
}

.sparkleacc-account-metrics small {
	color: var(--sa-account-muted);
	font-size: 11px;
	font-weight: 650;
}

.sparkleacc-account-latest {
	display: grid;
	gap: 20px;
	padding: 22px;
	background: var(--sa-account-cream);
	border: var(--sa-account-line);
	border-radius: 16px;
}

.sparkleacc-account-latest header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.sparkleacc-account-latest header span:first-child {
	color: var(--sa-account-muted);
	font-size: 11px;
	font-weight: 750;
}

.sparkleacc-account-latest h2 {
	margin: 3px 0 0 !important;
	color: var(--sa-account-ink) !important;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
	font-size: 22px !important;
	font-weight: 900 !important;
}

.sparkleacc-account-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 11px;
	background: var(--sa-account-paper);
	border: var(--sa-account-line);
	border-radius: 9px;
	font-size: 12px;
	font-weight: 850;
}

.sparkleacc-account-status i {
	width: 8px;
	height: 8px;
	background: var(--sa-account-orange);
	border-radius: 50%;
}

.sparkleacc-account-status.is-delivered i { background: var(--sa-account-teal); }
.sparkleacc-account-status.is-stopped i { background: var(--sa-account-coral); }

.sparkleacc-account-latest__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.sparkleacc-account-latest__facts p {
	display: grid;
	gap: 5px;
	margin: 0 !important;
	padding: 13px;
	background: var(--sa-account-paper);
	border: 1px solid rgb(17 24 32 / 18%);
	border-radius: 10px;
}

.sparkleacc-account-latest__facts small {
	color: var(--sa-account-muted);
	font-size: 11px;
	font-weight: 650;
}

.sparkleacc-account-latest__facts strong {
	font-size: 13px;
	font-weight: 850;
}

.sparkleacc-account-latest > .button {
	justify-self: start;
}

.sparkleacc-account-empty {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 24px;
	background: var(--sa-account-cream);
	border: 2px dashed var(--sa-account-ink);
	border-radius: 16px;
}

.sparkleacc-account-empty > span {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	background: var(--sa-account-orange);
	border: var(--sa-account-line);
	border-radius: 14px;
	font-size: 25px;
}

.sparkleacc-account-empty h2 {
	margin: 0 0 4px !important;
	color: var(--sa-account-ink) !important;
	font-size: 21px !important;
	font-weight: 900 !important;
}

.sparkleacc-account-empty p {
	margin: 0 !important;
	color: var(--sa-account-muted);
	font-size: 13px;
	line-height: 1.8;
}

.sparkleacc-account-shortcuts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sparkleacc-account-shortcuts > a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 17px;
	color: var(--sa-account-ink) !important;
	background: var(--sa-account-paper);
	border: var(--sa-account-line);
	border-radius: 13px;
	text-decoration: none !important;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.sparkleacc-account-shortcuts > a:hover,
.sparkleacc-account-shortcuts > a:focus-visible {
	transform: translateY(-2px);
	box-shadow: 4px 5px 0 var(--sa-account-teal);
}

.sparkleacc-account-shortcuts > a > span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: var(--sa-account-paper);
	background: var(--sa-account-ink);
	border-radius: 10px;
	font-weight: 900;
}

.sparkleacc-account-shortcuts strong,
.sparkleacc-account-shortcuts small {
	display: block;
}

.sparkleacc-account-shortcuts strong {
	font-size: 14px;
	font-weight: 900;
}

.sparkleacc-account-shortcuts small {
	margin-top: 3px;
	color: var(--sa-account-muted);
	font-size: 11px;
	font-weight: 600;
}

/* Orders, addresses and account forms ------------------------------ */

body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-orders-table {
	width: 100% !important;
	margin: 0 0 22px !important;
	overflow: hidden;
	background: var(--sa-account-paper) !important;
	border: var(--sa-account-line) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 14px !important;
	font-size: 13px !important;
}

body.woocommerce-account table.shop_table thead th {
	padding: 13px 12px !important;
	color: var(--sa-account-paper) !important;
	background: var(--sa-account-ink) !important;
	border: 0 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	text-align: right !important;
}

body.woocommerce-account table.shop_table tbody td {
	padding: 15px 12px !important;
	color: var(--sa-account-ink) !important;
	background: var(--sa-account-paper) !important;
	border: 0 !important;
	border-bottom: 1px solid rgb(17 24 32 / 12%) !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1.8;
	text-align: right !important;
	vertical-align: middle !important;
}

body.woocommerce-account table.shop_table tbody tr:last-child td {
	border-bottom: 0 !important;
}

body.woocommerce-account table.shop_table td a:not(.button) {
	color: var(--sa-account-blue) !important;
	font-weight: 850;
}

body.woocommerce-account :where(.button, button.button, input.button) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 9px 15px !important;
	color: var(--sa-account-paper) !important;
	background: var(--sa-account-ink) !important;
	border: 2px solid var(--sa-account-ink) !important;
	border-radius: 10px !important;
	box-shadow: 3px 4px 0 var(--sa-account-orange) !important;
	font-size: 13px !important;
	font-weight: 850 !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	transition: transform 130ms ease, box-shadow 130ms ease !important;
}

body.woocommerce-account :where(.button, button.button, input.button):hover,
body.woocommerce-account :where(.button, button.button, input.button):focus-visible {
	color: var(--sa-account-paper) !important;
	background: #222d39 !important;
	transform: translate(2px, 2px);
	box-shadow: 1px 2px 0 var(--sa-account-orange) !important;
}

body.woocommerce-account form .form-row {
	margin: 0 0 16px !important;
	padding: 0 !important;
}

body.woocommerce-account form .form-row label {
	display: block;
	margin: 0 0 7px;
	color: var(--sa-account-ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.6;
}

body.woocommerce-account :where(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea) {
	width: 100% !important;
	min-height: 48px;
	padding: 11px 13px !important;
	color: var(--sa-account-ink) !important;
	background: #fff !important;
	border: var(--sa-account-line) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 550;
	line-height: 1.6 !important;
	transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
}

body.woocommerce-account :where(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea):focus {
	outline: 0 !important;
	border-color: var(--sa-account-ink) !important;
	box-shadow: 4px 4px 0 var(--sa-account-teal) !important;
	transform: translate(-1px, -1px);
}

body.woocommerce-account fieldset {
	margin: 24px 0 !important;
	padding: 20px !important;
	background: var(--sa-account-cream);
	border: var(--sa-account-line) !important;
	border-radius: 14px;
}

body.woocommerce-account fieldset legend {
	padding: 0 8px;
	color: var(--sa-account-ink);
	font-size: 15px;
	font-weight: 900;
}

body.woocommerce-account .woocommerce-Address {
	float: none !important;
	width: 100% !important;
	margin: 0 0 18px;
	padding: 20px;
	background: var(--sa-account-cream);
	border: var(--sa-account-line);
	border-radius: 14px;
}

body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

body.woocommerce-account .woocommerce-Address-title::before,
body.woocommerce-account .woocommerce-Address-title::after {
	display: none !important;
}

body.woocommerce-account .woocommerce-Address address {
	color: var(--sa-account-muted);
	font-size: 14px;
	font-style: normal;
	font-weight: 550;
	line-height: 2;
}

body.woocommerce-account .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

/* Notices ----------------------------------------------------------- */

body.woocommerce-account :where(.woocommerce-message, .woocommerce-error, .woocommerce-info) {
	margin: 0 0 22px !important;
	padding: 15px 18px !important;
	color: var(--sa-account-ink) !important;
	background: var(--sa-account-paper) !important;
	border: var(--sa-account-line) !important;
	border-top: var(--sa-account-line) !important;
	border-radius: 12px !important;
	box-shadow: 5px 5px 0 var(--sa-account-teal);
	font-size: 13px !important;
	font-weight: 650;
	line-height: 1.8;
}

body.woocommerce-account .woocommerce-error {
	box-shadow-color: var(--sa-account-coral);
}

/* Guest login and registration ------------------------------------- */

body.sparkleacc-account-guest .woocommerce {
	display: block;
	direction: rtl;
}

.sparkleacc-account-welcome {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 34px;
	min-height: 210px;
	margin: 0 0 30px;
	padding: clamp(28px, 5vw, 48px);
	overflow: hidden;
	color: var(--sa-account-paper);
	background:
		radial-gradient(circle at 8% 18%, rgb(73 185 177 / 28%) 0 70px, transparent 72px),
		linear-gradient(118deg, transparent 0 72%, rgb(240 91 67 / 17%) 72% 100%),
		var(--sa-account-ink);
	border: 3px solid var(--sa-account-ink);
	border-radius: 24px;
	box-shadow: 8px 9px 0 var(--sa-account-orange);
}

.sparkleacc-account-welcome::after {
	content: "✦";
	position: absolute;
	inset-block-start: 20px;
	inset-inline-start: 22px;
	z-index: -1;
	color: var(--sa-account-orange);
	font-size: 24px;
}

.sparkleacc-account-welcome__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sa-account-orange);
	font-size: 12px;
	font-weight: 850;
}

.sparkleacc-account-welcome__kicker i {
	width: 23px;
	height: 4px;
	background: currentColor;
	border-radius: 99px;
}

.sparkleacc-account-welcome h1 {
	margin: 8px 0 9px !important;
	color: var(--sa-account-paper) !important;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
	font-size: clamp(34px, 4.5vw, 52px) !important;
	font-weight: 900 !important;
	line-height: 1.28 !important;
	letter-spacing: -1px;
}

.sparkleacc-account-welcome p {
	max-width: 700px;
	margin: 0 !important;
	color: rgb(255 253 247 / 73%);
	font-size: 15px;
	font-weight: 550;
	line-height: 1.95;
}

.sparkleacc-account-welcome ul {
	display: grid;
	gap: 10px;
	min-width: 255px;
	margin: 0 !important;
	padding: 17px !important;
	background: rgb(255 253 247 / 8%);
	border: 1px solid rgb(255 253 247 / 18%);
	border-radius: 14px;
	list-style: none !important;
}

.sparkleacc-account-welcome li {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: var(--sa-account-paper);
	font-size: 12px;
	font-weight: 700;
}

.sparkleacc-account-welcome li b {
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
	color: var(--sa-account-ink);
	background: var(--sa-account-teal);
	border-radius: 6px;
	font-size: 11px;
}

body.sparkleacc-account-guest .woocommerce .u-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
}

body.sparkleacc-account-guest .woocommerce .u-columns::before,
body.sparkleacc-account-guest .woocommerce .u-columns::after {
	display: none !important;
}

body.sparkleacc-account-guest .woocommerce .u-column1,
body.sparkleacc-account-guest .woocommerce .u-column2 {
	float: none !important;
	width: 100% !important;
	padding: clamp(22px, 3.5vw, 34px);
	background: var(--sa-account-paper);
	border: 3px solid var(--sa-account-ink);
	border-radius: 20px;
	box-shadow: 7px 8px 0 var(--sa-account-teal);
}

body.sparkleacc-account-guest .woocommerce .u-column2 {
	box-shadow-color: var(--sa-account-orange);
}

body.sparkleacc-account-guest .woocommerce .u-column1 > h2,
body.sparkleacc-account-guest .woocommerce .u-column2 > h2,
body.sparkleacc-account-guest .woocommerce > h2 {
	margin: 0 0 18px !important;
	color: var(--sa-account-ink) !important;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
	font-size: clamp(25px, 3vw, 34px) !important;
	font-weight: 900 !important;
	line-height: 1.4 !important;
}

body.woocommerce-account form.login,
body.woocommerce-account form.register,
body.woocommerce-account form.lost_reset_password {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
}

.sparkleacc-account-form-note {
	margin: -6px 0 18px !important;
	padding: 11px 13px;
	color: var(--sa-account-muted);
	background: var(--sa-account-cream);
	border-right: 4px solid var(--sa-account-orange);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.8;
}

body.woocommerce-account .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	margin: 8px 0 14px !important;
	font-size: 12px !important;
}

body.woocommerce-account input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--sa-account-orange);
}

body.woocommerce-account .woocommerce-LostPassword {
	margin: 16px 0 0 !important;
}

body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .woocommerce-privacy-policy-text a {
	color: var(--sa-account-blue) !important;
	font-size: 12px;
	font-weight: 800;
	text-underline-offset: 4px;
}

body.woocommerce-account .woocommerce-privacy-policy-text {
	color: var(--sa-account-muted);
	font-size: 11px;
	line-height: 1.85;
}

/* Order details ----------------------------------------------------- */

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
	margin: 28px 0 0;
}

body.woocommerce-account .woocommerce-customer-details address {
	padding: 18px !important;
	color: var(--sa-account-muted);
	background: var(--sa-account-cream);
	border: var(--sa-account-line) !important;
	border-radius: 13px !important;
	font-size: 13px;
	font-style: normal;
	font-weight: 550;
	line-height: 2;
}

@media (max-width: 980px) {
	body.sparkleacc-account-authenticated .woocommerce {
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 22px;
	}

	.sparkleacc-account-hero,
	.sparkleacc-account-welcome {
		grid-template-columns: 1fr;
	}

	.sparkleacc-account-hero > a {
		justify-self: start;
	}

	.sparkleacc-account-welcome ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		min-width: 0;
	}

	.sparkleacc-account-latest__facts {
		grid-template-columns: 1fr 1fr;
	}

	.sparkleacc-account-latest__facts p:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	body.woocommerce-account :where(.site-main, main#main, main#content) {
		padding: 26px 15px 80px !important;
	}

	body.sparkleacc-account-authenticated .woocommerce {
		display: block;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		position: relative;
		top: auto;
		margin: 0 0 20px;
		padding: 10px;
		box-shadow: 5px 6px 0 var(--sa-account-teal);
	}

	.sparkleacc-account-mobile-actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0 0 14px;
		padding: 11px 13px;
		color: var(--sa-account-paper);
		background: var(--sa-account-ink);
		border: 2px solid var(--sa-account-ink);
		border-radius: 12px;
		box-shadow: 4px 4px 0 var(--sa-account-coral);
		font-size: 12px;
		font-weight: 750;
	}

	.sparkleacc-account-mobile-actions a {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		min-height: 38px;
		padding: 7px 11px;
		color: var(--sa-account-ink) !important;
		background: var(--sa-account-orange);
		border: 2px solid var(--sa-account-paper);
		border-radius: 9px;
		font-size: 12px;
		font-weight: 900;
		text-decoration: none !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation::before {
		display: none;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 7px;
		overflow-x: auto;
		padding-bottom: 3px !important;
		scrollbar-width: thin;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
		display: none;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation a {
		min-height: 42px;
		padding: 8px 11px;
		white-space: nowrap;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 17px;
		border-radius: 17px;
		box-shadow: 5px 6px 0 var(--sa-account-orange);
	}

	.sparkleacc-account-hero,
	.sparkleacc-account-welcome {
		min-height: 0;
		padding: 24px 20px;
		border-radius: 18px;
	}

	.sparkleacc-account-welcome {
		margin-bottom: 22px;
		box-shadow: 6px 7px 0 var(--sa-account-orange);
	}

	.sparkleacc-account-welcome ul {
		grid-template-columns: 1fr;
	}

	body.sparkleacc-account-guest .woocommerce .u-columns {
		grid-template-columns: 1fr;
	}

	body.sparkleacc-account-guest .woocommerce .u-column1,
	body.sparkleacc-account-guest .woocommerce .u-column2 {
		padding: 21px 17px;
		border-radius: 16px;
		box-shadow: 5px 6px 0 var(--sa-account-teal);
	}

	body.sparkleacc-account-guest .woocommerce .u-column2 {
		box-shadow-color: var(--sa-account-orange);
	}

	.sparkleacc-account-metrics {
		grid-template-columns: 1fr;
	}

	.sparkleacc-account-metrics article {
		min-height: 96px;
	}

	.sparkleacc-account-latest header,
	.sparkleacc-account-empty {
		align-items: flex-start;
		grid-template-columns: 1fr;
	}

	.sparkleacc-account-latest header {
		flex-direction: column;
	}

	.sparkleacc-account-latest__facts,
	.sparkleacc-account-shortcuts {
		grid-template-columns: 1fr;
	}

	.sparkleacc-account-latest__facts p:last-child {
		grid-column: auto;
	}

	.sparkleacc-account-empty > a {
		justify-self: start;
	}

	body.woocommerce-account table.shop_table_responsive thead {
		display: none;
	}

	body.woocommerce-account table.shop_table_responsive tbody,
	body.woocommerce-account table.shop_table_responsive tr,
	body.woocommerce-account table.shop_table_responsive td {
		display: block !important;
		width: 100% !important;
	}

	body.woocommerce-account table.shop_table_responsive tr {
		padding: 9px 0;
		border-bottom: var(--sa-account-line);
	}

	body.woocommerce-account table.shop_table_responsive tr:last-child {
		border-bottom: 0;
	}

	body.woocommerce-account table.shop_table_responsive tbody td {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 9px 13px !important;
		border-bottom: 0 !important;
		text-align: left !important;
	}

	body.woocommerce-account table.shop_table_responsive tbody td::before {
		content: attr(data-title);
		color: var(--sa-account-muted);
		font-size: 11px;
		font-weight: 750;
		text-align: right;
	}

	body.woocommerce-account table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 420px) {
	.sparkleacc-account-hero h1,
	.sparkleacc-account-welcome h1 {
		font-size: 29px !important;
	}

	.sparkleacc-account-shortcuts > a {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.sparkleacc-account-shortcuts > a > b {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-account *,
	body.woocommerce-account *::before,
	body.woocommerce-account *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
