body.tsmp-account {
	--tsmp-text: #111;
	--tsmp-muted: #77736e;
	--tsmp-line: #e6e4e0;
	--tsmp-soft: #f5f4f1;
	--tsmp-bg: #f7f5f2;
}

body.tsmp-account #sub-header,
body.tsmp-account .page-header,
body.tsmp-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--downloads {
	display: none !important;
}

body.woocommerce.woocommerce-account.tsmp-account .woocommerce,
body.woocommerce.woocommerce-account.tsmp-account .limit-wrapper {
	float: none !important;
	width: 100% !important;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
}

body.woocommerce.woocommerce-account.tsmp-account .woocommerce-MyAccount-content,
body.woocommerce.woocommerce-account.tsmp-account .woocommerce-MyAccount-content.tsmp-main {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	padding-top: 0;
	margin-bottom: 48px !important;
}

body.woocommerce.woocommerce-account.tsmp-account .tsmp,
.tsmp {
	display: grid !important;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	max-width: 1300px;
	margin: 0 auto 48px;
	padding: 8px 24px 0;
	word-break: normal;
	overflow-wrap: normal;
}

/* Beat Woo 30% + Jolie float so the sidebar never collapses to ~100px. */
body.woocommerce.woocommerce-account.tsmp-account nav.woocommerce-MyAccount-navigation.tsmp-nav,
.tsmp-nav {
	float: none !important;
	clear: none !important;
	position: sticky;
	top: 24px;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 260px !important;
	max-width: 280px !important;
	flex-shrink: 0;
	margin: 0 !important;
	padding: 20px 18px;
	background: #fff !important;
	border: 1px solid var(--tsmp-line) !important;
	border-radius: 12px;
	word-break: normal;
	overflow-wrap: normal;
}

.tsmp-nav__who,
.tsmp-customer-profile {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 8px;
	padding: 0 0 16px;
}

.tsmp-nav__avatar {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tsmp-soft);
	color: var(--tsmp-text);
}

.tsmp-nav__who-text {
	min-width: 0;
	flex: 1 1 auto;
}

.tsmp-nav__who-text strong,
.tsmp-nav__who-text span {
	display: block;
}

