/* Mon compte (class-account.php + WooCommerce account templates). Colours, radii, shadows: theme.json tokens. */
html body.woocommerce-account {
	--vpa-red: var(--wp--preset--color--accent-1, #C8202F);
	--vpa-gold: var(--wp--preset--color--accent-2, #F2A541);
	--vpa-green: var(--wp--preset--color--accent-3, #2E6B3F);
	--vpa-taupe: var(--wp--preset--color--accent-4, #6E625A);
	--vpa-flour: var(--wp--preset--color--accent-5, #F4E6D4);
	--vpa-white: var(--wp--preset--color--accent-6, #fff);
	--vpa-ink: var(--wp--preset--color--contrast, #1F1A17);
	--vpa-line: color-mix(in srgb, var(--vpa-ink) 10%, transparent);
	--vpa-radius: var(--wp--custom--radius--medium, 18px);
	--vpa-shadow: var(--wp--preset--shadow--soft, 0 10px 30px -12px rgba(31, 26, 23, .25));
}

/* ---------- Layout: menu + content ---------- */
/* WooCommerce adds a clearfix (::before / ::after, display: table) on the container: in a grid these
   pseudo-elements would take the first cells and push the content into the 250 px menu column. */
html body.woocommerce-account .woocommerce::before,
html body.woocommerce-account .woocommerce::after {
	content: none;
	display: none;
}

/* woocommerce-blocktheme.css caps the account and the title at 1000 px (not centred). The account fills its
   wide group; the title takes the same wide width (1240 px, centred) so both line up. */
html body.woocommerce-account main .woocommerce {
	max-width: none;
}

html body.woocommerce-account .wp-block-post-title {
	max-width: var(--wp--style--global--wide-size, 1240px);
}

html body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50, 2.5rem);
	align-items: start;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation,
html body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
}

html body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation {
	position: sticky;
	top: calc(var(--wp--custom--header-height, 76px) + 1.5rem);
	padding: 0.6rem;
	border-radius: var(--vpa-radius);
	background: var(--vpa-white);
	box-shadow: var(--vpa-shadow);
}

html body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

html body.woocommerce-account .woocommerce-MyAccount-navigation li a,
html body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	text-decoration: none;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0.6rem 1rem;
	border-radius: var(--wp--custom--radius--small, 10px);
	color: var(--vpa-ink);
	font-weight: 700;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: color-mix(in srgb, var(--vpa-flour) 60%, transparent);
}

html body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--vpa-red);
	color: #fff;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 0.35rem;
	padding-top: 0.35rem;
	border-top: 1px solid var(--vpa-line);
}

html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--vpa-taupe);
	font-weight: 600;
}

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

html body.woocommerce-account .woocommerce-MyAccount-content h2,
html body.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: var(--wp--preset--font-family--platypi, Georgia, serif);
}

/* ---------- Shared pieces ---------- */
html body.woocommerce-account .vpa-kicker {
	margin: 0 0 0.25rem;
	color: var(--vpa-taupe);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

html body.woocommerce-account .vpa-block,
html body.woocommerce-account .vpa-track,
html body.woocommerce-account .woocommerce-EditAccountForm,
html body.woocommerce-account .woocommerce-address-fields,
html body.woocommerce-account .woocommerce-order-details,
html body.woocommerce-account .woocommerce-customer-details {
	margin: 0 0 1.25rem;
	padding: clamp(1.1rem, 3vw, 1.75rem);
	border-radius: var(--vpa-radius);
	background: var(--vpa-white);
	box-shadow: var(--vpa-shadow);
}

html body.woocommerce-account .vpa-block h3,
html body.woocommerce-account .vpa-block h2 {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--large, 1.25rem);
}

html body.woocommerce-account .button,
html body.woocommerce-account button.button,
html body.woocommerce-account .vpa-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin: 0;
	padding: 0.8rem 1.5rem;
	border: 0;
	border-radius: var(--wp--custom--radius--pill, 999px);
	background: var(--vpa-red);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	vertical-align: middle;
	text-align: center;
	box-sizing: border-box;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

html body.woocommerce-account .button:hover,
html body.woocommerce-account .vpa-button:hover {
	background: #A81A27;
	color: #fff;
}

html body.woocommerce-account .vpa-button--light {
	background: var(--vpa-white);
	color: var(--vpa-red);
}

html body.woocommerce-account .vpa-button--light:hover {
	background: var(--vpa-flour);
	color: var(--vpa-red);
}

