/* Alexa : mon compte et page Favoris. */

/* Le titre de la page est repris par l'en-tête de la rubrique : gardé pour les lecteurs d'écran. */
body.woocommerce-account .swc-title,
body.alx-favoris .swc-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.woocommerce-account .swc-main,
body.alx-favoris .swc-main {
	padding-top: var(--alx-sp-5);
	padding-bottom: var(--alx-sp-7);
}

/* ---------------------------------------------------------------------------
 * Champs de formulaire (connexion, création, mot de passe, adresses, détails)
 * ------------------------------------------------------------------------- */
.alx-auth .form-row,
.woocommerce-MyAccount-content .form-row,
.lost_reset_password .form-row {
	margin: 0 0 14px;
	padding: 0;
	float: none;
	width: auto;
}

.alx-auth .form-row label,
.woocommerce-MyAccount-content .form-row label,
.lost_reset_password .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--alx-fs-s);
	font-weight: 500;
	line-height: 1.4;
}

.alx-auth .required,
.woocommerce-MyAccount-content .required,
.lost_reset_password .required {
	color: var(--alx-promo);
	text-decoration: none;
}

.alx-auth input.input-text,
.alx-auth input[type="text"],
.alx-auth input[type="email"],
.alx-auth input[type="password"],
.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea,
.lost_reset_password input.input-text {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d8d8de;
	border-radius: 10px;
	background: var(--alx-white);
	color: var(--alx-ink);
	font: inherit;
	font-size: var(--alx-fs-m);
	box-shadow: none;
	outline: 0;
}

.woocommerce-MyAccount-content textarea {
	height: auto;
	padding: 12px 14px;
}

.alx-auth input:focus,
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus,
.lost_reset_password input:focus {
	border-color: var(--alx-ink);
}

.alx-auth input:focus-visible,
.woocommerce-MyAccount-content input:focus-visible,
.lost_reset_password input:focus-visible {
	outline: 2px solid var(--alx-ink);
	outline-offset: 2px;
}

.alx-auth .password-input,
.woocommerce-MyAccount-content .password-input,
.lost_reset_password .password-input {
	display: block;
	position: relative;
}

.show-password-input {
	position: absolute;
	top: 0;
	right: 0;
	width: 48px;
	height: 48px;
	border: 0;
	background: none;
	cursor: pointer;
}

.show-password-input::after {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin: auto;
	background: currentColor;
	opacity: 0.55;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.500-7 10-7 10 7 10 7-3.500 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.500-7 10-7 10 7 10 7-3.500 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.show-password-input.display-password::after {
	opacity: 1;
}

.alx-row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper .form-row-wide,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm > .form-row-wide,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm > fieldset,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:not(.form-row-first):not(.form-row-last),
.woocommerce-MyAccount-content .woocommerce-EditAccountForm > .clear {
	grid-column: 1 / -1;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm .clear {
	display: none;
}

.woocommerce-MyAccount-content fieldset {
	margin: 12px 0 0;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid var(--alx-line);
}

.woocommerce-MyAccount-content fieldset legend {
	padding: 0;
	font-size: var(--alx-fs-l);
	font-weight: 600;
}

.woocommerce-MyAccount-content em,
.woocommerce-MyAccount-content .description {
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-s);
	font-style: normal;
}

.woocommerce-MyAccount-content .select2-container .select2-selection--single {
	height: 48px;
	border-color: #d8d8de;
	border-radius: 10px;
}

.woocommerce-MyAccount-content .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px;
}

.woocommerce-MyAccount-content .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
}

/* ---------------------------------------------------------------------------
 * Connexion / création de compte : deux colonnes
 * ------------------------------------------------------------------------- */
.alx-auth {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 8px 0 0;
	border: 1px solid var(--alx-line);
	border-radius: 20px;
	overflow: hidden;
}

.alx-auth__form {
	padding: 40px 48px;
}

.alx-auth__form .u-columns {
	display: block;
	margin: 0;
}

