.td-account-center {
	--td-account-red: var(--td-header-red, #d71920);
	--td-account-red-dark: var(--td-header-red-dark, #8f1117);
	--td-account-red-soft: #fff1f1;
	--td-account-ink: #3f3736;
	--td-account-text: #554c49;
	--td-account-muted: #746a67;
	--td-account-line: #e8e2de;
	--td-account-surface: #faf8f6;
	--td-account-white: #fff;
	--td-account-success: #25734a;
	--td-account-success-soft: #edf8f1;
	--td-account-warning: #99621f;
	--td-account-warning-soft: #fff8e8;
	--td-account-danger: #a32a32;
	color: var(--td-account-text);
}

.td-account-center .my-account-header,
.td-account-center .page-title:not(.shop-page-title) {
	display: none;
}

.td-account-page {
	background: linear-gradient(180deg, #fbf9f7 0, #fff 420px);
	padding: 34px 0 64px;
}

.td-account-page .container {
	max-width: 1200px;
}

.td-account-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 26px;
	padding: 0 2px 24px;
	border-bottom: 1px solid var(--td-account-line);
}

.td-account-eyebrow {
	margin: 0 0 7px;
	color: var(--td-account-red);
	font-size: 11px;
	font-weight: 760;
	letter-spacing: .13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.td-account-hero h1,
.td-account-center .td-account-content h2,
.td-account-center .td-account-content h3,
.td-account-auth h2 {
	color: var(--td-account-ink);
	font-family: inherit;
	letter-spacing: -.025em;
	text-transform: none;
}

.td-account-hero h1 {
	margin: 0;
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 680;
	line-height: 1.12;
}

.td-account-hero > div > p:last-child {
	max-width: 650px;
	margin: 10px 0 0;
	color: var(--td-account-muted);
	font-size: 15px;
}

.td-account-hero__support {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 9px 15px;
	border: 1px solid var(--td-account-line);
	border-radius: 10px;
	background: var(--td-account-white);
	color: var(--td-account-ink);
}

.td-account-hero__support:hover { border-color: #e0b7b9; color: var(--td-account-red); }
.td-account-hero__support .td-account-icon { width: 21px; }
.td-account-hero__support span { display: grid; }
.td-account-hero__support small { color: var(--td-account-muted); font-size: 11px; }
.td-account-hero__support strong { font-size: 13px; }

.td-account-shell {
	display: grid;
	grid-template-columns: 258px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.td-account-sidebar {
	position: sticky;
	top: 96px;
	overflow: hidden;
	border: 1px solid var(--td-account-line);
	border-radius: 12px;
	background: var(--td-account-white);
}

.td-account-profile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px;
	border-bottom: 1px solid var(--td-account-line);
}

.td-account-profile__avatar {
	display: inline-grid;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid #f1cbcd;
	border-radius: 50%;
	background: var(--td-account-red-soft);
	color: var(--td-account-red-dark);
	font-size: 18px;
	font-weight: 760;
}

.td-account-profile div { display: grid; min-width: 0; gap: 2px; }
.td-account-profile small { color: var(--td-account-muted); font-size: 11px; }
.td-account-profile strong { overflow: hidden; color: var(--td-account-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.td-account-menu-toggle { display: none; }

.td-account-nav { padding: 10px; }
.td-account-nav ul { margin: 0; }
.td-account-nav li { list-style: none; }
.td-account-nav li + li { margin-top: 2px; }
.td-account-nav a {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 44px;
	padding: 9px 11px;
	border-radius: 8px;
	color: var(--td-account-text);
	font-size: 13px;
	font-weight: 600;
}
.td-account-nav a:hover { background: var(--td-account-surface); color: var(--td-account-ink); }
.td-account-nav .active a,
.td-account-nav .is-active a { background: var(--td-account-red-soft); color: var(--td-account-red-dark); }
.td-account-nav .active a::after,
.td-account-nav .is-active a::after { width: 3px; height: 18px; margin-left: auto; border-radius: 3px; background: var(--td-account-red); content: ""; }
.td-account-nav__logout { margin-top: 11px !important; padding-top: 10px; border-top: 1px solid var(--td-account-line); }
.td-account-icon { width: 19px; height: 19px; flex: 0 0 auto; }

.td-account-content { min-width: 0; }
.td-account-content > .woocommerce { width: 100%; }
.td-account-content .woocommerce-MyAccount-navigation { display: none !important; }
.td-account-content .woocommerce-MyAccount-content { float: none; width: 100%; }

.td-dashboard__welcome {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
	padding: 24px;
	border: 1px solid var(--td-account-line);
	border-radius: 12px;
	background: var(--td-account-white);
}
.td-dashboard__welcome h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 670; line-height: 1.2; }
.td-dashboard__welcome p:last-child { margin: 8px 0 0; color: var(--td-account-muted); }
.td-dashboard__welcome > a,
.td-account-section__heading > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	color: var(--td-account-red-dark);
	font-size: 13px;
	font-weight: 650;
	white-space: nowrap;
}
.td-dashboard__welcome > a .td-account-icon,
.td-account-section__heading > a .td-account-icon { width: 17px; transition: transform .2s ease; }
.td-dashboard__welcome > a:hover .td-account-icon,
.td-account-section__heading > a:hover .td-account-icon { transform: translateX(3px); }

.td-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 28px;
}
.td-summary-grid > a {
	display: grid;
	min-height: 124px;
	padding: 16px;
	border: 1px solid var(--td-account-line);
	border-radius: 10px;
	background: var(--td-account-white);
	color: var(--td-account-text);
}
.td-summary-grid > a:hover { border-color: #dfb7b9; transform: translateY(-1px); }
.td-summary-grid span { color: var(--td-account-muted); font-size: 12px; }
.td-summary-grid strong { align-self: center; color: var(--td-account-ink); font-size: 28px; font-variant-numeric: tabular-nums; font-weight: 670; }
.td-summary-grid small { align-self: end; color: var(--td-account-red-dark); font-size: 11px; font-weight: 620; }

.td-account-section { margin-top: 30px; }
.td-account-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.td-account-section__heading h2,
.td-account-section__heading h3 { margin: 0; font-size: 21px; font-weight: 670; }
.td-account-section__heading h3 span { display: inline-grid; min-width: 22px; height: 22px; margin-left: 5px; place-items: center; border-radius: 99px; background: var(--td-account-surface); color: var(--td-account-muted); font-size: 11px; }

.td-order-card {
	overflow: hidden;
	border: 1px solid var(--td-account-line);
	border-radius: 12px;
	background: var(--td-account-white);
}
.td-order-card + .td-order-card { margin-top: 14px; }
.td-order-card--featured { border-color: #e5c9ca; box-shadow: 0 10px 28px rgba(63, 55, 54, .06); }
.td-order-card__header,
.td-order-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; }
.td-order-card__header { border-bottom: 1px solid var(--td-account-line); background: #fffdfc; }
.td-order-card__header > div:first-child { display: flex; align-items: baseline; gap: 7px; }
.td-order-card__header span { color: var(--td-account-muted); font-size: 11px; }
.td-order-card__header strong { color: var(--td-account-ink); font-size: 15px; }
.td-order-card__meta { display: flex; align-items: center; gap: 10px; }
.td-order-card__meta time { color: var(--td-account-muted); font-size: 12px; }
.td-order-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border: 1px solid var(--td-account-line); border-radius: 99px; background: var(--td-account-surface); color: var(--td-account-text) !important; font-size: 11px !important; font-weight: 650; }
.td-order-status--completed { border-color: #cfe4d8; background: var(--td-account-success-soft); color: var(--td-account-success) !important; }
.td-order-status--processing { border-color: #f0d8aa; background: var(--td-account-warning-soft); color: var(--td-account-warning) !important; }
.td-order-status--cancelled,
.td-order-status--failed,
.td-order-status--refunded { border-color: #efd1d4; background: #fff2f3; color: var(--td-account-danger) !important; }
.td-order-card__items { padding: 4px 18px; }
.td-order-item { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 13px; align-items: center; padding: 13px 0; }
.td-order-item + .td-order-item { border-top: 1px solid var(--td-account-line); }
.td-order-item__image { display: block; overflow: hidden; width: 68px; height: 68px; border-radius: 8px; background: var(--td-account-surface); }
.td-order-item__image img { width: 100%; height: 100%; object-fit: cover; }
.td-order-item > div { min-width: 0; }
.td-order-item strong { display: block; overflow: hidden; color: var(--td-account-ink); font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.td-order-item .wc-item-meta { display: flex; flex-wrap: wrap; gap: 3px 9px; margin: 3px 0; padding: 0; color: var(--td-account-muted); font-size: 11px; }
.td-order-item .wc-item-meta li { display: inline; margin: 0; list-style: none; }
.td-order-item .wc-item-meta p,
.td-order-item .wc-item-meta strong { display: inline; margin: 0; font-size: inherit; font-weight: 500; }
.td-order-item small { color: var(--td-account-muted); font-size: 11px; }
.td-order-card__more { margin: 0 0 12px; color: var(--td-account-muted); font-size: 12px; }
.td-order-card__footer { border-top: 1px solid var(--td-account-line); background: var(--td-account-surface); }
.td-order-card__total { display: grid; gap: 2px; }
.td-order-card__total span { color: var(--td-account-muted); font-size: 11px; }
.td-order-card__total strong,
.td-order-card__total .amount { color: var(--td-account-red-dark); font-size: 16px; }
.td-order-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.td-account-button,
.td-account-center .td-account-content .button,
.td-account-center .td-account-auth .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 0;
	padding: 9px 15px;
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: none;
	font-size: 12px;
	font-weight: 680;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}
.td-account-button--primary,
.td-account-center .td-account-content button[type="submit"],
.td-account-center .td-account-auth button[type="submit"] { border-color: var(--td-account-red); background: var(--td-account-red) !important; color: #fff !important; }
.td-account-button--primary:hover,
.td-account-center .td-account-content button[type="submit"]:hover,
.td-account-center .td-account-auth button[type="submit"]:hover { border-color: var(--td-account-red-dark); background: var(--td-account-red-dark) !important; }
.td-account-button--secondary { border-color: #d8d0cd; background: #fff; color: var(--td-account-ink); }
.td-account-button--secondary:hover { border-color: #d7a6a8; color: var(--td-account-red-dark); }

.td-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.td-quick-grid > a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 11px; align-items: center; min-height: 82px; padding: 14px; border: 1px solid var(--td-account-line); border-radius: 10px; background: #fff; color: var(--td-account-text); }
.td-quick-grid > a:hover { border-color: #deb5b7; }
.td-quick-grid > a > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 9px; background: var(--td-account-red-soft); color: var(--td-account-red-dark); }
.td-quick-grid > a > span .td-account-icon { width: 20px; }
.td-quick-grid > a > .td-account-icon { width: 17px; color: var(--td-account-muted); }
.td-quick-grid div { display: grid; gap: 3px; min-width: 0; }
.td-quick-grid strong { color: var(--td-account-ink); font-size: 13px; }
.td-quick-grid small { overflow: hidden; color: var(--td-account-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.td-account-empty { display: grid; justify-items: center; padding: 44px 24px; border: 1px dashed #ddd1cd; border-radius: 12px; background: #fff; text-align: center; }
.td-account-empty > span { display: grid; width: 54px; height: 54px; margin-bottom: 13px; place-items: center; border-radius: 50%; background: var(--td-account-red-soft); color: var(--td-account-red-dark); }
.td-account-empty > span .td-account-icon { width: 24px; }
.td-account-empty h3 { margin: 0 0 7px; font-size: 18px; }
.td-account-empty p { max-width: 460px; margin: 0 0 18px; color: var(--td-account-muted); font-size: 13px; }

.td-endpoint-intro { margin-bottom: 20px; padding: 22px; border: 1px solid var(--td-account-line); border-radius: 12px; background: #fff; }
.td-endpoint-intro h2 { margin: 0; font-size: clamp(23px, 3vw, 30px); font-weight: 670; }
.td-endpoint-intro > p:last-child { max-width: 720px; margin: 9px 0 0; color: var(--td-account-muted); font-size: 13px; line-height: 1.65; }
.td-orders-list { display: grid; gap: 14px; }
.td-account-pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.td-account-pagination span { color: var(--td-account-muted); font-size: 12px; }

.td-owned-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.td-owned-card { display: grid; grid-template-columns: 122px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--td-account-line); border-radius: 12px; background: #fff; }
.td-owned-card__image { min-height: 100%; background: var(--td-account-surface); }
.td-owned-card__image img { width: 100%; height: 100%; min-height: 188px; object-fit: cover; }
.td-owned-card__body { min-width: 0; padding: 15px; }
.td-owned-card__order { margin: 0 0 5px; color: var(--td-account-muted); font-size: 10px; }
.td-owned-card h3 { margin: 0 0 7px; font-size: 14px; line-height: 1.4; }
.td-owned-card .wc-item-meta { margin: 0; padding: 0; color: var(--td-account-muted); font-size: 10px; }
.td-owned-card .wc-item-meta li { list-style: none; }
.td-owned-card .wc-item-meta p { display: inline; margin: 0; }
.td-owned-card__pending { margin: 11px 0 0; padding: 9px; border-radius: 7px; background: var(--td-account-surface); color: var(--td-account-muted); font-size: 10px; line-height: 1.45; }
.td-owned-serials { display: grid; gap: 7px; margin-top: 10px; }
.td-owned-serials > div { display: grid; gap: 2px; padding: 9px; border: 1px solid #e8d8d8; border-radius: 7px; background: var(--td-account-red-soft); }
.td-owned-serials span,
.td-owned-serials small { color: var(--td-account-muted); font-size: 9px; }
.td-owned-serials strong { color: var(--td-account-ink); font-size: 10px; }
.td-owned-serials a { margin-top: 4px; color: var(--td-account-red-dark); font-size: 10px; font-weight: 650; }
.td-owned-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.td-owned-card__actions a { color: var(--td-account-red-dark); font-size: 10px; font-weight: 650; }
.td-account-note { margin-top: 18px; padding: 18px; border-left: 3px solid var(--td-account-red); border-radius: 0 10px 10px 0; background: var(--td-account-surface); }
.td-account-note strong { color: var(--td-account-ink); font-size: 14px; }
.td-account-note p { margin: 5px 0 12px; color: var(--td-account-muted); font-size: 12px; }

.td-offer-groups { display: grid; gap: 26px; }
.td-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.td-offer-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 128px; overflow: hidden; padding: 15px; border: 1px solid var(--td-account-line); border-radius: 10px; background: #fff; }
.td-offer-card__mark { display: grid; align-self: stretch; place-items: center; border-right: 1px dashed #e1c9ca; color: var(--td-account-red-dark); font-size: 9px; font-weight: 760; letter-spacing: .1em; writing-mode: vertical-rl; }
.td-offer-card p { margin: 0 0 3px; color: var(--td-account-muted); font-size: 10px; }
.td-offer-card h4 { margin: 0 0 5px; color: var(--td-account-ink); font-size: 16px; line-height: 1.3; text-transform: none; }
.td-offer-card small { display: block; color: var(--td-account-muted); font-size: 10px; }
.td-offer-card > a { min-height: 40px; padding: 10px 12px; border-radius: 7px; background: var(--td-account-red); color: #fff; font-size: 10px; font-weight: 680; white-space: nowrap; }
.td-offer-card--used,
.td-offer-card--expired { opacity: .75; }
.td-offer-empty { margin: 0; padding: 18px; border: 1px dashed var(--td-account-line); border-radius: 9px; color: var(--td-account-muted); font-size: 12px; }

.td-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.td-support-grid > a { display: flex; align-items: center; gap: 11px; min-height: 108px; padding: 16px; border: 1px solid var(--td-account-line); border-radius: 10px; background: #fff; color: var(--td-account-text); }
.td-support-grid > a:hover { border-color: #ddb3b5; }
.td-support-grid > a > .td-account-icon,
.td-support-zalo,
.td-support-mail { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: var(--td-account-red-soft); color: var(--td-account-red-dark); font-size: 17px; font-style: normal; font-weight: 760; }
.td-support-grid > a > .td-account-icon { padding: 9px; }
.td-support-grid span:last-child { display: grid; gap: 2px; min-width: 0; }
.td-support-grid small { color: var(--td-account-muted); font-size: 10px; }
.td-support-grid strong { overflow: hidden; color: var(--td-account-ink); font-size: 12px; text-overflow: ellipsis; }
.td-support-grid em { color: var(--td-account-red-dark); font-size: 10px; font-style: normal; }
.td-support-topics,
.td-policy-links { margin-top: 22px; padding: 20px; border: 1px solid var(--td-account-line); border-radius: 10px; background: #fff; }
.td-support-topics h3,
.td-policy-links h3 { margin: 0 0 13px; font-size: 17px; }
.td-support-topics > div { display: flex; flex-wrap: wrap; gap: 7px; }
.td-support-topics span { padding: 7px 10px; border: 1px solid var(--td-account-line); border-radius: 99px; color: var(--td-account-text); font-size: 11px; }
.td-policy-links { display: grid; }
.td-policy-links > a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-top: 1px solid var(--td-account-line); color: var(--td-account-text); font-size: 12px; }
.td-policy-links > a .td-account-icon { width: 16px; }

.td-product-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.td-product-strip > a { min-width: 0; color: var(--td-account-text); }
.td-product-strip > a > span { display: block; overflow: hidden; aspect-ratio: 1; margin-bottom: 7px; border-radius: 8px; background: var(--td-account-surface); }
.td-product-strip img { width: 100%; height: 100%; object-fit: cover; }
.td-product-strip strong { display: -webkit-box; overflow: hidden; color: var(--td-account-ink); font-size: 10px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.td-product-strip small { display: block; margin-top: 3px; font-size: 10px; }
.td-product-strip .amount { color: var(--td-account-red-dark); font-size: inherit; }

.td-order-progress { margin: 0 0 24px; padding: 20px; border: 1px solid var(--td-account-line); border-radius: 10px; background: #fff; }
.td-order-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 10px 0; padding: 0; }
.td-order-progress li { position: relative; display: grid; justify-items: center; gap: 7px; margin: 0; color: var(--td-account-muted); font-size: 10px; text-align: center; list-style: none; }
.td-order-progress li::before { position: absolute; top: 14px; right: 50%; left: -50%; height: 2px; background: var(--td-account-line); content: ""; }
.td-order-progress li:first-child::before { display: none; }
.td-order-progress li > span { z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid var(--td-account-line); border-radius: 50%; background: #fff; font-size: 10px; }
.td-order-progress li.is-complete,
.td-order-progress li.is-current { color: var(--td-account-ink); }
.td-order-progress li.is-complete::before,
.td-order-progress li.is-current::before { background: var(--td-account-red); }
.td-order-progress li.is-complete > span { border-color: var(--td-account-red); background: var(--td-account-red); color: #fff; }
.td-order-progress li.is-current > span { border-color: var(--td-account-red); color: var(--td-account-red-dark); }
.td-order-progress > p:last-child { margin: 14px 0 0; color: var(--td-account-muted); font-size: 10px; text-align: center; }
.td-order-terminal { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; padding: 14px 16px; border: 1px solid #ead0d3; border-radius: 9px; background: #fff4f5; color: var(--td-account-danger); font-size: 12px; }

/* Native WooCommerce endpoint forms and tables. */
.td-account-content form,
.td-account-content .woocommerce-Addresses,
.td-account-content .woocommerce-order-details,
.td-account-content .woocommerce-customer-details { border-radius: 10px; }
.td-account-content .woocommerce-EditAccountForm,
.td-account-content .woocommerce-address-fields,
.td-account-content .woocommerce-Addresses .woocommerce-Address { margin-bottom: 14px; padding: 20px; border: 1px solid var(--td-account-line); background: #fff; }
.td-account-content label,
.td-account-auth label { color: var(--td-account-ink); font-size: 12px; font-weight: 620; }
.td-account-center input[type="text"],
.td-account-center input[type="email"],
.td-account-center input[type="tel"],
.td-account-center input[type="password"],
.td-account-center select,
.td-account-center textarea { min-height: 45px; border: 1px solid #d9d1ce; border-radius: 7px; background: #fff; box-shadow: none; color: var(--td-account-ink); font-size: 13px; }
.td-account-center input:focus,
.td-account-center select:focus,
.td-account-center textarea:focus { border-color: var(--td-account-red); box-shadow: 0 0 0 3px rgba(215, 25, 32, .1); }
.td-account-content fieldset { margin: 24px 0; padding: 17px; border: 1px solid var(--td-account-line); border-radius: 8px; }
.td-account-content legend { padding: 0 7px; color: var(--td-account-ink); font-size: 13px; font-weight: 650; }
.td-account-content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; }
.td-account-content .woocommerce-Address-title h2 { margin: 0; font-size: 17px; }
.td-account-content .woocommerce-Address-title .edit { color: var(--td-account-red-dark); font-size: 12px; font-weight: 650; }
.td-account-content address { margin: 16px 0 0; color: var(--td-account-text); font-size: 13px; font-style: normal; line-height: 1.75; }
.td-account-content .woocommerce-order-details h2,
.td-account-content .woocommerce-column__title { font-size: 19px; }
.td-account-content .shop_table { border: 1px solid var(--td-account-line); border-radius: 9px; background: #fff; font-size: 12px; }
.td-account-content .shop_table th,
.td-account-content .shop_table td { padding: 12px; border-color: var(--td-account-line); }
.td-account-content mark { padding: 2px 5px; border-radius: 4px; background: var(--td-account-red-soft); color: var(--td-account-ink); }
.td-password-field { position: relative; }
.td-password-field input { padding-right: 45px !important; }
.td-password-toggle { position: absolute; top: 50%; right: 4px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 6px; background: transparent !important; color: var(--td-account-muted) !important; transform: translateY(-50%); }
.td-password-toggle::before { content: "Hiện"; font-size: 10px; font-weight: 650; }
.td-password-toggle.is-visible::before { content: "Ẩn"; }

/* Logged-out login, registration and password reset. */
.td-account-auth { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.6fr); overflow: hidden; border: 1px solid var(--td-account-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 45px rgba(63, 55, 54, .07); }
.td-account-auth__aside { padding: clamp(25px, 4vw, 46px); background: #3f3736; color: rgba(255, 255, 255, .82); }
.td-account-auth__aside .td-account-eyebrow { color: #ffb8bb; }
.td-account-auth__aside h2 { max-width: 360px; margin: 0; color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 650; line-height: 1.2; }
.td-account-auth__aside ul { margin: 30px 0 0; }
.td-account-auth__aside li { display: flex; gap: 11px; align-items: flex-start; margin: 0; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .13); list-style: none; }
.td-account-auth__aside li .td-account-icon { color: #ffb8bb; }
.td-account-auth__aside li span { display: grid; gap: 2px; }
.td-account-auth__aside li strong { color: #fff; font-size: 12px; }
.td-account-auth__aside li small { color: rgba(255, 255, 255, .65); font-size: 10px; }
.td-account-auth__contact { margin: 25px 0 0; font-size: 11px; }
.td-account-auth__contact a { color: #fff; font-weight: 700; }
.td-account-auth__forms { padding: clamp(24px, 4vw, 44px); }
.td-login-intro { margin-bottom: 24px; }
.td-login-intro h2,
.td-login-intro__title { margin: 0; font-size: 27px; }
.td-login-intro > p:last-child { margin: 8px 0 0; color: var(--td-account-muted); font-size: 12px; }
.td-account-auth__forms #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin: 0; }
.td-account-auth__forms #customer_login > div { width: auto; max-width: none; padding: 0; border: 0; }
.td-account-auth__forms #customer_login > div + div { padding-left: 30px; border-left: 1px solid var(--td-account-line); }
.td-account-auth__forms h2 { margin: 0 0 18px; font-size: 20px; }
.td-account-auth__forms form { margin: 0; }
.td-account-auth__forms .form-row { margin-bottom: 13px; }
.td-account-auth__forms .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; min-height: 42px; margin: 0 12px 0 0; }
.td-account-auth__forms input[type="checkbox"] { margin: 0 7px 0 0; }
.td-account-auth__forms .lost_password { margin: 12px 0 0; }
.td-account-auth__forms .lost_password a { color: var(--td-account-red-dark); font-size: 11px; font-weight: 620; }
.td-account-auth__forms .woocommerce-privacy-policy-text { color: var(--td-account-muted); font-size: 10px; line-height: 1.6; }
.td-account-auth__forms .lost_reset_password { max-width: 520px; margin: 0 auto; padding: 0; }

.td-account-center a:focus-visible,
.td-account-center button:focus-visible,
.td-account-center input:focus-visible,
.td-account-center select:focus-visible,
.td-account-center textarea:focus-visible { outline: 2px solid var(--td-account-red); outline-offset: 3px; }

@media (max-width: 849px) {
	.td-account-page { padding-top: 24px; }
	.td-account-hero { align-items: center; margin-bottom: 18px; }
	.td-account-hero__support { padding: 8px 11px; }
	.td-account-shell { display: block; }
	.td-account-sidebar { position: relative; top: auto; z-index: 5; margin-bottom: 16px; overflow: visible; }
	.td-account-profile { padding: 14px 16px; }
	.td-account-profile__avatar { flex-basis: 40px; width: 40px; height: 40px; font-size: 15px; }
	.td-account-menu-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin: 0; padding: 10px 16px; border: 0; border-top: 1px solid var(--td-account-line); border-radius: 0; background: #fff !important; color: var(--td-account-ink) !important; font-size: 12px; font-weight: 650; letter-spacing: 0; text-transform: none; }
	.td-account-menu-toggle i,
	.td-account-menu-toggle i::after { display: block; width: 16px; height: 1.5px; background: currentColor; content: ""; transition: transform .2s ease; }
	.td-account-menu-toggle i::after { transform: rotate(90deg); }
	.td-account-menu-toggle[aria-expanded="true"] i::after { transform: rotate(0); }
	.td-account-js .td-account-nav { display: none; }
	.td-account-js .td-account-nav.is-open { display: block; }
	.td-account-nav { position: absolute; top: 100%; right: -1px; left: -1px; border: 1px solid var(--td-account-line); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 18px 32px rgba(63, 55, 54, .12); }
	.td-account-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
	.td-account-nav li + li { margin-top: 0; }
	.td-account-nav__logout { grid-column: 1 / -1; }
	.td-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.td-summary-grid > a { min-height: 110px; }
	.td-product-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.td-owned-grid { grid-template-columns: 1fr; }
	.td-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.td-support-grid > a:last-child { grid-column: 1 / -1; }
	.td-account-auth { grid-template-columns: 1fr; }
	.td-account-auth__aside { padding: 28px; }
	.td-account-auth__aside ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
	.td-account-auth__aside li { display: grid; border-top: 0; }
}

@media (max-width: 549px) {
	.td-account-page { padding: 18px 0 100px; }
	.td-account-center .b24-widget-button-popup { display: none !important; }
	.td-account-page > .container { padding-right: 14px; padding-left: 14px; }
	.td-account-hero { align-items: flex-start; padding-bottom: 17px; }
	.td-account-hero h1 { font-size: 28px; }
	.td-account-hero > div > p:last-child { font-size: 13px; line-height: 1.55; }
	.td-account-hero__support { display: none; }
	.td-account-profile strong { max-width: 210px; }
	.td-account-nav a { min-height: 48px; padding: 10px; font-size: 11px; }
	.td-account-nav .td-account-icon { width: 17px; }
	.td-dashboard__welcome { display: block; padding: 19px; }
	.td-dashboard__welcome h2 { font-size: 24px; }
	.td-dashboard__welcome > a { margin-top: 11px; }
	.td-summary-grid { gap: 8px; margin-bottom: 24px; }
	.td-summary-grid > a { min-height: 104px; padding: 13px; }
	.td-summary-grid strong { font-size: 24px; }
	.td-account-section { margin-top: 25px; }
	.td-account-section__heading h2 { font-size: 19px; }
	.td-quick-grid { gap: 8px; }
	.td-quick-grid > a { grid-template-columns: 35px minmax(0, 1fr); min-height: 82px; padding: 12px; }
	.td-quick-grid > a > span { width: 35px; height: 35px; }
	.td-quick-grid > a > .td-account-icon { display: none; }
	.td-quick-grid small { white-space: normal; }
	.td-order-card__header,
	.td-order-card__footer { align-items: flex-start; padding: 13px; }
	.td-order-card__header { display: grid; }
	.td-order-card__meta { justify-content: space-between; }
	.td-order-card__items { padding: 3px 13px; }
	.td-order-item { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; }
	.td-order-item__image { width: 58px; height: 58px; }
	.td-order-card__footer { display: grid; }
	.td-order-card__actions { justify-content: flex-start; }
	.td-account-button { min-height: 44px; }
	.td-endpoint-intro { padding: 18px; }
	.td-owned-card { grid-template-columns: 100px minmax(0, 1fr); }
	.td-owned-card__image img { min-height: 180px; }
	.td-offer-grid { grid-template-columns: 1fr; }
	.td-offer-card { grid-template-columns: 48px minmax(0, 1fr); }
	.td-offer-card > a { grid-column: 2; justify-self: start; }
	.td-support-grid { grid-template-columns: 1fr; }
	.td-support-grid > a:last-child { grid-column: auto; }
	.td-product-strip { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
	.td-product-strip > a { flex: 0 0 38%; scroll-snap-align: start; }
	.td-order-progress { overflow-x: auto; padding: 16px 10px; }
	.td-order-progress ol { min-width: 480px; }
	.td-account-content .woocommerce-Addresses { display: grid; }
	.td-account-content .woocommerce-Addresses .woocommerce-Address { width: 100%; }
	.td-account-auth__aside { padding: 24px 20px; }
	.td-account-auth__aside ul { grid-template-columns: 1fr; }
	.td-account-auth__aside li { display: flex; padding: 10px 0; }
	.td-account-auth__forms { padding: 24px 18px; }
	.td-account-auth__forms #customer_login { grid-template-columns: 1fr; gap: 28px; }
	.td-account-auth__forms #customer_login > div + div { padding: 25px 0 0; border-top: 1px solid var(--td-account-line); border-left: 0; }
	.td-account-auth__forms .woocommerce-form-login__rememberme { display: flex; }
	.td-account-auth__forms button[type="submit"] { width: 100%; }
}

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