.tsmp-customer-profile .tsmp-nav__who-text strong,
.tsmp-nav__who-text strong {
	color: var(--tsmp-text);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.tsmp-customer-profile .tsmp-nav__who-text span,
.tsmp-nav__who-text span {
	margin-top: 0;
	color: #77736e;
	font-size: 13px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.tsmp-nav__toggle {
	display: none;
}

.tsmp-nav__group {
	margin: 16px 0 6px;
	color: var(--tsmp-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.woocommerce.woocommerce-account.tsmp-account .tsmp-nav ul,
.tsmp-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.woocommerce.woocommerce-account.tsmp-account nav.woocommerce-MyAccount-navigation.tsmp-nav ul li,
.tsmp-nav li {
	margin: 0;
	padding: 0 !important;
	border: none !important;
	list-style: none;
}

body.woocommerce.woocommerce-account.tsmp-account nav.woocommerce-MyAccount-navigation.tsmp-nav li a,
.tsmp-nav li a,
.tsmp-nav__logout {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	color: var(--tsmp-text);
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

body.woocommerce.woocommerce-account.tsmp-account nav.woocommerce-MyAccount-navigation.tsmp-nav ul li.is-active a,
.tsmp-nav li.is-active a {
	background: #f5f4f1;
	border-bottom: none !important;
	border-radius: 8px;
	color: var(--tsmp-text);
	padding-bottom: 10px;
}

.tsmp-nav li a > span:last-child,
.tsmp-nav__logout > span:last-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.tsmp-nav__icon {
	display: flex;
	flex: 0 0 20px;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #555;
}

.tsmp-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.tsmp-nav__logout {
	margin-top: 12px;
	border-top: 1px solid var(--tsmp-line);
	border-radius: 0 0 8px 8px;
	padding-top: 14px;
	color: var(--tsmp-muted);
}

.tsmp-main {
	min-width: 0;
	width: 100%;
	max-width: none;
}

.tsmp-dash,
.tsmp-page {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	min-width: 0;
	width: 100%;
	max-width: none;
}

.tsmp-dash {
	flex: 0 0 auto;
	overflow-x: visible;
}

body.tsmp-account .tsmp-dash > * {
	flex: 0 0 auto;
	width: 100%;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
}

.tsmp-dash__hello {
	margin: 0 0 6px;
}

.tsmp-dash__hello h2,
.tsmp-page__head h2 {
	margin: 0 0 8px;
	color: var(--tsmp-text);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	word-break: normal;
	overflow-wrap: normal;
}

.tsmp-dash__hello p,
.tsmp-page__head p,
.tsmp-muted {
	margin: 0;
	color: var(--tsmp-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.tsmp-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 240px));
	gap: 12px;
}

.tsmp-stat,
.tsmp-card,
body.tsmp-account .woocommerce-Address,
body.tsmp-account .woocommerce-order-details,
body.tsmp-account .woocommerce-customer-details,
body.tsmp-account form.edit-address {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid #e6e4e0;
	border-radius: 12px;
	box-shadow: none;
	min-height: 0;
}

.tsmp-stat {
	display: block;
	max-width: 280px;
	color: inherit;
	text-decoration: none;
}

.tsmp-stat span {
	display: block;
	color: var(--tsmp-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tsmp-stat strong {
	display: block;
	margin-top: 6px;
	font-size: 28px;
	font-weight: 700;
}

.tsmp-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.tsmp-card__head h3,
.tsmp-help h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	word-break: normal;
	overflow-wrap: normal;
}

.tsmp-last:has(.tsmp-empty) .tsmp-card__head {
	margin-bottom: 8px;
}

.tsmp-last__top,
.tsmp-order {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.tsmp-last__no,
.tsmp-order__no,
.tsmp-addr__name {
	margin: 0;
	font-weight: 700;
	word-break: normal;
	overflow-wrap: normal;
}

.tsmp-last__meta {
	margin: 4px 0 0;
	color: var(--tsmp-muted);
	font-size: 13px;
	font-weight: 400;
}

/* ===== Dashboard layout (scoped) ===== */
body.tsmp-account .tsmp-dashboard .tsmp-card {
	width: 100%;
	max-width: none;
	float: none;
	box-sizing: border-box;
	padding: 28px;
}

body.tsmp-account .tsmp-dashboard-order {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

body.tsmp-account .tsmp-dashboard-order__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--tsmp-line);
}

body.tsmp-account .tsmp-dashboard-order__intro {
	min-width: 0;
}

body.tsmp-account .tsmp-dashboard-order__intro h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

body.tsmp-account .tsmp-dashboard-order-content {
	display: grid !important;
	grid-template-columns: minmax(180px, .28fr) minmax(0, 1fr);
	gap: 20px 24px;
	align-items: start;
	width: 100%;
	min-width: 0;
}

body.tsmp-account .tsmp-dashboard-order-summary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	padding-right: 20px;
	border-right: 1px solid var(--tsmp-line);
}

body.tsmp-account .tsmp-dashboard-order-summary__label {
	color: var(--tsmp-muted);
	font-size: 13px;
	font-weight: 400;
}

body.tsmp-account .tsmp-dashboard-order-summary__total {
	color: var(--tsmp-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	word-break: normal;
	overflow-wrap: anywhere;
}

body.tsmp-account .tsmp-dashboard-order-summary__count {
	color: var(--tsmp-muted);
	font-size: 13px;
	font-weight: 400;
}

body.tsmp-account .tsmp-dashboard-order__footer {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--tsmp-line);
}

body.tsmp-account .tsmp-dashboard-order__footer .button,
body.tsmp-account .tsmp-dashboard-order__footer .tsmp-btn,
body.tsmp-account .tsmp-dashboard-order .tsmp-empty .button {
	width: auto;
	min-width: 160px;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

html body.tsmp-account .tsmp-dashboard-order__footer a.button:hover,
html body.tsmp-account .tsmp-dashboard-order__footer a.button:focus,
html body.tsmp-account .tsmp-dashboard-order__footer a.tsmp-btn:hover,
html body.tsmp-account .tsmp-dashboard-order__footer a.tsmp-btn:focus,
html body.tsmp-account .tsmp-dashboard-order .tsmp-empty a.button:hover,
html body.tsmp-account .tsmp-dashboard-order .tsmp-empty a.button:focus {
	background: #ea2e00 !important;
	border-color: #ea2e00 !important;
	color: #fff !important;
}

body.tsmp-account .tsmp-dashboard-order-products {
	min-width: 0;
	width: 100%;
}

body.tsmp-account .tsmp-dashboard-order-products__head,
body.tsmp-account .tsmp-dashboard-order-products__row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 90px 130px;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

body.tsmp-account .tsmp-dashboard-order-products__head {
	margin: 0 0 4px;
	color: var(--tsmp-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.tsmp-account .tsmp-dashboard-order-products__head span:nth-child(2),
body.tsmp-account .tsmp-dashboard-order-products__head span:nth-child(3),
body.tsmp-account .tsmp-dashboard-order-products__qty,
body.tsmp-account .tsmp-dashboard-order-products__price {
	text-align: right;
}

body.tsmp-account .tsmp-dashboard-order-products__row {
	padding: 12px 0;
	border-bottom: 1px solid var(--tsmp-line);
}

body.tsmp-account .tsmp-dashboard-order-products__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.tsmp-account .tsmp-order-product-main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

body.tsmp-account .tsmp-order-product-main__thumb {
	display: flex;
	flex: 0 0 56px;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--tsmp-soft);
}

body.tsmp-account .tsmp-order-product-main__thumb img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

body.tsmp-account .tsmp-order-product-main__name,
body.tsmp-account .tsmp-dashboard-order-products__qty,
body.tsmp-account .tsmp-dashboard-order-products__price {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	overflow-wrap: anywhere;
	word-break: normal;
	white-space: nowrap;
}

body.tsmp-account .tsmp-dashboard-summary-grid,
body.tsmp-account .tsmp-dashboard-bottom-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 20px;
	width: 100%;
	max-width: none;
	align-items: stretch;
	float: none;
}

body.tsmp-account .tsmp-dashboard-summary-grid > *,
body.tsmp-account .tsmp-dashboard-bottom-grid > * {
	grid-column: auto !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	height: auto;
	align-self: stretch;
	float: none !important;
}

body.tsmp-account .tsmp-dashboard .tsmp-dashboard-summary {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
	box-sizing: border-box;
}

body.tsmp-account .tsmp-dashboard-summary__link {
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 28px 32px;
	box-sizing: border-box;
	color: inherit;
	text-decoration: none;
	float: none;
}

body.tsmp-account .tsmp-dashboard-summary__link:hover,
body.tsmp-account .tsmp-dashboard-summary__link:focus {
	color: inherit;
}

body.tsmp-account .tsmp-dashboard-summary:hover {
	border-color: #d8d4ce;
}

body.tsmp-account .tsmp-dashboard-summary__row {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	width: 100%;
}

body.tsmp-account .tsmp-dashboard-summary__icon {
	display: flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0;
	border-radius: 50%;
	background: #f6eee8;
	color: var(--tsmp-text);
}

body.tsmp-account .tsmp-dashboard-summary--fav .tsmp-dashboard-summary__icon,
body.tsmp-account .tsmp-dashboard-summary--alert .tsmp-dashboard-summary__icon {
	background: #f6eee8;
}

body.tsmp-account .tsmp-dashboard-summary__icon .tsmp-icon {
	width: 22px;
	height: 22px;
}

body.tsmp-account .tsmp-dashboard-summary__count {
	flex: 0 0 auto;
	margin: 0;
	color: var(--tsmp-text);
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
}

body.tsmp-account .tsmp-dashboard-summary__hint {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: var(--tsmp-muted);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

body.tsmp-account .tsmp-dashboard-summary__cta {
	display: block;
	width: 100%;
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--tsmp-line);
	color: var(--tsmp-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

@media screen and (min-width: 992px) {
	body.tsmp-account .tsmp-dashboard-summary-grid > .tsmp-dashboard-summary {
		height: 200px !important;
	}
}

body.tsmp-account .tsmp-dashboard-address,
body.tsmp-account .tsmp-dashboard-help {
	display: flex;
	flex-direction: column;
}

body.tsmp-account .tsmp-dashboard .tsmp-addr__body {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
}

body.tsmp-account .tsmp-dashboard .tsmp-addr__icon {
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tsmp-soft);
	color: var(--tsmp-text);
}

body.tsmp-account .tsmp-dashboard .tsmp-addr__text {
	min-width: 0;
}

body.tsmp-account .tsmp-dashboard-help p {
	margin: 8px 0 16px;
	color: var(--tsmp-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

body.tsmp-account .tsmp-dashboard .tsmp-help__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}

body.tsmp-account .tsmp-dashboard .tsmp-help__line {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: auto;
	max-width: 100%;
	color: var(--tsmp-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

body.tsmp-account .tsmp-dashboard .tsmp-help__line:hover,
body.tsmp-account .tsmp-dashboard .tsmp-help__line:focus {
	color: var(--tsmp-text);
}

body.tsmp-account .tsmp-dashboard .tsmp-help__line--wa,
body.tsmp-account .tsmp-dashboard .tsmp-help__line--wa:hover,
body.tsmp-account .tsmp-dashboard .tsmp-help__line--wa:focus {
	color: #128c4a;
}

body.tsmp-account .tsmp-dashboard .tsmp-help__ico {
	display: flex;
	flex: 0 0 20px;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
}

body.tsmp-account .tsmp-dashboard .tsmp-help__ico .tsmp-icon {
	width: 18px;
	height: 18px;
}

.tsmp-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--tsmp-soft);
	color: var(--tsmp-text);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.tsmp-badge--ongoing {
	background: #f4f7fa;
	color: #293640;
}

.tsmp-badge--completed {
	background: var(--hummel-success-bg, #f3faf6);
	color: var(--hummel-success-text, #25382c);
}

.tsmp-badge--closed {
	background: var(--hummel-error-bg, #fff6f6);
	color: var(--hummel-error-text, #3a2929);
}

.tsmp-btn,
body.tsmp-account .woocommerce-Button,
body.tsmp-account .woocommerce-button,
body.tsmp-account button.button,
body.tsmp-account .edit-account .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: #111 !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.tsmp-btn--ghost {
	background: #fff !important;
	border: 1px solid var(--tsmp-line);
	color: var(--tsmp-text) !important;
}

.tsmp-btn--inline {
	width: auto !important;
	min-height: 42px;
}

.tsmp-btn--tiny {
	min-height: 32px;
	padding: 0 12px;
	font-size: 13px;
	width: auto !important;
	flex-shrink: 0;
}

.tsmp-empty {
	text-align: left;
}

.tsmp-empty p {
	margin: 0 0 12px;
	color: var(--tsmp-muted);
}

.tsmp-addr p {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
	word-break: normal;
}

.tsmp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 30px;
}

.tsmp-filters button {
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--tsmp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--tsmp-muted);
	font-size: 13px;
	cursor: pointer;
}

.tsmp-filters button.is-active {
	background: var(--tsmp-soft);
	color: var(--tsmp-text);
	border-color: #d8d4ce;
}

body.tsmp-account .edit-account input.input-text,
body.tsmp-account .woocommerce-address-fields input.input-text,
body.tsmp-account .woocommerce-address-fields select,
body.tsmp-account .select2-container .select2-selection {
	width: 100%;
	height: 48px;
	padding: 0 12px;
	border: 1px solid var(--tsmp-line) !important;
	border-radius: 6px;
	background: #fff;
	box-shadow: none !important;
}

.tsmp-orders {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsmp-order {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .8fr) auto;
	align-items: center;
	gap: 16px;
}

.tsmp-order__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tsmp-addr-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 2px;
}

.tsmp-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.45;
}

body.tsmp-account .edit-account .form-row {
	margin: 0 0 14px !important;
}

body.tsmp-account .edit-account label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

body.tsmp-page-profile .edit-account fieldset,
body.tsmp-page-password .edit-account .woocommerce-form-row--first,
body.tsmp-page-password .edit-account .woocommerce-form-row--last,
body.tsmp-page-password .edit-account #account_display_name,
body.tsmp-page-password .edit-account #account_email,
body.tsmp-page-password .tsmp-phone-row,
body.tsmp-page-password .tsst-email-preferences,
body.tsmp-page-profile .tsst-email-preferences {
	display: none !important;
}

body.tsmp-page-password .edit-account #account_display_name_description,
body.tsmp-page-password .edit-account p:has(#account_display_name),
body.tsmp-page-password .edit-account p:has(#account_email) {
	display: none !important;
}

body.tsmp-account table.shop_table {
	border: 1px solid var(--tsmp-line);
	border-radius: 12px;
	overflow: hidden;
}

@media screen and (min-width: 768px) {
	.tsmp-nav__list,
	.tsmp-nav__list[hidden] {
		display: block !important;
	}
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
	body.woocommerce.woocommerce-account.tsmp-account .tsmp,
	.tsmp {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 24px;
		padding-inline: 20px;
	}

	body.woocommerce.woocommerce-account.tsmp-account nav.woocommerce-MyAccount-navigation.tsmp-nav,
	.tsmp-nav {
		min-width: 260px !important;
		max-width: 270px !important;
	}
}

@media screen and (max-width: 767px) {
	body.woocommerce.woocommerce-account.tsmp-account .tsmp,
	.tsmp {
		display: flex !important;
		flex-direction: column;
		gap: 16px;
		padding: 0 16px 32px;
		margin-bottom: 24px;
	}

	body.woocommerce.woocommerce-account.tsmp-account nav.woocommerce-MyAccount-navigation.tsmp-nav,
	.tsmp-nav {
		position: static;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		padding: 16px;
	}

	.tsmp-nav__who,
	.tsmp-customer-profile {
		flex-wrap: wrap;
		align-items: center;
		gap: 12px;
		margin-bottom: 0;
		padding: 0;
	}

	.tsmp-customer-profile .tsmp-nav__avatar,
	.tsmp-nav__avatar {
		flex: 0 0 42px;
		width: 42px;
		height: 42px;
	}

	.tsmp-customer-profile .tsmp-nav__who-text strong,
	.tsmp-nav__who-text strong {
		font-size: 15px;
		margin-bottom: 3px;
	}

	.tsmp-customer-profile .tsmp-nav__who-text span,
	.tsmp-nav__who-text span {
		font-size: 12px;
	}

	.tsmp-nav__toggle {
		display: inline-flex;
		flex: 1 1 100%;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 42px;
		margin-top: 10px;
		border: 1px solid var(--tsmp-line);
		border-radius: 8px;
		background: #fff;
		color: var(--tsmp-text);
		font-size: 14px;
		font-weight: 600;
	}

	.tsmp-nav__list[hidden] {
		display: none !important;
	}

	.tsmp-nav__list:not([hidden]) {
		margin-top: 12px;
	}

	.tsmp-dash__hello h2,
	.tsmp-page__head h2 {
		font-size: 24px;
	}

	.tsmp-stat,
	.tsmp-card,
	body.tsmp-account .woocommerce-Address,
	body.tsmp-account form.edit-address {
		padding: 16px 18px;
	}

	.tsmp-help,
	body.tsmp-account .tsmp-dashboard-help {
		padding: 16px 18px;
	}

	.tsmp-dash {
		display: flex;
	}

	.tsmp-dash__hello { order: 1; }
	.tsmp-dashboard-order,
	.tsmp-last { order: 2; }
	.tsmp-dashboard-summary-grid { order: 3; }
	.tsmp-dashboard-bottom-grid { order: 4; }

	body.tsmp-account .tsmp-dashboard-summary-grid,
	body.tsmp-account .tsmp-dashboard-bottom-grid,
	body.tsmp-account .tsmp-dashboard-order-content {
		grid-template-columns: 1fr !important;
	}

	body.tsmp-account .tsmp-dashboard-order-summary {
		padding-right: 0;
		border-right: 0;
		padding-bottom: 16px;
		border-bottom: 1px solid var(--tsmp-line);
	}

	body.tsmp-account .tsmp-dashboard-order-products__head {
		display: none !important;
	}

	body.tsmp-account .tsmp-dashboard-order-products__row {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 8px;
	}

	body.tsmp-account .tsmp-dashboard-order-products__qty,
	body.tsmp-account .tsmp-dashboard-order-products__price {
		text-align: left;
		padding-left: 68px;
	}

	body.tsmp-account .tsmp-dashboard-order__head {
		flex-wrap: wrap;
	}

	body.tsmp-account .tsmp-dashboard-summary,
	body.tsmp-account .tsmp-dashboard .tsmp-dashboard-summary {
		height: auto !important;
		padding: 0 !important;
	}

	body.tsmp-account .tsmp-dashboard-summary__link {
		height: auto;
		padding: 22px 20px;
	}

	body.tsmp-account .tsmp-dashboard-summary__count {
		font-size: 32px;
	}

	.tsmp-order {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.tsmp-addr-grid,
	.tsmp-stats {
		grid-template-columns: 1fr;
	}

	.tsmp-btn,
	body.tsmp-account .woocommerce-Button,
	body.tsmp-account button.button {
		min-height: 44px;
	}

	.tsmp-btn--inline,
	.tsmp-btn--tiny {
		width: auto !important;
	}

	.tsmp-favorites-page .tsmp-fav-grid,
	.tsmp-fav-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 420px) {
	.tsmp-favorites-page .tsmp-fav-grid,
	.tsmp-fav-grid {
		grid-template-columns: 1fr;
	}
}

body.tsmp-account .tsmp-favorites-page .tsmp-fav-card__actions > .button,
body.tsmp-account .tsmp-favorites-page .tsmp-fav-card__actions > .add_to_cart_button,
body.tsmp-account .tsmp-favorites-page .tsmp-fav-card__actions > button.tsmp-alert-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	border: 0;
	border-radius: 2px;
}

body.tsmp-account .tsmp-stock-alerts-page .tsmp-card-actions .tsmp-alert-cancel,
html body button.tsmp-alert-cancel {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 2px;
	background: #000;
	color: #f5f3f1;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

html body button.tsmp-alert-cancel::before,
html body button.tsmp-alert-cancel::after {
	content: none !important;
	display: none !important;
}

body.tsmp-account .tsmp-stock-alerts-page .tsmp-card-actions .tsmp-alert-cancel:hover,
body.tsmp-account .tsmp-stock-alerts-page .tsmp-card-actions .tsmp-alert-cancel:focus,
html body button.tsmp-alert-cancel:hover,
html body button.tsmp-alert-cancel:focus {
	background: #ea2e00;
	color: #fff;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0 16px;
	transform: none;
}

.tsmp-fav-grid,
.tsmp-alert-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsmp-alert-list {
	grid-template-columns: 1fr;
	gap: 16px;
}

.tsmp-fav-card,
.tsmp-alert-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 14px;
}

.tsmp-alert-card {
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
}

.tsmp-fav-card__media,
.tsmp-alert-card__media {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #f5f4f1;
}

.tsmp-fav-card__media img,
.tsmp-alert-card__media img {
	display: block;
	width: 100%;
	height: auto;
}

.tsmp-alert-card__media {
	flex: 0 0 72px;
	width: 72px;
}

.tsmp-fav-card__title,
.tsmp-alert-card__title {
	margin: 10px 0 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: break-word;
	word-break: normal;
}

.tsmp-fav-card__title a,
.tsmp-alert-card__title a {
	color: inherit;
	text-decoration: none;
}

.tsmp-fav-card__price,
.tsmp-alert-card__price {
	font-size: 14px;
}

.tsmp-fav-card__stock,
.tsmp-alert-card__date {
	margin: 6px 0 0;
}

.tsmp-fav-card__actions,
.tsmp-alert-card__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.tsmp-fav-card__actions .button,
.tsmp-fav-card__actions .tsmp-alert-btn,
.tsmp-fav-card__actions .tsmp-btn {
	width: 100%;
}

@media screen and (min-width: 1200px) {
	.tsmp-favorites-page .tsmp-fav-grid,
	.tsmp-fav-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 1024px) {
	.tsmp-favorites-page .tsmp-fav-grid,
	.tsmp-fav-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body.tsmp-account .tsmp-page-header,
body.tsmp-account .tsmp-favorites-page .tsmp-page__head,
body.tsmp-account .tsmp-stock-alerts-page .tsmp-page__head,
body.tsmp-account .tsmp-orders-page .tsmp-page__head {
	margin: 0 0 8px;
}

body.tsmp-account .tsmp-page-header p,
body.tsmp-account .tsmp-favorites-page .tsmp-page__head p,
body.tsmp-account .tsmp-stock-alerts-page .tsmp-page__head p,
body.tsmp-account .tsmp-orders-page .tsmp-page__head p {
	margin: 0;
	max-width: 42em;
}

body.tsmp-account .tsmp-favorites-page .tsmp-listing-grid,
body.tsmp-account .tsmp-stock-alerts-page .tsmp-listing-grid,
body.tsmp-account .tsmp-orders-page .tsmp-listing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tsmp-account .tsmp-favorites-page .tsmp-product-card,
body.tsmp-account .tsmp-stock-alerts-page .tsmp-product-card,
body.tsmp-account .tsmp-stock-alerts-page .tsmp-alert-card,
body.tsmp-account .tsmp-orders-page .tsmp-card--order {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e6e4e0;
	border-radius: 12px;
	box-shadow: none;
	overflow: hidden;
}

body.tsmp-account .tsmp-card-image {
	position: relative;
	margin: 0;
	padding: 0;
	line-height: 0;
	background: transparent;
}

body.tsmp-account .tsmp-product-image {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 0;
}

body.tsmp-account .tsmp-product-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

body.tsmp-account .tsmp-favorites-page .tsmp-fav-anchor {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 4;
	display: block;
	width: 40px;
	height: 40px;
	pointer-events: none;
}

body.tsmp-account .tsmp-favorites-page .tsmp-fav-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	max-width: 40px;
	max-height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ea2e00;
	color: #fff;
	line-height: 0;
	pointer-events: auto;
	cursor: pointer;
	box-shadow: none;
}

body.tsmp-account .tsmp-favorites-page .tsmp-fav-btn:hover,
body.tsmp-account .tsmp-favorites-page .tsmp-fav-btn:focus {
	background: #111;
	color: #fff;
}

body.tsmp-account .tsmp-favorites-page .tsmp-fav-btn .tsmp-icon,
body.tsmp-account .tsmp-favorites-page .tsmp-fav-btn svg {
	display: block;
	width: 18px;
	height: 18px;
	overflow: visible;
}

body.tsmp-account .tsmp-card-content {
	padding: 18px;
}

body.tsmp-account .tsmp-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

body.tsmp-account .tsmp-card-title a,
body.tsmp-account .tsmp-card--order .tsmp-card-title {
	color: inherit;
	text-decoration: none;
}

body.tsmp-account .tsmp-card-price {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

body.tsmp-account .tsmp-status {
	margin: 0 0 6px;
	color: var(--tsmp-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

body.tsmp-account .tsmp-card-meta {
	margin: 0 0 12px;
	color: var(--tsmp-muted);
	font-size: 13px;
	line-height: 1.4;
}

body.tsmp-account .tsmp-card-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin-top: 4px;
}

body.tsmp-account .tsmp-card-actions .add_to_cart_button,
body.tsmp-account .tsmp-card-actions .ajax_add_to_cart,
body.tsmp-account .tsmp-card-actions .added_to_cart,
body.tsmp-account .tsmp-card-actions .product_type_simple,
body.tsmp-account .tsmp-card-actions .product_type_variable,
body.tsmp-account .tsmp-card-actions .woocommerce-button,
body.tsmp-account .tsmp-card-actions .tsmp-alert-btn,
body.tsmp-account .tsmp-card-actions .tsmp-btn {
	width: 100%;
	text-align: center;
}

body.tsmp-account .tsmp-orders-page .tsmp-order {
	display: block;
	grid-template-columns: none;
}

@media screen and (max-width: 1199px) {
	body.tsmp-account .tsmp-favorites-page .tsmp-listing-grid,
	body.tsmp-account .tsmp-stock-alerts-page .tsmp-listing-grid,
	body.tsmp-account .tsmp-orders-page .tsmp-listing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	body.tsmp-account .tsmp-favorites-page .tsmp-listing-grid,
	body.tsmp-account .tsmp-stock-alerts-page .tsmp-listing-grid,
	body.tsmp-account .tsmp-orders-page .tsmp-listing-grid {
		grid-template-columns: 1fr;
	}

	body.tsmp-account .tsmp-favorites-page .tsmp-fav-anchor,
	body.tsmp-account .tsmp-favorites-page .tsmp-fav-btn {
		width: 36px;
		height: 36px;
		min-width: 36px;
		min-height: 36px;
		max-width: 36px;
		max-height: 36px;
	}
}

body.tsmp-account.tsmp-page-view-order .woocommerce-MyAccount-content > p:has(.order-number),
body.tsmp-account.tsmp-page-view-order .woocommerce-order-details,
body.tsmp-account.tsmp-page-view-order .woocommerce-customer-details,
body.tsmp-account.tsmp-page-view-order .woocommerce-OrderUpdates {
	display: none !important;
}

.tsmp-order-detail {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-weight: 400;
	min-width: 0;
	overflow-x: hidden;
}

.tsmp-order-detail .tsmp-card__head h2,
.tsmp-order-detail .tsmp-order-header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.tsmp-order-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--tsmp-line);
}

.tsmp-order-header__left {
	min-width: 0;
	text-align: left;
}

.tsmp-order-header__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-left: auto;
	text-align: right;
}

.tsmp-order-header__no,
.tsmp-order-header__date {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tsmp-text);
}

body.tsmp-account .tsmp-order-status {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	vertical-align: middle;
}

body.tsmp-account .tsmp-order-status::before {
	content: "";
	display: block;
	flex: 0 0 7px;
	align-self: center;
	width: 7px;
	height: 7px;
	margin: 0;
	border-radius: 50%;
	background: currentColor;
}

.tsmp-order-status--orange {
	background: #f8efe4;
	color: #b05a12;
}

.tsmp-order-status--green {
	background: #eef6f1;
	color: #2d6a4f;
}

.tsmp-order-status--amber {
	background: #f8f3e4;
	color: #9a6b12;
}

.tsmp-order-status--danger {
	background: #f8eeee;
	color: #9a2f2f;
}

.tsmp-order-status--refund {
	background: #eef2f6;
	color: #4a5866;
}

.tsmp-order-status--neutral {
	background: var(--tsmp-soft);
	color: var(--tsmp-text);
}

.tsmp-order-shipment {
	padding: 16px 0 4px;
}

.tsmp-order-shipment h3 {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
}

.tsmp-order-shipment p {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.tsmp-order-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsmp-order-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto auto;
	gap: 16px 20px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #e6e4e0;
}

.tsmp-order-item__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	min-height: 72px;
	background: var(--tsmp-soft);
	border-radius: 8px;
	overflow: hidden;
}

.tsmp-order-item__media img {
	display: block;
	width: 72px;
	height: auto;
	max-height: 90px;
	object-fit: contain;
}

.tsmp-order-item__info {
	min-width: 0;
}

.tsmp-order-item__name,
.tsmp-order-item__name a {
	color: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.tsmp-order-item__info .wc-item-meta {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	color: var(--tsmp-muted);
	font-size: 13px;
	font-weight: 400;
}

.tsmp-order-item__qty,
.tsmp-order-item__price {
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

.tsmp-order-item__price {
	text-align: right;
}

.tsmp-order-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
	gap: 24px 32px;
	align-items: start;
	padding-top: 18px;
}

.tsmp-order-footer.is-summary-only .tsmp-order-summary {
	grid-column: 2;
}

.tsmp-order-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.tsmp-order-detail .tsmp-order-actions .button,
.tsmp-order-detail .tsmp-order-shipment .button {
	width: auto;
	min-width: 160px;
}

.tsmp-order-detail .tsmp-order-actions .button.cancel {
	background: #fff !important;
	border: 1px solid var(--tsmp-line);
	color: var(--tsmp-text) !important;
}

.tsmp-order-summary {
	min-width: 0;
}

.tsmp-order-summary__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.tsmp-order-summary__row.is-total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--tsmp-line);
	font-size: 15px;
	font-weight: 700;
}

.tsmp-order-summary__note {
	color: var(--tsmp-muted);
}

.tsmp-order-notes ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsmp-order-notes li + li {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--tsmp-line);
}

.tsmp-order-notes__date,
.tsmp-order-notes p {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.tsmp-order-notes__date {
	color: var(--tsmp-muted);
	font-size: 13px;
}

.tsmp-order-addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.tsmp-order-addresses.is-single {
	grid-template-columns: 1fr;
}

.tsmp-order-address {
	min-height: 100%;
}

.tsmp-order-address p {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.tsmp-order-address__name {
	font-weight: 500;
}

.tsmp-order-address__contact {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	color: var(--tsmp-muted);
}

.tsmp-order-address__contact .tsmp-icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

@media screen and (max-width: 980px) {
	.tsmp-order-footer {
		grid-template-columns: 1fr;
	}

	.tsmp-order-footer.is-summary-only .tsmp-order-summary {
		grid-column: 1;
	}
}

@media screen and (max-width: 767px) {
	.tsmp-order-header {
		flex-direction: column;
	}

	.tsmp-order-header__right {
		align-items: flex-start;
		margin-left: 0;
		text-align: left;
	}

	.tsmp-order-item {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px;
	}

	.tsmp-order-item__media {
		width: 64px;
		min-height: 64px;
	}

	.tsmp-order-item__media img {
		width: 64px;
		max-height: 80px;
	}

	.tsmp-order-item__qty,
	.tsmp-order-item__price {
		grid-column: 2;
		white-space: normal;
		text-align: left;
	}

	.tsmp-order-addresses,
	.tsmp-order-addresses.is-single {
		grid-template-columns: 1fr;
	}

	.tsmp-order-detail .tsmp-order-actions .button,
	.tsmp-order-detail .tsmp-order-shipment .button {
		width: 100%;
		min-width: 0;
	}
}