.alx-auth__form .u-column1,
.alx-auth__form .u-column2 {
	float: none;
	width: auto;
	padding: 0;
}

.alx-auth__form h2 {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 600;
}

.alx-auth__form form.woocommerce-form-login,
.alx-auth__form form.woocommerce-form-register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.alx-auth__form.is-tabs .u-column1,
.alx-auth__form.is-tabs .u-column2 {
	display: none;
}

.alx-auth__form.is-tabs .u-column1.is-on,
.alx-auth__form.is-tabs .u-column2.is-on {
	display: block;
}

.alx-auth__form.is-tabs .u-columns h2 {
	display: none;
}

.alx-tabs {
	display: flex;
	gap: 28px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--alx-line);
}

.alx-tabs button {
	position: relative;
	padding: 0 0 12px;
	border: 0;
	background: none;
	color: #8a8a90;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.alx-tabs button.is-on {
	color: var(--alx-ink);
	font-weight: 600;
}

.alx-tabs button.is-on::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: var(--alx-ink);
}

.alx-tabs button:focus-visible {
	outline: 2px solid var(--alx-ink);
	outline-offset: 4px;
}

/* « Rester connectée » à gauche, « Mot de passe oublié ? » à droite, bouton pleine largeur dessous. */
.alx-auth form.woocommerce-form-login {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
}

.alx-auth form.woocommerce-form-login > .form-row-wide,
.alx-auth form.woocommerce-form-login > p:not(.form-row):not(.lost_password) {
	grid-column: 1 / -1;
}

.alx-auth form.woocommerce-form-login > p.form-row:not(.form-row-wide) {
	display: contents;
}

.alx-auth .form-row label.woocommerce-form-login__rememberme {
	grid-column: 1;
	grid-row: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 2px 0 22px;
	color: var(--alx-text-soft);
	font-size: 13.5px;
	font-weight: 400;
}

.alx-auth label.woocommerce-form-login__rememberme input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--alx-ink);
}

.alx-auth .woocommerce-form-login__submit,
.alx-auth .woocommerce-form-register__submit {
	grid-column: 1 / -1;
	grid-row: 4;
	width: 100%;
	height: 48px;
	font-size: var(--alx-fs-m);
}

.alx-auth .woocommerce-LostPassword {
	grid-column: 2;
	grid-row: 3;
	margin: 2px 0 22px;
	font-size: 13.5px;
}

body .entry-content .alx-auth a:not(.button):not(.wp-block-button__link),
body .entry-content .lost_reset_password a:not(.button),
body .entry-content .woocommerce-MyAccount-content a:not(.button):not(.wp-block-button__link):not(.alx-btn) {
	color: var(--alx-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body .entry-content .woocommerce-MyAccount-content a.alx-btn {
	color: var(--alx-white);
	text-decoration: none;
}

body .entry-content .woocommerce-MyAccount-content a.alx-btn--ghost {
	color: var(--alx-ink);
}

body .entry-content .woocommerce-MyAccount-content a.alx-btn--ghost:hover {
	color: var(--alx-white);
}

.alx-auth form.woocommerce-form-register > p {
	margin: 0 0 14px;
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-s);
}

.alx-auth form.woocommerce-form-register > p.form-row {
	margin: 8px 0 0;
}

.woocommerce-privacy-policy-text p {
	margin: 0 0 14px;
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-xs);
}

.alx-auth__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 48px;
	background: var(--alx-lilac);
}

.alx-auth__panel h2 {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 600;
}

.alx-auth__panel h2 .alx-auth__logo {
	display: inline-block;
	width: auto;
	height: 1.5em;
	margin: 0 0 0 0.2em;
	vertical-align: -0.38em;
}

.alx-auth__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.alx-auth__panel li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 16px;
	color: #3a3a40;
	font-size: 14.5px;
}

.alx-auth__panel li:last-child {
	margin-bottom: 0;
}

.alx-auth__panel li > span {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--alx-white);
	color: var(--alx-ink);
}

.alx-auth__panel li b {
	display: block;
	color: var(--alx-ink);
	font-weight: 600;
}

