/* Talking Headsets Dealer Account — scoped Astra/WooCommerce styles. */
body.thdpa-account-active {
	--thdpa-teal: #00736a;
	--thdpa-teal-2: #009184;
	--thdpa-teal-dark: #004f4b;
	--thdpa-teal-deep: #033b39;
	--thdpa-red: #e5252a;
	--thdpa-red-dark: #bd161c;
	--thdpa-ink: #173438;
	--thdpa-muted: #60767b;
	--thdpa-mint: #eef9f7;
	--thdpa-mint-2: #dff3ef;
	--thdpa-blush: #fff2f2;
	--thdpa-line: #d7e7e5;
	--thdpa-separator: #d9dede;
	--thdpa-white: #fff;
	--thdpa-surface: #f7faf9;
	--thdpa-shadow: 0 20px 60px rgba(3, 59, 57, 0.15);
	--thdpa-shadow-soft: 0 10px 32px rgba(3, 59, 57, 0.09);
	--thdpa-radius: 24px;
	overflow-x: hidden;
	color: var(--thdpa-ink);
}

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

body.thdpa-account-active #content,
body.thdpa-account-active .site-content {
	border-bottom: 1px solid var(--thdpa-separator);
	background: var(--thdpa-surface);
}

body.thdpa-account-active #primary,
body.thdpa-account-active .content-area {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.thdpa-account-active #secondary,
body.thdpa-account-active .widget-area {
	display: none !important;
}

body.thdpa-account-active #content > .ast-container,
body.thdpa-account-active .site-content > .ast-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
}

body.thdpa-account-active .site-main > article,
body.thdpa-account-active .site-main > article > .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.thdpa-account-active.thdpa-hide-theme-title .site-main > article > .entry-header,
body.thdpa-account-active.thdpa-hide-theme-title .entry-content + .entry-header {
	display: none !important;
}

