.dl-flow-account {
	--dl-account-border: color-mix(in srgb, var(--dl-muted) 44%, var(--dl-line));
	--dl-account-padding: clamp(18px, 3vw, 34px);
	--dl-account-gap: clamp(14px, 2.4vw, 26px);
}

.dl-account-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	align-items: center;
	gap: 16px;
	min-height: 166px;
	padding: clamp(22px, 4vw, 46px);
	border: 1px solid var(--dl-line);
	border-radius: 20px;
	background: var(--dl-honey);
}
.dl-account-hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); overflow-wrap: anywhere; }
.dl-account-hero p { max-width: 48ch; margin: 10px 0 0; color: var(--dl-muted); }
.dl-account-back { display: inline-block; margin-bottom: 12px; font-size: .9rem; font-weight: 700; }
.dl-account-back span { margin-inline-end: .2em; }
.dl-account-deck {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	inline-size: clamp(83px, 16vw, 164px);
	block-size: clamp(79px, 11vw, 118px);
}
.dl-account-deck::before,
.dl-account-deck::after,
.dl-account-deck > span {
	inline-size: 52%;
	aspect-ratio: 4 / 5;
	border: 1px solid color-mix(in srgb, var(--dl-muted) 20%, transparent);
	border-radius: 12%;
	box-shadow: 0 3px 0 rgb(36 38 49 / .08);
}
.dl-account-deck::before,
.dl-account-deck::after { content: ""; position: absolute; }
.dl-account-deck::before { background: var(--dl-saffron); transform: translate(-32%, 3%) rotate(-18deg); }
.dl-account-deck::after { background: var(--dl-rose); transform: translate(29%, 3%) rotate(16deg); z-index: -1; }
.dl-account-deck > span {
	display: grid;
	place-items: center;
	position: relative;
	background: var(--dl-card);
	color: var(--dl-rose-ink);
	transform: rotate(-4deg);
}
.dl-account-deck svg { width: 55%; }

.dl-account-body { margin-block: var(--dl-account-gap); }
.dl-account-body .woocommerce { min-width: 0; }
.dl-account-body h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 2.6vw, 2rem); letter-spacing: -.035em; line-height: 1.2; }
.dl-account-body :is(h3, legend) { font-size: 1.12rem; font-weight: 750; }
.dl-account-body .woocommerce > :where(h2, form.lost_reset_password, .woocommerce-LostPassword) { max-width: 660px; }

.dl-account-body #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--dl-account-gap);
}
.dl-account-body #customer_login::before,
.dl-account-body #customer_login::after,
.dl-account-body .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.dl-account-body .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { content: none; }
.dl-account-body #customer_login > :is(.col-1, .col-2) { float: none; width: auto; min-width: 0; }
.dl-account-body :is(#customer_login > .col-1, #customer_login > .col-2, .woocommerce:has(> form.login), .woocommerce:has(> form.lost_reset_password)),
.dl-account-body .woocommerce-MyAccount-content {
	padding: var(--dl-account-padding);
	border: 1px solid var(--dl-line);
	border-radius: 16px;
	background: var(--dl-card);
}
.dl-account-body .woocommerce:has(> :is(form.login, form.lost_reset_password)) { max-width: 660px; }
.dl-account-body .woocommerce :is(form.login, form.register, form.lost_reset_password) {
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
}
.dl-account-body #customer_login > .col-2 { background: color-mix(in srgb, var(--dl-honey) 27%, var(--dl-card)); }
.dl-account-body :is(form.login, form.register, form.lost_reset_password) .form-row { padding-inline: 0; margin-bottom: 13px; }
.dl-account-body :is(form.login, form.register, form.lost_reset_password) > :last-child { margin-bottom: 0; }
.dl-account-body :is(form.lost_reset_password, form.login) > :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
.dl-account-body .woocommerce-form-login .form-row:has(> button[name="login"]) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
}
.dl-account-body .woocommerce-form-login .form-row > button[name="login"] { float: none; margin: 0; }
.dl-account-body .woocommerce-form-login__rememberme {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	min-height: 44px;
}
.dl-account-body .woocommerce-form-login__rememberme input { margin: 0; }
.dl-account-body :is(.woocommerce-LostPassword, .woocommerce-privacy-policy-text) { font-size: .92rem; }
.dl-account-body .woocommerce-privacy-policy-text { color: var(--dl-muted); }
.dl-account-body .woocommerce :is(.input-text, .select2-container .select2-selection--single, select) {
	min-height: 46px;
	border-color: var(--dl-account-border);
	border-radius: 8px;
}
.dl-account-body :is(.woocommerce-invalid .input-text, .woocommerce-invalid select) { border-color: var(--dl-rose-ink); }
.dl-account-body .select2-container .select2-selection--single { background: var(--dl-card); }
.dl-account-body .select2-container .select2-selection--single :is(.select2-selection__rendered, .select2-selection__arrow) { line-height: 44px; height: 44px; }
.dl-account-body .woocommerce .form-row label:not(.checkbox, .woocommerce-form-login__rememberme) { font-weight: 650; }
.dl-account-body .password-input { min-width: 0; }
#contenu.dl-flow-account .dl-account-body .woocommerce :is(button.button, a.button, input.button):not(.is-link, .is-secondary) {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--dl-rose-ink);
	font-weight: 650;
}
#contenu.dl-flow-account .dl-account-body .woocommerce :is(button.button, a.button, input.button):not(.is-link, .is-secondary):hover {
	background: var(--dl-ink);
}
.dl-account-body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	border-radius: 9px;
	margin-bottom: 18px;
	background: var(--dl-sand);
	color: var(--dl-ink);
}