/* Mot de passe oublié / nouveau mot de passe */
body.woocommerce-lost-password .woocommerce,
.woocommerce-account:not(.logged-in) .woocommerce > .woocommerce-ResetPassword,
.woocommerce-account:not(.logged-in) .woocommerce > .woocommerce-message {
	max-width: 520px;
	margin-right: auto;
	margin-left: auto;
}

form.lost_reset_password {
	margin: 8px 0 0;
	padding: 36px 40px;
	border: 1px solid var(--alx-line);
	border-radius: 20px;
}

form.lost_reset_password > p:first-child {
	margin: 0 0 20px;
	color: var(--alx-text-soft);
}

form.lost_reset_password .button {
	width: 100%;
	height: 48px;
	font-size: var(--alx-fs-m);
}

/* ---------------------------------------------------------------------------
 * Espace connecté : barre latérale + contenu
 * ------------------------------------------------------------------------- */
body.woocommerce-account.alx-acct .woocommerce {
	display: grid;
	grid-template-columns: 272px minmax(0, 1fr);
	grid-template-areas:
		"notice notice"
		"side hd"
		"side content";
	grid-template-rows: auto auto 1fr;
	gap: 0 40px;
	align-items: start;
}

body.alx-acct .woocommerce-notices-wrapper {
	grid-area: notice;
}

body.alx-acct .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: var(--alx-sp-4);
}

.alx-side {
	grid-area: side;
	position: sticky;
	top: 16px;
	padding: 20px 14px;
	border: 1px solid var(--alx-line);
	border-radius: 20px;
	background: var(--alx-white);
}

.alx-acct__hd {
	grid-area: hd;
	margin-bottom: 4px;
}

body.alx-acct .woocommerce-MyAccount-content {
	grid-area: content;
	float: none;
	width: auto;
	min-width: 0;
}

.alx-side__who {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 10px;
	padding: 0 8px 18px;
	border-bottom: 1px solid var(--alx-line);
}

.alx-side__who b {
	display: block;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.alx-side__who small {
	display: block;
	color: var(--alx-text-soft);
	font-size: 12.5px;
	overflow-wrap: anywhere;
}

.alx-av {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--alx-lilac);
	color: #7a2a93;
	font-weight: 600;
}

.alx-av--hd,
.alx-acct__back {
	display: none;
}

.alx-side__nav {
	display: flex;
	flex-direction: column;
}

.alx-side__link {
	display: flex;
	gap: 12px;
	align-items: center;
	height: 46px;
	padding: 0 12px;
	border-radius: 12px;
	color: #333;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
}

.alx-side__link:hover {
	background: var(--alx-soft);
	color: var(--alx-ink);
}

.alx-side__link:focus-visible {
	outline: 2px solid var(--alx-ink);
	outline-offset: -2px;
}

.alx-side__link.is-active {
	background: var(--alx-ink);
	color: var(--alx-white);
}

.alx-side__link svg {
	flex: none;
}

.alx-side__t {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.alx-side__t small,
.alx-side__chv {
	display: none;
}

.alx-side__n {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: auto;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--alx-soft);
	color: var(--alx-ink);
	font-size: 12px;
	font-weight: 600;
}

.alx-side__link.is-active .alx-side__n {
	background: rgba(255, 255, 255, 0.2);
	color: var(--alx-white);
}

.alx-side__link.is-logout {
	height: 52px;
	margin-top: 10px;
	border-top: 1px solid var(--alx-line);
	border-radius: 0 0 12px 12px;
}

.alx-acct__hd h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.alx-acct__hd p {
	margin: 4px 0 0;
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-m);
}

/* Contenu des rubriques */
.alx-acct--dashboard .woocommerce-MyAccount-content > p {
	display: none;
}

.alx-acct .woocommerce-MyAccount-content > p:first-child {
	margin-top: 0;
}

.woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-MyAccount-content > .woocommerce-error {
	margin-top: 20px;
}

