/*
 * MPD styling for the WooCommerce "My account" pages: the Log in / Register
 * forms (signed out) and the account menu + content (signed in, e.g.
 * Communication preferences). Header and footer are not affected.
 */

/* Page canvas and column */
html body.mpd-theme.woocommerce-account #main {
	background: var(--mpd-bg);
}
html body.mpd-theme.woocommerce-account #main .entry-header,
html body.mpd-theme.woocommerce-account #main .entry-content {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
html body.mpd-theme.woocommerce-account #main .entry-header {
	padding: 56px 0 0;
	margin-bottom: 0;
	border: 0;
	background: none;
}
html body.mpd-theme.woocommerce-account #main .entry-header .entry-title {
	position: relative;
	margin: 0;
	padding: 20px 0 0;
	font-family: var(--mpd-font-display);
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--mpd-ink);
	border: 0;
}
html body.mpd-theme.woocommerce-account #main .entry-header .entry-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 4px;
	border-radius: 2px;
	background: var(--mpd-accent);
}
html body.mpd-theme.woocommerce-account #main .entry-content {
	padding: 32px 0 64px;
	color: #2B3A48;
}

/* ------------------------------------------------------------------
   Signed out: Log in + Register side by side as cards
   ------------------------------------------------------------------ */
html body.mpd-theme.woocommerce-account .woocommerce .col2-set {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 24px;
	align-items: start;
	width: auto;
	margin: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set::before,
html body.mpd-theme.woocommerce-account .woocommerce .col2-set::after {
	display: none;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set .col-1,
html body.mpd-theme.woocommerce-account .woocommerce .col2-set .col-2,
html body.mpd-theme.woocommerce-account .woocommerce > form.woocommerce-form-login,
html body.mpd-theme.woocommerce-account .woocommerce > form.lost_reset_password,
html body.mpd-theme.woocommerce-account .woocommerce > form.woocommerce-ResetPassword {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 32px;
	background: #FFFFFF;
	border: 1px solid var(--mpd-border);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04), 0 12px 32px rgba(11, 31, 51, 0.06);
	box-sizing: border-box;
}
html body.mpd-theme.woocommerce-account .woocommerce > form.lost_reset_password,
html body.mpd-theme.woocommerce-account .woocommerce > form.woocommerce-ResetPassword {
	max-width: 520px;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set h2 {
	margin: 0 0 6px;
	font-size: clamp(22px, 2.4vw, 28px);
}
/* The forms sit inside the cards, so they lose their own box */
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-login,
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

/* Fields */
html body.mpd-theme.woocommerce-account .woocommerce form .form-row {
	margin: 0;
	padding: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce form .form-row + .form-row,
html body.mpd-theme.woocommerce-account .woocommerce form .form-row + p,
html body.mpd-theme.woocommerce-account .woocommerce form p + .form-row,
html body.mpd-theme.woocommerce-account .woocommerce form p + .woocommerce-privacy-policy-text,
html body.mpd-theme.woocommerce-account .woocommerce form .woocommerce-privacy-policy-text + .form-row {
	margin-top: 18px;
}
html body.mpd-theme.woocommerce-account .woocommerce form .form-row:first-child { margin-top: 18px; }
html body.mpd-theme.woocommerce-account .woocommerce form .form-row label:not(.woocommerce-form__label-for-checkbox) {
	display: block;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mpd-ink);
}
html body.mpd-theme.woocommerce-account .woocommerce form .required {
	color: var(--mpd-accent);
	text-decoration: none;
	border: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce form .input-text,
html body.mpd-theme.woocommerce-account .woocommerce form input[type="text"],
html body.mpd-theme.woocommerce-account .woocommerce form input[type="email"],
html body.mpd-theme.woocommerce-account .woocommerce form input[type="password"],
html body.mpd-theme.woocommerce-account .woocommerce form input[type="tel"],
html body.mpd-theme.woocommerce-account .woocommerce form select,
html body.mpd-theme.woocommerce-account .woocommerce form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	box-sizing: border-box;
	font-family: var(--mpd-font-body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--mpd-ink);
	background: #FFFFFF;
	border: 1px solid #B9C5CE;
	border-radius: 8px;
	box-shadow: none;
}
html body.mpd-theme.woocommerce-account .woocommerce form .input-text:focus,
html body.mpd-theme.woocommerce-account .woocommerce form input:focus,
html body.mpd-theme.woocommerce-account .woocommerce form select:focus,
html body.mpd-theme.woocommerce-account .woocommerce form textarea:focus {
	border-color: var(--mpd-teal);
	outline: 3px solid rgba(127, 211, 219, 0.6);
	outline-offset: 0;
}
/* Password field with the "show" eye */
html body.mpd-theme.woocommerce-account .woocommerce .password-input {
	position: relative;
	display: block;
	width: 100%;
}
html body.mpd-theme.woocommerce-account .woocommerce .password-input .input-text { padding-right: 52px; }
html body.mpd-theme.woocommerce-account .woocommerce .password-input .show-password-input {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: var(--mpd-muted);
	border-radius: 6px;
	filter: none;
}
html body.mpd-theme.woocommerce-account .woocommerce .password-input .show-password-input:hover {
	background: var(--mpd-surface-2);
	color: var(--mpd-ink);
}

/* "Remember me" above a full-width Log in button */
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
}
html body.mpd-theme.woocommerce-account .woocommerce .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--mpd-ink);
	cursor: pointer;
}
html body.mpd-theme.woocommerce-account .woocommerce .woocommerce-form__label-for-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--mpd-teal);
}
html body.mpd-theme.woocommerce-account .woocommerce form .woocommerce-form-login__submit,
html body.mpd-theme.woocommerce-account .woocommerce form .woocommerce-form-register__submit,
html body.mpd-theme.woocommerce-account .woocommerce form.lost_reset_password .button,
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-ResetPassword .button {
	display: flex;
	width: 100%;
	min-height: 48px;
	margin: 0;
	justify-content: center;
	font-size: 16px;
}
/* Lost password link */
html body.mpd-theme.woocommerce-account .woocommerce .lost_password {
	margin: 18px 0 0;
	text-align: center;
	font-size: 15px;
}
html body.mpd-theme.woocommerce-account .woocommerce .lost_password a,
html body.mpd-theme.woocommerce-account .woocommerce .woocommerce-privacy-policy-link {
	color: var(--mpd-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}
html body.mpd-theme.woocommerce-account .woocommerce .lost_password a:hover,
html body.mpd-theme.woocommerce-account .woocommerce .woocommerce-privacy-policy-link:hover {
	color: var(--mpd-accent);
}
/* Register small print */
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-register > p:not(.form-row),
html body.mpd-theme.woocommerce-account .woocommerce .woocommerce-privacy-policy-text p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--mpd-muted);
}
html body.mpd-theme.woocommerce-account .woocommerce .woocommerce-privacy-policy-text {
	padding: 14px 16px;
	background: var(--mpd-bg);
	border-radius: 8px;
}

