/* Order received (thank you) + My account. Same look as cart/checkout: thin lines, underlined fields, muted colors, no white boxes. */
body.woocommerce-order-received, body.woocommerce-account {
	--dm-primary: var(--e-global-color-primary, #6F5876);
	--dm-text: var(--e-global-color-text, #444444);
	--dm-secondary: var(--e-global-color-secondary, #666666);
	--dm-accent: var(--e-global-color-accent, #A9573D);
	--dm-peach: #F6E2D6;
	--dm-line: #E6E0DC;
	--dm-field-line: #cfc6c1;
	--dm-ok: #6F9A7B;
}
body.woocommerce-order-received #content, body.woocommerce-account #content { max-width: 1340px; margin-left: auto; margin-right: auto; }
body.woocommerce-order-received .entry-content, body.woocommerce-account .entry-content { color: var(--dm-text); }
body.woocommerce-order-received .entry-content :is(button, input, select, textarea, a, p, span, label, h1, h2, h3, th, td, li, address),
body.woocommerce-account .entry-content :is(button, input, select, textarea, a, p, span, label, h1, h2, h3, th, td, li, address, legend) { font-family: inherit; }

/* Short pages: footer stays at the bottom */
body.woocommerce-order-received, body.woocommerce-account { min-height: 100vh; display: flex; flex-direction: column; }
body.woocommerce-order-received #page, body.woocommerce-account #page { flex: 1 0 auto; display: flex; flex-direction: column; }
body.woocommerce-order-received #page-wrapper, body.woocommerce-account #page-wrapper { flex: 1 0 auto; }

/* ===================== Order received ===================== */
.woocommerce-order { max-width: 980px; margin: 8px auto 56px; }
.woocommerce-order .woocommerce-thankyou-order-received {
	position: relative; margin: 0 0 28px; padding: 22px 0 22px 68px; border: 0; border-bottom: 1px solid var(--dm-line); background: transparent;
	color: var(--dm-text); font-size: 20px; line-height: 1.5;
}
.woocommerce-order .woocommerce-thankyou-order-received::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: var(--dm-ok);
}
.woocommerce-order .woocommerce-thankyou-order-received::after {
	content: ""; position: absolute; left: 17px; top: 50%; width: 12px; height: 22px; margin-top: -17px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.woocommerce-order .woocommerce-notice--error, .woocommerce-order .woocommerce-thankyou-order-failed { color: var(--dm-accent); }

/* Overview: number / date / total / payment as a quiet row */
.woocommerce-order ul.woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px 28px; list-style: none; margin: 0 0 32px; padding: 0 0 28px; border-bottom: 1px solid var(--dm-line);
}
.woocommerce-order ul.woocommerce-order-overview li {
	float: none; margin: 0; padding: 0; border: 0; text-transform: none; font-size: 14px; color: var(--dm-secondary); line-height: 1.4;
}
.woocommerce-order ul.woocommerce-order-overview li strong { display: block; margin-top: 5px; font-size: 18px; font-weight: 700; color: var(--dm-text); text-transform: none; }
.woocommerce-order > p { color: var(--dm-secondary); }

/* Section headings */
.woocommerce-order h2, .woocommerce-order .woocommerce-order-details__title, .woocommerce-order .woocommerce-column__title {
	margin: 36px 0 16px; font-size: 24px; font-weight: 400; color: var(--dm-text);
}
.woocommerce-order h2:first-child { margin-top: 0; }

/* Order table: no box, only thin lines */
body.woocommerce-order-received table.shop_table, body.woocommerce-account table.shop_table, body.woocommerce-account table.woocommerce-orders-table {
	width: 100%; border: 0; border-collapse: collapse; border-radius: 0; background: transparent; margin: 0 0 24px;
}
body.woocommerce-order-received table.shop_table :is(th, td), body.woocommerce-account table.shop_table :is(th, td), body.woocommerce-account table.woocommerce-orders-table :is(th, td) {
	padding: 14px 10px; border: 0; border-bottom: 1px solid var(--dm-line); background: transparent; color: var(--dm-text); text-align: left; vertical-align: top;
}
body.woocommerce-order-received table.shop_table thead th, body.woocommerce-account table.shop_table thead th, body.woocommerce-account table.woocommerce-orders-table thead th {
	padding-top: 6px; font-size: 13px; font-weight: 400; color: var(--dm-secondary); text-transform: none; border-bottom: 1.5px solid var(--dm-field-line);
}
body.woocommerce-order-received table.shop_table :is(td:last-child, th:last-child), body.woocommerce-account table.shop_table :is(td:last-child, th:last-child) { text-align: right; }
body.woocommerce-order-received table.shop_table tfoot th, body.woocommerce-account table.shop_table tfoot th { font-weight: 400; color: var(--dm-secondary); }
body.woocommerce-order-received table.shop_table tfoot tr:last-child :is(th, td), body.woocommerce-account table.shop_table tfoot tr:last-child :is(th, td) { border-bottom: 0; font-size: 20px; font-weight: 700; color: var(--dm-text); }
body.woocommerce-order-received table.shop_table td a, body.woocommerce-account table.shop_table td a, body.woocommerce-account table.woocommerce-orders-table td a:not(.button) { color: var(--dm-text); text-decoration: none; border-bottom: 1px solid var(--dm-field-line); }
body.woocommerce-order-received table.shop_table td a:hover, body.woocommerce-account table.shop_table td a:hover, body.woocommerce-account table.woocommerce-orders-table td a:not(.button):hover { color: var(--dm-primary); border-bottom-color: var(--dm-primary); }
.woocommerce-table__product-name .product-quantity { color: var(--dm-secondary); font-weight: 400; }
.woocommerce-table .wc-item-meta, .woocommerce-table dl.variation { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--dm-secondary); }
.woocommerce-table dl.variation dt, .woocommerce-table dl.variation dd { display: inline; margin: 0; font-weight: 400; }
.woocommerce-table dl.variation dd p { display: inline; margin: 0; }

/* Addresses */
.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses, body.woocommerce-account .woocommerce-Addresses {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; width: 100%; margin: 0;
}
.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses::before, .woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses::after,
body.woocommerce-account .woocommerce-Addresses::before, body.woocommerce-account .woocommerce-Addresses::after { display: none; }
.woocommerce-order .woocommerce-customer-details .col-1, .woocommerce-order .woocommerce-customer-details .col-2,
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.woocommerce-order address, body.woocommerce-account address {
	margin: 0; padding: 0; border: 0; background: transparent; font-style: normal; line-height: 1.8; color: var(--dm-text);
}
.woocommerce-order .woocommerce-customer-details--phone, .woocommerce-order .woocommerce-customer-details--email { margin: 6px 0 0; color: var(--dm-secondary); }
.woocommerce-order .woocommerce-bacs-bank-details ul { list-style: none; margin: 0 0 24px; padding: 0; }
.woocommerce-order .woocommerce-bacs-bank-details li { margin: 0 0 6px; text-transform: none; font-size: 15px; color: var(--dm-secondary); }
.woocommerce-order .woocommerce-bacs-bank-details li strong { color: var(--dm-text); }

/* Actions under the order (added in inc/account.php) */
.dm-order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; max-width: 980px; margin: 8px auto 56px; padding-top: 28px; border-top: 1px solid var(--dm-line); }
.dm-order-actions p { margin: 0; color: var(--dm-secondary); }

/* ===================== Buttons (both pages) ===================== */
body.woocommerce-order-received :is(.button, .dm-btn), body.woocommerce-account .entry-content :is(.button, button.button, button[type="submit"], input[type="submit"]) {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border: 2px solid var(--dm-primary); border-radius: 8px;
	background: var(--dm-primary); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: none;
	transition: background .2s, border-color .2s, color .2s;
}
body.woocommerce-order-received :is(.button, .dm-btn):is(:hover, :focus), body.woocommerce-account .entry-content :is(.button, button.button, button[type="submit"], input[type="submit"]):is(:hover, :focus) {
	background: color-mix(in srgb, var(--dm-primary) 82%, #000); border-color: color-mix(in srgb, var(--dm-primary) 82%, #000); color: #fff;
}
body.woocommerce-order-received .button--secondary, body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button, body.woocommerce-account .woocommerce-Address-title a.edit,
body.woocommerce-account .woocommerce-pagination .button {
	background: transparent; color: var(--dm-primary); }
body.woocommerce-order-received .button--secondary:is(:hover, :focus), body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:is(:hover, :focus),
body.woocommerce-account .woocommerce-pagination .button:is(:hover, :focus) { background: var(--dm-primary); color: #fff; }
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button { min-height: 38px; padding: 8px 18px; font-size: 14px; margin: 0 6px 6px 0; }

/* ===================== My account ===================== */
body.woocommerce-account .woocommerce { max-width: 1100px; margin: 8px auto 56px; }
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 64px; align-items: start; }
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }

/* Navigation */
.woocommerce-MyAccount-navigation { float: none; width: auto; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dm-line); }
.woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border-bottom: 1px solid var(--dm-line); }
.woocommerce-MyAccount-navigation li a {
	display: block; padding: 14px 4px; color: var(--dm-text); text-decoration: none; transition: color .2s, padding .25s;
}
.woocommerce-MyAccount-navigation li a:hover { color: var(--dm-primary); padding-left: 10px; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--dm-primary); font-weight: 700; box-shadow: inset 3px 0 0 var(--dm-primary); padding-left: 14px; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--dm-secondary); }

