.websync-my-account-wrapper {
	--websync-account-nav-width: 24%;
	--websync-account-layout-gap: 32px;
	--websync-account-tabs-gap: 4px;
	--websync-account-form-gap: 18px;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	color: #1f2937;
	font-size: 15px;
	line-height: 1.65;
}

.websync-my-account-wrapper *,
.websync-my-account-wrapper *::before,
.websync-my-account-wrapper *::after {
	box-sizing: border-box;
}

.websync-my-account-vertical > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, var(--websync-account-nav-width)) minmax(0, 1fr);
	gap: var(--websync-account-layout-gap);
	align-items: start;
}

.websync-my-account-horizontal > .woocommerce,
.websync-my-account-hide-navigation > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--websync-account-layout-gap);
	align-items: start;
}

.websync-my-account-vertical.websync-my-account-position-left > .woocommerce {
	grid-template-columns: minmax(0, var(--websync-account-nav-width)) minmax(0, 1fr);
}

.websync-my-account-vertical.websync-my-account-position-right > .woocommerce {
	grid-template-columns: minmax(0, 1fr) minmax(0, var(--websync-account-nav-width));
}

.websync-my-account-vertical.websync-my-account-position-left .woocommerce-MyAccount-navigation {
	grid-column: 1;
	grid-row: 1;
}

.websync-my-account-vertical.websync-my-account-position-left .woocommerce-MyAccount-content {
	grid-column: 2;
	grid-row: 1;
}

.websync-my-account-vertical.websync-my-account-position-right .woocommerce-MyAccount-navigation {
	grid-column: 2;
	grid-row: 1;
}

.websync-my-account-vertical.websync-my-account-position-right .woocommerce-MyAccount-content {
	grid-column: 1;
	grid-row: 1;
}

.websync-my-account-horizontal .woocommerce-MyAccount-navigation,
.websync-my-account-horizontal .woocommerce-MyAccount-content,
.websync-my-account-hide-navigation .woocommerce-MyAccount-content {
	grid-column: 1;
}

.websync-my-account-wrapper .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	margin: 0;
	align-self: start;
}

.websync-my-account-hide-navigation .woocommerce-MyAccount-navigation {
	display: none !important;
}

.websync-my-account-wrapper .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: var(--websync-account-tabs-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.websync-my-account-horizontal .woocommerce-MyAccount-navigation ul {
	flex-flow: row wrap;
}

.websync-my-account-wrapper .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}

.websync-my-account-horizontal .woocommerce-MyAccount-navigation li {
	flex: 1 1 auto;
}

.websync-my-account-wrapper .woocommerce-MyAccount-navigation li > :is(a, span) {
	display: block;
	width: 100%;
	padding: 13px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 7px;
	background: #fff;
	color: #374151;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.websync-my-account-wrapper .woocommerce-MyAccount-navigation li > :is(a, span):hover,
.websync-my-account-wrapper .woocommerce-MyAccount-navigation li > :is(a, span):focus-visible {
	border-color: #c7d2fe;
	background: #eef2ff;
	color: #4338ca;
	outline: none;
}

.websync-my-account-wrapper .woocommerce-MyAccount-navigation li.is-active > :is(a, span) {
	border-color: #4f46e5;
	background: #4f46e5;
	color: #fff;
}

.websync-my-account-align-left .woocommerce-MyAccount-navigation li > :is(a, span) {
	text-align: left;
}

.websync-my-account-align-center .woocommerce-MyAccount-navigation li > :is(a, span) {
	text-align: center;
}

.websync-my-account-align-right .woocommerce-MyAccount-navigation li > :is(a, span) {
	text-align: right;
}

.websync-my-account-wrapper .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	background: #fff;
}

.websync-my-account-wrapper .woocommerce-MyAccount-content > :first-child,
.websync-my-account-wrapper form > :first-child,
.websync-my-account-wrapper .websync-my-account-dashboard-template > :first-child {
	margin-top: 0;
}

.websync-my-account-wrapper .woocommerce-MyAccount-content > :last-child,
.websync-my-account-wrapper form > :last-child,
.websync-my-account-wrapper .websync-my-account-dashboard-template > :last-child {
	margin-bottom: 0;
}

.websync-my-account-wrapper p {
	margin-top: 0;
	margin-bottom: 1em;
}