.alx-blk {
	margin-top: 20px;
	padding: 24px;
	border: 1px solid var(--alx-line);
	border-radius: 20px;
}

.alx-blk__h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.alx-blk__h h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

.alx-lnk,
.woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
	color: var(--alx-ink);
	font-size: 13.5px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.alx-hint {
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-s);
}

.alx-btn--ghost {
	border: 1.5px solid var(--alx-ink);
	background: var(--alx-white);
	color: var(--alx-ink);
}

.alx-btn--ghost:hover {
	background: var(--alx-ink);
	color: var(--alx-white);
	opacity: 1;
}

.alx-btn--sm {
	min-height: 38px;
	padding: 0 18px;
	font-size: 13.5px;
}

.alx-ord {
	display: grid;
	grid-template-columns: 100px 1.3fr 1fr 130px 150px;
	gap: 18px;
	align-items: center;
	padding: 16px 0;
	border-top: 1px solid var(--alx-line);
}

.alx-blk__h + .alx-ord {
	border-top: 0;
}

.alx-ord__sw {
	display: flex;
	min-width: 100px;
}

.alx-ord__sw i {
	flex: none;
	width: 40px;
	height: 52px;
	margin-left: -14px;
	border: 2px solid var(--alx-white);
	border-radius: 8px;
	background: var(--alx-lilac);
	overflow: hidden;
}

.alx-ord__sw i:first-child {
	margin-left: 0;
}

.alx-ord__sw img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.alx-ord b {
	display: block;
	font-weight: 600;
}

.alx-ord small {
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-s);
}

.alx-ord__act {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.alx-ord__tot {
	display: none;
	font-weight: 600;
}

.alx-pill {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	height: 26px;
	padding: 0 11px;
	border-radius: var(--alx-radius-pill);
	background: var(--alx-soft);
	color: #444;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}

.alx-pill.is-done {
	background: #e6f4ec;
	color: #1e6b45;
}

.alx-pill.is-wait {
	background: #e8f0fe;
	color: #1450b8;
}

.alx-pill.is-off {
	background: var(--alx-lilac);
	color: #7a2a93;
}

.alx-g2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 20px;
}

.alx-g2 .alx-blk {
	margin-top: 0;
}

.alx-adr {
	padding: 14px 0;
	border-top: 1px solid var(--alx-line);
	color: #333;
	font-size: 14px;
	line-height: 1.5;
}

.alx-adr:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.alx-adr b {
	display: block;
	margin-bottom: 3px;
	color: var(--alx-ink);
	font-weight: 600;
}

.alx-kv {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--alx-line);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.alx-kv:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.alx-kv span {
	color: var(--alx-text-soft);
}

.alx-gift {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-radius: 14px;
	background: var(--alx-lilac);
}

.alx-gift strong {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.alx-gift small {
	display: block;
	color: #5a3a68;
	font-size: var(--alx-fs-s);
}

/* Commandes */
.woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 20px 0 0;
	border: 1px solid var(--alx-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 20px;
	overflow: hidden;
}

.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
	padding: 16px 18px;
	border: 0;
	border-top: 1px solid var(--alx-line);
	text-align: left;
	vertical-align: middle;
}

.woocommerce-MyAccount-content table.shop_table thead th {
	border-top: 0;
	background: var(--alx-soft);
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-s);
	font-weight: 500;
}

.woocommerce-MyAccount-content table.shop_table tbody tr:first-child th,
.woocommerce-MyAccount-content table.shop_table tbody tr:first-child td {
	border-top: 0;
}

