:root {
	--neuro-ai-ink: #111;
	--neuro-ai-ink-2: #5a5a5a;
	--neuro-ai-ink-3: #9a9a9a;
	--neuro-ai-bg: #fff;
	--neuro-ai-bg-2: #fafaf8;
	--neuro-ai-accent: #2563d4;
	--neuro-ai-accent-dark: #1746a2;
	--neuro-ai-red: #c0392b;
	--neuro-ai-green: #0f7c4a;
	--neuro-ai-border: #ebe8e2;
	--neuro-ai-border-2: #d9d4cb;
	--neuro-ai-radius: 10px;
	--neuro-ai-radius-lg: 14px;
}

/* =========================================================
   Container — this is the actual wrapper WooCommerce renders
   into on this site (no custom template markup is present)
   ========================================================= */

.entry-content .woocommerce,
.entry-content .woocommerce-account,
.woocommerce-account,
.neuro-ai-account-page .woocommerce {
	box-sizing: border-box;
}

.entry-content .woocommerce,
.entry-content .woocommerce *,
.woocommerce-account,
.woocommerce-account * {
	box-sizing: border-box;
}

.entry-content {
	width: 100%;
	overflow-x: hidden;
}

.entry-content > .woocommerce,
.woocommerce-account .woocommerce,
.neuro-ai-account-shell .woocommerce {
	width: 100%;
	max-width: 1420px;
	margin: 0 auto;
	padding: 28px clamp(16px, 2.6vw, 32px) 64px;
}

.neuro-ai-account-shell {
	width: 100%;
	max-width: 1420px;
	margin: 0 auto;
	padding: 0 clamp(16px, 2.6vw, 32px);
}

.neuro-ai-account-shell > .woocommerce {
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.neuro-ai-account-page {
	min-height: 100vh;
	padding-top: clamp(88px, 9vw, 116px);
	background:
		linear-gradient(180deg, rgba(246, 244, 239, 0.72), rgba(255, 255, 255, 0) 360px),
		#fff;
}

.neuro-ai-account-header {
	width: 100%;
	padding: 34px clamp(16px, 2.6vw, 32px) 4px;
}

.neuro-ai-account-header__inner {
	width: min(100%, 1420px);
	margin: 0 auto;
}

.neuro-ai-account-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--wp--preset--color--accent, #f14f44);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.neuro-ai-account-header h1 {
	margin: 0;
	color: var(--neuro-ai-ink);
	font-family:
		var(--wp--preset--font-family--sora),
		Sora,
		Arial,
		Helvetica,
		sans-serif;
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.04;
}

.neuro-ai-account-intro {
	max-width: 640px;
	margin: 16px 0 0;
	color: var(--neuro-ai-ink-2);
	font-size: 17px;
	line-height: 1.65;
}

/* =========================================================
   Logged-in account dashboard
   (nav + content are direct siblings inside .woocommerce)
   ========================================================= */

.neuro-account-layout {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: clamp(20px, 2.6vw, 34px);
	align-items: start;
	width: 100%;
}

@media (max-width: 900px) {

	.neuro-account-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.woocommerce-MyAccount-navigation {
	float: none !important;
	width: 100%;
	min-width: 0;
	border-top: 0 !important;
}

.woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation-link {
	width: 100%;
	padding: 0 !important;
	border-bottom: 0 !important;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li::before {
	display: none !important;
	content: none !important;
}

.woocommerce-MyAccount-navigation-link a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: var(--neuro-ai-radius-lg);
	color: var(--neuro-ai-ink-2);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background 0.15s ease,
		color 0.15s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink);
}

.woocommerce-MyAccount-navigation-link.is-active a {
	background: var(--neuro-ai-ink);
	color: #fff;
}

.neuro-nav-icon {
	flex: none;
	width: 18px;
	height: 18px;
	stroke-width: 2px;
	opacity: 0.8;
}

.woocommerce-MyAccount-navigation-link.is-active .neuro-nav-icon {
	opacity: 1;
}

.woocommerce-MyAccount-content {
	float: none !important;
	width: 100%;
	min-width: 0;
}

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-MyAccount-content > p {
	color: var(--neuro-ai-ink-2);
	font-size: 15px;
	line-height: 1.75;
	margin: 0 0 16px;
}

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

.woocommerce-MyAccount-content > p:empty {
	display: none !important;
}