.websync-my-account-wrapper a {
	color: #4f46e5;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.websync-my-account-wrapper a:hover,
.websync-my-account-wrapper a:focus-visible {
	color: #3730a3;
}

.websync-my-account-wrapper :is(h1, h2, h3, legend, .woocommerce-order-details__title, .woocommerce-column__title) {
	margin-top: 0;
	margin-bottom: 18px;
	color: #111827;
	font-weight: 700;
	line-height: 1.25;
}

.websync-my-account-wrapper h2,
.websync-my-account-wrapper legend {
	font-size: 24px;
}

.websync-my-account-wrapper fieldset {
	margin: 24px 0;
	padding: 20px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.websync-my-account-wrapper legend {
	width: auto;
	margin: 0;
	padding: 0 8px;
}

.websync-my-account-wrapper form {
	display: flow-root;
}

.websync-my-account-wrapper form .form-row {
	margin: 0 0 var(--websync-account-form-gap);
	padding: 0;
}

.websync-my-account-wrapper form .form-row-first,
.websync-my-account-wrapper form .form-row-last {
	width: calc(50% - (var(--websync-account-form-gap) / 2));
}

.websync-my-account-wrapper form .form-row-first {
	float: left;
}

.websync-my-account-wrapper form .form-row-last {
	float: right;
}

.websync-my-account-wrapper form label {
	display: block;
	margin-bottom: 7px;
	color: #374151;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.websync-my-account-wrapper form label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0;
}

.websync-my-account-wrapper .required {
	color: #dc2626;
}

.websync-my-account-wrapper :is(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea, .select2-selection) {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	color: #111827;
	font: inherit;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.websync-my-account-wrapper textarea {
	min-height: 120px;
	resize: vertical;
}

.websync-my-account-wrapper :is(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea):focus,
.websync-my-account-wrapper .select2-container--open .select2-selection {
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.13);
	outline: none;
}

.websync-my-account-wrapper input[type="checkbox"],
.websync-my-account-wrapper input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #4f46e5;
}

.websync-my-account-wrapper .select2-container {
	width: 100% !important;
}

.websync-my-account-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 24px;
}

.websync-my-account-wrapper .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.websync-my-account-wrapper :is(.button, button, input[type="submit"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid #4f46e5;
	border-radius: 6px;
	background: #4f46e5;
	box-shadow: none;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.websync-my-account-wrapper :is(.button, button, input[type="submit"]):hover,
.websync-my-account-wrapper :is(.button, button, input[type="submit"]):focus-visible {
	border-color: #3730a3;
	background: #3730a3;
	color: #fff;
	outline: none;
}

.websync-my-account-wrapper table.shop_table {
	width: 100%;
	margin: 0 0 24px;
	border: 1px solid #e5e7eb;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.websync-my-account-wrapper table.shop_table :is(th, td) {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.websync-my-account-wrapper table.shop_table thead {
	background: #f9fafb;
}

.websync-my-account-wrapper table.shop_table thead th {
	color: #374151;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.websync-my-account-wrapper table.shop_table tr:last-child > :is(th, td) {
	border-bottom: 0;
}

.websync-my-account-wrapper table.shop_table td .button {
	min-height: 34px;
	padding: 6px 12px;
}

.websync-my-account-wrapper .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.websync-my-account-wrapper .woocommerce-pagination .page-numbers li {
	margin: 0;
	border: 0;
}

.websync-my-account-wrapper .woocommerce-pagination :is(a, span).page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 6px 10px;
	border: 1px solid #d1d5db;
	border-radius: 5px;
	text-decoration: none;
}

.websync-my-account-wrapper .woocommerce-pagination span.current {
	border-color: #4f46e5;
	background: #4f46e5;
	color: #fff;
}

.websync-my-account-wrapper .woocommerce-Addresses,
.websync-my-account-wrapper .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.websync-my-account-wrapper .woocommerce-Address,
.websync-my-account-wrapper .woocommerce-column--address {
	float: none;
	width: 100%;
	padding: 20px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
}

.websync-my-account-wrapper .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.websync-my-account-wrapper .woocommerce-Address-title h2 {
	margin-bottom: 14px;
}

.websync-my-account-wrapper address {
	margin: 0;
	font-style: normal;
}

.websync-my-account-wrapper > .woocommerce > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
.websync-my-account-wrapper #customer_login,
.websync-my-account-wrapper .woocommerce-ResetPassword,
.websync-my-account-wrapper > .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.websync-my-account-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	position: relative;
	width: 100%;
	margin: 0 0 24px;
	padding: 16px 20px 16px 48px;
	border: 1px solid #bfdbfe;
	border-top: 3px solid #2563eb;
	border-radius: 7px;
	background: #eff6ff;
	box-shadow: none;
	color: #1e3a8a;
	list-style: none;
}

.websync-my-account-wrapper .woocommerce-error {
	border-color: #fecaca;
	border-top-color: #dc2626;
	background: #fef2f2;
	color: #991b1b;
}

.websync-my-account-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	top: 16px;
	left: 18px;
	color: #2563eb;
}

.websync-my-account-wrapper .woocommerce-error::before {
	color: #dc2626;
}

