/**
 * GC Revamp Core: native WooCommerce and WoodMart My Account presentation.
 *
 * Presentation only. WooCommerce and WoodMart retain ownership of account
 * markup, authentication, customer data, endpoints, forms, and actions.
 */

/* 1. Account-only tokens and shared foundation */
body.gc-my-account-active {
	--gc-account-ink: #18161b;
	--gc-account-soft-black: #232128;
	--gc-account-leaf: #9cc43c;
	--gc-account-leaf-light: #b8ea45;
	--gc-account-ivory: #f8f4ec;
	--gc-account-porcelain: #fffdf8;
	--gc-account-stone: #e8ded3;
	--gc-account-mist: #f1eae1;
	--gc-account-muted: #7b746d;
	--gc-account-body-font: "Hanken Grotesk", Arial, sans-serif;
	--gc-account-heading-font: "EB Garamond", Georgia, serif;
	--gc-account-content-width: 1180px;
	--gc-account-control-radius: 6px;
	--gc-account-panel-radius: 10px;
	--gc-account-focus-clearance: calc(72px + env(safe-area-inset-bottom));
	color: var(--gc-account-soft-black);
	background: var(--gc-account-porcelain);
	font-family: var(--gc-account-body-font);
}

body.gc-my-account-active .main-page-wrapper {
	min-width: 0;
	flex: 1 0 auto;
	color: var(--gc-account-soft-black);
	background: var(--gc-account-porcelain);
}

/*
 * Keep the global footer at the viewport edge for short account states.
 * The native wrapper remains content-driven, so long endpoints grow normally.
 */
body.gc-my-account-active .wd-page-wrapper.website-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.gc-my-account-active .wd-page-wrapper.website-wrapper > .footer-container {
	flex: 0 0 auto;
}

body.gc-my-account-active .site-content,
body.gc-my-account-active .woocommerce,
body.gc-my-account-active .wd-my-account-wrapper,
body.gc-my-account-active .woocommerce-MyAccount-content {
	min-width: 0;
}

body.gc-my-account-active .site-content > article > .woocommerce,
body.gc-my-account-active .site-content > .woocommerce {
	width: min(100%, var(--gc-account-content-width));
	margin-inline: auto;
}

body.gc-my-account-active .woocommerce,
body.gc-my-account-active .woocommerce p,
body.gc-my-account-active .woocommerce li,
body.gc-my-account-active .woocommerce label,
body.gc-my-account-active .woocommerce input,
body.gc-my-account-active .woocommerce select,
body.gc-my-account-active .woocommerce textarea,
body.gc-my-account-active .woocommerce button,
body.gc-my-account-active .woocommerce table {
	font-family: var(--gc-account-body-font);
}

body.gc-my-account-active .woocommerce h1,
body.gc-my-account-active .woocommerce h2,
body.gc-my-account-active .woocommerce h3,
body.gc-my-account-active .woocommerce h4,
body.gc-my-account-active .woocommerce legend {
	color: var(--gc-account-ink);
	font-family: var(--gc-account-heading-font);
	font-weight: 500;
	letter-spacing: -0.018em;
	text-transform: none;
}

body.gc-my-account-active .woocommerce h2 {
	margin: 0 0 18px;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.08;
}

body.gc-my-account-active .woocommerce h3 {
	margin: 0 0 14px;
	font-size: clamp(23px, 2.4vw, 29px);
	line-height: 1.12;
}

body.gc-my-account-active .woocommerce p {
	color: var(--gc-account-soft-black);
	font-size: 15px;
	line-height: 1.68;
}

body.gc-my-account-active .woocommerce a:not(.button):not(.btn) {
	color: var(--gc-account-ink);
	text-decoration-color: rgba(156, 196, 60, 0.72);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.gc-my-account-active .woocommerce a:not(.button):not(.btn):hover {
	color: var(--gc-account-muted);
}

/* 2. Native form controls */
body.gc-my-account-active .woocommerce form .form-row {
	margin: 0 0 17px;
	padding: 0;
}

body.gc-my-account-active .woocommerce form .form-row label {
	display: block;
	margin: 0 0 7px;
	color: var(--gc-account-soft-black);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

body.gc-my-account-active .woocommerce form .required {
	color: #6f842f;
	font-weight: 750;
	text-decoration: none;
}

body.gc-my-account-active .woocommerce input.input-text,
body.gc-my-account-active .woocommerce input[type="text"],
body.gc-my-account-active .woocommerce input[type="email"],
body.gc-my-account-active .woocommerce input[type="tel"],
body.gc-my-account-active .woocommerce input[type="password"],
body.gc-my-account-active .woocommerce select,
body.gc-my-account-active .woocommerce textarea {
	width: 100%;
	max-width: none;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid var(--gc-account-stone);
	border-radius: var(--gc-account-control-radius);
	color: var(--gc-account-ink);
	background: var(--gc-account-porcelain);
	box-shadow: none;
	font-size: 16px;
	line-height: 1.45;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.gc-my-account-active .woocommerce textarea {
	min-height: 118px;
	resize: vertical;
}

body.gc-my-account-active .woocommerce input.input-text:hover,
body.gc-my-account-active .woocommerce input[type="text"]:hover,
body.gc-my-account-active .woocommerce input[type="email"]:hover,
body.gc-my-account-active .woocommerce input[type="tel"]:hover,
body.gc-my-account-active .woocommerce input[type="password"]:hover,
body.gc-my-account-active .woocommerce select:hover,
body.gc-my-account-active .woocommerce textarea:hover {
	border-color: #cfc2b4;
}

body.gc-my-account-active .woocommerce .password-input {
	position: relative;
	width: 100%;
	display: block;
}

body.gc-my-account-active .woocommerce .password-input input {
	padding-inline-end: 48px;
}

body.gc-my-account-active .woocommerce button.show-password-input {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 30px;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--gc-account-muted);
	background: transparent;
	box-shadow: none;
	transform: translateY(-50%);
}

body.gc-my-account-active .woocommerce .select2-container {
	width: 100% !important;
	max-width: none;
}

body.gc-my-account-active .woocommerce .select2-container .select2-selection--single {
	height: 48px;
	border: 1px solid var(--gc-account-stone);
	border-radius: var(--gc-account-control-radius);
	color: var(--gc-account-ink);
	background: var(--gc-account-porcelain);
	box-shadow: none;
}

body.gc-my-account-active .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 42px 0 13px;
	color: var(--gc-account-ink);
	font-size: 16px;
	line-height: 46px;
}

body.gc-my-account-active .woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	width: 38px;
	height: 46px;
}