.woocommerce-MyAccount-content a {
	color: var(--neuro-ai-accent);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-MyAccount-content a:hover {
	color: var(--neuro-ai-accent-dark);
	text-decoration: underline;
}

.woocommerce-MyAccount-content h2 {
	margin: 0 0 18px;
	color: var(--neuro-ai-ink);
	font-family:
		var(--wp--preset--font-family--sora),
		Sora,
		Arial,
		Helvetica,
		sans-serif;
	font-weight: 600;
	font-size: 26px;
	letter-spacing: -0.02em;
}

/* ---------- Block notice banners (Orders / Downloads empty states) ---------- */

.wc-block-components-notice-banner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius);
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink-2);
	font-size: 14px;
	line-height: 1.6;
}

.wc-block-components-notice-banner.is-info {
	border-color: rgba(37, 99, 212, 0.18);
	background: #eef3fc;
}

.wc-block-components-notice-banner.is-success {
	border-color: rgba(15, 124, 74, 0.2);
	background: #edf7f2;
	color: var(--neuro-ai-green);
}

.wc-block-components-notice-banner.is-error {
	border-color: rgba(192, 57, 43, 0.2);
	background: #fdf2f1;
	color: var(--neuro-ai-red);
}

.wc-block-components-notice-banner svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	fill: currentcolor;
	opacity: 0.7;
}

.wc-block-components-notice-banner__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.wc-block-components-notice-banner__content .button {
	margin-left: auto;
}

/* legacy text notices, just in case */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	width: 100%;
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius);
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink-2);
	font-size: 14px;
	line-height: 1.55;
	list-style-position: inside;
}

.woocommerce-message {
	border-color: rgba(15, 124, 74, 0.2);
	background: #edf7f2;
	color: var(--neuro-ai-green);
}

.woocommerce-error {
	border-color: rgba(192, 57, 43, 0.2);
	background: #fdf2f1;
	color: var(--neuro-ai-red);
}

/* ---------- Tables ---------- */

.woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 24px;
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--neuro-ai-border);
	color: var(--neuro-ai-ink-2);
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	vertical-align: middle;
}

.woocommerce table.shop_table th {
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.woocommerce table.shop_table tr:last-child td {
	border-bottom: 0;
}

.woocommerce table.shop_table .button,
.woocommerce table.shop_table a.button,
.woocommerce-orders-table .woocommerce-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 112px;
	min-height: 38px;
	padding: 0 18px;
	line-height: 1 !important;
	text-align: center;
	vertical-align: middle;
}

/* ---------- Buttons ---------- */

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.entry-content .wc-forward,
.entry-content .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	background: var(--neuro-ai-ink);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.entry-content .wc-forward:hover,
.entry-content .wp-element-button:hover {
	background: var(--neuro-ai-accent);
	color: #fff;
	text-decoration: none;
}

/* ---------- Addresses ---------- */

.woocommerce-Addresses.u-columns,
.u-columns.col2-set.addresses,
.neuro-account-addresses {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.woocommerce-Addresses.u-columns::before,
.woocommerce-Addresses.u-columns::after,
.u-columns.col2-set.addresses::before,
.u-columns.col2-set.addresses::after {
	display: none !important;
	content: none !important;
}

.woocommerce-Address.u-column1,
.woocommerce-Address.u-column2,
.woocommerce-Address.col-1,
.woocommerce-Address.col-2,
.neuro-account-address-card,
.u-columns.col2-set.addresses .u-column1,
.u-columns.col2-set.addresses .u-column2,
.u-columns.col2-set.addresses .col-1,
.u-columns.col2-set.addresses .col-2 {
	float: none !important;
	clear: none !important;
	grid-column: auto !important;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 24px;
	background: var(--neuro-ai-bg-2);
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius-lg);
}

.woocommerce-Address-title.title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 12px;
}

.woocommerce-Address-title h2 {
	margin: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
}

.woocommerce-Address-title a.edit {
	font-size: 13px;
	font-weight: 600;
	color: var(--neuro-ai-accent);
	text-decoration: none;
	white-space: nowrap;
}

.woocommerce-Address-title a.edit:hover {
	color: var(--neuro-ai-accent-dark);
	text-decoration: underline;
}

.woocommerce-Address address {
	color: var(--neuro-ai-ink-2);
	font-style: normal;
	font-size: 14px;
	line-height: 1.7;
}

/* =========================================================
   Shared form-row styling
   (used by edit-account, login, register, lost password)
   ========================================================= */

.woocommerce form .form-row {
	width: 100%;
	margin: 0 0 16px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
	width: calc(50% - 10px);
	float: left;
}

.woocommerce form .form-row-first {
	margin-right: 20px;
}