/* Content */
.woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; color: var(--dm-text); line-height: 1.7; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--dm-primary); text-underline-offset: 3px; }
.woocommerce-MyAccount-content a:not(.button):hover { color: var(--dm-accent); }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce-MyAccount-content legend { margin: 0 0 16px; font-size: 24px; font-weight: 400; color: var(--dm-text); }
body.woocommerce-account .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
body.woocommerce-account .woocommerce-Address-title h2, body.woocommerce-account .woocommerce-Address-title h3 { margin: 0 0 8px; font-size: 22px; }
body.woocommerce-account .woocommerce-Address-title a.edit { min-height: 0; padding: 6px 14px; font-size: 13px; float: none; }
body.woocommerce-account .woocommerce-Address { padding-top: 4px; }
.woocommerce-MyAccount-content fieldset { margin: 28px 0 0; padding: 0; border: 0; }

/* Notices */
body.woocommerce-account :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	margin: 0 0 24px; padding: 14px 18px; border: 0; border-left: 3px solid var(--dm-primary); border-radius: 0; background: var(--dm-peach); color: var(--dm-text); list-style: none;
}
body.woocommerce-account .woocommerce-error { border-left-color: var(--dm-accent); }
body.woocommerce-account :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { display: none; }
body.woocommerce-account .woocommerce-info .button, body.woocommerce-account .woocommerce-message .button { float: right; min-height: 38px; padding: 8px 18px; font-size: 14px; }