/* ------------------------------------------------------------------
   Signed in: account menu on the left, content card on the right
   ------------------------------------------------------------------ */
html body.mpd-theme.woocommerce-account.logged-in .entry-content > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
html body.mpd-theme.woocommerce-account.logged-in .entry-content > .woocommerce::before,
html body.mpd-theme.woocommerce-account.logged-in .entry-content > .woocommerce::after { display: none; }
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
	background: #FFFFFF;
	border: 1px solid var(--mpd-border);
	border-radius: 16px;
	box-sizing: border-box;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation { padding: 10px; }
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content {
	padding: 32px;
	font-size: 16px;
	line-height: 1.65;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--mpd-ink);
	text-decoration: none;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--mpd-surface-2);
	color: var(--mpd-ink);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--mpd-navy);
	color: #FFFFFF;
	font-weight: 600;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--mpd-border);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content p { font-size: 16px; }
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content h2,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content h3 { margin-top: 32px; }
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content th,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content td {
	padding: 12px 10px;
	border: 0;
	border-bottom: 1px solid var(--mpd-border);
	text-align: left;
}

/* Small screens */
@media (max-width: 760px) {
	html body.mpd-theme.woocommerce-account #main { padding-left: 20px; padding-right: 20px; }
	html body.mpd-theme.woocommerce-account #main .entry-header { padding-top: 36px; }
	html body.mpd-theme.woocommerce-account .woocommerce .col2-set .col-1,
	html body.mpd-theme.woocommerce-account .woocommerce .col2-set .col-2,
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content { padding: 24px 20px; }
	html body.mpd-theme.woocommerce-account.logged-in .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
}