.woocommerce form .form-row-wide {
	width: 100%;
	clear: both;
}

.woocommerce form .clear {
	clear: both;
}

.woocommerce form label {
	display: block;
	margin-bottom: 6px;
	color: var(--neuro-ai-ink);
	font-size: 13px;
	font-weight: 600;
}

.woocommerce form .required {
	color: var(--neuro-ai-red);
	text-decoration: none;
}

.woocommerce form .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.woocommerce form .input-text {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--neuro-ai-border-2);
	border-radius: var(--neuro-ai-radius);
	color: var(--neuro-ai-ink);
	font-size: 15px;
	outline: none;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.woocommerce form .input-text:focus {
	border-color: var(--neuro-ai-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 212, 0.12);
}

#account_display_name_description {
	display: block;
	margin-top: 6px;
	color: var(--neuro-ai-ink-3);
	font-size: 13px;
	line-height: 1.5;
}

#account_display_name_description em {
	font-style: normal;
}

/* Password show/hide */
.password-input {
	position: relative;
	display: block;
	width: 100%;
}

.password-input .input-text {
	width: 100%;
	padding-right: 46px;
}

.woocommerce-account form .password-input input.input-text[type="password"],
.woocommerce-account form .password-input input.input-text[type="text"] {
	padding-right: 46px;
	padding-left: 16px;
}

.password-input .show-password-input {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--neuro-ai-ink-3);
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
	text-indent: -999px;
	z-index: 2;
}

.neuro-password-field {
	position: relative;
	display: block;
	width: 100%;
}

.neuro-password-field br {
	display: none;
}

.neuro-password-field .input-text {
	padding-right: 48px;
}

.neuro-auth-card .password-input .show-password-input,
.neuro-auth-card .show-password-input {
	display: none !important;
}

.neuro-password-toggle {
	position: absolute;
	top: 50%;
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--neuro-ai-ink-3);
	cursor: pointer;
	transform: translateY(-50%);
	z-index: 2;
}

.neuro-password-toggle::before {
	width: 18px;
	height: 18px;
	background: currentcolor;
	content: "";
	-webkit-mask:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.neuro-password-toggle.is-visible::after {
	position: absolute;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentcolor;
	content: "";
	transform: rotate(-42deg);
}

.neuro-password-toggle:hover,
.neuro-password-toggle:focus-visible {
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink);
	outline: none;
}

.password-input .show-password-input:hover {
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink);
}

.password-input .show-password-input::before {
	width: 18px;
	height: 18px;
	background: currentcolor;
	content: "";
	-webkit-mask:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")
		center / contain no-repeat;
	mask:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")
		center / contain no-repeat;
	text-indent: 0;
}

.password-input .show-password-input.display-password::after {
	position: absolute;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentcolor;
	content: "";
	transform: rotate(-42deg);
	text-indent: 0;
}

.neuro-auth-card .password-input .show-password-input::after,
.neuro-auth-card .password-input .show-password-input.display-password::after {
	content: none !important;
}

/* Fieldset (password change on edit-account) */
.woocommerce form fieldset {
	width: 100%;
	margin: 24px 0 16px;
	padding: 24px;
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius-lg);
	background: var(--neuro-ai-bg-2);
}

.woocommerce form fieldset::after {
	display: block;
	clear: both;
	content: "";
}

.woocommerce form legend {
	float: left;
	display: block;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	color: var(--neuro-ai-ink);
	font-family:
		var(--wp--preset--font-family--sora),
		Sora,
		Arial,
		Helvetica,
		sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

/* Remember me checkbox row (login) */
.woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	color: var(--neuro-ai-ink-2);
	font-size: 14px;
	font-weight: 400;
}

.woocommerce form p.form-row:has(.woocommerce-form-login__rememberme) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.woocommerce-LostPassword {
	margin: 14px 0 0;
	font-size: 14px;
}

.woocommerce-privacy-policy-text p {
	margin: 0 0 16px;
	color: var(--neuro-ai-ink-3);
	font-size: 13px;
	line-height: 1.6;
}

/* =========================================================
   Login / Register (.u-columns.col2-set#customer_login)
   ========================================================= */

.entry-content .u-columns.col2-set,
.woocommerce-account .u-columns.col2-set,
.woocommerce .u-columns.col2-set {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.u-columns.col2-set .u-column1,
.u-columns.col2-set .u-column2 {
	width: 100%;
	padding: clamp(24px, 4vw, 32px);
	background: var(--neuro-ai-bg-2);
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius-lg);
}