/* Forms: underlined fields (login, register, edit account, addresses, lost password) */
body.woocommerce-account .entry-content form :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], textarea, select, .select2-selection) {
	width: 100%; min-height: 46px; padding: 8px 2px; border: 0; border-bottom: 1.5px solid var(--dm-field-line); border-radius: 0; background: transparent; color: var(--dm-text);
	font-size: 16px; box-shadow: none; transition: border-color .2s;
}
body.woocommerce-account .entry-content form :is(input, textarea, select):focus { outline: 0; border-bottom-color: var(--dm-primary); box-shadow: none; background: transparent; }
body.woocommerce-account .entry-content form label { display: block; margin: 0 0 4px; font-size: 14px; color: var(--dm-secondary); }
body.woocommerce-account .entry-content form .required { color: var(--dm-accent); text-decoration: none; }
body.woocommerce-account .entry-content form .form-row { margin: 0 0 22px; padding: 0; }
body.woocommerce-account .entry-content form .form-row-first, body.woocommerce-account .entry-content form .form-row-last { width: calc(50% - 14px); }
body.woocommerce-account .entry-content form .form-row-first { float: left; margin-right: 28px; }
body.woocommerce-account .entry-content form .form-row-last { float: right; }
body.woocommerce-account .entry-content form .form-row-wide, body.woocommerce-account .entry-content form .clear { clear: both; }
body.woocommerce-account .entry-content form em { color: var(--dm-secondary); font-size: 13px; }
body.woocommerce-account .entry-content form .password-input { display: block; position: relative; }
body.woocommerce-account .entry-content form .show-password-input { position: absolute; right: 4px; top: 12px; }
body.woocommerce-account .entry-content form .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--dm-secondary); cursor: pointer; }
body.woocommerce-account .entry-content form input[type="checkbox"] { width: 18px; min-height: 0; height: 18px; accent-color: var(--dm-primary); }
body.woocommerce-account .woocommerce-privacy-policy-text { font-size: 13px; color: var(--dm-secondary); margin: 0 0 18px; }
body.woocommerce-account .woocommerce-privacy-policy-text a { color: var(--dm-primary); }
body.woocommerce-account .lost_password { margin: 14px 0 0; }
body.woocommerce-account .lost_password a { color: var(--dm-secondary); text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-account .lost_password a:hover { color: var(--dm-primary); }

/* Login + register side by side, without boxes */
body.woocommerce-account #customer_login:not(.dm-auth) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; width: 100%; margin: 0; }
body.woocommerce-account #customer_login::before, body.woocommerce-account #customer_login::after { display: none; }
body.woocommerce-account #customer_login:not(.dm-auth) > div { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
body.woocommerce-account #customer_login h2 { margin: 0 0 22px; font-size: 26px; font-weight: 400; color: var(--dm-text); }
body.woocommerce-account .woocommerce-form-login, body.woocommerce-account .woocommerce-form-register, body.woocommerce-account .woocommerce-ResetPassword, body.woocommerce-account .woocommerce-EditAccountForm {
	margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left;
}
body.woocommerce-account #customer_login > .u-column2 { padding-left: 72px; border-left: 1px solid var(--dm-line); margin-left: -36px; }
body.woocommerce-account .woocommerce-form-login .button, body.woocommerce-account .woocommerce-form-register .button { margin-top: 6px; }
body.woocommerce-account .woocommerce-form-login__submit { float: none; }
body.woocommerce-account .woocommerce-ResetPassword { max-width: 520px; }
body.woocommerce-account .woocommerce-ResetPassword > p:first-child { color: var(--dm-secondary); }

/* Empty states ("No orders yet" etc.) already use .woocommerce-info */

/* Pagination under the orders table */
body.woocommerce-account .woocommerce-pagination { display: flex; gap: 12px; margin-top: 8px; }

/* ===================== Tablet + mobile ===================== */
@media (max-width: 991.98px) {
	body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); gap: 28px 0; }
	.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
	.woocommerce-MyAccount-navigation li { border: 0; }
	.woocommerce-MyAccount-navigation li a { padding: 9px 18px; border: 1px solid var(--dm-field-line); border-radius: 30px; font-size: 15px; }
	.woocommerce-MyAccount-navigation li a:hover { padding-left: 18px; }
	.woocommerce-MyAccount-navigation li.is-active a { box-shadow: none; background: var(--dm-primary); border-color: var(--dm-primary); color: #fff; padding-left: 18px; }
	body.woocommerce-account #customer_login:not(.dm-auth) { grid-template-columns: minmax(0, 1fr); gap: 44px 0; }
	body.woocommerce-account #customer_login > .u-column2 { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--dm-line); margin-left: 0; }
}
@media (max-width: 767.98px) {
	.woocommerce-order .woocommerce-thankyou-order-received { font-size: 17px; padding-left: 58px; }
	.woocommerce-order .woocommerce-thankyou-order-received::before { width: 40px; height: 40px; margin-top: -20px; }
	.woocommerce-order .woocommerce-thankyou-order-received::after { left: 14px; width: 11px; height: 19px; margin-top: -15px; }
	.woocommerce-order ul.woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses, body.woocommerce-account .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); gap: 8px 0; }
	body.woocommerce-account .entry-content form :is(.form-row-first, .form-row-last) { float: none; width: 100%; margin-right: 0; }
	body.woocommerce-order-received table.shop_table :is(th, td), body.woocommerce-account table.shop_table :is(th, td) { padding: 12px 4px; }
	/* Orders table: stacked rows with labels */
	body.woocommerce-account table.woocommerce-orders-table thead { display: none; }
	body.woocommerce-account table.woocommerce-orders-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--dm-line); }
	body.woocommerce-account table.woocommerce-orders-table td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border: 0; text-align: right; }
	body.woocommerce-account table.woocommerce-orders-table td::before { content: attr(data-title); color: var(--dm-secondary); text-align: left; }
	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions { justify-content: flex-start; flex-wrap: wrap; }
	body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before { display: none; }
	.dm-order-actions { margin-bottom: 40px; }
}