.woocommerce-orders-table__cell-order-number a {
	color: var(--alx-ink);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-orders-table__cell-order-actions {
	text-align: right !important;
}

.woocommerce-orders-table .button,
.woocommerce-MyAccount-content .woocommerce-pagination .button {
	min-height: 38px;
	margin-left: 8px;
	padding: 0 18px;
	border: 1.5px solid var(--alx-ink);
	background: var(--alx-white);
	color: var(--alx-ink);
	font-size: 13.5px;
}

.woocommerce-orders-table .button:first-child {
	margin-left: 0;
}

.woocommerce-orders-table .button:hover,
.woocommerce-MyAccount-content .woocommerce-pagination .button:hover {
	background: var(--alx-ink);
	color: var(--alx-white);
	opacity: 1;
}

.woocommerce-MyAccount-content .woocommerce-pagination {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

/* Adresses */
.woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Address {
	float: none;
	width: auto;
	padding: 24px;
	border: 1px solid var(--alx-line);
	border-radius: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

.woocommerce-MyAccount-content address {
	color: #333;
	font-size: 14px;
	font-style: normal;
	line-height: 1.6;
}

/* Formulaires d'adresse et de détails */
.woocommerce-MyAccount-content form > h2,
.woocommerce-MyAccount-content form > h3 {
	margin: 0 0 16px;
	font-size: 17px;
	font-weight: 600;
}

.woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
.woocommerce-MyAccount-content form:has(.woocommerce-address-fields) {
	margin-top: 20px;
	padding: 24px;
	border: 1px solid var(--alx-line);
	border-radius: 20px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields .button,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .button {
	margin-top: 8px;
}

/* Détail d'une commande */
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .woocommerce-customer-details {
	margin-top: 24px;
}

.woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-column__title {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-customer-details .u-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.woocommerce-MyAccount-content .order-again .button {
	min-height: 44px;
}

/* Cartes cadeaux du module */
.alx-acct .swe-gc-account {
	margin-top: 20px;
}

/* ---------------------------------------------------------------------------
 * Page Favoris
 * ------------------------------------------------------------------------- */
.alx-fhead {
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.alx-fhead h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.alx-fhead p {
	margin: 4px 0 0;
	color: var(--alx-text-soft);
}

.alx-fact {
	position: relative;
	display: flex;
	gap: 10px;
}

.alx-fact[hidden] {
	display: none;
}

.alx-fact .alx-btn {
	gap: 8px;
}

.alx-pop {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 20;
	width: 280px;
	padding: 8px;
	border: 1px solid var(--alx-line);
	border-radius: 16px;
	background: var(--alx-white);
	box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.2);
}

.alx-pop[hidden] {
	display: none;
}

.alx-pop a,
.alx-pop button {
	display: flex;
	gap: 12px;
	align-items: center;
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--alx-ink);
	font: inherit;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.alx-pop a:hover,
.alx-pop button:hover {
	background: var(--alx-soft);
}

.alx-pop a:focus-visible,
.alx-pop button:focus-visible {
	outline: 2px solid var(--alx-ink);
	outline-offset: -2px;
}

body.alx-favoris .swe-wishlist__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 20px;
}

body.alx-favoris .swe-wishlist__grid[hidden] {
	display: none;
}

body.alx-favoris .swe-wishlist__item.alx-fav {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
}

.alx-fav__media {
	position: relative;
}

.alx-fav .swe-wishlist__thumb {
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	background: var(--alx-soft);
	overflow: hidden;
}

.alx-fav .swe-wishlist__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.alx-fav.is-out .swe-wishlist__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.45);
}

.alx-fav .swe-badges {
	top: 10px;
	left: 10px;
	z-index: 3;
}

.alx-fav__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border-radius: 6px;
	background: var(--alx-white);
	color: var(--alx-ink);
	font-size: 11.5px;
	font-weight: 600;
}

.alx-fav__badge.is-sale {
	background: var(--alx-promo);
	color: var(--alx-white);
}

.alx-fav__badge.is-out {
	background: var(--alx-ink);
	color: var(--alx-white);
}

body.alx-favoris button.swe-wishlist__remove {
	top: 8px;
	right: 8px;
	z-index: 4;
	width: 36px;
	height: 36px;
	color: var(--alx-promo);
}

body.alx-favoris button.swe-wishlist__remove svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

body.alx-favoris button.swe-wishlist__remove:hover,
body.alx-favoris button.swe-wishlist__remove:focus {
	color: var(--alx-promo);
}

.alx-fav .swe-qv-btn--overlay {
	top: auto;
	right: 8px;
	bottom: 8px;
	left: auto;
	z-index: 4;
}

.alx-fav .swe-wishlist__title {
	margin: 10px 0 0;
	font-size: var(--alx-fs-m);
	font-weight: 500;
	line-height: 1.35;
}

.alx-fav .swe-wishlist__title a {
	color: var(--alx-ink);
}

.alx-fav .swe-wishlist__title a:hover {
	color: var(--alx-ink);
	text-decoration: underline;
}

.alx-fav .swe-wishlist__price {
	margin: 3px 0 0;
	font-size: 14.5px;
	font-weight: 600;
}

.alx-fav .swe-wishlist__price del {
	margin-right: 6px;
	color: #8a8a90;
	font-size: 13px;
	font-weight: 400;
}

.alx-fav .swe-wishlist__price ins {
	color: var(--alx-promo);
	text-decoration: none;
}

.alx-fav .swe-sw-loop {
	margin-top: 8px;
}

.alx-fav .swe-wishlist__actions {
	margin-top: auto;
	padding: 12px 0 0;
}

.alx-fav .swe-wishlist__actions :is(button, a).swe-btn {
	display: flex;
	gap: 7px;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1.5px solid var(--alx-ink);
	border-radius: var(--alx-radius-pill);
	background: var(--alx-white);
	color: var(--alx-ink);
	font-size: 13.5px;
	font-weight: 600;
}

.alx-fav .swe-wishlist__actions :is(button, a).swe-btn:hover {
	background: var(--alx-ink);
	color: var(--alx-white);
	opacity: 1;
	transform: none;
}

.alx-fav .swe-wishlist__actions .alx-fav__alert {
	border-color: #c9c9d0;
	color: var(--alx-text-soft);
}

.alx-fav .swe-wishlist__actions .alx-fav__alert:hover {
	background: var(--alx-soft);
	color: var(--alx-ink);
}

.alx-fav .swe-wishlist__stock-out {
	color: var(--alx-text-soft);
	font-size: var(--alx-fs-s);
}

body.alx-favoris .swe-wishlist__item:focus-within .swe-wishlist__thumb {
	outline: 2px solid var(--alx-ink);
	outline-offset: 2px;
}

/* État vide */
body.alx-favoris .swe-wishlist__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 44px 20px;
	border: 1px dashed #d0d0d8;
	border-radius: 16px;
	background: var(--alx-white);
	text-align: center;
}