html body.woocommerce-account .vpa-link {
	color: var(--vpa-red);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

/* Status badges */
html body.woocommerce-account .vpa-status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--vpa-taupe) 14%, transparent);
	color: var(--vpa-ink);
	font-size: 0.85rem;
	font-weight: 800;
	white-space: nowrap;
}

html body.woocommerce-account .vpa-status::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

html body.woocommerce-account .vpa-status--valider { background: #FCE9EA; color: #8F1520; }
html body.woocommerce-account .vpa-status--approuvee { background: #E8EEF8; color: #23487A; }
html body.woocommerce-account .vpa-status--en-cours { background: #FDF0DC; color: #7A4B00; }
html body.woocommerce-account .vpa-status--prete { background: #E2F2E6; color: #1F4D2C; }
html body.woocommerce-account .vpa-status--terminee { background: color-mix(in srgb, var(--vpa-taupe) 14%, transparent); color: var(--vpa-taupe); }
html body.woocommerce-account .vpa-status--annulee { background: #EEEAE6; color: #5B524C; text-decoration: line-through; }

/* ---------- Dashboard ---------- */
html body.woocommerce-account .vpa-hello {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
	padding: clamp(1.25rem, 4vw, 2.25rem);
	border-radius: var(--wp--custom--radius--large, 28px);
	background: linear-gradient(135deg, var(--vpa-red), #8F1520);
	color: #fff;
}

html body.woocommerce-account .vpa-hello h2 {
	margin: 0 0 0.35rem;
	color: #fff;
	font-size: var(--wp--preset--font-size--x-large, 2rem);
	line-height: 1.1;
}

html body.woocommerce-account .vpa-hello p {
	margin: 0;
	max-width: 46ch;
	color: color-mix(in srgb, #fff 88%, transparent);
}

html body.woocommerce-account .vpa-hello .vpa-kicker {
	color: var(--vpa-gold);
}

html body.woocommerce-account .vpa-hello .vpa-button {
	background: var(--vpa-white);
	color: var(--vpa-red);
}

html body.woocommerce-account .vpa-hello .vpa-button:hover {
	background: var(--vpa-flour);
}

html body.woocommerce-account .vpa-orders {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

html body.woocommerce-account .vpa-order {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--vpa-line);
	border-radius: var(--wp--custom--radius--small, 10px);
}

html body.woocommerce-account .vpa-order__main {
	flex: 1 1 12rem;
	min-width: 0;
}

html body.woocommerce-account .vpa-order__num {
	margin: 0;
	font-weight: 800;
}

html body.woocommerce-account .vpa-order__meta {
	margin: 0.15rem 0 0;
	color: var(--vpa-taupe);
	font-size: 0.9rem;
}

html body.woocommerce-account .vpa-again {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--vpa-flour);
	box-shadow: none;
}

html body.woocommerce-account .vpa-again h3 {
	margin-bottom: 0.25rem;
}

html body.woocommerce-account .vpa-again p {
	margin: 0;
	color: var(--vpa-taupe);
}

html body.woocommerce-account .vpa-shortcuts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 0.85rem;
}

html body.woocommerce-account .vpa-shortcuts a {
	display: grid;
	gap: 0.2rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--vpa-line);
	border-radius: var(--vpa-radius);
	background: var(--vpa-white);
	color: var(--vpa-ink);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

html body.woocommerce-account .vpa-shortcuts a:hover {
	border-color: color-mix(in srgb, var(--vpa-red) 40%, transparent);
	box-shadow: var(--vpa-shadow);
	transform: translateY(-2px);
}

html body.woocommerce-account .vpa-shortcuts strong::after {
	content: " →";
	color: var(--vpa-red);
}

html body.woocommerce-account .vpa-shortcuts span {
	color: var(--vpa-taupe);
	font-size: 0.9rem;
}

/* ---------- Orders table ---------- */
html body.woocommerce-account .woocommerce-orders-table {
	overflow: hidden;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--vpa-radius);
	background: var(--vpa-white);
	box-shadow: var(--vpa-shadow);
}

html body.woocommerce-account .woocommerce-orders-table th,
html body.woocommerce-account .woocommerce-orders-table td {
	padding: 0.9rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--vpa-line);
	vertical-align: middle;
}

html body.woocommerce-account .woocommerce-orders-table thead th {
	background: color-mix(in srgb, var(--vpa-flour) 55%, transparent);
	color: var(--vpa-taupe);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

html body.woocommerce-account .woocommerce-orders-table tbody tr:last-child > * {
	border-bottom: 0;
}

html body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	color: var(--vpa-ink);
	font-weight: 800;
	text-decoration: none;
}

/* Stays a real table cell (display: flex would break the row separator); buttons spaced with margins. */
html body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	display: table-cell;
	white-space: nowrap;
}

html body.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions > a + a {
	margin-left: 0.5rem;
}

/* WooCommerce (blocktheme) forces display: block + margin-bottom: 1em on these links. */
html body.woocommerce-account .woocommerce-orders-table .button,
html body.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
	display: inline-flex;
	min-height: 0;
	margin: 0;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.2;
}

html body.woocommerce-account .woocommerce-orders-table .button.cancel {
	background: transparent;
	color: var(--vpa-red);
	box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--vpa-red) 35%, transparent);
}