body.thdpa-account-active .entry-content > .woocommerce,
body.thdpa-account-active .thdpa-account-root {
	width: min(1180px, calc(100% - 40px));
	max-width: 1180px;
	margin: 0 auto !important;
	padding: 72px 0;
	color: var(--thdpa-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
}

body.thdpa-account-active .thdpa-account-root {
	display: grid;
	grid-template-columns: minmax(238px, 286px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

body.thdpa-account-active .thdpa-account-root > :not(.thdpa-account-hero, .thdpa-account-sidebar, .woocommerce-MyAccount-content) {
	grid-column: 1 / -1;
}

body.thdpa-account-active a,
body.thdpa-account-active a:visited {
	text-decoration: none;
}

body.thdpa-account-active :is(a, button, input, select, textarea):focus-visible {
	outline: 3px solid rgba(229, 37, 42, 0.34) !important;
	outline-offset: 3px;
}

body.thdpa-account-active .thdpa-icon {
	display: block;
	width: 1.1em;
	height: 1.1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Account introduction */
body.thdpa-account-active .thdpa-account-hero {
	position: relative;
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.8fr);
	gap: clamp(28px, 5vw, 70px);
	align-items: center;
	min-height: 300px;
	padding: clamp(34px, 5vw, 64px);
	border-radius: var(--thdpa-radius);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 94% 2%, rgba(0, 145, 132, 0.58), transparent 34%),
		linear-gradient(135deg, var(--thdpa-teal-deep), var(--thdpa-teal-dark));
	box-shadow: var(--thdpa-shadow);
}

body.thdpa-account-active .thdpa-account-hero::before,
body.thdpa-account-active .thdpa-account-hero::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

body.thdpa-account-active .thdpa-account-hero::before {
	top: -210px;
	right: -190px;
	width: 480px;
	height: 480px;
}

body.thdpa-account-active .thdpa-account-hero::after {
	right: 140px;
	bottom: -260px;
	width: 420px;
	height: 420px;
}

body.thdpa-account-active .thdpa-account-hero__copy,
body.thdpa-account-active .thdpa-account-hero__benefits {
	position: relative;
	z-index: 1;
}

body.thdpa-account-active .thdpa-account-hero h1 {
	max-width: 650px;
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(2.25rem, 4.4vw, 4rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.055em;
}

body.thdpa-account-active .thdpa-account-hero__copy > p:last-of-type {
	max-width: 650px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1rem, 1.6vw, 1.13rem);
}

body.thdpa-account-active .thdpa-account-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

body.thdpa-account-active .thdpa-button,
body.thdpa-account-active .thdpa-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 11px 19px;
	border: 1px solid transparent;
	border-radius: 13px;
	font-size: 0.92rem;
	font-weight: 850;
	line-height: 1.2;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.thdpa-account-active .thdpa-button:hover {
	transform: translateY(-2px);
}

body.thdpa-account-active .thdpa-button--primary,
body.thdpa-account-active .thdpa-button--primary:visited {
	color: #fff;
	background: var(--thdpa-red);
	box-shadow: 0 10px 24px rgba(153, 10, 17, 0.24);
}

body.thdpa-account-active .thdpa-button--primary:hover {
	color: #fff;
	background: var(--thdpa-red-dark);
}

body.thdpa-account-active .thdpa-button--ghost,
body.thdpa-account-active .thdpa-button--ghost:visited {
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
	backdrop-filter: blur(7px);
}

body.thdpa-account-active .thdpa-button--ghost:hover {
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

body.thdpa-account-active .thdpa-account-hero__benefits {
	display: grid;
	gap: 10px;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.13);
	backdrop-filter: blur(12px);
}

body.thdpa-account-active .thdpa-account-hero__benefits > div {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 13px;
	align-items: center;
	min-width: 0;
	padding: 13px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.075);
}

body.thdpa-account-active .thdpa-account-hero__benefits .thdpa-icon {
	width: 42px;
	height: 42px;
	padding: 10px;
	border-radius: 12px;
	color: #fff;
	background: rgba(0, 0, 0, 0.14);
}

body.thdpa-account-active .thdpa-account-hero__benefits span {
	display: grid;
	min-width: 0;
	color: rgba(255, 255, 255, 0.67);
	font-size: 0.78rem;
}

body.thdpa-account-active .thdpa-account-hero__benefits strong {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 800;
}

/* Navigation */
body.thdpa-account-active .thdpa-account-sidebar {
	grid-column: 1;
	width: 100%;
	min-width: 0;
	padding: 13px;
	border: 1px solid var(--thdpa-line);
	border-radius: var(--thdpa-radius);
	background: #fff;
	box-shadow: var(--thdpa-shadow-soft);
}

body.thdpa-account-active .thdpa-account-sidebar--sticky {
	position: sticky;
	top: 32px;
}

body.admin-bar.thdpa-account-active .thdpa-account-sidebar--sticky {
	top: 64px;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation ul {
	display: grid !important;
	gap: 4px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation li {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation li::before,
body.thdpa-account-active .woocommerce-MyAccount-navigation li::after {
	display: none !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation li a,
body.thdpa-account-active .woocommerce-MyAccount-navigation li a:visited {
	display: flex !important;
	align-items: center;
	gap: 11px;
	width: 100% !important;
	min-height: 52px;
	padding: 7px 9px !important;
	border: 1px solid transparent !important;
	border-radius: 14px !important;
	color: var(--thdpa-ink) !important;
	background: transparent !important;
	font-size: 0.92rem !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	text-align: left !important;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation li a:hover {
	border-color: var(--thdpa-line) !important;
	color: var(--thdpa-teal-dark) !important;
	background: var(--thdpa-mint) !important;
	transform: translateX(2px);
}

body.thdpa-account-active .woocommerce-MyAccount-navigation li.is-active a {
	border-color: rgba(0, 115, 106, 0.18) !important;
	color: var(--thdpa-teal-dark) !important;
	background: var(--thdpa-mint) !important;
	box-shadow: inset 3px 0 0 var(--thdpa-teal);
}

body.thdpa-account-active .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 8px !important;
	padding-top: 8px !important;
	border-top: 1px solid var(--thdpa-line) !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation-link--customer-logout a,
body.thdpa-account-active .woocommerce-MyAccount-navigation-link--customer-logout a:visited {
	color: #a82227 !important;
}

body.thdpa-account-active .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	border-color: #f3d0d2 !important;
	color: #8e171c !important;
	background: var(--thdpa-blush) !important;
}

body.thdpa-account-active .thdpa-nav-icon {
	display: grid;
	flex: 0 0 36px;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	color: var(--thdpa-teal);
	background: var(--thdpa-mint);
}

body.thdpa-account-active .thdpa-nav-existing-icon {
	display: grid !important;
	flex: 0 0 36px !important;
	place-items: center;
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 9px !important;
	border-radius: 11px !important;
	color: var(--thdpa-teal) !important;
	background: var(--thdpa-mint) !important;
	object-fit: contain;
}

body.thdpa-account-active .is-active .thdpa-nav-icon {
	color: #fff;
	background: var(--thdpa-teal);
	box-shadow: 0 7px 15px rgba(0, 115, 106, 0.2);
}

body.thdpa-account-active .is-active .thdpa-nav-existing-icon {
	color: #fff !important;
	background: var(--thdpa-teal) !important;
	box-shadow: 0 7px 15px rgba(0, 115, 106, 0.2);
}

body.thdpa-account-active .woocommerce-MyAccount-navigation-link--customer-logout .thdpa-nav-icon {
	color: var(--thdpa-red);
	background: var(--thdpa-blush);
}

body.thdpa-account-active .woocommerce-MyAccount-navigation-link--customer-logout .thdpa-nav-existing-icon {
	color: var(--thdpa-red) !important;
	background: var(--thdpa-blush) !important;
}

body.thdpa-account-active .thdpa-nav-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

body.thdpa-account-active .thdpa-nav-existing-icon:is(svg, img),
body.thdpa-account-active .thdpa-nav-existing-icon svg,
body.thdpa-account-active .thdpa-nav-existing-icon img {
	width: 18px !important;
	height: 18px !important;
}

body.thdpa-account-active .thdpa-nav-arrow {
	margin-left: auto;
	color: #91a3a6;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1;
}

body.thdpa-account-active .thdpa-account-menu-toggle {
	display: none;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	padding: 10px 15px;
	border: 0;
	border-radius: 14px;
	color: #fff;
	background: var(--thdpa-teal-dark);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

body.thdpa-account-active .thdpa-account-menu-toggle__chevron {
	font-size: 1.35rem;
	line-height: 1;
	transition: transform 0.18s ease;
}

body.thdpa-account-active .thdpa-account-sidebar.is-open .thdpa-account-menu-toggle__chevron {
	transform: rotate(180deg);
}

/* Existing profile/avatar components remain usable and are visually integrated. */
body.thdpa-account-active .thdpa-account-legacy-profile {
	display: flex !important;
	align-items: center;
	gap: 13px;
	margin: 0 0 12px !important;
	padding: 7px 7px 15px !important;
	border-bottom: 1px solid var(--thdpa-line);
	color: var(--thdpa-ink);
	background: transparent !important;
}

body.thdpa-account-active .thdpa-account-legacy-profile img {
	width: 58px !important;
	height: 58px !important;
	border: 3px solid #fff !important;
	border-radius: 16px !important;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--thdpa-line), 0 8px 18px rgba(3, 59, 57, 0.12);
}

/* YITH WooCommerce Customize My Account — horizontal tabs. */
body.thdpa-account-active #my-account-menu-tab {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu {
	display: flex !important;
	flex-wrap: wrap;
	gap: 7px;
	width: 100% !important;
	margin: 24px 0 34px !important;
	padding: 8px !important;
	border: 1px solid var(--thdpa-line) !important;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(3, 59, 57, 0.07);
	list-style: none !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu::before,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu::after {
	display: none !important;
	content: none !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li {
	position: relative;
	float: none !important;
	display: block !important;
	flex: 0 1 auto;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a:visited {
	display: flex !important;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	margin: 0 !important;
	padding: 7px 15px 7px 8px !important;
	border: 1px solid transparent !important;
	border-radius: 13px !important;
	color: var(--thdpa-ink) !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 0.9rem !important;
	font-style: normal !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	text-align: left !important;
	text-transform: none !important;
	white-space: nowrap;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a:hover {
	border-color: rgba(0, 115, 106, 0.22) !important;
	color: var(--thdpa-teal-dark) !important;
	background: var(--thdpa-mint) !important;
	transform: translateY(-1px);
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.active > a,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.is-active > a {
	border-color: var(--thdpa-teal-dark) !important;
	color: #fff !important;
	background: var(--thdpa-teal-dark) !important;
	box-shadow: 0 8px 18px rgba(0, 79, 75, 0.18) !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a > i,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a > .fa,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a > [class*="icon"] {
	display: grid !important;
	flex: 0 0 34px;
	place-items: center;
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 10px;
	color: var(--thdpa-teal) !important;
	background: var(--thdpa-mint);
	font-size: 0.9rem !important;
	line-height: 34px !important;
	text-align: center;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.active > a > i,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.active > a > .fa,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.active > a > [class*="icon"],
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.is-active > a > i,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.is-active > a > .fa,
body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li.is-active > a > [class*="icon"] {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.14);
}

body.thdpa-account-active #my-account-menu-tab .myaccount-submenu {
	top: calc(100% + 8px);
	right: auto !important;
	left: 0;
	min-width: 230px;
	padding: 7px !important;
	border: 1px solid var(--thdpa-line) !important;
	border-radius: 14px;
	background: #fff !important;
	box-shadow: var(--thdpa-shadow-soft);
}

body.thdpa-account-active #my-account-menu-tab .myaccount-submenu li a {
	padding: 10px 12px !important;
	border: 0 !important;
	border-radius: 9px;
	color: var(--thdpa-ink) !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	text-align: left !important;
	text-transform: none !important;
}

body.thdpa-account-active #my-account-menu-tab .myaccount-submenu li a:hover {
	color: var(--thdpa-teal-dark) !important;
	background: var(--thdpa-mint) !important;
}

body.thdpa-account-active #my-account-menu-tab ~ #my-account-content {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

/* Endpoint content */
body.thdpa-account-active .woocommerce-MyAccount-content {
	grid-column: 2;
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: clamp(24px, 3.5vw, 42px) !important;
	border: 1px solid var(--thdpa-line);
	border-radius: var(--thdpa-radius);
	color: var(--thdpa-ink);
	background: #fff;
	box-shadow: var(--thdpa-shadow-soft);
}

body.thdpa-account-active .thdpa-content-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 30px;
	padding: 0 0 26px;
	border-bottom: 1px solid var(--thdpa-line);
}

body.thdpa-account-active .thdpa-content-header h2 {
	margin: 0;
	color: var(--thdpa-ink);
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.04em;
}

body.thdpa-account-active .thdpa-content-header > div > p:last-child {
	max-width: 680px;
	margin: 10px 0 0;
	color: var(--thdpa-muted);
}

body.thdpa-account-active .thdpa-back-link,
body.thdpa-account-active .thdpa-back-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	color: var(--thdpa-teal-dark);
	font-size: 0.9rem;
	font-weight: 850;
}

body.thdpa-account-active .thdpa-back-link:hover {
	color: var(--thdpa-red);
}

body.thdpa-account-active .woocommerce-MyAccount-content > h2:first-child,
body.thdpa-account-active .woocommerce-MyAccount-content > h3:first-child {
	margin-top: 0;
}

body.thdpa-account-active .woocommerce-MyAccount-content p {
	color: var(--thdpa-muted);
}

body.thdpa-account-active .woocommerce-MyAccount-content p a:not(.button),
body.thdpa-account-active .woocommerce-MyAccount-content p a:not(.button):visited {
	color: var(--thdpa-teal-dark);
	font-weight: 750;
}

body.thdpa-account-active .woocommerce-MyAccount-content p a:not(.button):hover {
	color: var(--thdpa-red);
}

/* Quick-access cards */
body.thdpa-account-active .thdpa-dashboard-links {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--thdpa-line);
}

body.thdpa-account-active .thdpa-dashboard-links__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

body.thdpa-account-active .thdpa-dashboard-links__heading h3 {
	margin: 0;
	color: var(--thdpa-ink);
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

body.thdpa-account-active .thdpa-dashboard-links__heading > a,
body.thdpa-account-active .thdpa-dashboard-links__heading > a:visited {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--thdpa-teal-dark);
	font-size: 0.88rem;
	font-weight: 850;
	white-space: nowrap;
}

body.thdpa-account-active .thdpa-dashboard-links__heading > a:hover {
	color: var(--thdpa-red);
}

body.thdpa-account-active .thdpa-dashboard-links__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

body.thdpa-account-active .thdpa-dashboard-link,
body.thdpa-account-active .thdpa-dashboard-link:visited {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 13px;
	align-items: center;
	min-width: 0;
	padding: 17px;
	border: 1px solid var(--thdpa-line);
	border-radius: 17px;
	color: var(--thdpa-ink);
	background: #fff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.thdpa-account-active .thdpa-dashboard-link:hover {
	border-color: rgba(0, 115, 106, 0.38);
	color: var(--thdpa-ink);
	box-shadow: var(--thdpa-shadow-soft);
	transform: translateY(-2px);
}

body.thdpa-account-active .thdpa-dashboard-link__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	color: var(--thdpa-teal);
	background: var(--thdpa-mint);
}

body.thdpa-account-active .thdpa-dashboard-link__icon .thdpa-icon {
	width: 21px;
	height: 21px;
}

body.thdpa-account-active .thdpa-dashboard-link__copy {
	display: grid;
	min-width: 0;
}

body.thdpa-account-active .thdpa-dashboard-link__copy strong {
	color: var(--thdpa-ink);
	font-size: 0.95rem;
	font-weight: 800;
}

body.thdpa-account-active .thdpa-dashboard-link__copy > span {
	margin-top: 3px;
	color: var(--thdpa-muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

body.thdpa-account-active .thdpa-dashboard-link__arrow {
	color: var(--thdpa-teal);
	font-size: 1.2rem;
	font-weight: 800;
}

/* Tables and WooCommerce account records */
body.thdpa-account-active .thdpa-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--thdpa-line);
	border-radius: 17px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

body.thdpa-account-active .thdpa-table-scroll > table {
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content table {
	width: 100%;
	color: var(--thdpa-ink);
	font-size: 0.9rem;
}

body.thdpa-account-active .woocommerce-MyAccount-content table thead {
	background: var(--thdpa-mint);
}

body.thdpa-account-active .woocommerce-MyAccount-content table th {
	padding: 14px 15px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--thdpa-line) !important;
	color: var(--thdpa-teal-dark);
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.055em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

body.thdpa-account-active .woocommerce-MyAccount-content table td {
	padding: 15px !important;
	border: 0 !important;
	border-bottom: 1px solid #e8f0ef !important;
	color: var(--thdpa-ink);
	vertical-align: middle;
}

body.thdpa-account-active .woocommerce-MyAccount-content table tr:last-child td {
	border-bottom: 0 !important;
}

body.thdpa-account-active .woocommerce-orders-table__cell-order-number a,
body.thdpa-account-active .woocommerce-orders-table__cell-order-number a:visited {
	color: var(--thdpa-teal-dark);
	font-weight: 850;
}

/* Individual order details */
body.thdpa-account-active .woocommerce-order-details {
	margin-top: 30px;
}

body.thdpa-account-active .woocommerce-order-details__title {
	margin: 0 0 20px;
	color: var(--thdpa-ink);
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.025em;
}

body.thdpa-account-active .thdpa-order-details-scroll {
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.thdpa-account-active .thdpa-order-details-scroll > table.thdpa-order-details-table,
body.thdpa-account-active table.thdpa-order-details-table {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

body.thdpa-account-active table.thdpa-order-details-table > thead,
body.thdpa-account-active table.thdpa-order-details-table > tbody,
body.thdpa-account-active table.thdpa-order-details-table > tfoot {
	display: table !important;
	width: 100% !important;
	table-layout: fixed;
	border: 1px solid var(--thdpa-line);
	background: #fff;
}

body.thdpa-account-active table.thdpa-order-details-table > thead {
	overflow: hidden;
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	background: var(--thdpa-mint);
}

body.thdpa-account-active table.thdpa-order-details-table > tbody {
	overflow: hidden;
	border-top: 0;
	border-radius: 0 0 16px 16px;
}

body.thdpa-account-active table.thdpa-order-details-table > tfoot {
	margin-top: 18px;
	overflow: hidden;
	border-radius: 16px;
}

body.thdpa-account-active table.thdpa-order-details-table > thead th:first-child,
body.thdpa-account-active table.thdpa-order-details-table > tbody .product-name,
body.thdpa-account-active table.thdpa-order-details-table > tfoot th {
	width: 72%;
}

body.thdpa-account-active table.thdpa-order-details-table > thead th:last-child,
body.thdpa-account-active table.thdpa-order-details-table > tbody .product-total,
body.thdpa-account-active table.thdpa-order-details-table > tfoot td {
	width: 28%;
}

body.thdpa-account-active table.thdpa-order-details-table > tbody > tr > *,
body.thdpa-account-active table.thdpa-order-details-table > tfoot > tr > * {
	padding: 15px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--thdpa-line) !important;
	background: #fff;
	vertical-align: middle;
}

body.thdpa-account-active table.thdpa-order-details-table > tbody > tr:last-child > *,
body.thdpa-account-active table.thdpa-order-details-table > tfoot > tr:last-child > * {
	border-bottom: 0 !important;
}

body.thdpa-account-active table.thdpa-order-details-table > tbody .product-name a,
body.thdpa-account-active table.thdpa-order-details-table > tbody .product-name a:visited {
	color: var(--thdpa-teal-dark);
	font-weight: 750;
}

body.thdpa-account-active table.thdpa-order-details-table > tfoot th {
	color: var(--thdpa-ink);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	white-space: normal;
}

body.thdpa-account-active table.thdpa-order-details-table > tfoot td {
	color: var(--thdpa-ink);
	font-weight: 700;
}

body.thdpa-account-active table.thdpa-order-details-table > tfoot tr:last-child > * {
	background: var(--thdpa-surface);
}

body.thdpa-account-active .thdpa-duplicate-order-again,
body.thdpa-account-active .woocommerce-order-details:has(tfoot .order-again) > .order-again {
	display: none !important;
}

body.thdpa-account-active .th-po-reference {
	margin-bottom: 24px;
}

/* Buttons */
body.thdpa-account-active .woocommerce-MyAccount-content .button,
body.thdpa-account-active .woocommerce-MyAccount-content button.button,
body.thdpa-account-active .woocommerce-MyAccount-content input.button,
body.thdpa-account-active .woocommerce-message .button,
body.thdpa-account-active .woocommerce-info .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 2px 4px 2px 0 !important;
	padding: 9px 15px !important;
	border: 1px solid var(--thdpa-teal) !important;
	border-radius: 11px !important;
	color: #fff !important;
	background: var(--thdpa-teal) !important;
	box-shadow: none !important;
	font: inherit !important;
	font-size: 0.82rem !important;
	font-weight: 850 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content .button:hover,
body.thdpa-account-active .woocommerce-MyAccount-content button.button:hover,
body.thdpa-account-active .woocommerce-MyAccount-content input.button:hover,
body.thdpa-account-active .woocommerce-message .button:hover,
body.thdpa-account-active .woocommerce-info .button:hover {
	border-color: var(--thdpa-teal-dark) !important;
	color: #fff !important;
	background: var(--thdpa-teal-dark) !important;
	transform: translateY(-1px);
}

body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-button--cancel {
	border-color: #f1c8ca !important;
	color: #a82227 !important;
	background: var(--thdpa-blush) !important;
}

/* Forms */
body.thdpa-account-active .woocommerce-MyAccount-content form {
	margin: 0;
}

body.thdpa-account-active .woocommerce-MyAccount-content fieldset {
	margin: 28px 0 0;
	padding: 24px;
	border: 1px solid var(--thdpa-line);
	border-radius: 17px;
	background: var(--thdpa-surface);
}

body.thdpa-account-active .woocommerce-MyAccount-content legend {
	padding: 0 9px;
	color: var(--thdpa-ink);
	font-weight: 850;
}

body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account fieldset {
	position: relative !important;
	display: block !important;
	min-width: 0 !important;
	margin: 34px 0 0 !important;
	padding: 28px 24px 24px !important;
	overflow: visible !important;
	border: 1px solid var(--thdpa-line) !important;
	border-radius: 17px !important;
	background: var(--thdpa-surface) !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset > legend,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account fieldset > legend {
	position: static !important;
	float: none !important;
	display: block !important;
	width: max-content !important;
	max-width: calc(100% - 20px) !important;
	height: auto !important;
	margin: 0 0 8px !important;
	padding: 0 10px !important;
	overflow: visible !important;
	color: var(--thdpa-ink) !important;
	background: var(--thdpa-surface) !important;
	font-size: 0.94rem !important;
	font-weight: 850 !important;
	line-height: 1.55 !important;
	transform: none !important;
}

/*
 * A browser-native legend is designed to interrupt a fieldset border. Keep it
 * available to assistive technology, but use a normal in-panel heading for the
 * visible label so it cannot clip through the rounded container.
 */
body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset.thdpa-password-fieldset,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account fieldset.thdpa-password-fieldset {
	padding: 24px !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset.thdpa-password-fieldset > legend.thdpa-password-legend,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account fieldset.thdpa-password-fieldset > legend.thdpa-password-legend {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	float: none !important;
	display: block !important;
	width: 1px !important;
	max-width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	background: transparent !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-password-heading {
	display: block;
	width: 100%;
	margin: 0 0 22px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--thdpa-line);
	color: var(--thdpa-ink);
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.35;
}

body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset > .form-row:first-of-type,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account fieldset > .form-row:first-of-type {
	margin-top: 7px !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm > p:last-of-type,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account > p:last-of-type {
	margin: 22px 0 0 !important;
	padding: 0 !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content form.woocommerce-EditAccountForm > .button,
body.thdpa-account-active .woocommerce-MyAccount-content form.edit-account > .button {
	margin-top: 22px !important;
}

body.thdpa-account-active .woocommerce form .form-row {
	margin: 0 0 17px;
	padding: 0;
}

body.thdpa-account-active .woocommerce form .form-row label {
	margin: 0 0 7px;
	color: var(--thdpa-ink);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.35;
}

body.thdpa-account-active .woocommerce form .form-row .required {
	color: var(--thdpa-red);
}

body.thdpa-account-active .woocommerce form input.input-text,
body.thdpa-account-active .woocommerce form textarea,
body.thdpa-account-active .woocommerce form select,
body.thdpa-account-active .select2-container .select2-selection {
	width: 100%;
	min-height: 48px;
	padding: 10px 13px;
	border: 1px solid #cadcda !important;
	border-radius: 12px !important;
	color: var(--thdpa-ink);
	background: #fff !important;
	box-shadow: 0 1px 0 rgba(3, 59, 57, 0.02) !important;
	font: inherit;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

body.thdpa-account-active .woocommerce form input.input-text:focus,
body.thdpa-account-active .woocommerce form textarea:focus,
body.thdpa-account-active .woocommerce form select:focus,
body.thdpa-account-active .select2-container--focus .select2-selection,
body.thdpa-account-active .select2-container--open .select2-selection {
	border-color: var(--thdpa-teal) !important;
	box-shadow: 0 0 0 3px rgba(0, 115, 106, 0.11) !important;
	outline: 0;
}

body.thdpa-account-active .select2-container .select2-selection__rendered {
	padding: 8px 28px 8px 0 !important;
	color: var(--thdpa-ink) !important;
	line-height: 28px !important;
}

/* Addresses */
body.thdpa-account-active .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 25px 0 0;
}

body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses,
body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
body.thdpa-account-active .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
body.thdpa-account-active .woocommerce-MyAccount-content .addresses.col2-set,
body.thdpa-account-active .woocommerce-MyAccount-content .addresses.u-columns,
body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-columns--addresses,
body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid {
	position: static !important;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
	margin: 25px 0 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address,
body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column1,
body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses > .u-column2,
body.thdpa-account-active .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses > .woocommerce-Address,
body.thdpa-account-active .woocommerce-MyAccount-content .addresses > .u-column1,
body.thdpa-account-active .woocommerce-MyAccount-content .addresses > .u-column2,
body.thdpa-account-active .woocommerce-MyAccount-content .addresses > .col-1,
body.thdpa-account-active .woocommerce-MyAccount-content .addresses > .col-2,
body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-columns--addresses > .woocommerce-column,
body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns > .woocommerce-column,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .thdpa-address-grid__item {
	position: static !important;
	float: none !important;
	clear: none !important;
	display: block !important;
	grid-column: auto !important;
	grid-row: auto !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 100% !important;
	margin: 0 !important;
	padding: 22px !important;
	transform: none !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .u-column1,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .col-1,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .thdpa-address-grid__item.u-column1,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .thdpa-address-grid__item.col-1 {
	order: 1 !important;
}

body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .u-column2,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .col-2,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .thdpa-address-grid__item.u-column2,
body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid > .thdpa-address-grid__item.col-2 {
	order: 2 !important;
}

body.thdpa-account-active .woocommerce-Address {
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 22px !important;
	border: 1px solid var(--thdpa-line);
	border-radius: 18px;
	background: var(--thdpa-surface);
}

body.thdpa-account-active .woocommerce-customer-details {
	margin-top: 30px;
}

body.thdpa-account-active .woocommerce-customer-details .woocommerce-column {
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 22px !important;
	border: 1px solid var(--thdpa-line);
	border-radius: 18px;
	background: var(--thdpa-surface);
}

body.thdpa-account-active .woocommerce-customer-details .woocommerce-column > h2,
body.thdpa-account-active .woocommerce-customer-details .woocommerce-column > h3 {
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	color: var(--thdpa-ink) !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
}

body.thdpa-account-active .woocommerce-customer-details .woocommerce-column address {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	color: var(--thdpa-muted);
	background: transparent !important;
	box-shadow: none !important;
	font-style: normal;
	line-height: 1.7;
}

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

body.thdpa-account-active #my-account-content .woocommerce-Address-title,
body.thdpa-account-active #my-account-content .woocommerce-Address header.title {
	position: relative !important;
	float: none !important;
	display: block !important;
	grid-template-columns: none !important;
	grid-template-rows: none !important;
	width: 100% !important;
	min-height: 25px !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	direction: ltr !important;
	text-align: left !important;
}

body.thdpa-account-active .woocommerce-Address-title :is(h1, h2, h3, h4, h5, h6),
body.thdpa-account-active .woocommerce-Address header.title :is(h1, h2, h3, h4, h5, h6) {
	position: static !important;
	float: none !important;
	display: block !important;
	grid-column: auto !important;
	grid-row: auto !important;
	justify-self: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 190px 0 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	color: var(--thdpa-ink) !important;
	background: transparent !important;
	box-shadow: none !important;
	direction: ltr !important;
	font-size: 1.1rem;
	font-weight: 800;
	text-align: left !important;
}

body.thdpa-account-active .woocommerce-Address-title .edit,
body.thdpa-account-active .woocommerce-Address-title .edit:visited,
body.thdpa-account-active .woocommerce-Address header.title .edit,
body.thdpa-account-active .woocommerce-Address header.title .edit:visited {
	position: absolute !important;
	top: 1px !important;
	right: 0 !important;
	bottom: auto !important;
	left: auto !important;
	float: none !important;
	display: inline-block !important;
	grid-column: auto !important;
	grid-row: auto !important;
	justify-self: auto !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	color: var(--thdpa-teal-dark);
	direction: ltr !important;
	font-size: 0.82rem;
	font-weight: 850;
	text-align: right !important;
	transform: none !important;
}

body.thdpa-account-active .woocommerce-Address address {
	margin: 16px 0 0;
	color: var(--thdpa-muted);
	font-style: normal;
	line-height: 1.7;
}

body.thdpa-account-active #my-account-content .woocommerce-Address address {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Notices and empty states */
body.thdpa-account-active .woocommerce-error,
body.thdpa-account-active .woocommerce-info,
body.thdpa-account-active .woocommerce-message {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 68px;
	margin: 0 0 22px !important;
	padding: 15px 17px 15px 58px !important;
	border: 1px solid var(--thdpa-line) !important;
	border-top: 1px solid var(--thdpa-line) !important;
	border-radius: 15px;
	color: var(--thdpa-ink);
	background: var(--thdpa-surface);
	box-shadow: none;
}

body.thdpa-account-active .woocommerce-error::before,
body.thdpa-account-active .woocommerce-info::before,
body.thdpa-account-active .woocommerce-message::before {
	top: 50% !important;
	left: 18px !important;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 9px;
	color: #fff;
	background: var(--thdpa-teal);
	transform: translateY(-50%);
}

body.thdpa-account-active .woocommerce-error {
	border-color: #f0cbcd !important;
	background: var(--thdpa-blush);
}

body.thdpa-account-active .woocommerce-error::before {
	background: var(--thdpa-red);
}

/* Login and registration */
body.thdpa-account-logged-out .entry-content > .woocommerce {
	width: min(900px, calc(100% - 40px));
	max-width: 900px;
}

body.thdpa-account-logged-out .thdpa-login-header {
	position: relative;
	padding: clamp(34px, 5vw, 56px);
	border-radius: var(--thdpa-radius) var(--thdpa-radius) 0 0;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 92% 0%, rgba(0, 145, 132, 0.52), transparent 35%),
		linear-gradient(135deg, var(--thdpa-teal-deep), var(--thdpa-teal-dark));
}

body.thdpa-account-logged-out .thdpa-login-header h1 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(2.3rem, 5vw, 3.9rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.055em;
}

body.thdpa-account-logged-out .thdpa-login-header > p:last-child {
	max-width: 640px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.03rem;
}

/*
 * The welcome panel is the page heading. Hide WooCommerce's repeated Login
 * heading so the panel and form remain one continuous card.
 */
body.thdpa-account-logged-out .thdpa-login-header + h2,
body.thdpa-account-logged-out #customer_login > .u-column1 > h2,
body.thdpa-account-logged-out #customer_login > .col-1 > h2 {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.thdpa-account-logged-out .woocommerce-form-login,
body.thdpa-account-logged-out .woocommerce-form-register,
body.thdpa-account-logged-out .lost_reset_password {
	margin: 0 !important;
	padding: clamp(26px, 4vw, 44px) !important;
	border: 1px solid var(--thdpa-line) !important;
	border-top: 0 !important;
	border-radius: 0 0 var(--thdpa-radius) var(--thdpa-radius) !important;
	background: #fff;
	box-shadow: var(--thdpa-shadow-soft);
}

body.thdpa-account-logged-out #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--thdpa-line);
	border-top: 0;
	border-radius: 0 0 var(--thdpa-radius) var(--thdpa-radius);
	background: #fff;
	box-shadow: var(--thdpa-shadow-soft);
}

body.thdpa-account-logged-out #customer_login > div {
	float: none !important;
	width: 100% !important;
}

body.thdpa-account-logged-out #customer_login .woocommerce-form-login,
body.thdpa-account-logged-out #customer_login .woocommerce-form-register {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none;
}

body.thdpa-account-logged-out #customer_login > div + div {
	padding-left: 20px;
	border-left: 1px solid var(--thdpa-line);
}

/* Responsive layout */
@media (max-width: 980px) {
	body.thdpa-account-active .thdpa-account-root {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 20px;
	}

	body.thdpa-account-active .thdpa-account-hero {
		grid-template-columns: minmax(0, 1fr) 310px;
		gap: 28px;
		padding: 38px;
	}

	body.thdpa-account-active .thdpa-dashboard-links__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	body.thdpa-account-active .entry-content > .woocommerce,
	body.thdpa-account-active .thdpa-account-root {
		width: min(100% - 28px, 1180px);
		padding: 52px 0;
	}

	body.thdpa-account-active .thdpa-account-root {
		display: block;
	}

	body.thdpa-account-active .thdpa-account-hero {
		display: block;
		min-height: 0;
		margin-bottom: 18px;
		padding: 30px 24px;
		border-radius: 20px;
	}

	body.thdpa-account-active .thdpa-account-hero h1 {
		font-size: clamp(2.15rem, 11vw, 3.2rem);
	}

	body.thdpa-account-active .thdpa-account-hero__benefits {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 28px;
		padding: 9px;
	}

	body.thdpa-account-active .thdpa-account-hero__benefits > div {
		display: flex;
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
		padding: 11px;
	}

	body.thdpa-account-active .thdpa-account-hero__benefits .thdpa-icon {
		width: 38px;
		height: 38px;
	}

	body.thdpa-account-active .thdpa-account-hero__benefits span {
		font-size: 0.7rem;
	}

	body.thdpa-account-active .thdpa-account-hero__benefits strong {
		font-size: 0.82rem;
	}

	body.thdpa-account-active .thdpa-account-sidebar {
		margin-bottom: 18px;
		padding: 9px;
		border-radius: 18px;
	}

	body.thdpa-account-active .thdpa-account-sidebar--sticky {
		position: static;
	}

	.thdpa-js body.thdpa-account-active .thdpa-account-menu-toggle {
		display: flex;
	}

	.thdpa-js body.thdpa-account-active .thdpa-account-sidebar .woocommerce-MyAccount-navigation {
		display: none !important;
		margin-top: 8px !important;
	}

	.thdpa-js body.thdpa-account-active .thdpa-account-sidebar.is-open .woocommerce-MyAccount-navigation {
		display: block !important;
	}

	body.thdpa-account-active #my-account-menu-tab .myaccount-menu {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
		margin: 18px 0 24px !important;
	}

	body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li {
		width: 100% !important;
	}

	body.thdpa-account-active #my-account-menu-tab .myaccount-menu > li > a {
		white-space: normal;
	}

	body.thdpa-account-active .woocommerce-MyAccount-content {
		padding: 24px 20px !important;
		border-radius: 20px;
	}

	body.thdpa-account-active .thdpa-orders-scroll {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table {
		display: block !important;
		width: 100% !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table > thead {
		display: none !important;
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table > tbody {
		display: grid !important;
		gap: 16px;
		width: 100% !important;
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table > tbody > tr {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		border: 1px solid var(--thdpa-line) !important;
		border-radius: 15px;
		overflow: hidden;
		background: #fff;
		box-shadow: 0 8px 22px rgba(3, 59, 57, 0.07);
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table > tbody > tr > td {
		display: block !important;
		width: 100% !important;
		min-height: 48px;
		padding: 12px 14px !important;
		border: 0 !important;
		border-bottom: 1px solid #e8f0ef !important;
		background: #fff;
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table > tbody > tr > td:first-child {
		background: var(--thdpa-mint);
	}

	body.thdpa-account-active .thdpa-orders-scroll > table.woocommerce-orders-table > tbody > tr > td:last-child {
		border-bottom: 0 !important;
	}

	body.thdpa-account-active .thdpa-orders-scroll .woocommerce-orders-table__cell-order-actions .button {
		margin-top: 6px !important;
	}

	body.thdpa-account-active .thdpa-content-header,
	body.thdpa-account-active .thdpa-dashboard-links__heading {
		display: block;
	}

	body.thdpa-account-active .thdpa-content-header .thdpa-back-link,
	body.thdpa-account-active .thdpa-dashboard-links__heading > a {
		margin-top: 17px;
	}

	body.thdpa-account-active .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .woocommerce-Addresses,
	body.thdpa-account-active #my-account-content .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
	body.thdpa-account-active .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses,
	body.thdpa-account-active .woocommerce-MyAccount-content .addresses.col2-set,
	body.thdpa-account-active .woocommerce-MyAccount-content .addresses.u-columns,
	body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-columns--addresses,
	body.thdpa-account-active .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-columns,
	body.thdpa-account-active .woocommerce-MyAccount-content .thdpa-address-grid {
		grid-template-columns: 1fr !important;
	}

	body.thdpa-account-active .woocommerce-error,
	body.thdpa-account-active .woocommerce-info,
	body.thdpa-account-active .woocommerce-message {
		display: block;
		padding-left: 54px !important;
	}

	body.thdpa-account-active .woocommerce-error .button,
	body.thdpa-account-active .woocommerce-info .button,
	body.thdpa-account-active .woocommerce-message .button {
		float: none !important;
		margin: 10px 0 0 !important;
	}

	body.thdpa-account-logged-out #customer_login {
		grid-template-columns: 1fr;
	}

	body.thdpa-account-logged-out #customer_login > div + div {
		padding-top: 20px;
		padding-left: 0;
		border-top: 1px solid var(--thdpa-line);
		border-left: 0;
	}
}

@media (max-width: 520px) {
	body.thdpa-account-active #my-account-content .woocommerce-Address-title,
	body.thdpa-account-active #my-account-content .woocommerce-Address header.title {
		min-height: 0 !important;
	}

	body.thdpa-account-active .woocommerce-Address-title :is(h1, h2, h3, h4, h5, h6),
	body.thdpa-account-active .woocommerce-Address header.title :is(h1, h2, h3, h4, h5, h6) {
		padding-right: 0 !important;
	}

	body.thdpa-account-active .woocommerce-Address-title .edit,
	body.thdpa-account-active .woocommerce-Address-title .edit:visited,
	body.thdpa-account-active .woocommerce-Address header.title .edit,
	body.thdpa-account-active .woocommerce-Address header.title .edit:visited {
		position: static !important;
		display: inline-block !important;
		margin: 7px 0 0 !important;
		text-align: left !important;
	}

	body.thdpa-account-active #my-account-menu-tab .myaccount-menu {
		grid-template-columns: 1fr;
	}

	body.thdpa-account-active .thdpa-account-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	body.thdpa-account-active .thdpa-button {
		width: 100%;
	}

	body.thdpa-account-active .thdpa-account-hero__benefits {
		grid-template-columns: 1fr;
	}

	body.thdpa-account-active .thdpa-account-hero__benefits > div {
		display: grid;
		grid-template-columns: 38px minmax(0, 1fr);
		align-items: center;
	}

	body.thdpa-account-active .thdpa-dashboard-link {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	body.thdpa-account-active .thdpa-dashboard-link__arrow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.thdpa-account-active *,
	body.thdpa-account-active *::before,
	body.thdpa-account-active *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}