body.alx-favoris .swe-wishlist__empty[hidden] {
	display: none;
}

body.alx-favoris .swe-wishlist__empty svg {
	box-sizing: content-box;
	width: 26px;
	height: 26px;
	margin-bottom: 16px;
	padding: 19px;
	border-radius: 50%;
	background: var(--alx-lilac);
	color: var(--alx-ink);
}

body.alx-favoris .swe-wishlist__empty h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

body.alx-favoris .swe-wishlist__empty p {
	max-width: 360px;
	margin: 6px 0 20px;
	color: var(--alx-text-soft);
}

body.alx-favoris .swe-wishlist__empty .swe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--alx-radius-pill);
	background: var(--alx-ink);
	color: var(--alx-white);
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
 * Mobile : liste de rubriques à chevrons façon réglages d'application
 * ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	body.woocommerce-account .swc-main,
	body.alx-favoris .swc-main {
		padding-top: var(--alx-sp-4);
		padding-bottom: var(--alx-sp-6);
	}

	.alx-auth {
		grid-template-columns: 1fr;
		border-radius: 16px;
	}

	.alx-auth__form {
		padding: 24px 18px;
	}

	.alx-auth__panel {
		padding: 22px 18px;
	}

	.alx-auth__panel h2 {
		margin-bottom: 14px;
	}

	.alx-tabs {
		gap: 0;
	}

	.alx-tabs button {
		flex: 1;
		text-align: center;
	}

	form.lost_reset_password {
		padding: 24px 18px;
		border-radius: 16px;
	}

	.alx-row2 {
		grid-template-columns: 1fr;
	}

	body.woocommerce-account.alx-acct .woocommerce {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.alx-acct__hd {
		order: 1;
		display: flex;
		flex-wrap: wrap;
		gap: 4px 14px;
		align-items: center;
		margin-bottom: 18px;
	}

	.alx-av--hd {
		display: flex;
		width: 52px;
		height: 52px;
	}

	.alx-acct__hd h2 {
		font-size: 22px;
	}

	.alx-acct__hd p {
		margin-top: 2px;
		font-size: 13px;
	}

	.alx-acct__back {
		display: inline-flex;
		flex-basis: 100%;
		align-items: center;
		gap: 2px;
		margin-left: -4px;
		color: var(--alx-text-soft);
		font-size: 14px;
		text-decoration: none;
	}

	.alx-side {
		order: 2;
		position: static;
		padding: 0;
		border: 0;
		border-radius: 0;
	}

	.alx-side__who {
		display: none;
	}

	.alx-side__nav {
		border: 1px solid var(--alx-line);
		border-radius: 16px;
		overflow: hidden;
	}

	.alx-side__link,
	.alx-side__link.is-active {
		height: 60px;
		padding: 0 14px;
		gap: 14px;
		border-top: 1px solid var(--alx-line);
		border-radius: 0;
		background: var(--alx-white);
		color: var(--alx-ink);
	}

	.alx-side__link:first-child {
		border-top: 0;
	}

	.alx-side__link.is-active {
		font-weight: 600;
	}

	.alx-side__t small {
		display: block;
		color: var(--alx-text-soft);
		font-size: 12.5px;
		font-weight: 400;
	}

	.alx-side__n,
	.alx-side__link.is-active .alx-side__n {
		background: var(--alx-ink);
		color: var(--alx-white);
	}

	.alx-side__chv {
		display: block;
		flex: none;
		color: #b0b0b8;
	}

	.alx-side__link:not(:has(.alx-side__n)) .alx-side__chv {
		margin-left: auto;
	}

	.alx-side__link.is-logout {
		height: 56px;
		margin: 0;
		color: var(--alx-promo);
	}

	.alx-side__link.is-logout .alx-side__chv {
		display: none;
	}

	body.alx-acct .woocommerce-MyAccount-content {
		order: 3;
	}

	/* Rubrique ouverte : on ne répète pas le menu, un lien « Mon compte » ramène à la liste. */
	body.alx-acct:not(.alx-acct--dashboard) .alx-side {
		display: none;
	}

	.alx-acct--dashboard .woocommerce-MyAccount-content {
		margin-top: 22px;
	}

	.alx-blk {
		padding: 18px 16px;
	}

	.alx-g2 {
		display: none;
	}

	.alx-ord {
		grid-template-columns: 84px 1fr;
		grid-template-areas:
			"sw info"
			"sw pill"
			"act act";
		gap: 6px 14px;
		padding: 14px 0;
	}

	.alx-ord__sw {
		grid-area: sw;
		align-self: center;
		width: 84px;
		min-width: 0;
	}

	.alx-ord__sw i {
		width: 34px;
		height: 44px;
		margin-left: -12px;
	}

	.alx-ord__inf {
		grid-area: info;
	}

	.alx-ord .alx-pill {
		grid-area: pill;
	}

	.alx-ord__itm {
		display: none;
	}

	.alx-ord__act {
		grid-area: act;
		justify-content: space-between;
	}

	.alx-ord__tot {
		display: block;
	}

	.woocommerce-MyAccount-content .woocommerce-Addresses,
	.woocommerce-MyAccount-content .woocommerce-customer-details .u-columns,
	.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,
	.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
		grid-template-columns: 1fr;
	}

	.woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
	.woocommerce-MyAccount-content form:has(.woocommerce-address-fields),
	.woocommerce-MyAccount-content .woocommerce-Address {
		padding: 18px 16px;
	}

	/* Tableau des commandes en cartes. */
	.woocommerce-MyAccount-content table.shop_table_responsive thead {
		display: none;
	}

	.woocommerce-MyAccount-content table.shop_table_responsive tr {
		display: block;
		border-top: 1px solid var(--alx-line);
	}

	.woocommerce-MyAccount-content table.shop_table_responsive tbody tr:first-child {
		border-top: 0;
	}

	.woocommerce-MyAccount-content table.shop_table_responsive th,
	.woocommerce-MyAccount-content table.shop_table_responsive td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 16px;
		border: 0;
		text-align: right;
	}

	.woocommerce-MyAccount-content table.shop_table_responsive th::before,
	.woocommerce-MyAccount-content table.shop_table_responsive td::before {
		content: attr(data-title);
		color: var(--alx-text-soft);
		font-size: var(--alx-fs-s);
		font-weight: 400;
		text-align: left;
	}

	.woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-end;
	}

	.woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	/* Favoris. */
	.alx-fhead {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		margin-bottom: 18px;
	}

	.alx-fhead h2 {
		font-size: 22px;
	}

	.alx-fact {
		width: 100%;
	}

	.alx-fact .alx-btn {
		flex: 1;
	}

	.alx-pop {
		right: auto;
		left: 0;
		width: 100%;
	}

	body.alx-favoris .swe-wishlist__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 12px;
	}

	.alx-fav .swe-qv-btn {
		display: none;
	}

	.alx-fav .swe-wishlist__actions :is(button, a).swe-btn {
		height: 40px;
		padding: 0 6px;
		font-size: 12.5px;
	}

	.alx-fav .swe-wishlist__actions .alx-fav__alert {
		font-size: 12px;
	}
}