html body.woocommerce-account .woocommerce-orders-table .button.order-again {
	background: var(--vpa-green);
}

html body.woocommerce-account .woocommerce-Pagination {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1rem;
}

/* No orders yet */
html body.woocommerce-account .woocommerce-info,
html body.woocommerce-account .woocommerce-message,
html body.woocommerce-account .woocommerce-error {
	border-radius: var(--wp--custom--radius--small, 10px);
}

/* ---------- Order page ---------- */
html body.woocommerce-account .woocommerce-MyAccount-content > p:first-child mark,
html body.woocommerce-account .woocommerce-order-details mark {
	padding: 0 0.15em;
	border-radius: 4px;
	background: var(--vpa-flour);
	color: inherit;
	font-weight: 700;
}

html body.woocommerce-account .vpa-track__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

html body.woocommerce-account .vpa-track__slot {
	margin: 0;
	font-family: var(--wp--preset--font-family--platypi, Georgia, serif);
	font-size: var(--wp--preset--font-size--x-large, 2rem);
	font-weight: 700;
	line-height: 1.1;
}

html body.woocommerce-account .vpa-track__where {
	margin: 0.25rem 0 0;
	color: var(--vpa-taupe);
}

html body.woocommerce-account .vpa-track__hint {
	margin: 1rem 0 0;
	font-weight: 600;
}

html body.woocommerce-account .vpa-track__cancelled {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: var(--wp--custom--radius--small, 10px);
	background: #FCE9EA;
	color: #8F1520;
	font-weight: 600;
}

html body.woocommerce-account .vpa-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

html body.woocommerce-account .vpa-steps li {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 0.5rem;
	color: var(--vpa-taupe);
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
}

/* Line between the dots */
html body.woocommerce-account .vpa-steps li::before {
	content: "";
	position: absolute;
	top: 0.8rem;
	left: -50%;
	width: 100%;
	height: 3px;
	background: var(--vpa-line);
	z-index: 0;
}

html body.woocommerce-account .vpa-steps li:first-child::before {
	display: none;
}

html body.woocommerce-account .vpa-steps li.is-done::before,
html body.woocommerce-account .vpa-steps li.is-current::before {
	background: var(--vpa-green);
}

html body.woocommerce-account .vpa-steps__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border: 3px solid var(--vpa-line);
	border-radius: 50%;
	background: var(--vpa-white);
}

html body.woocommerce-account .vpa-steps li.is-done .vpa-steps__dot {
	border-color: var(--vpa-green);
	background: var(--vpa-green);
}

html body.woocommerce-account .vpa-steps li.is-done .vpa-steps__dot::after {
	content: "✓";
	color: #fff;
	font-size: 0.8rem;
	font-weight: 900;
	line-height: 1;
}

html body.woocommerce-account .vpa-steps li.is-current {
	color: var(--vpa-ink);
}

html body.woocommerce-account .vpa-steps li.is-current .vpa-steps__dot {
	border-color: var(--vpa-red);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--vpa-red) 18%, transparent);
}

html body.woocommerce-account .vpa-steps li.is-current .vpa-steps__dot::after {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--vpa-red);
}

html body.woocommerce-account .woocommerce-order-details table,
html body.woocommerce-account .woocommerce-table--order-details {
	border: 0;
	border-collapse: collapse;
}

html body.woocommerce-account .woocommerce-table--order-details th,
html body.woocommerce-account .woocommerce-table--order-details td {
	padding: 0.7rem 0;
	border: 0;
	border-bottom: 1px solid var(--vpa-line);
}

html body.woocommerce-account .woocommerce-table--order-details .wc-item-meta {
	margin: 0.3rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--vpa-taupe);
	font-size: 0.9rem;
}