/* 1.8.5 — Log in and Register cards the same height, buttons lined up.
   Each card is a column; its form fills the card and the button row sits
   at the bottom, so both buttons line up whatever is above them.
   "Lost your password?" moves up under the password field. */
@media (min-width: 761px) {
	html body.mpd-theme.woocommerce-account .woocommerce .col2-set {
		align-items: stretch;
	}
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set .col-1,
html body.mpd-theme.woocommerce-account .woocommerce .col2-set .col-2 {
	display: flex;
	flex-direction: column;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set form.woocommerce-form-login,
html body.mpd-theme.woocommerce-account .woocommerce .col2-set form.woocommerce-form-register {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set form.woocommerce-form-login > .lost_password {
	order: 1;
	margin: 10px 0 0;
	text-align: right;
	font-size: 14px;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set form.woocommerce-form-login > .form-row:has(.woocommerce-form-login__submit) {
	order: 2;
}
html body.mpd-theme.woocommerce-account .woocommerce .col2-set form.woocommerce-form-login > .form-row:has(.woocommerce-form-login__submit),
html body.mpd-theme.woocommerce-account .woocommerce .col2-set form.woocommerce-form-register > .form-row:has(.woocommerce-form-register__submit) {
	margin-top: auto;
	padding-top: 24px;
}
/* The row's clearfix pseudo-elements become flex items and add a gap
   under the Log in button; hide them so both buttons line up exactly. */
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit)::before,
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit)::after {
	display: none;
}
html body.mpd-theme.woocommerce-account .woocommerce form.woocommerce-form-register > p:not(.form-row) {
	margin-top: 8px;
}

/* ------------------------------------------------------------------
   1.8.6 — Orders (and other account tables): tidy buttons
   - Action buttons are smaller, spaced apart and kept on one line.
   - Only "Pay" stays solid orange; "View" and other actions are outline
     buttons; "Cancel" is a quiet text button.
   - Previous / Next sit apart at either end.
   ------------------------------------------------------------------ */
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	margin: 0;
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
	padding: 0 10px 12px;
	font-family: var(--mpd-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mpd-muted);
	background: none;
	border: 0;
	border-bottom: 1px solid var(--mpd-border);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td {
	padding: 16px 10px;
	vertical-align: middle;
	font-weight: 400;
	line-height: 1.45;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--mpd-border);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child > * {
	border-bottom: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-weight: 600;
	color: var(--mpd-teal);
	text-decoration: none;
}
html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
	text-decoration: underline;
}
html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-date {
	white-space: nowrap;
}
html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-weight: 500;
	color: var(--mpd-ink);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content th.woocommerce-orders-table__header-order-actions,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions {
	text-align: right;
}
html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	white-space: normal;
}