.websync-my-account-wrapper #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--websync-account-layout-gap);
	width: 100%;
}

.websync-my-account-wrapper #customer_login > :is(.u-column1, .u-column2) {
	float: none;
	width: 100%;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	background: #fff;
}

.websync-my-account-wrapper .woocommerce-ResetPassword {
	width: min(100%, 640px);
	margin-inline: auto;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	background: #fff;
}

.websync-my-account-wrapper.websync-my-account-registration-disabled > .woocommerce,
.websync-my-account-wrapper.websync-my-account-registration-enabled > .woocommerce {
	grid-template-columns: minmax(0, 1fr);
}

.websync-my-account-registration-enabled > .woocommerce > #customer_login {
	grid-column: 1 / -1;
}

.websync-my-account-registration-disabled > .woocommerce > :is(h2, form.login) {
	grid-column: 1 / -1;
	width: min(100%, 640px);
	margin-inline: auto;
}

.websync-my-account-registration-disabled > .woocommerce > h2 {
	margin-bottom: calc(18px - var(--websync-account-layout-gap));
}

.websync-my-account-registration-disabled > .woocommerce > form.login {
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	background: #fff;
}

.websync-my-account-wrapper .woocommerce-password-strength {
	margin-top: 8px;
	padding: 7px 10px;
	border-radius: 4px;
	font-size: 13px;
	text-align: center;
}

.websync-my-account-wrapper .woocommerce-password-strength.bad,
.websync-my-account-wrapper .woocommerce-password-strength.short {
	background: #fee2e2;
	color: #991b1b;
}

.websync-my-account-wrapper .woocommerce-password-strength.good {
	background: #fef3c7;
	color: #92400e;
}

.websync-my-account-wrapper .woocommerce-password-strength.strong {
	background: #dcfce7;
	color: #166534;
}

.websync-my-account-editor-preview .woocommerce-MyAccount-navigation li > span,
.websync-my-account-editor-preview .button,
.websync-my-account-editor-preview .edit {
	cursor: default;
}

.websync-my-account-editor-preview input[readonly] {
	background: #f9fafb;
}

@media (max-width: 767px) {
	.websync-my-account-wrapper > .woocommerce,
	.websync-my-account-vertical.websync-my-account-position-left > .woocommerce,
	.websync-my-account-vertical.websync-my-account-position-right > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.websync-my-account-wrapper .woocommerce-MyAccount-navigation,
	.websync-my-account-wrapper .woocommerce-MyAccount-content,
	.websync-my-account-vertical.websync-my-account-position-left .woocommerce-MyAccount-navigation,
	.websync-my-account-vertical.websync-my-account-position-left .woocommerce-MyAccount-content,
	.websync-my-account-vertical.websync-my-account-position-right .woocommerce-MyAccount-navigation,
	.websync-my-account-vertical.websync-my-account-position-right .woocommerce-MyAccount-content {
		grid-column: 1;
		grid-row: auto;
	}

	.websync-my-account-wrapper .woocommerce-MyAccount-navigation ul {
		flex-flow: row nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: thin;
	}

	.websync-my-account-wrapper .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}

	.websync-my-account-wrapper .woocommerce-MyAccount-content,
	.websync-my-account-wrapper #customer_login > :is(.u-column1, .u-column2),
	.websync-my-account-wrapper .woocommerce-ResetPassword,
	.websync-my-account-registration-disabled > .woocommerce > form.login {
		padding: 20px;
	}

	.websync-my-account-wrapper #customer_login,
	.websync-my-account-wrapper .woocommerce-Addresses,
	.websync-my-account-wrapper .woocommerce-columns--addresses {
		grid-template-columns: minmax(0, 1fr);
	}

	.websync-my-account-wrapper form .form-row-first,
	.websync-my-account-wrapper form .form-row-last {
		float: none;
		width: 100%;
	}

	.websync-my-account-wrapper table.shop_table_responsive thead {
		display: none;
	}

	.websync-my-account-wrapper table.shop_table_responsive tbody tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid #e5e7eb;
	}

	.websync-my-account-wrapper table.shop_table_responsive tbody tr:last-child {
		border-bottom: 0;
	}

	.websync-my-account-wrapper table.shop_table_responsive tbody td {
		display: grid;
		grid-template-columns: minmax(100px, 42%) minmax(0, 1fr);
		gap: 12px;
		padding: 8px 14px;
		border: 0;
		text-align: right;
	}

	.websync-my-account-wrapper table.shop_table_responsive tbody td::before {
		content: attr(data-title);
		font-weight: 700;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.websync-my-account-wrapper *,
	.websync-my-account-wrapper *::before,
	.websync-my-account-wrapper *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