html body.woocommerce-account .woocommerce-table--order-details .wc-item-meta p {
	display: inline;
	margin: 0;
}

html body.woocommerce-account .woocommerce-customer-details address {
	padding: 0;
	border: 0;
	font-style: normal;
	line-height: 1.6;
}

html body.woocommerce-account .woocommerce-OrderUpdates {
	padding: 0;
	list-style: none;
}

/* ---------- Contact details ---------- */
html body.woocommerce-account .vpa-contact__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

html body.woocommerce-account .vpa-contact__head h2 {
	margin-bottom: 0.25rem;
}

html body.woocommerce-account .vpa-contact__head p {
	margin: 0;
	max-width: 52ch;
	color: var(--vpa-taupe);
}

html body.woocommerce-account .vpa-contact__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 0.75rem;
	margin: 0;
}

html body.woocommerce-account .vpa-contact__list > div {
	padding: 0.85rem 1rem;
	border-radius: var(--wp--custom--radius--small, 10px);
	background: color-mix(in srgb, var(--vpa-flour) 45%, transparent);
}

html body.woocommerce-account .vpa-contact__list dt {
	color: var(--vpa-taupe);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

html body.woocommerce-account .vpa-contact__list dd {
	margin: 0.2rem 0 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}

html body.woocommerce-account .vpa-empty {
	color: var(--vpa-taupe);
	font-weight: 500;
	font-style: italic;
}

/* ---------- Forms (profile, contact details, login / register) ---------- */
html body.woocommerce-account .woocommerce form .form-row {
	margin: 0 0 1rem;
	padding: 0;
}

html body.woocommerce-account .woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
	font-size: 0.95rem;
}

html body.woocommerce-account .woocommerce form .input-text,
html body.woocommerce-account .woocommerce form select {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--vpa-line);
	border-radius: var(--wp--custom--radius--small, 10px);
	background: var(--vpa-white);
	font: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}

html body.woocommerce-account .woocommerce form .input-text:focus,
html body.woocommerce-account .woocommerce form select:focus {
	border-color: var(--vpa-red);
	outline: none;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--vpa-red) 15%, transparent);
}

html body.woocommerce-account .woocommerce form .form-row-first,
html body.woocommerce-account .woocommerce form .form-row-last {
	width: calc(50% - 0.5rem);
}

html body.woocommerce-account fieldset {
	margin: 1.5rem 0 1rem;
	padding: 1.1rem 1.25rem 0.25rem;
	border: 1px solid var(--vpa-line);
	border-radius: var(--wp--custom--radius--small, 10px);
}

html body.woocommerce-account fieldset legend {
	padding: 0 0.4rem;
	font-weight: 800;
}

html body.woocommerce-account .woocommerce form .show-password-input {
	top: 50%;
	transform: translateY(-50%);
}

/* Login / register (logged out) */
html body.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 1.5rem;
	align-items: start;
}

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

html body.woocommerce-account #customer_login > .u-column1,
html body.woocommerce-account #customer_login > .u-column2 {
	float: none;
	width: auto;
	padding: clamp(1.25rem, 4vw, 2rem);
	border-radius: var(--vpa-radius);
	background: var(--vpa-white);
	box-shadow: var(--vpa-shadow);
}

html body.woocommerce-account #customer_login > .u-column2 {
	background: var(--vpa-flour);
	box-shadow: none;
}

html body.woocommerce-account #customer_login h2 {
	margin-top: 0;
	font-family: var(--wp--preset--font-family--platypi, Georgia, serif);
}

html body.woocommerce-account .woocommerce-form-login,
html body.woocommerce-account .woocommerce-form-register {
	margin: 0;
	padding: 0;
	border: 0;
}

html body.woocommerce-account .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0 1rem;
}