/* The buttons themselves: compact, with a gap between them */
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .woocommerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 36px;
	margin: 4px 0 4px 8px;
	padding: 0 14px;
	font-family: var(--mpd-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: none;
	/* default: outline */
	color: var(--mpd-navy);
	background: #FFFFFF;
	border: 1px solid #B9C5CE;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button:first-child {
	margin-left: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button:hover,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button:focus-visible {
	color: var(--mpd-navy);
	background: var(--mpd-surface-2);
	border-color: var(--mpd-navy);
}
/* Pay: the one main action */
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button.pay {
	color: #FFFFFF;
	background: var(--mpd-accent);
	border-color: var(--mpd-accent);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button.pay:hover,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button.pay:focus-visible {
	color: #FFFFFF;
	background: var(--mpd-navy);
	border-color: var(--mpd-navy);
}
/* Cancel: quiet text button */
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button.cancel {
	padding: 0 8px;
	color: var(--mpd-muted);
	background: transparent;
	border-color: transparent;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button.cancel:hover,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table td .button.cancel:focus-visible {
	color: #A3360B;
	background: transparent;
	border-color: transparent;
}

/* Previous / Next */
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	border: 0;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination .button {
	float: none;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	color: var(--mpd-navy);
	background: #FFFFFF;
	border: 1px solid #B9C5CE;
	box-shadow: none;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination .woocommerce-button--next {
	margin-left: auto;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination .button:hover {
	background: var(--mpd-surface-2);
	border-color: var(--mpd-navy);
}

/* Messages such as "No order has been made yet. [Browse products]" */
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 16px 18px 16px 52px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--mpd-ink);
	background: var(--mpd-bg);
	border: 1px solid var(--mpd-border);
	border-left: 4px solid var(--mpd-teal);
	border-radius: 10px;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before {
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
	color: var(--mpd-teal);
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::after,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::after {
	display: none;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
	order: 2;
	float: none;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	font-size: 15px;
	border-radius: 8px;
}

/* Phones: WooCommerce turns each order into a stacked block with labels */
@media (max-width: 768px) {
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody tr {
		display: block;
		margin: 0 0 16px;
		padding: 6px 16px;
		border: 1px solid var(--mpd-border);
		border-radius: 12px;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody th,
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td {
		display: block;
		padding: 10px 0;
		text-align: right;
		white-space: normal;
		border-bottom: 1px solid var(--mpd-border);
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody tr > :last-child {
		border-bottom: 0;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td::before,
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody th::before {
		float: left;
		margin-right: 12px;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--mpd-muted);
	}
	/* Order number: the heading of each order block */
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody th.woocommerce-orders-table__cell-order-number {
		text-align: left;
		font-size: 17px;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody th.woocommerce-orders-table__cell-order-number::before {
		display: none;
	}
	/* Actions: label hidden, buttons fill the row evenly */
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 8px;
		padding-top: 14px;
		padding-bottom: 12px;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions .button {
		flex: 1 1 0;
		min-height: 42px;
		margin: 0;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions .button.cancel {
		flex: 0 0 100%;
		min-height: 36px;
	}
}

/* 1.8.7 — real Orders page (extra "Download Invoice" button)
   - The signed-in account area is wider so the table fits its card.
   - Actions are right-aligned, so View / Download Invoice line up in
     every row; a row with many buttons wraps neatly inside the card.
   - Totals stay on one line ("£70.01 for 2 items").
   - Below 1024px the account menu sits above the content as a row of
     tabs, giving the table the full width. */
html body.mpd-theme.woocommerce-account.logged-in #main > .full-container {
	max-width: 1180px;
}
html body.mpd-theme.woocommerce-account.logged-in #main .entry-header,
html body.mpd-theme.woocommerce-account.logged-in #main .entry-content {
	max-width: 1180px;
}
html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	table-layout: auto;
}
@media (min-width: 769px) {
	html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-total,
	html body.mpd-theme.woocommerce-account .woocommerce-orders-table__cell-order-date {
		white-space: nowrap;
	}
	/* the first four columns take only the room they need; Actions gets the rest */
	html body.mpd-theme.woocommerce-account .woocommerce-orders-table__header-order-number,
	html body.mpd-theme.woocommerce-account .woocommerce-orders-table__header-order-date,
	html body.mpd-theme.woocommerce-account .woocommerce-orders-table__header-order-status,
	html body.mpd-theme.woocommerce-account .woocommerce-orders-table__header-order-total {
		width: 1%;
		white-space: nowrap;
	}
}
@media (max-width: 1024px) {
	html body.mpd-theme.woocommerce-account.logged-in .entry-content > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0 0 0 auto;
		padding: 0;
		border: 0;
	}
	html body.mpd-theme.woocommerce-account .woocommerce-MyAccount-navigation li a {
		min-height: 40px;
	}
}