/* Fixes: clearfix pseudo-elements became grid cells; strong must be a block under the label */
.woocommerce-order ul.woocommerce-order-overview::before, .woocommerce-order ul.woocommerce-order-overview::after { display: none !important; content: none !important; }
.woocommerce-order ul.woocommerce-order-overview li strong { display: block !important; }
.woocommerce-order ul.woocommerce-order-overview li { display: block; list-style: none; }
body.woocommerce-order-received table.shop_table tfoot tr:last-child :is(th, td), body.woocommerce-account table.shop_table tfoot tr:last-child :is(th, td) { border-bottom: 0; font-size: inherit; font-weight: inherit; color: inherit; }
body.woocommerce-order-received table.shop_table tfoot td, body.woocommerce-account table.shop_table tfoot td { font-weight: 700; }
body.woocommerce-order-received table.shop_table tfoot th, body.woocommerce-account table.shop_table tfoot th { font-weight: 400; color: var(--dm-secondary); }
.woocommerce-order .woocommerce-customer-details address, body.woocommerce-account address { border: 0 !important; padding: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; }
/* Bootstrap's .form-row is flex: make form rows plain blocks */
body.woocommerce-account .entry-content form .form-row { display: block; margin-left: 0; margin-right: 0; }
body.woocommerce-account .entry-content form .form-row > label + .password-input, body.woocommerce-account .entry-content form .form-row > label + span { display: block; width: 100%; }
body.woocommerce-account .entry-content form .password-input input { padding-right: 38px; }