html body.woocommerce-account .woocommerce-LostPassword a {
	color: var(--vpa-red);
	font-weight: 700;
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	html body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}

	/* Menu: pills that wrap (every entry visible, nothing hidden off-screen) */
	html body.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		padding: 0.4rem;
	}

	html body.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar {
		display: none;
	}

	html body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 0.3rem;
	}

	html body.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 1 1 auto;
	}

	html body.woocommerce-account .woocommerce-MyAccount-navigation a {
		justify-content: center;
		min-height: 44px;
		padding: 0.5rem 0.85rem;
		white-space: nowrap;
		font-size: 0.95rem;
	}

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

	/* Orders as cards */
	html body.woocommerce-account .woocommerce-orders-table thead {
		display: none;
	}

	html body.woocommerce-account .woocommerce-orders-table,
	html body.woocommerce-account .woocommerce-orders-table tbody,
	html body.woocommerce-account .woocommerce-orders-table tr,
	html body.woocommerce-account .woocommerce-orders-table td,
	html body.woocommerce-account .woocommerce-orders-table th {
		display: block;
		width: 100%;
	}

	html body.woocommerce-account .woocommerce-orders-table {
		background: none;
		box-shadow: none;
	}

	/* Padding inside the width (table elements are content-box by default), no negative margin from WooCommerce. */
	html body.woocommerce-account .woocommerce-orders-table,
	html body.woocommerce-account .woocommerce-orders-table tbody,
	html body.woocommerce-account .woocommerce-orders-table tr,
	html body.woocommerce-account .woocommerce-orders-table tr > * {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
		margin-right: 0;
		margin-left: 0;
	}

	html body.woocommerce-account .woocommerce-orders-table tr > * {
		overflow-wrap: anywhere;
	}

	/* One card per order: n° + status / pickup / placed on + total / buttons. */
	html body.woocommerce-account .woocommerce-orders-table tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"num status"
			"pickup pickup"
			"date total"
			"actions actions";
		align-items: center;
		gap: 0.35rem 0.75rem;
		margin-bottom: 0.85rem;
		padding: 1rem 1.1rem;
		border-radius: var(--vpa-radius);
		background: var(--vpa-white);
		box-shadow: var(--vpa-shadow);
	}

	html body.woocommerce-account .woocommerce-orders-table tr > th,
	html body.woocommerce-account .woocommerce-orders-table tr > td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
		text-align: left;
		background: none;
	}

	html body.woocommerce-account .woocommerce-orders-table tr > th::before,
	html body.woocommerce-account .woocommerce-orders-table tr > td::before {
		content: none;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-number {
		grid-area: num;
		font-size: 1.15rem;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-status {
		grid-area: status;
		justify-self: end;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-pickup {
		grid-area: pickup;
		font-family: var(--wp--preset--font-family--platypi, Georgia, serif);
		font-size: 1.35rem;
		font-weight: 700;
		line-height: 1.2;
	}

	html body.woocommerce-account .woocommerce-orders-table tr > td.woocommerce-orders-table__cell-order-pickup::before {
		content: "Retrait ";
		color: var(--vpa-taupe);
		font-family: var(--wp--preset--font-family--manrope, sans-serif);
		font-size: 0.85rem;
		font-weight: 700;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-date,
	html body.woocommerce-account .woocommerce-orders-table__cell-order-total {
		color: var(--vpa-taupe);
		font-size: 0.9rem;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-date {
		grid-area: date;
	}

	html body.woocommerce-account .woocommerce-orders-table tr > td.woocommerce-orders-table__cell-order-date::before {
		content: "Passée le ";
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-total {
		grid-area: total;
		justify-self: end;
		text-align: right;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell-order-total .amount {
		color: var(--vpa-ink);
		font-weight: 800;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
		grid-area: actions;
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		margin-top: 0.5rem;
		padding-top: 0.75rem;
		border-top: 1px solid var(--vpa-line);
		white-space: normal;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions > a {
		flex: 1 1 auto;
		padding: 0.65rem 1rem;
	}

	html body.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions > a + a {
		margin-left: 0;
	}

	html body.woocommerce-account .woocommerce form .form-row-first,
	html body.woocommerce-account .woocommerce form .form-row-last {
		float: none;
		width: 100%;
	}

	html body.woocommerce-account .vpa-hello .vpa-button,
	html body.woocommerce-account .vpa-again .vpa-button {
		width: 100%;
	}

	html body.woocommerce-account .vpa-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.9rem;
	}

	html body.woocommerce-account .vpa-steps li {
		grid-template-columns: auto 1fr;
		justify-items: start;
		align-items: center;
		gap: 0.75rem;
		text-align: left;
	}

	html body.woocommerce-account .vpa-steps li::before {
		top: -0.9rem;
		left: calc(0.8rem - 1.5px);
		width: 3px;
		height: 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.woocommerce-account .vpa-shortcuts a,
	html body.woocommerce-account .woocommerce-MyAccount-navigation a {
		transition: none;
	}

	html body.woocommerce-account .vpa-shortcuts a:hover {
		transform: none;
	}
}