.u-columns.col2-set h2 {
	margin: 0 0 20px;
	color: var(--neuro-ai-ink);
	font-family:
		var(--wp--preset--font-family--sora),
		Sora,
		Arial,
		Helvetica,
		sans-serif;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

/* =========================================================
   Lost password (no column wrapper — just a bare form)
   ========================================================= */

.entry-content > .woocommerce > form.woocommerce-ResetPassword {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 32px);
	background: var(--neuro-ai-bg-2);
	border: 1px solid var(--neuro-ai-border);
	border-radius: var(--neuro-ai-radius-lg);
}

.woocommerce-ResetPassword > p:first-child {
	color: var(--neuro-ai-ink-2);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 20px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {

	.entry-content > .woocommerce:has(> .woocommerce-MyAccount-navigation),
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.woocommerce-MyAccount-navigation {
		margin-bottom: 24px;
		padding-bottom: 18px;
		border-bottom: 1px solid var(--neuro-ai-border);
	}

	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.woocommerce-MyAccount-navigation-link {
		width: auto;
	}

	.woocommerce-MyAccount-navigation-link a {
		width: auto;
		padding: 8px 14px;
		background: var(--neuro-ai-bg-2);
	}

	.woocommerce-MyAccount-navigation-link.is-active a {
		background: var(--neuro-ai-ink);
	}

	.entry-content .u-columns.col2-set,
	.woocommerce-account .u-columns.col2-set,
	.woocommerce-Addresses.u-columns,
	.u-columns.col2-set.addresses,
	.neuro-account-addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {

	.entry-content > .woocommerce {
		padding: 28px 16px 60px;
	}

	.woocommerce-MyAccount-navigation ul {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.woocommerce-MyAccount-navigation-link a {
		width: 100%;
		text-align: left;
	}

	.woocommerce table.shop_table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.woocommerce-orders-table__cell-order-actions,
	.woocommerce
	table.shop_table
	td.woocommerce-orders-table__cell-order-actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		white-space: normal;
	}

	.woocommerce-orders-table__cell-order-actions .button,
	.woocommerce-orders-table__cell-order-actions .woocommerce-button {
		width: 100%;
		margin: 0 !important;
	}

	.woocommerce table.shop_table td .button,
	.woocommerce table.shop_table td a.button,
	.woocommerce table.shop_table td .woocommerce-button {
		display: flex !important;
		width: 100%;
		margin: 0 0 10px !important;
	}

	.woocommerce table.shop_table td .button:last-child,
	.woocommerce table.shop_table td a.button:last-child,
	.woocommerce table.shop_table td .woocommerce-button:last-child {
		margin-bottom: 0 !important;
	}

	.woocommerce table.shop_table td .button + .button,
	.woocommerce table.shop_table td a.button + a.button,
	.woocommerce table.shop_table td .woocommerce-button + .woocommerce-button {
		margin-top: 10px !important;
	}

	.wc-block-components-notice-banner__content {
		flex-direction: column;
		align-items: flex-start;
	}

	.wc-block-components-notice-banner__content .button {
		margin-left: 0;
	}

	.woocommerce-Address-title {
		flex-wrap: wrap;
	}

	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last {
		width: 100%;
		float: none;
		margin-right: 0;
	}

	.woocommerce form p.form-row:has(.woocommerce-form-login__rememberme) {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =========================================================
   Neuro AI Custom Dashboard & Auth Styles
   ========================================================= */

/* Auth Pages (Login / Register / Reset Password) */
.neuro-auth-outer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 40px 0;
}

.neuro-auth-card {
	width: 100%;
	max-width: 500px;
	background: #fff;
	border: 1px solid var(--neuro-ai-border);
	border-radius: 24px;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	padding: 40px;
}

.neuro-auth-tabs {
	display: flex;
	border-bottom: 2px solid var(--neuro-ai-border);
	margin-bottom: 30px;
	gap: 20px;
}

.neuro-auth-tab {
	flex: 1;
	background: none;
	border: none;
	padding: 12px 0;
	color: var(--neuro-ai-ink-2);
	font-family: var(--wp--preset--font-family--sora), Sora, Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	position: relative;
	transition: color 0.2s ease;
}

.neuro-auth-tab:hover {
	color: var(--neuro-ai-ink);
}

.neuro-auth-tab.active {
	color: var(--neuro-ai-ink);
}

.neuro-auth-tab.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--neuro-ai-ink);
}

.neuro-auth-pane {
	display: none;
}

.neuro-auth-pane.active {
	display: block;
	animation: neuroFadeIn 0.3s ease-out;
}

.neuro-auth-pane[hidden] {
	display: none !important;
}

@keyframes neuroFadeIn {

	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.neuro-form-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 18px 0 24px;
	font-size: 13px;
}

.neuro-lost-password a {
	color: var(--neuro-ai-accent);
	font-weight: 600;
	text-decoration: none;
}

.neuro-lost-password a:hover {
	color: var(--neuro-ai-accent-dark);
	text-decoration: underline;
}

/* Reset Password Panel Styling */
.neuro-lost-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 12px;
	text-align: center;
}