/* Understrap templates: nav is .list-group > a.list-group-item (Bootstrap). Restyle as a thin-line list. */
body.woocommerce-account .woocommerce::before, body.woocommerce-account .woocommerce::after { display: none !important; content: none !important; }
.woocommerce-MyAccount-navigation .list-group { display: block; border-radius: 0; border-top: 1px solid var(--dm-line); }
.woocommerce-MyAccount-navigation .list-group-item {
	display: block; margin: 0; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--dm-line); border-radius: 0; background: transparent; color: var(--dm-text); text-decoration: none; transition: color .2s, padding .25s;
}
.woocommerce-MyAccount-navigation .list-group-item:hover, .woocommerce-MyAccount-navigation .list-group-item:focus { background: transparent; color: var(--dm-primary); padding-left: 10px; }
.woocommerce-MyAccount-navigation .list-group-item.active, .woocommerce-MyAccount-navigation .list-group-item.is-active {
	background: transparent; border-color: var(--dm-line); color: var(--dm-primary); font-weight: 700; box-shadow: inset 3px 0 0 var(--dm-primary); padding-left: 14px; z-index: 0;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout { color: var(--dm-secondary); }
@media (max-width: 991.98px) {
	.woocommerce-MyAccount-navigation .list-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
	.woocommerce-MyAccount-navigation .list-group-item { padding: 9px 18px; border: 1px solid var(--dm-field-line); border-radius: 30px; font-size: 15px; }
	.woocommerce-MyAccount-navigation .list-group-item:hover { padding-left: 18px; }
	.woocommerce-MyAccount-navigation .list-group-item.active, .woocommerce-MyAccount-navigation .list-group-item.is-active { box-shadow: none; background: var(--dm-primary); border-color: var(--dm-primary); color: #fff; padding-left: 18px; }
}
body.woocommerce-account .woocommerce-MyAccount-navigation, body.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; max-width: none; margin-left: 0; margin-right: 0; }
body.woocommerce-account .woocommerce-MyAccount-content { padding: 0; }
body.woocommerce-account .woocommerce-Address-title { padding: 0 !important; margin: 0 0 8px !important; border: 0; background: transparent; }
body.woocommerce-account .woocommerce-Address-title :is(h2, h3) { margin: 0 !important; padding: 0 !important; font-size: 22px; font-weight: 400; line-height: 1.3; }
body.woocommerce-account .woocommerce-Address-title a.edit, body.woocommerce-account .woocommerce-Address-title a.edit:hover {
	min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--dm-primary) !important; font-size: 14px !important; font-weight: 400 !important; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
body.woocommerce-account .woocommerce-Address-title a.edit:hover { color: var(--dm-accent) !important; }

/* Mobile refinements */
body.woocommerce-account table.woocommerce-orders-table :is(tbody tr, tbody tr:nth-of-type(odd), tbody tr:nth-of-type(even)) { background: transparent !important; }
@media (max-width: 991.98px) {
	.woocommerce-MyAccount-navigation .list-group { flex-direction: row; }
	.woocommerce-MyAccount-navigation .list-group-item { width: auto; flex: 0 0 auto; }
}
@media (max-width: 767.98px) {
	body.woocommerce-account .woocommerce-info .button, body.woocommerce-account .woocommerce-message .button { float: none; display: flex; width: 100%; margin: 14px 0 0; }
	body.woocommerce-account .woocommerce-info, body.woocommerce-account .woocommerce-message { display: flex; flex-direction: column; }
	body.woocommerce-account table.woocommerce-orders-table td[data-title="Σύνολο"] { flex-wrap: wrap; }
}
body.woocommerce-account table.woocommerce-orders-table :is(tbody tr, tbody td) { background: transparent !important; box-shadow: none !important; --bs-table-accent-bg: transparent; }
@media (max-width: 767.98px) { body.woocommerce-account .woocommerce-info, body.woocommerce-account .woocommerce-message { flex-direction: column-reverse; align-items: stretch; } }

/* ===================== Design Β (2026-11-18): pills + cards; login/register Γ ===================== */
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: block; max-width: 1100px; }
.dm-acc-nav, body.woocommerce-account .woocommerce-MyAccount-navigation.dm-acc-nav { float: none !important; width: 100% !important; margin: 0 0 28px; }
body.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; }
.dm-acc-nav ul { flex-direction: row !important; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; list-style: none; }
.dm-acc-nav li { flex: none; width: auto !important; margin: 0; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.dm-acc-nav li a {
	display: inline-block; padding: 9px 18px !important; border: 1px solid var(--dm-line); border-radius: 30px; background: #fff;
	color: var(--dm-secondary) !important; font-size: 14px; font-weight: 400 !important; text-decoration: none; box-shadow: none !important;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.dm-acc-nav li a:hover { border-color: var(--dm-primary); color: var(--dm-primary) !important; padding-left: 18px !important; transform: translateY(-1px); }
.dm-acc-nav li.is-active a { background: var(--dm-primary); border-color: var(--dm-primary); color: #fff !important; }
.dm-acc-nav li.woocommerce-MyAccount-navigation-link--customer-logout { margin-left: auto; }
.dm-acc-nav li.woocommerce-MyAccount-navigation-link--customer-logout a { border-color: transparent; background: transparent; }

.dm-dash { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.dm-dash__hello { margin: 0 0 6px !important; font-size: 26px !important; }
.dm-dash__lead { margin: 0 0 20px; color: var(--dm-secondary); }
.dm-dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dm-dash__stat {
	display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 20px 12px; text-align: center;
	background: #fff; border-radius: 18px; box-shadow: 0 0 10px rgba(0, 0, 0, .07); text-decoration: none !important;
	transition: transform .35s ease, box-shadow .35s ease;
}
.dm-dash__stat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 40, 70, .14); }
.dm-dash__stat b { font-size: 26px; font-weight: 400; color: var(--dm-primary); line-height: 1.2; }
.dm-dash__stat span { font-size: 13px; color: var(--dm-secondary); }
.dm-dash__addr { padding: 22px 24px; background: #fff; border-radius: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, .07); line-height: 1.8; }
.dm-dash__eyebrow { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dm-accent); }
.dm-dash__addr address { margin: 0 0 10px; font-style: normal; color: var(--dm-text); border: 0; padding: 0; }
.dm-dash__addr p { margin: 0 0 10px; color: var(--dm-secondary); }
@media (max-width: 767.98px) {
	.dm-dash { grid-template-columns: 1fr; }
	.dm-dash__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.dm-acc-nav ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.dm-acc-nav li a { white-space: nowrap; }
}

/* Login / register */
body.woocommerce-account #customer_login.dm-auth { display: grid; gap: 0; width: auto; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 0 auto 30px; overflow: hidden; background: #fff; border-radius: 22px; box-shadow: 0 0 10px rgba(0, 0, 0, .07); }
.dm-auth__photo { position: relative; min-height: 480px; background-position: center; background-size: cover; }
.dm-auth__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(111, 88, 118, 0) 40%, rgba(111, 88, 118, .78)); }
.dm-auth__photo p { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; margin: 0; color: #fff; font-size: 21px; line-height: 1.4; }
body.woocommerce-account .dm-auth > .dm-auth__panel { margin: 0; padding: 36px clamp(22px, 4vw, 44px); }
.dm-auth__seg { position: relative; display: flex; max-width: 320px; margin: 0 auto 24px; padding: 4px; border-radius: 30px; background: #F3EAE5; }
.dm-auth__seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 30px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .35s cubic-bezier(.34, 1.4, .5, 1); }
.dm-auth.is-register .dm-auth__seg::before { transform: translateX(100%); }
.dm-auth__tab { position: relative; z-index: 1; flex: 1; padding: 9px 10px; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--dm-secondary); cursor: pointer; transition: color .2s; }
.dm-auth__tab[aria-selected="true"] { color: var(--dm-primary); }
.dm-auth__title { margin: 0 0 18px !important; text-align: center; font-size: 24px !important; }
.dm-auth .form-row { margin: 0 0 14px; padding: 0; }
.dm-auth label { display: block; margin: 0 0 6px; font-size: 14px; color: var(--dm-secondary); }
.dm-auth .input-text { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1px solid #E4D9D6 !important; border-radius: 10px !important; background: #fff; font: inherit; font-size: 16px; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.dm-auth .input-text:focus { outline: 0; border-color: var(--dm-primary) !important; box-shadow: 0 0 0 3px rgba(111, 88, 118, .12); }
.dm-auth__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 2px 0 18px; font-size: 14px; }
.dm-auth__row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.dm-auth__row input[type="checkbox"] { accent-color: var(--dm-primary); }
.dm-auth__lost { color: var(--dm-primary); text-underline-offset: 3px; }
.dm-auth__hint { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--dm-secondary); }
.dm-auth .dm-auth__submit { width: 100%; }
.dm-auth .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--dm-secondary); }
@media (max-width: 767.98px) {
	body.woocommerce-account #customer_login.dm-auth { grid-template-columns: 1fr; }
	.dm-auth__photo { min-height: 170px; }
	.dm-auth__photo p { font-size: 17px; bottom: 18px; }
}

/* Account page: title, content and edit link on the same width (2026-11-18) */
body.woocommerce-account .entry-header, body.woocommerce-account .entry-footer { box-sizing: border-box; max-width: 1100px; margin-left: auto; margin-right: auto; }
body.woocommerce-account .entry-header .entry-title { margin: 8px 0 22px; }
body.woocommerce-account .entry-footer { font-size: 13px; opacity: .6; }
body.woocommerce-account .woocommerce { margin-top: 0; }
.dm-acc-nav { padding-bottom: 24px; border-bottom: 1px solid var(--dm-line); }
.dm-dash { align-items: stretch; }
.dm-dash__addr { display: flex; flex-direction: column; }
.dm-dash__addr > a { margin-top: auto; align-self: flex-start; color: var(--dm-primary); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