body.gc-my-account-active .woocommerce input:focus-visible,
body.gc-my-account-active .woocommerce select:focus-visible,
body.gc-my-account-active .woocommerce textarea:focus-visible,
body.gc-my-account-active .woocommerce button:focus-visible,
body.gc-my-account-active .woocommerce a:focus-visible,
body.gc-my-account-active .woocommerce .select2-selection--single:focus-visible {
	outline: 2px solid var(--gc-account-leaf);
	outline-offset: 3px;
}

body.gc-my-account-active .woocommerce input.input-text:focus,
body.gc-my-account-active .woocommerce input[type="text"]:focus,
body.gc-my-account-active .woocommerce input[type="email"]:focus,
body.gc-my-account-active .woocommerce input[type="tel"]:focus,
body.gc-my-account-active .woocommerce input[type="password"]:focus,
body.gc-my-account-active .woocommerce select:focus,
body.gc-my-account-active .woocommerce textarea:focus,
body.gc-my-account-active .woocommerce .select2-container--focus .select2-selection--single,
body.gc-my-account-active .woocommerce .select2-container--open .select2-selection--single {
	border-color: var(--gc-account-leaf);
	box-shadow: 0 0 0 3px rgba(156, 196, 60, 0.14);
	outline: 0;
}

body.gc-my-account-active .woocommerce .button,
body.gc-my-account-active .woocommerce .btn,
body.gc-my-account-active .woocommerce button.button,
body.gc-my-account-active .woocommerce input.button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 11px 19px;
	border: 1px solid var(--gc-account-ink);
	border-radius: var(--gc-account-control-radius);
	color: var(--gc-account-porcelain);
	background: var(--gc-account-ink);
	background-image: none;
	box-shadow: none;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.055em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.gc-my-account-active .woocommerce .button:hover,
body.gc-my-account-active .woocommerce .btn:hover,
body.gc-my-account-active .woocommerce button.button:hover,
body.gc-my-account-active .woocommerce input.button:hover {
	border-color: var(--gc-account-leaf);
	color: var(--gc-account-ink);
	background: var(--gc-account-leaf-light);
}