/* Page Favoris : pleine largeur, liens sans soulignement bleu du contenu. */
body.alx-favoris .entry-content {
	max-width: none;
}

body .entry-content .alx-fav a:not(.swe-btn),
body .entry-content .alx-fav a.swe-btn,
body .entry-content .swe-wishlist__empty a.swe-btn,
body .entry-content .alx-pop a,
body .entry-content .alx-fhead a {
	text-decoration: none;
}

body .entry-content .alx-fav a:not(.swe-btn) {
	color: var(--alx-ink);
}

body .entry-content .alx-fav a.swe-btn {
	color: var(--alx-ink);
}

body .entry-content .alx-fav a.swe-btn:hover {
	color: var(--alx-white);
}

body .entry-content .swe-wishlist__empty a.swe-btn {
	color: var(--alx-white);
}

body .entry-content .alx-fav .alx-fav__alert {
	color: var(--alx-text-soft);
	white-space: nowrap;
	font-size: 12.5px;
}

body .entry-content .alx-fav .alx-fav__alert:hover {
	color: var(--alx-ink);
}

body .entry-content .alx-fav .swe-sw-loop a {
	text-decoration: none;
}

/* Favoris : « Partager » en petite pastille à droite du titre (bureau et mobile). */
body .alx-fhead {
	flex-direction: row;
	align-items: center;
}

body .alx-fact {
	width: auto;
}

button.alx-share-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	margin: 0;
	padding: 0 14px 0 12px;
	border: 0;
	border-radius: var(--alx-radius-pill);
	background: var(--alx-lilac);
	box-shadow: none;
	color: var(--alx-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s ease;
}

button.alx-share-chip:hover,
button.alx-share-chip:focus,
button.alx-share-chip[aria-expanded="true"] {
	background: var(--alx-lilac-strong);
	color: var(--alx-ink);
	box-shadow: none;
}

button.alx-share-chip:focus:not(:focus-visible) {
	outline: none;
}

button.alx-share-chip:focus-visible {
	outline: 2px solid var(--alx-ink);
	outline-offset: 2px;
}

button.alx-share-chip svg {
	flex: none;
}

@media (max-width: 767px) {
	body .alx-fhead {
		gap: 12px;
	}

	body .alx-fact .alx-pop {
		right: 0;
		left: auto;
		width: min(280px, calc(100vw - 32px));
	}
}
