/*
 * DKM account pages, layout: WooCommerce's own account page in the shop's
 * style, and its sign-in and registration forms when signed out. A side column (the customer, the menu, a help note) and the content
 * in cards. Only on the account pages (body.dkm-account-layout); fonts are
 * the page's own, colours the shop's tokens.
 */

body.dkm-account-layout .woocommerce:has(> .dkm-account-side) {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
	box-sizing: border-box;
	width: 100%;
	max-width: 1210px;
	margin: 0 auto;
	padding: 32px 24px 64px;
	color: var(--text-secondary);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

body.dkm-account-layout .woocommerce:has(> .dkm-account-side)::before,
body.dkm-account-layout .woocommerce:has(> .dkm-account-side)::after {
	display: none;
}

body.dkm-account-layout .woocommerce:has(> .dkm-account-side) *,
body.dkm-account-layout .woocommerce:has(> .dkm-account-side) *::before,
body.dkm-account-layout .woocommerce:has(> .dkm-account-side) *::after {
	box-sizing: border-box;
}

body.dkm-account-layout .woocommerce a {
	color: var(--text-link);
	text-decoration: none;
}

body.dkm-account-layout .woocommerce a:hover {
	color: var(--text-link-hover);
	text-decoration: underline;
}

/* A builder's widget around the page fills the row, so the page is as wide
   on every endpoint, not as wide as its content. */
body.dkm-account-layout .elementor-widget:has(.dkm-account-side) {
	align-self: stretch;
	width: 100%;
}

/* The theme's striped table rows stay out of the cards. */
body.dkm-account-layout .woocommerce table tbody > tr > td,
body.dkm-account-layout .woocommerce table tbody > tr > th {
	background: transparent;
}

/* Links drawn as buttons and cards keep their own colours. */
body.dkm-account-layout .woocommerce a.dkm-button--primary,
body.dkm-account-layout .woocommerce a.dkm-button--primary:hover {
	color: var(--text-inverse);
	text-decoration: none;
}

body.dkm-account-layout .woocommerce a.dkm-button--secondary,
body.dkm-account-layout .woocommerce a.dkm-button--secondary:hover {
	color: var(--text-primary);
	text-decoration: none;
}

body.dkm-account-layout .woocommerce a.dkm-stat,
body.dkm-account-layout .woocommerce a.dkm-stat:hover,
body.dkm-account-layout .woocommerce .woocommerce-MyAccount-content a.button,
body.dkm-account-layout .woocommerce .woocommerce-MyAccount-content a.button:hover {
	text-decoration: none;
}

/* Side column */

body.dkm-account-layout .dkm-account-side {
	display: flex;
	flex: 1 1 240px;
	flex-direction: column;
	gap: 12px;
	max-width: 100%;
}

body.dkm-account-layout .woocommerce-MyAccount-content {
	display: flex;
	flex: 999 1 560px;
	flex-direction: column;
	gap: 20px;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
}

body.dkm-account-layout .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.dkm-profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

.dkm-profile__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bg-brand);
	color: var(--text-primary);
	font-size: 18px;
	font-weight: 800;
}

.dkm-profile__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dkm-profile__name {
	color: var(--text-primary);
	font-weight: 700;
}