/* 3. Live WoodMart Login and Registration columns */
body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page.wd-register-tabs {
	width: min(100%, 1100px);
	margin: 0 auto;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login.wd-grid-f-col {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
	align-items: stretch;
	gap: clamp(24px, 3vw, 34px);
	margin: 0;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login.wd-grid-f-col::before,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login.wd-grid-f-col::after {
	content: none;
	display: none;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col.col-login,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col.col-register {
	width: auto;
	max-width: none;
	grid-column: 1;
	grid-row: 1;
	float: none;
	margin: 0;
	padding: clamp(30px, 2.6vw, 36px);
	border: 1px solid var(--gc-account-stone);
	border-radius: var(--gc-account-panel-radius);
	background: var(--gc-account-porcelain);
	box-shadow: 0 16px 42px rgba(24, 22, 27, 0.055);
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col.col-register-text {
	width: auto;
	max-width: none;
	grid-column: 2;
	grid-row: 1;
	float: none;
	margin: 0;
	padding: clamp(30px, 2.6vw, 36px);
	border: 1px solid rgba(232, 222, 211, 0.9);
	border-radius: var(--gc-account-panel-radius);
	background: var(--gc-account-ivory);
	box-shadow: none;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col h2 {
	margin-bottom: 9px;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col h2::after {
	content: "";
	width: 38px;
	height: 2px;
	display: block;
	margin-top: 13px;
	background: var(--gc-account-leaf);
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .col-login h2,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .col-register h2 {
	text-align: start;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .col-login h2::after,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .col-register h2::after {
	margin-inline: 0;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .col-register-text h2,
body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page:not(.active-register) .col-register-text .wd-login-title,
body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page.active-register .col-register-text .wd-login-title {
	text-align: start;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .col-register-text h2::after,
body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page:not(.active-register) .col-register-text .wd-login-title::after,
body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page.active-register .col-register-text .wd-login-title::after {
	margin-inline: 0;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login form {
	margin: 0;
	padding: 18px 0 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .login-form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 18px;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-form-login__rememberme input {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	margin: 0;
	accent-color: var(--gc-account-leaf);
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login button[name="login"],
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login button[name="register"] {
	width: 100%;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-LostPassword {
	margin: 14px 0 0;
	font-size: 13px;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-privacy-policy-text,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-privacy-policy-text p {
	color: var(--gc-account-muted);
	font-size: 13px;
	line-height: 1.52;
}

body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page .login-info {
	display: none;
}

body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page.active-register .registration-info {
	display: none;
}

body.gc-my-account-active:not(.logged-in) .woocommerce .wd-registration-page.active-register .login-info {
	display: block;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .login-info,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .registration-info {
	margin: 0;
	color: var(--gc-account-muted);
	font-size: 15px;
	line-height: 1.62;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .wd-login-divider {
	margin: 22px 0 17px;
	color: var(--gc-account-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .wd-login-divider::before,
body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .wd-login-divider::after {
	border-color: var(--gc-account-stone);
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login a.wd-switch-to-register {
	width: 100%;
	min-height: 48px;
	border-color: var(--gc-account-ink);
	color: var(--gc-account-ink);
	background: transparent;
}

body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login a.wd-switch-to-register:hover {
	border-color: var(--gc-account-leaf);
	color: var(--gc-account-ink);
	background: var(--gc-account-leaf-light);
}

/* 4. Live Lost Password and native Reset Password states */
body.gc-my-account-active:not(.logged-in) .woocommerce > form.woocommerce-ResetPassword.lost_reset_password,
body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword,
body.gc-my-account-active:not(.logged-in) .woocommerce form.lost_reset_password {
	width: min(100%, 620px);
	margin: 0 auto;
	padding: clamp(25px, 4vw, 40px);
	border: 1px solid var(--gc-account-stone);
	border-radius: var(--gc-account-panel-radius);
	background: var(--gc-account-porcelain);
	box-shadow: 0 16px 42px rgba(24, 22, 27, 0.055);
}

body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword > p:first-child,
body.gc-my-account-active:not(.logged-in) .woocommerce form.lost_reset_password > p:first-child {
	margin-top: 0;
	color: var(--gc-account-muted);
}

body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword .form-row,
body.gc-my-account-active:not(.logged-in) .woocommerce form.lost_reset_password .form-row {
	width: 100%;
	float: none;
}

body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword .button,
body.gc-my-account-active:not(.logged-in) .woocommerce form.lost_reset_password .button {
	width: 100%;
}

/* 5. Confirmed WoodMart logged-in layout */
body.gc-my-account-active.logged-in .wd-my-account-wrapper.wd-grid-g {
	width: 100%;
	max-width: none;
	display: grid;
	grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(26px, 4vw, 52px);
	margin: 0;
}

body.gc-my-account-active.logged-in .wd-my-account-wrapper > .wd-my-account-sidebar.wd-grid-col {
	width: auto;
	max-width: none;
	min-width: 0;
	grid-column: 1;
	float: none;
	margin: 0;
	padding: 18px;
	border: 1px solid rgba(232, 222, 211, 0.9);
	border-radius: var(--gc-account-panel-radius);
	background: var(--gc-account-ivory);
	box-shadow: none;
}

body.gc-my-account-active.logged-in .wd-my-account-wrapper > .woocommerce-MyAccount-content.wd-grid-col {
	width: auto;
	max-width: none;
	min-width: 0;
	grid-column: 2;
	float: none;
	margin: 0;
	padding: clamp(24px, 3.5vw, 40px);
	border: 1px solid rgba(232, 222, 211, 0.92);
	border-radius: var(--gc-account-panel-radius);
	background: var(--gc-account-porcelain);
	box-shadow: none;
}

body.gc-my-account-active.logged-in .wd-my-account-sidebar > h3,
body.gc-my-account-active.logged-in .wd-my-account-sidebar .wd-heading {
	margin: 0 0 15px;
	color: var(--gc-account-ink);
	font-family: var(--gc-account-heading-font);
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li + li {
	margin-top: 3px;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li a {
	min-height: 43px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-inline-start: 3px solid transparent;
	border-radius: 4px;
	color: var(--gc-account-soft-black);
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li a:hover {
	color: var(--gc-account-ink);
	background: rgba(255, 253, 248, 0.74);
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li.is-active a,
body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li a[aria-current="page"] {
	border-color: rgba(232, 222, 211, 0.82);
	border-inline-start-color: var(--gc-account-leaf);
	color: var(--gc-account-ink);
	background: var(--gc-account-porcelain);
	font-weight: 750;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 15px;
	padding-top: 14px;
	border-top: 1px solid var(--gc-account-stone);
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: #675f59;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

body.gc-my-account-active.logged-in .woocommerce-MyAccount-content > p:first-child {
	font-size: 15px;
}

/* 6. Existing WoodMart dashboard links */
body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc > li {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	list-style: none;
}

body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc > li > a {
	min-height: 118px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	border: 1px solid var(--gc-account-stone);
	border-radius: 8px;
	color: var(--gc-account-ink);
	background: var(--gc-account-ivory);
	box-shadow: none;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease;
}

body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc > li > a:hover {
	border-color: #cfc2b4;
	color: var(--gc-account-ink);
	background: var(--gc-account-porcelain);
}

body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc > li > a::before {
	color: var(--gc-account-muted);
	font-size: 28px;
	transition: color 160ms ease;
}

body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc > li > a:hover::before {
	color: var(--gc-account-leaf);
}

/* 7. Native notices */
body.gc-my-account-active .woocommerce-notices-wrapper {
	width: 100%;
	min-width: 0;
}

body.gc-my-account-active .woocommerce-error,
body.gc-my-account-active .woocommerce-info,
body.gc-my-account-active .woocommerce-message {
	width: 100%;
	min-height: 52px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 22px;
	padding: 14px 17px;
	border: 1px solid var(--gc-account-stone);
	border-inline-start: 4px solid var(--gc-account-muted);
	border-radius: 6px;
	color: var(--gc-account-soft-black);
	background: var(--gc-account-ivory);
	box-shadow: none;
	font-size: 13px;
	line-height: 1.55;
	list-style-position: inside;
}

body.gc-my-account-active .woocommerce-error {
	border-inline-start-color: #a26161;
	background: #fff9f6;
}

body.gc-my-account-active .woocommerce-message {
	border-inline-start-color: var(--gc-account-leaf);
}

body.gc-my-account-active .woocommerce-info {
	border-inline-start-color: #948a80;
}

body.gc-my-account-active .woocommerce-error::before,
body.gc-my-account-active .woocommerce-info::before,
body.gc-my-account-active .woocommerce-message::before {
	color: var(--gc-account-muted);
}

body.gc-my-account-active .woocommerce-error li {
	width: 100%;
	margin: 2px 0;
	padding: 0;
}

body.gc-my-account-active .woocommerce-error .button,
body.gc-my-account-active .woocommerce-info .button,
body.gc-my-account-active .woocommerce-message .button {
	margin-inline-start: auto;
}

/* 8. Confirmed native Orders table and action controls */
body.gc-my-account-active .woocommerce table.shop_table,
body.gc-my-account-active .woocommerce table.woocommerce-orders-table,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details {
	width: 100%;
	margin: 20px 0 0;
	border: 1px solid var(--gc-account-stone);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	background: var(--gc-account-porcelain);
	box-shadow: none;
	table-layout: auto;
	overflow: hidden;
}

body.gc-my-account-active .woocommerce table.shop_table thead,
body.gc-my-account-active .woocommerce table.woocommerce-orders-table thead,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details thead {
	background: var(--gc-account-ivory);
}

body.gc-my-account-active .woocommerce table.shop_table th,
body.gc-my-account-active .woocommerce table.woocommerce-orders-table th,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details th {
	padding: 13px 14px;
	border: 0;
	border-bottom: 1px solid var(--gc-account-stone);
	color: var(--gc-account-muted);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.35;
	letter-spacing: 0.055em;
	text-align: start;
	text-transform: uppercase;
	vertical-align: middle;
}

body.gc-my-account-active .woocommerce table.shop_table td,
body.gc-my-account-active .woocommerce table.woocommerce-orders-table td,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details td {
	max-width: none;
	padding: 15px 14px;
	border: 0;
	border-bottom: 1px solid rgba(232, 222, 211, 0.82);
	color: var(--gc-account-soft-black);
	font-size: 13px;
	line-height: 1.5;
	text-align: start;
	vertical-align: middle;
}

body.gc-my-account-active .woocommerce table.shop_table tbody tr:last-child td,
body.gc-my-account-active .woocommerce table.woocommerce-orders-table tbody tr:last-child td,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tbody tr:last-child td {
	border-bottom: 0;
}

body.gc-my-account-active .woocommerce .woocommerce-orders-table__cell-order-number {
	min-width: 94px;
	font-weight: 750;
}

body.gc-my-account-active .woocommerce .woocommerce-orders-table__cell-order-number a {
	white-space: nowrap;
}

body.gc-my-account-active .woocommerce .woocommerce-orders-table__cell-order-actions {
	min-width: 112px;
}

body.gc-my-account-active .woocommerce .woocommerce-orders-table__cell-order-actions .button,
body.gc-my-account-active .woocommerce .order-actions .button {
	min-height: 36px;
	margin: 3px 5px 3px 0;
	padding: 8px 11px;
	font-size: 10px;
}

/* 9. Individual order details and customer addresses */
body.gc-my-account-active .woocommerce .woocommerce-order-details,
body.gc-my-account-active .woocommerce .woocommerce-customer-details {
	margin: 30px 0 0;
}

body.gc-my-account-active .woocommerce .woocommerce-order-details__title,
body.gc-my-account-active .woocommerce .woocommerce-column__title {
	margin-bottom: 14px;
}

body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tfoot th,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tfoot td {
	padding: 12px 14px;
	border: 0;
	border-top: 1px solid rgba(232, 222, 211, 0.82);
	background: var(--gc-account-ivory);
	font-size: 13px;
}

body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tfoot tr:last-child th,
body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tfoot tr:last-child td {
	border-top: 2px solid var(--gc-account-stone);
	color: var(--gc-account-ink);
	font-size: 15px;
	font-weight: 750;
}

body.gc-my-account-active .woocommerce .woocommerce-customer-details .woocommerce-columns,
body.gc-my-account-active .woocommerce .woocommerce-customer-details .col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
}

body.gc-my-account-active .woocommerce .woocommerce-customer-details .woocommerce-column {
	width: auto;
	float: none;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--gc-account-stone);
	border-radius: 8px;
	background: var(--gc-account-ivory);
}

body.gc-my-account-active .woocommerce .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--gc-account-soft-black);
	background: transparent;
	font-size: 13px;
	font-style: normal;
	line-height: 1.75;
}

/* 10. Confirmed Address cards and native forms */
body.gc-my-account-active .woocommerce .u-columns.woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 24px 0 0;
}

body.gc-my-account-active .woocommerce .woocommerce-Address {
	width: auto;
	float: none;
	margin: 0;
	padding: 21px;
	border: 1px solid var(--gc-account-stone);
	border-radius: 8px;
	background: var(--gc-account-ivory);
}

body.gc-my-account-active .woocommerce .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

body.gc-my-account-active .woocommerce .woocommerce-Address-title h3 {
	margin: 0;
}

body.gc-my-account-active .woocommerce .woocommerce-Address-title .edit {
	float: none;
	font-size: 12px;
	font-weight: 700;
}

body.gc-my-account-active .woocommerce .woocommerce-Address address {
	margin: 0;
	color: var(--gc-account-soft-black);
	font-size: 13px;
	font-style: normal;
	line-height: 1.72;
}

body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper,
body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
}

body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper .form-row,
body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm .form-row {
	width: 100%;
	float: none;
	grid-column: 1 / -1;
}

body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper .form-row-first,
body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm .form-row-first {
	grid-column: 1;
}

body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper .form-row-last,
body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm .form-row-last {
	grid-column: 2;
}

body.gc-my-account-active .woocommerce .woocommerce-address-fields > p:last-child,
body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm > p:last-child {
	margin: 6px 0 0;
}

/* 11. Confirmed Account Details and native password fieldset */
body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm fieldset {
	min-width: 0;
	grid-column: 1 / -1;
	margin: 10px 0 22px;
	padding: 24px;
	border: 1px solid var(--gc-account-stone);
	border-radius: 8px;
	background: var(--gc-account-ivory);
}

body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm fieldset legend {
	width: auto;
	margin: 0;
	padding: 0 9px;
	font-size: 24px;
	line-height: 1.15;
}

body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm fieldset .form-row:last-child {
	margin-bottom: 0;
}

body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm em {
	display: block;
	margin-top: 6px;
	color: var(--gc-account-muted);
	font-size: 12px;
	line-height: 1.5;
}

/* 12. Native payment methods, downloads, and endpoint actions */
body.gc-my-account-active .woocommerce .woocommerce-PaymentMethods {
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

body.gc-my-account-active .woocommerce .woocommerce-PaymentMethod {
	margin: 0 0 12px;
	padding: 16px;
	border: 1px solid var(--gc-account-stone);
	border-radius: 8px;
	background: var(--gc-account-ivory);
}

body.gc-my-account-active .woocommerce .woocommerce-MyAccount-downloads-file {
	white-space: normal;
}

body.gc-my-account-active .woocommerce .woocommerce-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
}

/* 13. Standalone WoodMart Wishlist presentation */
body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content {
	width: 100%;
	min-width: 0;
	margin: 0;
	color: var(--gc-account-soft-black);
	font-family: var(--gc-account-body-font);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content > .wd-wishlist-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 22px;
	margin: 0 0 22px;
	padding: 0 0 17px;
	border-bottom: 1px solid var(--gc-account-stone);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-head > .title,
body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-head .title,
body.gc-my-account-active.gc-wishlist-active .wd-empty-block-title {
	margin: 0;
	color: var(--gc-account-ink);
	font-family: var(--gc-account-heading-font);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.018em;
	text-transform: none;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-head > .title {
	font-size: clamp(28px, 3vw, 36px);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-head .title {
	font-size: clamp(22px, 2.3vw, 28px);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-create-group-btn {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 17px;
	border: 1px solid var(--gc-account-ink);
	border-radius: var(--gc-account-control-radius);
	color: var(--gc-account-porcelain);
	background: var(--gc-account-ink);
	background-image: none;
	box-shadow: none;
	font-family: var(--gc-account-body-font);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: 0.045em;
	text-decoration: none;
	text-transform: uppercase;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-create-group-btn:hover {
	border-color: var(--gc-account-leaf);
	color: var(--gc-account-ink);
	background: var(--gc-account-leaf-light);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group {
	min-width: 0;
	margin: 0 0 24px;
	padding: clamp(16px, 2.2vw, 22px);
	border: 1px solid var(--gc-account-stone);
	border-radius: var(--gc-account-panel-radius);
	background: var(--gc-account-porcelain);
	box-shadow: 0 10px 28px rgba(24, 22, 27, 0.035);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group:last-child {
	margin-bottom: 0;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-head {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 15px;
	padding: 0 0 14px;
	border-bottom: 1px solid rgba(232, 222, 211, 0.88);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-title {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-action,
body.gc-my-account-active.gc-wishlist-active .wd-wishlist-title-edit {
	font-family: var(--gc-account-body-font);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-input-rename {
	min-height: 42px;
	border: 1px solid var(--gc-account-stone);
	border-radius: var(--gc-account-control-radius);
	background: var(--gc-account-porcelain);
	font-family: var(--gc-account-body-font);
}

body.gc-my-account-active.gc-wishlist-active .wd-social-icons.social-share {
	min-width: 0;
	margin: 0;
	color: var(--gc-account-muted);
	font-family: var(--gc-account-body-font);
	font-size: 13px;
	text-align: start;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-bulk-action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 15px;
	margin: 0 0 17px;
	padding: 0 0 14px;
	border-bottom: 1px solid rgba(232, 222, 211, 0.74);
	font-family: var(--gc-account-body-font);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-bulk-action .wd-action-btn > a,
body.gc-my-account-active.gc-wishlist-active .wd-wishlist-product-remove > a {
	color: var(--gc-account-soft-black);
	font-family: var(--gc-account-body-font);
	font-size: 12px;
	font-weight: 650;
	text-decoration-color: var(--gc-account-leaf);
	text-underline-offset: 3px;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-products-element,
body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .products.wd-products {
	width: 100%;
	min-width: 0;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .products.wd-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(15px, 2vw, 21px);
	margin: 0;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product.product-grid-item {
	min-width: 0;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(232, 222, 211, 0.96);
	border-radius: 8px;
	background: var(--gc-account-porcelain);
	box-shadow: none;
	overflow: visible;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-wishlist-product-actions {
	min-height: 32px;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	margin: 0 0 8px;
	opacity: 1 !important;
	visibility: visible !important;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-wishlist-product-remove,
body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-wishlist-product-checkbox {
	position: static;
	display: block;
	margin: 0;
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-wishlist-checkbox {
	width: 18px;
	height: 18px;
	display: block;
	margin: 0;
	accent-color: var(--gc-account-leaf);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-wrapper.product-wrapper {
	min-width: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-thumb {
	min-width: 0;
	display: flex;
	flex-direction: column;
	margin: 0 0 13px;
	background: transparent;
	overflow: visible;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-img-link {
	width: 100%;
	min-width: 0;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 6px;
	background: var(--gc-account-ivory);
	overflow: hidden;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-img-link img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	display: block;
	margin: 0 auto;
	object-fit: contain;
	filter: none;
	mix-blend-mode: normal !important;
	opacity: 1 !important;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-thumb .wd-add-btn {
	position: static !important;
	inset: auto !important;
	width: 100%;
	display: block !important;
	margin: 9px 0 0;
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .add-to-cart-loop {
	position: static;
	width: 100%;
	min-height: 42px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 11px;
	border: 1px solid var(--gc-account-ink);
	border-radius: var(--gc-account-control-radius);
	color: var(--gc-account-porcelain);
	background: var(--gc-account-ink);
	background-image: none;
	box-shadow: none;
	font-family: var(--gc-account-body-font);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: 0.035em;
	text-align: center;
	text-transform: uppercase;
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .add-to-cart-loop:hover {
	border-color: var(--gc-account-leaf);
	color: var(--gc-account-ink);
	background: var(--gc-account-leaf-light);
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .add-to-cart-loop .wd-action-text {
	display: inline !important;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-entities-title {
	margin: 0 0 7px;
	color: var(--gc-account-ink);
	font-family: var(--gc-account-body-font);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: anywhere;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-entities-title a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .price {
	display: block;
	margin: auto 0 0;
	color: var(--gc-account-soft-black);
	font-family: var(--gc-account-body-font);
	font-size: 15px;
	font-weight: 750;
	line-height: 1.35;
}

body.gc-my-account-active.gc-wishlist-active .wd-empty-block.wd-empty-wishlist {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: clamp(27px, 5vw, 52px) 20px;
	border: 1px dashed var(--gc-account-stone);
	border-radius: 8px;
	background: var(--gc-account-ivory);
	text-align: center;
}

body.gc-my-account-active.gc-wishlist-active .wd-empty-block-title {
	font-size: clamp(25px, 3vw, 32px);
}

body.gc-my-account-active.gc-wishlist-active .wd-empty-block-text {
	max-width: 520px;
	margin: 10px auto 0;
	color: var(--gc-account-muted);
	font-family: var(--gc-account-body-font);
	font-size: 14px;
	line-height: 1.62;
}

/* 14. Tablet */
@media (max-width: 1024px) {
	body.gc-my-account-active.logged-in .wd-my-account-wrapper.wd-grid-g {
		grid-template-columns: minmax(200px, 224px) minmax(0, 1fr);
		gap: 24px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-wrapper > .woocommerce-MyAccount-content.wd-grid-col {
		padding: 25px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.gc-my-account-active .woocommerce table.shop_table th,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table th,
	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details th,
	body.gc-my-account-active .woocommerce table.shop_table td,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table td,
	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details td {
		padding-inline: 11px;
	}
}

/* 15. Mobile layout, scrollable native navigation, and toolbar clearance */
@media (max-width: 768px) {
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login.wd-grid-f-col {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col.col-login,
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col.col-register {
		grid-column: 1;
		grid-row: 1;
		padding: 22px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col.col-register-text {
		grid-column: 1;
		grid-row: 2;
		padding: 22px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col h2 {
		margin-bottom: 7px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login > .wd-col h2::after {
		margin-top: 9px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login form {
		padding-top: 12px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce form .form-row {
		margin-bottom: 13px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .wd-login-divider {
		margin: 7px 0 12px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .login-info,
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .registration-info {
		font-size: 14px;
		line-height: 1.52;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-privacy-policy-text,
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .woocommerce-privacy-policy-text p {
		font-size: 13px;
		line-height: 1.48;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login .login-form-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	body.gc-my-account-active.logged-in .wd-my-account-wrapper.wd-grid-g {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-wrapper > .wd-my-account-sidebar.wd-grid-col,
	body.gc-my-account-active.logged-in .wd-my-account-wrapper > .woocommerce-MyAccount-content.wd-grid-col {
		width: 100%;
		min-width: 0;
		grid-column: 1;
	}

	body.gc-my-account-active.logged-in .wd-my-account-wrapper > .wd-my-account-sidebar.wd-grid-col {
		padding: 8px 0;
		border-inline: 0;
		border-radius: 0;
		background: transparent;
	}

	body.gc-my-account-active.logged-in .wd-my-account-sidebar > h3,
	body.gc-my-account-active.logged-in .wd-my-account-sidebar .wd-heading {
		margin: 0 0 10px;
		padding-inline: 3px;
		font-size: 22px;
	}

	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation ul {
		width: 100%;
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: stretch;
		gap: 5px;
		margin: 0;
		padding: 2px 3px 8px;
		overflow: visible;
		overscroll-behavior-inline: contain;
		scrollbar-width: thin;
		scroll-snap-type: inline proximity;
		-webkit-overflow-scrolling: touch;
	}

	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li,
	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li + li {
		flex: 0 0 auto;
		margin: 0;
		padding: 0;
		border: 0;
		scroll-snap-align: start;
	}

	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li a {
		min-height: 44px;
		width: auto;
		padding: 10px 13px;
		border: 1px solid var(--gc-account-stone);
		border-bottom: 3px solid transparent;
		border-radius: 6px 6px 3px 3px;
		background: var(--gc-account-ivory);
		white-space: nowrap;
	}

	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li.is-active a,
	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li a[aria-current="page"] {
		border-color: var(--gc-account-stone);
		border-bottom-color: var(--gc-account-leaf);
		background: var(--gc-account-porcelain);
		box-shadow: inset 0 -1px 0 var(--gc-account-leaf);
	}

	body.gc-my-account-active.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0;
		padding: 0;
		border: 0;
	}

	body.gc-my-account-active.logged-in .wd-my-account-wrapper > .woocommerce-MyAccount-content.wd-grid-col {
		padding: 22px 17px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc > li > a {
		min-height: 104px;
		padding: 15px;
	}

	body.gc-my-account-active .woocommerce .u-columns.woocommerce-Addresses,
	body.gc-my-account-active .woocommerce .woocommerce-customer-details .woocommerce-columns,
	body.gc-my-account-active .woocommerce .woocommerce-customer-details .col2-set {
		grid-template-columns: minmax(0, 1fr);
	}

	body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper,
	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm {
		grid-template-columns: minmax(0, 1fr);
	}

	body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper .form-row,
	body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper .form-row-first,
	body.gc-my-account-active .woocommerce .woocommerce-address-fields__field-wrapper .form-row-last,
	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm .form-row,
	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm .form-row-first,
	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm .form-row-last {
		width: 100%;
		float: none;
		grid-column: 1;
	}

	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm fieldset {
		grid-column: 1;
		margin: 12px 0 22px;
		padding: 21px 0 0;
		border: 0;
		border-top: 1px solid var(--gc-account-stone);
		border-radius: 0;
		background: transparent;
	}

	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm fieldset legend {
		padding: 0 8px 0 0;
	}

	body.gc-my-account-active .woocommerce .woocommerce-address-fields > p:last-child .button,
	body.gc-my-account-active .woocommerce form.woocommerce-EditAccountForm > p:last-child .button {
		width: 100%;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table {
		display: block;
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow: visible;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table thead,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table thead {
		display: none;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table tbody,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table tbody {
		display: grid;
		gap: 13px;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table tr,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table tr {
		width: 100%;
		display: block;
		margin: 0;
		padding: 7px 15px;
		border: 1px solid var(--gc-account-stone);
		border-radius: 8px;
		background: var(--gc-account-ivory);
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table td,
	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table th.woocommerce-orders-table__cell,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table td,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table th.woocommerce-orders-table__cell {
		position: static !important;
		inset: auto !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: auto !important;
		min-height: 42px;
		display: grid !important;
		grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
		align-items: baseline;
		gap: 13px;
		margin: 0;
		padding: 10px 0 !important;
		border: 0;
		border-bottom: 1px solid rgba(232, 222, 211, 0.82);
		clip: auto !important;
		clip-path: none !important;
		opacity: 1 !important;
		overflow: visible !important;
		visibility: visible !important;
		text-align: start !important;
		white-space: normal !important;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table td::before,
	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table th.woocommerce-orders-table__cell::before,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table td::before,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table th.woocommerce-orders-table__cell::before {
		position: static;
		width: auto;
		display: block;
		float: none;
		color: var(--gc-account-muted);
		font-size: 10px;
		font-weight: 750;
		line-height: 1.35;
		letter-spacing: 0.05em;
		text-align: start;
		text-transform: uppercase;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table tr > :last-child,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table tr > :last-child {
		border-bottom: 0;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table .woocommerce-orders-table__cell-order-number,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
		position: static !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: auto !important;
		min-height: 42px !important;
		display: grid !important;
		opacity: 1 !important;
		overflow: visible !important;
		visibility: visible !important;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		gap: 7px;
	}

	body.gc-my-account-active .woocommerce table.shop_table_responsive.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before,
	body.gc-my-account-active .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before {
		flex: 0 0 88px;
	}

	body.gc-my-account-active .woocommerce .woocommerce-orders-table__cell-order-actions .button,
	body.gc-my-account-active .woocommerce .order-actions .button {
		flex: 0 0 auto;
		margin: 0;
	}

	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details {
		display: table;
		font-size: 12px;
		table-layout: fixed;
	}

	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details th,
	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details td,
	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tfoot th,
	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details tfoot td {
		padding: 11px 9px;
		overflow-wrap: anywhere;
	}

	body.gc-my-account-active .woocommerce-error,
	body.gc-my-account-active .woocommerce-info,
	body.gc-my-account-active .woocommerce-message {
		align-items: flex-start;
		padding: 13px 14px;
	}

	body.gc-my-account-active .woocommerce-error .button,
	body.gc-my-account-active .woocommerce-info .button,
	body.gc-my-account-active .woocommerce-message .button {
		width: 100%;
		margin: 5px 0 0;
	}

	body.gc-my-account-active.gc-wishlist-active.logged-in .wd-my-account-wrapper > .woocommerce-MyAccount-content.wd-grid-col {
		padding: 14px 6px 22px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content > .wd-wishlist-head {
		align-items: flex-start;
		margin-bottom: 15px;
		padding: 0 2px 13px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-head > .title {
		font-size: 28px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-create-group-btn {
		min-height: 42px;
		padding-inline: 14px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group {
		margin-bottom: 16px;
		padding: 8px;
		border-radius: 8px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-head {
		align-items: flex-start;
		gap: 9px 14px;
		margin-bottom: 11px;
		padding: 3px 2px 11px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-title {
		flex-wrap: wrap;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-group-head .title {
		font-size: 23px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-social-icons.social-share {
		width: 100%;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-bulk-action {
		gap: 7px 12px;
		margin-bottom: 12px;
		padding: 0 2px 10px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .products.wd-products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product.product-grid-item {
		padding: 6px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-wishlist-product-actions {
		min-height: 30px;
		margin-bottom: 5px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-img-link {
		padding: 6px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-thumb {
		margin-bottom: 10px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .add-to-cart-loop {
		min-height: 42px;
		padding-inline: 7px;
		font-size: 10px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-entities-title,
	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .price {
		font-size: 13px;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-empty-block.wd-empty-wishlist {
		min-height: 190px;
		padding: 28px 14px;
	}

	/*
	 * The fixed toolbar is handled on the affected account surfaces only.
	 * Body and footer clearance remain owned by the existing footer module.
	 */
	body.gc-my-account-active.sticky-toolbar-on:not(.logged-in) .wd-registration-page,
	body.gc-my-account-active.sticky-toolbar-on:not(.logged-in) .woocommerce > form.woocommerce-ResetPassword,
	body.gc-my-account-active.sticky-toolbar-on:not(.logged-in) .woocommerce > form.lost_reset_password,
	body.gc-my-account-active.sticky-toolbar-on.logged-in:not(.gc-wishlist-active) .woocommerce-MyAccount-content,
	body.gc-my-account-active.gc-wishlist-active.sticky-toolbar-on .wd-wishlist-content {
		padding-bottom: var(--gc-account-focus-clearance);
	}

	body.gc-my-account-active .woocommerce-MyAccount-content a[href],
	body.gc-my-account-active .woocommerce-MyAccount-content button,
	body.gc-my-account-active .woocommerce-MyAccount-content input:not([type="hidden"]),
	body.gc-my-account-active .woocommerce-MyAccount-content select,
	body.gc-my-account-active .woocommerce-MyAccount-content textarea,
	body.gc-my-account-active .woocommerce-MyAccount-content .select2-selection--single,
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login a[href],
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login button,
	body.gc-my-account-active:not(.logged-in) .woocommerce #customer_login input:not([type="hidden"]),
	body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword button,
	body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword input:not([type="hidden"]),
	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-create-group-btn,
	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-product-remove,
	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-checkbox,
	body.gc-my-account-active.gc-wishlist-active .add-to-cart-loop {
		scroll-margin-block-end: var(--gc-account-focus-clearance);
		scroll-margin-bottom: var(--gc-account-focus-clearance);
	}
}

/* 16. Small mobile */
@media (max-width: 480px) {
	body.gc-my-account-active .woocommerce h2 {
		font-size: 28px;
	}

	body.gc-my-account-active .woocommerce h3 {
		font-size: 23px;
	}

	body.gc-my-account-active:not(.logged-in) .woocommerce > form.woocommerce-ResetPassword.lost_reset_password,
	body.gc-my-account-active:not(.logged-in) .woocommerce form.woocommerce-ResetPassword,
	body.gc-my-account-active:not(.logged-in) .woocommerce form.lost_reset_password {
		padding: 23px 17px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-wrapper > .woocommerce-MyAccount-content.wd-grid-col {
		padding-inline: 14px;
	}

	body.gc-my-account-active.logged-in .wd-my-account-links.wd-nav-my-acc {
		grid-template-columns: minmax(0, 1fr);
	}

	body.gc-my-account-active .woocommerce .woocommerce-Address,
	body.gc-my-account-active .woocommerce .woocommerce-customer-details .woocommerce-column {
		padding: 17px;
	}

	body.gc-my-account-active .woocommerce table.woocommerce-table--order-details {
		font-size: 11px;
	}
}

/* 17. Narrow Wishlist fallback */
@media (max-width: 374px) {
	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .products.wd-products {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product.product-grid-item {
		width: min(100%, 300px);
		justify-self: center;
	}

	body.gc-my-account-active.gc-wishlist-active .wd-wishlist-content .wd-product-img-link {
		min-height: 238px;
	}
}

/* 18. Reduced motion */
@media (prefers-reduced-motion: reduce) {
	body.gc-my-account-active .woocommerce *,
	body.gc-my-account-active .woocommerce *::before,
	body.gc-my-account-active .woocommerce *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