.dl-account-body .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: minmax(190px, 1fr) minmax(0, 3.4fr);
	align-items: start;
	gap: var(--dl-account-gap);
}
.dl-account-body .woocommerce:has(> .woocommerce-MyAccount-navigation) > :not(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.dl-account-body :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) { width: auto; float: none; min-width: 0; }
.dl-account-body .woocommerce-MyAccount-navigation {
	padding: 9px;
	border: 1px solid var(--dl-line);
	border-radius: 16px;
	background: var(--dl-card);
}
.dl-account-body .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dl-account-body .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--dl-ink);
	font-size: .92rem;
	font-weight: 650;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.dl-account-body .woocommerce-MyAccount-navigation a:hover { background: var(--dl-sand); text-decoration: underline; }
.dl-account-body .woocommerce-MyAccount-navigation a[aria-current="page"] {
	background: var(--dl-honey);
	box-shadow: inset 3px 0 var(--dl-rose-ink);
}
.dl-account-body .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--dl-rose-ink); }
.dl-account-body .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.dl-account-body .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.dl-account-body .woocommerce-MyAccount-content :is(td, address, .woocommerce-order-overview) { overflow-wrap: anywhere; }
.dl-account-body .woocommerce-MyAccount-content :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-Addresses, fieldset) { margin-block: 22px; }
.dl-account-body .woocommerce-MyAccount-content fieldset {
	min-inline-size: 0;
	padding: 12px 16px;
	border: 1px solid var(--dl-line);
	border-radius: 10px;
}
.dl-account-body .woocommerce-MyAccount-content fieldset legend { padding-inline: 6px; }
.dl-account-body .woocommerce-MyAccount-content .woocommerce-customer-details address {
	border: 1px solid var(--dl-line);
	border-radius: 10px;
	padding: 14px;
}
.dl-account-body .woocommerce-MyAccount-content .woocommerce-Address {
	padding: 15px;
	border: 1px solid var(--dl-line);
	border-radius: 10px;
}
.dl-account-body .woocommerce-MyAccount-content .woocommerce-Address address { font-style: normal; }
.dl-account-body .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	margin-bottom: 8px;
}
.dl-account-body .woocommerce-Address-title h2 { margin: 0; font-size: 1.14rem; }
.dl-account-body .woocommerce-orders-table__cell-order-actions :is(a, button) { margin: 3px; }
.dl-account-body .woocommerce-MyAccount-content mark { padding: 0 .25em; border-radius: 4px; background: var(--dl-honey); color: inherit; }

.dl-account-dashboard { overflow-wrap: anywhere; }
.dl-account-last-order {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 18px;
	margin-block: 20px 14px;
	padding: clamp(14px, 2.3vw, 22px);
	border: 1px solid var(--dl-line);
	border-radius: 12px;
	background: var(--dl-honey);
}
.dl-account-last-order h3 { margin: 0 0 5px; }
.dl-account-last-order p { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--dl-muted); font-size: .9rem; }
.dl-account-last-order strong { color: var(--dl-ink); }
.dl-account-order-status { padding: 2px 8px; border-radius: 30px; background: var(--dl-card); font-size: .82rem; font-weight: 650; }
.dl-account-order-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--dl-account-border);
	border-radius: 8px;
	background: var(--dl-card);
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
}
.dl-account-order-link:hover { text-decoration: underline; }
.dl-account-body .dl-account-shortcuts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 162px), 1fr));
	gap: 9px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.dl-account-shortcuts a {
	display: grid;
	align-content: start;
	gap: 6px;
	height: 100%;
	padding: 13px;
	border: 1px solid var(--dl-line);
	border-radius: 10px;
	text-decoration: none;
}
.dl-account-shortcuts a:hover { background: var(--dl-paper); border-color: var(--dl-account-border); }
.dl-account-shortcut-title { display: flex; justify-content: space-between; gap: 8px; font-weight: 750; }
.dl-account-shortcut-title > span { color: var(--dl-rose-ink); }
.dl-account-shortcut-description { font-size: .88rem; color: var(--dl-muted); }
.dl-account-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	padding: 12px 0 0;
	border-top: 1px solid var(--dl-line);
	color: var(--dl-muted);
	font-size: .92rem;
}
.dl-account-help p { margin: 0; }
.dl-account-help a { padding-block: 10px; color: var(--dl-ink); font-weight: 700; }

@media (max-width: 760px) {
	.dl-account-body #customer_login,
	.dl-account-body .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); }
	.dl-account-body .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr)); }
}

@media (max-width: 480px) {
	.dl-account-hero { grid-template-columns: minmax(0, 1fr); position: relative; }
	.dl-account-hero h1 { max-width: calc(100% - 59px); }
	.dl-account-deck { position: absolute; top: 10px; inset-inline-end: 11px; inline-size: 62px; block-size: 56px; }
	.dl-account-deck > span { box-shadow: none; }
	.dl-account-body .woocommerce :is(.form-row-first, .form-row-last) { width: 100%; float: none; }
	.dl-account-body .woocommerce-MyAccount-content :is(.woocommerce-Address, .woocommerce-column) {
		width: 100%;
		float: none;
		margin-bottom: 10px;
	}
	.dl-account-body .woocommerce-orders-table__cell-order-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
	.dl-account-body .woocommerce-orders-table__cell-order-actions::before { margin-inline-end: auto; }
}