.dkm-profile__email {
	overflow: hidden;
	color: var(--text-tertiary);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	margin: 0;
	padding: 8px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

body.dkm-account-layout .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: var(--button-radius);
	color: var(--text-secondary);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 20px 20px;
	mask-size: 20px 20px;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a:hover,
body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a:focus-visible {
	background: var(--bg-subtle);
	color: var(--text-primary);
	text-decoration: none;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link.is-active > a {
	background: var(--bg-info);
	color: var(--text-link-hover);
	font-weight: 700;
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--border-subtle);
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--customer-logout > a {
	color: var(--text-tertiary);
}

.dkm-help {
	padding: 18px;
	border-radius: var(--card-radius);
	background: var(--bg-info);
}

.dkm-help p {
	margin: 0;
}

.dkm-help__title {
	margin-bottom: 4px;
	color: var(--text-primary);
	font-weight: 700;
}

.dkm-help__text {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	white-space: pre-line;
}

.dkm-help .dkm-help__email {
	display: inline-block;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* Headings */

.dkm-page-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.dkm-account-layout .woocommerce-MyAccount-content h1,
.dkm-page-head__title,
.dkm-dashboard__title {
	margin: 0;
	color: var(--text-primary);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.022em;
}

.dkm-page-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--text-tertiary);
}

.dkm-dashboard {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.dkm-dashboard__lead {
	margin: 6px 0 0;
	color: var(--text-tertiary);
	font-size: 16px;
}

body.dkm-account-layout .woocommerce-MyAccount-content h2 {
	margin: 0 0 12px;
	color: var(--text-primary);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

body.dkm-account-layout .woocommerce-MyAccount-content h3 {
	margin: 0 0 8px;
	color: var(--text-primary);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

/* WooCommerce's sentence above an order ("Order #1 was placed on ...") gives
   way to the heading above. */
body.dkm-account-layout .woocommerce-MyAccount-content > p:has(> mark.order-number) {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content mark {
	background: transparent;
	color: inherit;
}

/* Cards */

.dkm-card,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address,
body.dkm-account-layout .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
body.dkm-account-layout .woocommerce-MyAccount-content form:has(> .woocommerce-address-fields),
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-PaymentMethods,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-OrderUpdates {
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

.dkm-card {
	padding: 20px 24px;
}

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

body.dkm-account-layout .woocommerce-MyAccount-content .dkm-card__title {
	margin: 0;
	font-size: 20px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .dkm-card__title--small {
	font-size: 17px;
}

.dkm-card__link {
	flex: none;
	font-size: 15px;
	font-weight: 600;
}

/* Recent orders */

.dkm-orders {
	padding: 8px 0;
}

.dkm-orders .dkm-card__head {
	margin: 0;
	padding: 14px 24px;
}

.dkm-orders__scroll {
	overflow-x: auto;
}

.dkm-orders__table {
	width: 100%;
	min-width: 620px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.dkm-orders__table th,
.dkm-orders__table td {
	padding: 16px 12px;
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.dkm-orders__table th {
	padding-top: 10px;
	padding-bottom: 10px;
	color: var(--text-tertiary);
	font-size: 13px;
	font-weight: 600;
}

.dkm-orders__table tbody tr {
	border-top: 1px solid var(--border-subtle);
}

.dkm-orders__table th:first-child,
.dkm-orders__table td:first-child {
	padding-left: 24px;
}

.dkm-orders__table th:last-child,
.dkm-orders__table td:last-child {
	padding-right: 24px;
	text-align: right;
}

.dkm-orders__table .dkm-orders__total {
	text-align: right;
}

.dkm-orders__number {
	font-weight: 700;
}

.dkm-orders__items {
	display: block;
	color: var(--text-tertiary);
	font-size: 13px;
}

.dkm-orders__total strong {
	color: var(--text-primary);
}

.dkm-orders__view {
	font-weight: 600;
}

.dkm-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Addresses */

.dkm-addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.dkm-address {
	padding: 20px;
}

.dkm-address__body {
	font-size: 15px;
	font-style: normal;
	line-height: 1.5;
}

/* WooCommerce's tables: orders, an order's products and totals */

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 15px;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table th,
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table td {
	padding: 16px 12px;
	border: 0;
	border-top: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--text-secondary);
	text-align: left;
	vertical-align: middle;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table thead th {
	padding-top: 12px;
	padding-bottom: 12px;
	border-top: 0;
	color: var(--text-tertiary);
	font-size: 13px;
	font-weight: 600;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table tr > :first-child {
	padding-left: 24px;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table tr > :last-child {
	padding-right: 24px;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table tfoot th {
	color: var(--text-secondary);
	font-weight: 500;
}

/* An order's products and totals. Other plugins add their buttons after the
   table (invoices, Order again), some with line breaks between them: the
   buttons sit in one row under the table and the breaks go. */
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 20px 24px 24px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > * {
	flex: 1 1 100%;
	min-width: 0;
	margin: 0;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > h2 {
	margin-bottom: 4px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > table.shop_table {
	flex-basis: calc(100% + 48px);
	width: calc(100% + 48px);
	margin: 0 -24px 8px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > br {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > .button,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > p:has(> .button:only-child) {
	flex: 0 0 auto;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > .dkm-saved {
	margin: 8px 0;
}

/* An order without a delivery address: its billing address alone, as a card. */
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-customer-details:not(:has(.col2-set)) {
	padding: 20px 24px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

body.dkm-account-layout .woocommerce-table--order-details .product-name a {
	color: var(--text-primary);
	font-weight: 700;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details .product-total,
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-table--order-details tfoot td {
	text-align: right;
}

body.dkm-account-layout .woocommerce-MyAccount-content .wc-item-meta {
	margin: 6px 0 0;
	padding: 0;
	color: var(--text-tertiary);
	font-size: 14px;
	list-style: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .wc-item-meta li {
	margin: 0;
}

body.dkm-account-layout .woocommerce-MyAccount-content .wc-item-meta p {
	display: inline;
	margin: 0;
}

/* WooCommerce's orders list: one card per order */

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table,
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody {
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: visible;
	border: 0;
	background: transparent;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table thead {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 14px;
	padding: 20px 24px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

/* WooCommerce's phone stylesheet right-aligns these cells with !important;
   only !important takes them back. */
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > th,
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left !important;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > td::before,
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > th::before {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
	grid-area: 1 / 1;
	font-size: 18px;
	font-weight: 800;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
	color: var(--text-primary);
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
	grid-area: 1 / 2;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
	grid-area: 1 / 3;
	color: var(--text-tertiary);
	font-size: 14px;
	white-space: nowrap;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > .woocommerce-orders-table__cell-order-total {
	grid-area: 1 / 4;
	text-align: right !important;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	grid-area: 2 / 4 / 3 / 5;
	align-self: stretch;
	padding-top: 16px;
	border-top: 1px solid var(--border-subtle);
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > .woocommerce-orders-table__cell-dkm-items {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	grid-area: 2 / 1 / 3 / 4;
	padding-top: 16px;
	border-top: 1px solid var(--border-subtle);
}

/* A card without products, or without actions, keeps its line whole. */
body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > .woocommerce-orders-table__cell-dkm-items:empty {
	display: none;
}

.dkm-items {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.dkm-items__thumbs {
	display: flex;
	flex: none;
	gap: 6px;
}

.dkm-thumb {
	display: block;
	overflow: hidden;
	width: 44px;
	height: 44px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--radius-md);
	background: var(--bg-surface);
}

.dkm-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.dkm-items__names {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: var(--text-secondary);
	font-size: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dkm-return-until {
	color: var(--text-tertiary);
	font-size: 14px;
}

.dkm-page-head__lead {
	margin: 0;
	color: var(--text-tertiary);
}

.dkm-page-head__lead .dkm-saved-total,
.dkm-page-head__lead .dkm-saved-total .woocommerce-Price-amount {
	color: var(--text-success);
}

/* The returns page */

.dkm-returns__list,
.dkm-refunds__list {
	display: flex;
	flex-direction: column;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.dkm-return,
.dkm-refund {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--border-subtle);
}

.dkm-return:first-child,
.dkm-refund:first-child {
	border-top: 0;
}

.dkm-return__head,
.dkm-return__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 14px;
}

.dkm-return__head {
	justify-content: flex-start;
}

body.dkm-account-layout .woocommerce .dkm-return__number {
	color: var(--text-primary);
	font-size: 17px;
	font-weight: 800;
}

.dkm-return__date,
.dkm-refund__date {
	color: var(--text-tertiary);
	font-size: 14px;
}

.dkm-refund {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
}

.dkm-refund__items {
	flex: 1 1 200px;
	min-width: 0;
	color: var(--text-secondary);
	font-size: 15px;
}

.dkm-refund__amount {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: var(--text-success);
	font-weight: 700;
}

.dkm-returns__empty {
	margin: 8px 0 0;
	color: var(--text-tertiary);
}

.dkm-returns-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 18px 20px;
	border-radius: var(--card-radius);
	background: var(--bg-info);
}

.dkm-returns-note p {
	flex: 1 1 280px;
	margin: 0;
	color: var(--text-secondary);
	font-size: 15px;
}

.dkm-returns-note strong {
	color: var(--text-primary);
}

/* Its one action is what the note is for, so primary: a secondary Ink 100
   button all but vanished into the Blue 50 fill. Across the card on a phone. */
@media (max-width: 767px) {
	.dkm-returns-note {
		flex-direction: column;
		align-items: stretch;
	}

	.dkm-returns-note p {
		flex: none;
	}

	.dkm-returns-note .dkm-button {
		width: 100%;
	}
}

/* Step one of a return: which products go back */

.dkm-return-pick__lead {
	margin: 4px 0 0;
	color: var(--text-secondary);
	font-size: 15px;
}

.dkm-return-pick__list {
	display: flex;
	flex-direction: column;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.dkm-return-pick__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--border-subtle);
}

.dkm-return-pick__item:first-child {
	border-top: 0;
}

.dkm-return-pick__check {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--action-primary, currentColor);
	cursor: pointer;
}

.dkm-return-pick__label {
	display: flex;
	flex: 1 1 220px;
	align-items: center;
	gap: 12px;
	min-width: 0;
	margin: 0;
	cursor: pointer;
}

.dkm-return-pick__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dkm-return-pick__name {
	color: var(--text-primary);
	font-weight: 600;
}

.dkm-return-pick__meta {
	color: var(--text-tertiary);
	font-size: 14px;
}

.dkm-return-pick__qty {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0 auto;
	color: var(--text-secondary);
	font-size: 14px;
}

.dkm-return-pick__qty select {
	min-width: 72px;
	min-height: var(--control-md);
}

/* Pieces only matter for a ticked product. */
.dkm-return-pick__check:not(:checked) ~ .dkm-return-pick__qty {
	opacity: 0.5;
}

.dkm-return-pick__foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
}

.dkm-return-pick__foot .dkm-button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.dkm-return-pick__back {
	color: var(--text-link, inherit);
	font-weight: 600;
}

@media (max-width: 767px) {
	.dkm-return-pick__foot .dkm-button {
		width: 100%;
	}
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions:empty {
	display: none;
}

.dkm-total {
	display: block;
	color: var(--text-primary);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.dkm-total-items {
	display: block;
	color: var(--text-tertiary);
	font-size: 13px;
}

.dkm-orders__total .dkm-saved-line,
.woocommerce-orders-table__cell-order-total .dkm-saved-line {
	font-size: 13px;
	white-space: nowrap;
}

/* The wallet page */

body.dkm-account-layout .woocommerce-MyAccount-content .ww-wallet-pending,
body.dkm-account-layout .woocommerce-MyAccount-content .ww-wallet-expiring {
	margin: 0;
	padding: 14px 18px;
	border-radius: var(--card-radius);
	background: var(--bg-info);
	color: var(--text-primary);
	font-size: 15px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .ww-wallet-history-count {
	margin: 4px 0 -8px;
	color: var(--text-tertiary);
	font-size: 14px;
}

body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history {
	overflow: hidden;
	border: var(--border-hairline) solid var(--card-border);
	border-collapse: separate;
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

body.dkm-account-layout .woocommerce-MyAccount-content .ww-wallet-amount {
	font-weight: 700;
	white-space: nowrap;
}

body.dkm-account-layout .woocommerce-MyAccount-content .dkm-wallet-stats {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

body.dkm-account-layout .woocommerce-MyAccount-content table.ww-wallet-history td:first-child,
body.dkm-account-layout .woocommerce-MyAccount-content table.ww-wallet-history td:nth-child(5) {
	white-space: nowrap;
}

/* On a phone WooCommerce stacks every cell of every row into one column, so
   two transactions read as one long list. Here each transaction is its own
   card: label on the left, value on the right, no line between the two. */
@media (max-width: 767px) {
	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history {
		display: block;
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history thead {
		display: none;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history tbody {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history tbody > tr {
		display: block;
		padding: 10px 0;
		border: var(--border-hairline) solid var(--card-border);
		border-radius: var(--card-radius);
		background: var(--card-bg);
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history tbody > tr > td {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
		padding: 6px 18px;
		border: 0;
		color: var(--text-primary);
		text-align: right !important;
		white-space: normal;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history tbody > tr > td::before {
		flex: none;
		float: none;
		color: var(--text-tertiary);
		font-weight: 500;
		text-align: left;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.ww-wallet-history tbody > tr > td:not([data-title])::before {
		content: none;
	}
}

/* The wishlist page: the DKM list as a card, product names in ink. */
body.dkm-account-layout .woocommerce-MyAccount-content .wcg-wl--list {
	padding: 8px 24px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

body.dkm-account-layout .woocommerce-MyAccount-content .wcg-wl--list a:not(.button):not([class*="button"]) {
	color: var(--text-primary);
	font-weight: 600;
}

/* The order's addresses */

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-customer-details .col2-set,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	width: auto;
	margin: 0;
}

body.dkm-account-layout .woocommerce-MyAccount-content .col2-set::before,
body.dkm-account-layout .woocommerce-MyAccount-content .col2-set::after {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .col2-set .col-1,
body.dkm-account-layout .woocommerce-MyAccount-content .col2-set .col-2,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 20px;
}

body.dkm-account-layout .woocommerce-MyAccount-content address {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	font-style: normal;
	line-height: 1.5;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address-title::before,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address-title::after {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 17px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
	float: none;
	font-size: 14px;
	font-weight: 600;
}

/* Forms */

body.dkm-account-layout .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
body.dkm-account-layout .woocommerce-MyAccount-content form:has(> .woocommerce-address-fields) {
	padding: 24px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .form-row {
	margin: 0 0 16px;
	padding: 0;
}

body.dkm-account-layout .woocommerce-MyAccount-content label {
	display: block;
	margin-bottom: 6px;
	color: var(--text-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

body.dkm-account-layout .woocommerce-MyAccount-content label.checkbox,
body.dkm-account-layout .woocommerce-MyAccount-content label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

body.dkm-account-layout .woocommerce-MyAccount-content input.input-text,
body.dkm-account-layout .woocommerce-MyAccount-content input[type="text"],
body.dkm-account-layout .woocommerce-MyAccount-content input[type="email"],
body.dkm-account-layout .woocommerce-MyAccount-content input[type="tel"],
body.dkm-account-layout .woocommerce-MyAccount-content input[type="password"],
body.dkm-account-layout .woocommerce-MyAccount-content input[type="number"],
body.dkm-account-layout .woocommerce-MyAccount-content select,
body.dkm-account-layout .woocommerce-MyAccount-content textarea,
body.dkm-account-layout .woocommerce-MyAccount-content .select2-container .select2-selection--single {
	width: 100%;
	min-height: var(--control-md);
	padding: 0 12px;
	border: var(--border-hairline) solid var(--input-border);
	border-radius: var(--input-radius);
	background: var(--input-bg);
	box-shadow: none;
	color: var(--input-text);
	font-family: inherit;
	font-size: 16px;
	line-height: calc(var(--control-md) - 2px);
}

body.dkm-account-layout .woocommerce-MyAccount-content textarea {
	padding: 10px 12px;
	line-height: 1.5;
}

body.dkm-account-layout .woocommerce-MyAccount-content .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	color: var(--input-text);
	line-height: calc(var(--control-md) - 2px);
}

body.dkm-account-layout .woocommerce-MyAccount-content .select2-container .select2-selection--single .select2-selection__arrow {
	top: 8px;
	right: 8px;
}

body.dkm-account-layout .woocommerce-MyAccount-content input:focus,
body.dkm-account-layout .woocommerce-MyAccount-content select:focus,
body.dkm-account-layout .woocommerce-MyAccount-content textarea:focus {
	background-color: var(--input-focus-bg);
	outline: 2px solid var(--border-focus);
	outline-offset: 0;
}

body.dkm-account-layout .woocommerce-MyAccount-content fieldset {
	margin: 8px 0 16px;
	padding: 16px 20px 4px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
}

body.dkm-account-layout .woocommerce-MyAccount-content legend {
	padding: 0 6px;
	color: var(--text-primary);
	font-weight: 700;
}

body.dkm-account-layout .woocommerce-MyAccount-content em,
body.dkm-account-layout .woocommerce-MyAccount-content .description {
	color: var(--text-tertiary);
	font-size: 13px;
}

body.dkm-account-layout .woocommerce-MyAccount-content .required {
	color: var(--text-danger);
	text-decoration: none;
}

/* Buttons: the design system's (components.css), from the same component
   tokens - primary for the step that moves things on, secondary for the rest. */

body.dkm-account-layout .woocommerce-MyAccount-content .button,
body.dkm-account-layout .woocommerce-MyAccount-content button[type="submit"],
body.dkm-account-layout .woocommerce-MyAccount-content input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: var(--control-md);
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: var(--button-radius);
	background: var(--button-secondary-bg);
	box-shadow: none;
	color: var(--button-secondary-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: var(--motion-control);
}

body.dkm-account-layout .woocommerce-MyAccount-content .button:hover,
body.dkm-account-layout .woocommerce-MyAccount-content .button:focus {
	background: var(--button-secondary-hover-bg);
	color: var(--button-secondary-text);
	text-decoration: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .button:active {
	background: var(--button-secondary-press-bg);
}

body.dkm-account-layout .woocommerce-MyAccount-content .button:focus:not(:focus-visible) {
	outline: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .button:focus-visible,
body.dkm-account-layout .woocommerce-MyAccount-content button[type="submit"]:focus-visible,
body.dkm-account-layout .woocommerce-MyAccount-content input[type="submit"]:focus-visible {
	outline: 2px solid var(--border-focus);
	outline-offset: 2px;
}

body.dkm-account-layout .woocommerce-MyAccount-content button[type="submit"],
body.dkm-account-layout .woocommerce-MyAccount-content input[type="submit"],
body.dkm-account-layout .woocommerce-MyAccount-content .button.pay,
body.dkm-account-layout .woocommerce-MyAccount-content .button.dkm-track,
body.dkm-account-layout .woocommerce-MyAccount-content .button.alt,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info:not(:has(> .woocommerce-Button)) > .button {
	background: var(--button-primary-bg);
	color: var(--button-primary-text);
	font-weight: 700;
}

body.dkm-account-layout .woocommerce-MyAccount-content button[type="submit"]:hover,
body.dkm-account-layout .woocommerce-MyAccount-content input[type="submit"]:hover,
body.dkm-account-layout .woocommerce-MyAccount-content .button.pay:hover,
body.dkm-account-layout .woocommerce-MyAccount-content .button.dkm-track:hover,
body.dkm-account-layout .woocommerce-MyAccount-content .button.alt:hover,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info:not(:has(> .woocommerce-Button)) > .button:hover {
	background: var(--button-primary-hover-bg);
	color: var(--button-primary-text);
}

body.dkm-account-layout .woocommerce-MyAccount-content .dkm-button {
	text-decoration: none;
}

/* Notices: the sentence first, its one action under it (primary - it is what
   the notice is for). A soft fill says what kind of news it is; the corners
   are a card's. */

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-message,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-error,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-notice {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 18px 20px;
	border: 0;
	border-radius: var(--card-radius);
	background: var(--bg-info);
	color: var(--text-primary);
	font-size: 15px;
	line-height: 1.5;
	list-style: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-message {
	background: var(--bg-success);
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-error {
	background: var(--bg-danger);
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-message::before,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info::before,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-error::before {
	display: none;
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-message .button,
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info .button {
	order: 2;
	float: none;
	margin: 0;
}

/* "No order has been made yet" and the like: not news but an empty page, so
   the dashboard's empty card - white, the sentence quiet, a secondary button. */
body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info:has(> .woocommerce-Button) {
	border: var(--border-hairline) solid var(--card-border);
	background: var(--card-bg);
	color: var(--text-tertiary);
}

body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info.ww-wallet-verify > p {
	margin: 0;
}

body.dkm-account-layout .woocommerce-notices-wrapper:empty {
	display: none;
}

body.dkm-account-layout .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

/* Phones: the menu as a row of chips to swipe, above every page, the dashboard's too */

@media (max-width: 767px) {
	body.dkm-account-layout .woocommerce:has(> .dkm-account-side) {
		gap: 16px;
		padding: 20px 16px 48px;
	}

	body.dkm-account-layout .dkm-account-side,
	body.dkm-account-layout .woocommerce-MyAccount-content {
		flex-basis: 100%;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content {
		gap: 14px;
	}

	body.dkm-account-layout .dkm-profile {
		display: none;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content h1,
	.dkm-page-head__title,
	.dkm-dashboard__title {
		font-size: 28px;
		letter-spacing: -0.02em;
	}

	/* Every account page, the dashboard too: one row of chips above the page. */
	body.dkm-account-layout .dkm-help {
		display: none;
	}

	body.dkm-account-layout .woocommerce-MyAccount-navigation {
		margin: 0 -16px;
		padding: 0 16px;
		overflow-x: auto;
		border: 0;
		border-radius: 0;
		background: transparent;
		scrollbar-width: none;
	}

	body.dkm-account-layout .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		gap: 8px;
		width: max-content;
	}

	/* The same chips as the store's filters and sorting (DS v3 Chip): 32px,
	   hairline border, 14px label; where you are is filled blue. */
	body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a {
		gap: 6px;
		box-sizing: border-box;
		min-height: var(--control-sm);
		height: var(--control-sm);
		padding: 0 12px;
		border: var(--border-hairline) solid var(--chip-border);
		border-radius: var(--chip-radius);
		background: var(--chip-bg);
		color: var(--text-secondary);
		font-size: 14px;
		font-weight: 500;
		line-height: 1;
		white-space: nowrap;
	}

	body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a:hover {
		border-color: var(--border-control);
		background: var(--bg-surface);
		color: var(--text-primary);
	}

	body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a::before {
		width: 16px;
		height: 16px;
		-webkit-mask-size: 16px 16px;
		mask-size: 16px 16px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-navigation-link.is-active > a,
	body.dkm-account-layout .woocommerce-MyAccount-navigation-link.is-active > a:hover {
		border-color: var(--chip-selected-bg);
		background: var(--chip-selected-bg);
		color: var(--chip-selected-text);
		font-weight: 500;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info > .button,
	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-message > .button,
	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info.ww-wallet-verify form,
	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-info.ww-wallet-verify .button {
		align-self: stretch;
		width: 100%;
	}

	body.dkm-account-layout .woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0;
		padding: 0;
		border: 0;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table tr > :first-child {
		padding-left: 18px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table tr > :last-child {
		padding-right: 18px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details {
		padding: 18px 18px 20px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > table.shop_table {
		flex-basis: calc(100% + 36px);
		width: calc(100% + 36px);
		margin: 0 -18px 8px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > .button,
	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > p:has(> .button:only-child),
	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-order-details > p:has(> .button:only-child) > .button {
		flex: 1 1 auto;
		width: 100%;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content .woocommerce-customer-details:not(:has(.col2-set)) {
		padding: 18px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 16px 18px;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
		grid-area: 1 / 1;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > .woocommerce-orders-table__cell-order-total {
		grid-area: 1 / 2 / 3 / 3;
		align-self: start;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
		grid-area: 2 / 1;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
		grid-area: 3 / 1 / 4 / -1;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > .woocommerce-orders-table__cell-dkm-items {
		grid-area: 4 / 1 / 5 / -1;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
		grid-area: 5 / 1 / 6 / -1;
		justify-content: stretch;
		padding-top: 0;
		border-top: 0;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table tbody > tr > .woocommerce-orders-table__cell-dkm-items:empty + .woocommerce-orders-table__cell-order-actions {
		padding-top: 16px;
		border-top: 1px solid var(--border-subtle);
	}

	.dkm-return__foot .dkm-button {
		width: 100%;
	}

	body.dkm-account-layout .woocommerce-MyAccount-content table.shop_table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
		flex: 1 1 auto;
	}

	.dkm-orders__scroll {
		overflow: visible;
	}

	.dkm-orders__table,
	.dkm-orders__table tbody {
		display: block;
		min-width: 0;
	}

	.dkm-orders__table thead {
		display: none;
	}

	.dkm-orders__table tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 12px;
		padding: 14px 18px;
	}

	.dkm-orders__table td,
	.dkm-orders__table th:first-child,
	.dkm-orders__table td:first-child,
	.dkm-orders__table td:last-child {
		padding: 0;
		text-align: left;
	}

	.dkm-orders__table .dkm-orders__order {
		grid-area: 1 / 1;
	}

	.dkm-orders__table .dkm-orders__total {
		grid-area: 1 / 2;
		text-align: right;
	}

	.dkm-orders__table .dkm-orders__date {
		grid-area: 2 / 1;
		align-self: center;
		color: var(--text-tertiary);
		font-size: 13px;
	}

	.dkm-orders__table .dkm-orders__status {
		grid-area: 2 / 2;
		text-align: right;
	}

	.dkm-orders__table td.dkm-orders__view {
		display: none;
	}

	.dkm-orders .dkm-card__head {
		padding: 12px 18px;
	}

	.dkm-card {
		padding: 18px;
	}
}

/* Signed out: WooCommerce's sign-in and registration forms as two cards,
   the registration one dark. Also its lost and new password forms. */

body.dkm-account-login .woocommerce {
	box-sizing: border-box;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px 64px;
	color: var(--text-secondary);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

body.dkm-account-login .woocommerce *,
body.dkm-account-login .woocommerce *::before,
body.dkm-account-login .woocommerce *::after {
	box-sizing: border-box;
}

body.dkm-account-login .elementor-widget:has(.woocommerce #customer_login),
body.dkm-account-login .elementor-widget:has(.woocommerce form.login),
body.dkm-account-login .elementor-widget:has(.woocommerce form.lost_reset_password) {
	align-self: stretch;
	width: 100%;
}

body.dkm-account-login .woocommerce a {
	color: var(--text-link);
	font-weight: 600;
	text-decoration: none;
}

body.dkm-account-login .woocommerce a:hover {
	color: var(--text-link-hover);
	text-decoration: underline;
}

.dkm-login-head {
	margin-bottom: 32px;
	text-align: center;
}

body.dkm-account-login .woocommerce .dkm-login-head__title {
	margin: 0 0 8px;
	color: var(--text-primary);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.022em;
}

.dkm-login-head__lead {
	margin: 0;
	color: var(--text-tertiary);
	font-size: 17px;
}

body.dkm-account-login .woocommerce #customer_login {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 24px;
	width: auto;
	margin: 0;
}

body.dkm-account-login .woocommerce #customer_login::before,
body.dkm-account-login .woocommerce #customer_login::after {
	display: none;
}

body.dkm-account-login .woocommerce #customer_login > .u-column1,
body.dkm-account-login .woocommerce #customer_login > .u-column2,
body.dkm-account-login .woocommerce > form.login,
body.dkm-account-login .woocommerce > form.lost_reset_password {
	flex: 1 1 380px;
	float: none;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 32px;
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
	background: var(--bg-surface);
}

body.dkm-account-login .woocommerce > form.login,
body.dkm-account-login .woocommerce > form.lost_reset_password {
	max-width: 520px;
	margin: 0 auto;
}

body.dkm-account-login .woocommerce #customer_login > .u-column2 {
	border-color: var(--border-strong);
	background: var(--bg-inverse);
	color: var(--text-inverse);
}

body.dkm-account-login .woocommerce #customer_login > .u-column2 > h2 {
	display: none;
}

body.dkm-account-login .woocommerce #customer_login h2,
body.dkm-account-login .woocommerce .dkm-register-intro__title {
	margin: 0 0 20px;
	color: var(--text-primary);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

body.dkm-account-login .woocommerce #customer_login .dkm-register-intro__title {
	margin-bottom: 8px;
	color: var(--text-inverse);
}

.dkm-register-intro__text {
	margin: 0;
	color: var(--text-disabled);
}

body.dkm-account-login .woocommerce form.login,
body.dkm-account-login .woocommerce form.register,
body.dkm-account-login .woocommerce form.lost_reset_password {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: var(--card-radius);
	text-align: left;
}

body.dkm-account-login .woocommerce #customer_login form.login,
body.dkm-account-login .woocommerce #customer_login form.register {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.dkm-account-login .woocommerce form .form-row,
body.dkm-account-login .woocommerce form > p {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

body.dkm-account-login .woocommerce form label {
	display: block;
	margin-bottom: 6px;
	color: var(--text-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

body.dkm-account-login .woocommerce form .required {
	color: var(--text-danger);
	text-decoration: none;
}

body.dkm-account-login .woocommerce input.input-text,
body.dkm-account-login .woocommerce input[type="text"],
body.dkm-account-login .woocommerce input[type="email"],
body.dkm-account-login .woocommerce input[type="password"] {
	width: 100%;
	height: var(--control-lg);
	padding: 0 12px;
	border: var(--border-hairline) solid var(--input-border);
	border-radius: var(--input-radius);
	background: var(--input-bg);
	box-shadow: none;
	color: var(--input-text);
	font-family: inherit;
	font-size: 16px;
	line-height: calc(var(--control-lg) - 2px);
}

body.dkm-account-login .woocommerce input:focus {
	background-color: var(--input-focus-bg);
	border-color: var(--border-selected);
	outline: 2px solid var(--border-focus);
	outline-offset: 1px;
}

body.dkm-account-login .woocommerce .password-input {
	display: block;
	position: relative;
}

body.dkm-account-login .woocommerce .show-password-input {
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
}

/* "Remember me" and the button share WooCommerce's one row. */
body.dkm-account-login .woocommerce form.login .form-row:has(> .woocommerce-form-login__submit) {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.dkm-account-login .woocommerce label.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	color: var(--text-secondary);
	font-size: 15px;
	font-weight: 400;
}

body.dkm-account-login .woocommerce input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--action-primary);
}

body.dkm-account-login .woocommerce form button[type="submit"],
body.dkm-account-login .woocommerce form .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--control-lg);
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: var(--button-radius);
	background: var(--button-primary-bg);
	box-shadow: none;
	color: var(--button-primary-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
}

body.dkm-account-login .woocommerce form button[type="submit"]:hover,
body.dkm-account-login .woocommerce form .button:hover {
	background: var(--button-primary-hover-bg);
	color: var(--button-primary-text);
}

body.dkm-account-login .woocommerce #customer_login form.register button[type="submit"] {
	background: var(--bg-brand);
	color: var(--text-primary);
}

body.dkm-account-login .woocommerce #customer_login form.register button[type="submit"]:hover {
	background: var(--action-brand-hover);
	color: var(--text-primary);
}

body.dkm-account-login .woocommerce .lost_password {
	font-size: 15px;
	text-align: center;
}

/* The dark card */

body.dkm-account-login .woocommerce #customer_login .u-column2 label {
	color: var(--text-inverse);
}

body.dkm-account-login .woocommerce #customer_login .u-column2 .required {
	color: #FFB4AB;
}

body.dkm-account-login .woocommerce #customer_login form.register > p:not(.form-row) {
	color: var(--text-disabled);
	font-size: 14px;
}

body.dkm-account-login .woocommerce #customer_login .woocommerce-privacy-policy-text,
body.dkm-account-login .woocommerce #customer_login .woocommerce-privacy-policy-text p {
	margin: 0;
	color: var(--text-disabled);
	font-size: 13px;
}

body.dkm-account-login .woocommerce #customer_login .u-column2 a {
	color: var(--text-deal);
}

.dkm-perks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.dkm-perks__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	color: var(--text-inverse);
}

.dkm-perks__item::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	background: var(--bg-brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12 5 5 9-10%22/%3E%3C/svg%3E") center / 20px 20px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12 5 5 9-10%22/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

/* Notices over the forms */

body.dkm-account-login .woocommerce .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 24px;
}

body.dkm-account-login .woocommerce .woocommerce-message,
body.dkm-account-login .woocommerce .woocommerce-info,
body.dkm-account-login .woocommerce .woocommerce-error {
	margin: 0 0 16px;
	padding: 14px 18px;
	border: 0;
	border-radius: var(--card-radius);
	background: var(--bg-info);
	color: var(--text-primary);
	font-size: 15px;
	list-style: none;
}

body.dkm-account-login .woocommerce .woocommerce-message {
	background: var(--bg-success);
}

body.dkm-account-login .woocommerce .woocommerce-error {
	background: var(--bg-danger);
}

body.dkm-account-login .woocommerce .woocommerce-message::before,
body.dkm-account-login .woocommerce .woocommerce-info::before,
body.dkm-account-login .woocommerce .woocommerce-error::before {
	display: none;
}

@media (max-width: 767px) {
	body.dkm-account-login .woocommerce {
		padding: 28px 16px 48px;
	}

	body.dkm-account-login .woocommerce .dkm-login-head__title {
		font-size: 32px;
	}

	.dkm-login-head {
		margin-bottom: 24px;
	}

	body.dkm-account-login .woocommerce #customer_login {
		gap: 16px;
	}

	body.dkm-account-login .woocommerce #customer_login > .u-column1,
	body.dkm-account-login .woocommerce #customer_login > .u-column2,
	body.dkm-account-login .woocommerce > form.login,
	body.dkm-account-login .woocommerce > form.lost_reset_password {
		flex-basis: 100%;
		padding: 24px;
	}
}


/* Menu icons, drawn in the text colour */

body.dkm-account-layout .woocommerce-MyAccount-navigation-link > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--dashboard > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%229%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%225%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2212%22 width=%227%22 height=%229%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2216%22 width=%227%22 height=%225%22 rx=%221.5%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%227%22 height=%229%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%223%22 width=%227%22 height=%225%22 rx=%221.5%22/%3E%3Crect x=%2214%22 y=%2212%22 width=%227%22 height=%229%22 rx=%221.5%22/%3E%3Crect x=%223%22 y=%2216%22 width=%227%22 height=%225%22 rx=%221.5%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--orders > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 8 12 3 3 8v8l9 5 9-5z%22/%3E%3Cpath d=%22m3 8 9 5 9-5M12 13v8%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 8 12 3 3 8v8l9 5 9-5z%22/%3E%3Cpath d=%22m3 8 9 5 9-5M12 13v8%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--dkm-returns > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 14 4 9l5-5%22/%3E%3Cpath d=%22M4 9h11a5 5 0 0 1 0 10h-3%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 14 4 9l5-5%22/%3E%3Cpath d=%22M4 9h11a5 5 0 0 1 0 10h-3%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--edit-address > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z%22/%3E%3Ccircle cx=%2212%22 cy=%229.5%22 r=%222.5%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z%22/%3E%3Ccircle cx=%2212%22 cy=%229.5%22 r=%222.5%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--edit-account > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4 4-6 8-6s8 2 8 6%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4 4-6 8-6s8 2 8 6%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--payment-methods > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 10h18M7 15h4%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 10h18M7 15h4%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--wallet > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%226%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M16 12h2M3 9h18%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%226%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M16 12h2M3 9h18%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--wishlist > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--downloads > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3v12m0 0-4-4m4 4 4-4M5 21h14%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3v12m0 0-4-4m4 4 4-4M5 21h14%22/%3E%3C/svg%3E");
}

body.dkm-account-layout .woocommerce-MyAccount-navigation-link--customer-logout > a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3%22/%3E%3Cpath d=%22M10 16l-4-4 4-4M6 12h10%22/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3%22/%3E%3Cpath d=%22M10 16l-4-4 4-4M6 12h10%22/%3E%3C/svg%3E");
}

/* DS v3.5: a field's edge goes one step darker under the pointer. */
body.dkm-account-layout .woocommerce-MyAccount-content input:hover:not(:focus),
body.dkm-account-layout .woocommerce-MyAccount-content select:hover:not(:focus),
body.dkm-account-layout .woocommerce-MyAccount-content textarea:hover:not(:focus),
body.dkm-account-login .woocommerce input:hover:not(:focus) {
	border-color: var(--input-hover-border);
}