.neuro-lost-desc {
	color: var(--neuro-ai-ink-2);
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 24px;
	text-align: center;
}

.neuro-lost-back {
	text-align: center;
	margin-top: 24px;
	font-size: 14px;
}

.neuro-lost-back a {
	color: var(--neuro-ai-ink-2);
	font-weight: 600;
	text-decoration: none;
}

.neuro-lost-back a:hover {
	color: var(--neuro-ai-ink);
	text-decoration: underline;
}

.neuro-register-notice {
	font-size: 13px;
	color: var(--neuro-ai-ink-2);
	margin-bottom: 18px;
}

/* Logged-In Dashboard Panels */
.neuro-dashboard-welcome {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--neuro-ai-bg-2);
	border: 1px solid var(--neuro-ai-border);
	border-radius: 16px;
	padding: 18px;
	margin-bottom: 22px;
}

.neuro-welcome-avatar img {
	border-radius: 50%;
	display: block;
}

.neuro-welcome-text h3 {
	font-family: var(--wp--preset--font-family--sora), Sora, Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--neuro-ai-ink);
}

.neuro-welcome-text p {
	margin: 0;
	font-size: 14px;
	color: var(--neuro-ai-ink-2);
}

.neuro-logout-link {
	color: var(--neuro-ai-red) !important;
	font-weight: 600;
	text-decoration: none;
}

.neuro-logout-link:hover {
	text-decoration: underline !important;
}

/* Dashboard Cards Grid */
.neuro-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	align-items: stretch;
}

.neuro-dashboard-grid > p {
	display: contents;
	margin: 0;
	padding: 0;
}

.neuro-dashboard-grid > br,
.neuro-dashboard-grid > p:empty {
	display: none !important;
}

@media (max-width: 640px) {

	.neuro-dashboard-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.neuro-dashboard-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 128px;
	background: #fff;
	border: 1px solid var(--neuro-ai-border);
	border-radius: 16px;
	padding: 18px;
	text-decoration: none !important;
	color: inherit !important;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
	position: relative;
}

.neuro-dashboard-card:hover {
	transform: translateY(-2px);
	border-color: var(--neuro-ai-border-2);
	box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
}

.neuro-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--neuro-ai-bg-2);
	color: var(--neuro-ai-ink);
	flex-shrink: 0;
}

.neuro-dashboard-card:hover .neuro-card-icon {
	background: var(--neuro-ai-ink);
	color: #fff;
}

.neuro-card-meta {
	display: block;
	flex: 1;
	min-width: 0;
}

.neuro-card-title {
	display: block;
	font-family: var(--wp--preset--font-family--sora), Sora, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--neuro-ai-ink);
}

.neuro-card-desc {
	display: block;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--neuro-ai-ink-2);
}

.neuro-card-arrow {
	font-size: 18px;
	color: var(--neuro-ai-ink-3);
	transition: transform 0.2s ease;
	margin-left: 10px;
}

.neuro-dashboard-card:hover .neuro-card-arrow {
	transform: translateX(4px);
	color: var(--neuro-ai-ink);
}

/* Center login/forgot page on screen when logged out */
body:not(.logged-in) .neuro-ai-account-header {
	display: none !important;
}

body:not(.logged-in) .neuro-ai-account-page {
	padding: 0 !important;
}

body:not(.logged-in) .entry-content > .woocommerce,
body:not(.logged-in) .woocommerce-account .woocommerce,
body:not(.logged-in) .neuro-ai-account-shell .woocommerce {
	padding: 0 24px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 18px !important;
	min-height: calc(100vh - 180px) !important;
}

body:not(.logged-in) .woocommerce-notices-wrapper {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	order: 0;
}

body:not(.logged-in) .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 0;
}

body:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-error,
body:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-info,
body:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-message {
	margin: 0;
	padding: 14px 16px;
	text-align: left;
}

body:not(.logged-in) .neuro-auth-outer {
	order: 1;
	padding-top: 0;
}
