/*
 * Thème léger (Hello) : panier et compte client au style de la page de commande de Pilote
 * (fond gris clair, cartes blanches arrondies, champs de 48 px, bouton orange).
 * Chargé seulement sur ces pages (XS_Socle::page_woo).
 */

body.xs-socle.woocommerce-cart,
body.xs-socle.woocommerce-account {
	--xs-w-trait: #ebebeb;
	--xs-w-champ: #d4d4d4;
	--xs-w-texte: #424242;
	--xs-w-doux: #fff3eb;
	background: #f5f5f5;
}

body.xs-socle.woocommerce-cart .site-main,
body.xs-socle.woocommerce-account .site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 16px 64px;
	color: var(--xs-encre);
	font-family: var(--xs-police);
}

/* ---------- messages de WooCommerce ---------- */

body.xs-socle.woocommerce-cart .woocommerce-message,
body.xs-socle.woocommerce-cart .woocommerce-info,
body.xs-socle.woocommerce-cart .woocommerce-error,
body.xs-socle.woocommerce-account .woocommerce-message,
body.xs-socle.woocommerce-account .woocommerce-info,
body.xs-socle.woocommerce-account .woocommerce-error {
	margin: 0 0 16px;
	padding: 14px 18px 14px 48px;
	border: 0;
	border-left: 3px solid var(--xs-orange);
	border-radius: 8px;
	background: #fff;
	color: var(--xs-encre);
	font-size: 14px;
	line-height: 22px;
}
body.xs-socle.woocommerce-cart .woocommerce-message,
body.xs-socle.woocommerce-account .woocommerce-message { border-left-color: #1a7f37; }
body.xs-socle.woocommerce-cart .woocommerce-error,
body.xs-socle.woocommerce-account .woocommerce-error { border-left-color: #d32f2f; }
body.xs-socle.woocommerce-cart .woocommerce-message::before,
body.xs-socle.woocommerce-cart .woocommerce-info::before,
body.xs-socle.woocommerce-cart .woocommerce-error::before,
body.xs-socle.woocommerce-account .woocommerce-message::before,
body.xs-socle.woocommerce-account .woocommerce-info::before,
body.xs-socle.woocommerce-account .woocommerce-error::before { top: 14px; left: 18px; }
body.xs-socle.woocommerce-cart .woocommerce-info::before,
body.xs-socle.woocommerce-account .woocommerce-info::before { color: var(--xs-orange); }
body.xs-socle.woocommerce-cart .woocommerce-message .button,
body.xs-socle.woocommerce-account .woocommerce-message .button,
body.xs-socle.woocommerce-account .woocommerce-info .button {
	float: right;
	margin: -4px 0 -4px 16px;
	padding: 6px 14px;
	font-size: 13px;
}

/* ---------- panier ---------- */

body.xs-socle.woocommerce-cart .page-content > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 0 24px;
	align-items: start;
}
body.xs-socle.woocommerce-cart .page-content > .woocommerce > * { grid-column: 1 / -1; }
body.xs-socle.woocommerce-cart .page-content > .woocommerce > .woocommerce-cart-form { grid-column: 1; }
body.xs-socle.woocommerce-cart .page-content > .woocommerce > .cart-collaterals {
	position: sticky;
	top: 80px;
	grid-column: 2;
}
body.admin-bar.xs-socle.woocommerce-cart .page-content > .woocommerce > .cart-collaterals { top: 112px; }

body.xs-socle.woocommerce-cart .woocommerce-cart-form {
	margin: 0 0 16px;
	padding: 4px 28px 8px;
	border-radius: 12px;
	background: #fff;
}
body.xs-socle.woocommerce-cart table.shop_table.cart {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
body.xs-socle.woocommerce-cart table.shop_table.cart thead,
body.xs-socle.woocommerce-cart table.shop_table.cart tbody { display: block; }
body.xs-socle.woocommerce-cart table.shop_table.cart tr {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 104px 128px 104px 28px;
	grid-template-areas: "img nom prix qte total suppr";
	align-items: center;
	gap: 0 16px;
	padding: 18px 0;
	border-top: 1px solid var(--xs-w-trait);
}
body.xs-socle.woocommerce-cart table.shop_table.cart thead tr { padding: 14px 0 10px; border-top: 0; }
body.xs-socle.woocommerce-cart table.shop_table.cart th,
body.xs-socle.woocommerce-cart table.shop_table.cart td {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	color: var(--xs-encre);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	text-align: left !important; /* WooCommerce aligne à droite sur téléphone (!important) */
}
body.xs-socle.woocommerce-cart table.shop_table.cart th { color: var(--xs-gris); font-size: 13px; }
body.xs-socle.woocommerce-cart table.shop_table.cart td::before { content: none !important; display: none !important; }
body.xs-socle.woocommerce-cart table.shop_table.cart .product-thumbnail { grid-area: img; }
body.xs-socle.woocommerce-cart table.shop_table.cart .product-name { grid-area: nom; }
body.xs-socle.woocommerce-cart table.shop_table.cart .product-price { grid-area: prix; }
body.xs-socle.woocommerce-cart table.shop_table.cart .product-quantity { grid-area: qte; }
body.xs-socle.woocommerce-cart table.shop_table.cart .product-subtotal { grid-area: total; text-align: right !important; font-weight: 500; }
body.xs-socle.woocommerce-cart table.shop_table.cart .product-remove { grid-area: suppr; text-align: right !important; }

body.xs-socle.woocommerce-cart table.shop_table.cart td.product-thumbnail a { display: block; }
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	display: block;
	width: 72px !important;
	max-width: none;
	height: 72px;
	padding: 6px;
	border-radius: 8px;
	background: #f5f5f5;
	object-fit: contain;
}
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name a { color: var(--xs-encre); font-weight: 500; }
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name a:hover { color: var(--xs-orange); }
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name dl.variation,
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name p,
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name .backorder_notification {
	margin: 4px 0 0;
	color: var(--xs-gris);
	font-size: 13px;
	line-height: 18px;
}
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt,
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd,
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name dl.variation p { display: inline; margin: 0; font-weight: 400; }
body.xs-socle.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd { margin-left: 4px; }

/* suppression : corbeille grise, rouge au survol */
body.xs-socle.woocommerce-cart table.shop_table.cart a.remove {
	display: inline-block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: none;
	color: transparent !important;
	font-size: 0;
	line-height: 28px;
	vertical-align: middle;
}
body.xs-socle.woocommerce-cart table.shop_table.cart a.remove::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	margin: 5px;
	background: #9e9e9e;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4h6v3'/%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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4h6v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.xs-socle.woocommerce-cart table.shop_table.cart a.remove:hover { background: #fdecea; }
body.xs-socle.woocommerce-cart table.shop_table.cart a.remove:hover::before { background: #d32f2f; }

/* quantité : − 1 + (boutons ajoutés par socle-woo.js) */
body.xs-socle.woocommerce-cart .quantity { display: inline-flex; align-items: center; }
body.xs-socle.woocommerce-cart .quantity.xs-qte {
	overflow: hidden;
	border: 1px solid var(--xs-w-champ);
	border-radius: 8px;
	background: #fff;
}
body.xs-socle.woocommerce-cart .quantity .qty {
	width: 48px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--xs-w-champ);
	border-radius: 8px;
	background: #fff;
	color: var(--xs-encre);
	font-size: 15px;
	text-align: center;
	-moz-appearance: textfield;
}
body.xs-socle.woocommerce-cart .quantity.xs-qte .qty { width: 40px; border: 0; border-radius: 0; }
body.xs-socle.woocommerce-cart .quantity .qty::-webkit-outer-spin-button,
body.xs-socle.woocommerce-cart .quantity .qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
body.xs-socle.woocommerce-cart .xs-qte__pas {
	width: 34px;
	height: 36px;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--xs-encre);
	font-size: 18px;
	line-height: 36px;
	cursor: pointer;
}
body.xs-socle.woocommerce-cart .xs-qte__pas:hover { background: #f5f5f5; }
body.xs-socle.woocommerce-cart .xs-qte__pas:disabled { color: #c2c2c2; cursor: default; background: #fff; }
body.xs-socle.woocommerce-cart .woocommerce-cart-form.xs-maj { opacity: .6; pointer-events: none; transition: opacity .2s; }

/* ligne des actions : « Mettre à jour le panier » en simple lien */
body.xs-socle.woocommerce-cart table.shop_table.cart tbody > tr:last-child:not(.cart_item) {
	display: flex;
	justify-content: flex-end;
	padding: 12px 0 8px;
}
body.xs-socle.woocommerce-cart table.shop_table.cart td.actions { width: 100%; text-align: right !important; }
body.xs-socle.woocommerce-cart table.shop_table.cart td.actions .coupon { float: left; display: flex; gap: 8px; }
body.xs-socle.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
	float: none;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--xs-orange);
	font-size: 14px;
	font-weight: 400;
}
body.xs-socle.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:disabled { color: #9e9e9e; opacity: 1; }
body.xs-socle.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:hover:not(:disabled) { background: none; color: #e65e00; text-decoration: underline; }

/* total du panier */
body.xs-socle.woocommerce-cart .cart-collaterals { width: auto; float: none; }
body.xs-socle.woocommerce-cart .cart-collaterals::before,
body.xs-socle.woocommerce-cart .cart-collaterals::after { content: none; }
body.xs-socle.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	margin: 0 0 16px;
	padding: 24px 28px 28px;
	border-radius: 12px;
	background: #fff;
}
body.xs-socle.woocommerce-cart .cart_totals h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 28px; }
body.xs-socle.woocommerce-cart .cart_totals table.shop_table {
	width: 100%;
	margin: 0 0 20px;
	border: 0;
	border-radius: 0;
}
body.xs-socle.woocommerce-cart .cart_totals table.shop_table th,
body.xs-socle.woocommerce-cart .cart_totals table.shop_table td {
	padding: 12px 0;
	border: 0;
	border-top: 1px solid var(--xs-w-trait);
	background: none;
	color: var(--xs-encre);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	vertical-align: top;
}
body.xs-socle.woocommerce-cart .cart_totals table.shop_table tr:first-child th,
body.xs-socle.woocommerce-cart .cart_totals table.shop_table tr:first-child td { border-top: 0; }
body.xs-socle.woocommerce-cart .cart_totals table.shop_table th { width: 38%; color: var(--xs-gris); text-align: left; }
body.xs-socle.woocommerce-cart .cart_totals table.shop_table td { text-align: right !important; }
body.xs-socle.woocommerce-cart .cart_totals table.shop_table td::before { content: none !important; }
body.xs-socle.woocommerce-cart .cart_totals .order-total th { color: var(--xs-encre); font-size: 16px; font-weight: 600; }
body.xs-socle.woocommerce-cart .cart_totals .order-total td strong,
body.xs-socle.woocommerce-cart .cart_totals .order-total .amount { color: var(--xs-orange); font-size: 20px; font-weight: 600; line-height: 24px; }
body.xs-socle.woocommerce-cart .cart_totals #shipping_method { margin: 0; padding: 0; list-style: none; text-align: left; }
body.xs-socle.woocommerce-cart .cart_totals #shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	text-indent: 0;
	line-height: 20px;
}
body.xs-socle.woocommerce-cart .cart_totals #shipping_method li input { margin: 2px 0 0; accent-color: var(--xs-orange); }
body.xs-socle.woocommerce-cart .cart_totals #shipping_method li label { margin: 0; }
body.xs-socle.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.xs-socle.woocommerce-cart .cart_totals .woocommerce-shipping-calculator { margin: 8px 0 0; color: var(--xs-gris); font-size: 13px; line-height: 18px; text-align: left; }
body.xs-socle.woocommerce-cart .cart_totals .shipping-calculator-button { color: var(--xs-orange); }
body.xs-socle.woocommerce-cart .cart_totals .shipping-calculator-form .form-row { margin: 8px 0 0; }
body.xs-socle.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
body.xs-socle.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 20px;
	border-radius: 10px;
	background: var(--xs-orange);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 52px;
	text-align: center;
}
body.xs-socle.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #e65e00; }
body.xs-socle.woocommerce-cart .cart-collaterals .cross-sells { display: none; }

/* panier vide */
body.xs-socle.woocommerce-cart .wc-empty-cart-message .cart-empty {
	padding: 56px 24px 16px;
	border: 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	color: var(--xs-encre);
	font-size: 18px;
	text-align: center;
}
body.xs-socle.woocommerce-cart .wc-empty-cart-message .cart-empty::before { content: none; }
body.xs-socle.woocommerce-cart .return-to-shop {
	margin: -16px 0 0;
	padding: 0 24px 56px;
	border-radius: 0 0 12px 12px;
	background: #fff;
	text-align: center;
}

@media (max-width: 1023px) {
	body.xs-socle.woocommerce-cart .page-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	body.xs-socle.woocommerce-cart .page-content > .woocommerce > .cart-collaterals { position: static; grid-column: 1; }
}

@media (max-width: 767px) {
	body.xs-socle.woocommerce-cart .site-main,
	body.xs-socle.woocommerce-account .site-main { padding: 16px 12px 48px; }
	body.xs-socle.woocommerce-cart .woocommerce-cart-form { padding: 0 16px 4px; }
	body.xs-socle.woocommerce-cart table.shop_table.cart thead { display: none; }
	body.xs-socle.woocommerce-cart table.shop_table.cart tr {
		grid-template-columns: 64px minmax(0, 1fr) auto 28px;
		grid-template-areas:
			"img nom nom suppr"
			"img prix prix prix"
			"img qte total total";
		gap: 4px 12px;
		padding: 16px 0;
	}
	body.xs-socle.woocommerce-cart table.shop_table.cart tbody tr:first-child { border-top: 0; }
	body.xs-socle.woocommerce-cart table.shop_table.cart td.product-thumbnail { display: block !important; align-self: start; }
	body.xs-socle.woocommerce-cart table.shop_table.cart td.product-thumbnail img { width: 64px !important; height: 64px; }
	body.xs-socle.woocommerce-cart table.shop_table.cart td.product-price { color: var(--xs-gris); font-size: 13px; }
	body.xs-socle.woocommerce-cart table.shop_table.cart td.product-quantity { margin-top: 6px; }
	body.xs-socle.woocommerce-cart table.shop_table.cart td.product-subtotal { align-self: center; margin-top: 6px; }
	body.xs-socle.woocommerce-cart table.shop_table.cart td.product-remove { align-self: start; }
	body.xs-socle.woocommerce-cart table.shop_table.cart tbody > tr:last-child:not(.cart_item) { padding: 8px 0; }
	body.xs-socle.woocommerce-cart .cart-collaterals .cart_totals { padding: 20px 16px 24px; }
}

/* ---------- compte client ---------- */

body.xs-socle.woocommerce-account.logged-in .page-content > .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
body.xs-socle.woocommerce-account.logged-in .page-content > .woocommerce::before,
body.xs-socle.woocommerce-account.logged-in .page-content > .woocommerce::after { content: none; }
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	padding: 8px;
	border-radius: 12px;
	background: #fff;
}
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 8px;
	color: var(--xs-w-texte);
	font-size: 15px;
	line-height: 22px;
}
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--xs-ico) center / contain no-repeat;
	mask: var(--xs-ico) center / contain no-repeat;
}
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #f5f5f5; color: var(--xs-encre); }
body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--xs-w-doux); color: var(--xs-orange); font-weight: 500; }
.woocommerce-MyAccount-navigation-link { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--dashboard { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8l8-4 8 4v8l-8 4-8-4z'/%3E%3Cpath d='M4 8l8 4 8-4M12 12v8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --xs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 16l-4-4 4-4M6 12h10'/%3E%3C/svg%3E"); }

body.xs-socle.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
	padding: 28px;
	border-radius: 12px;
	background: #fff;
	color: var(--xs-w-texte);
	font-size: 15px;
	line-height: 24px;
}
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content a:not(.button) { color: var(--xs-orange); }
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content h2,
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content h3 { margin: 0 0 12px; color: var(--xs-encre); font-size: 20px; font-weight: 600; line-height: 28px; }

/* tableaux (commandes, détail d'une commande) */
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 0 0 20px;
	border: 0;
	border-radius: 0;
}
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
	padding: 12px 8px;
	border: 0;
	border-top: 1px solid var(--xs-w-trait);
	background: none;
	font-size: 14px;
	line-height: 20px;
	vertical-align: middle;
}
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th { border-top: 0; color: var(--xs-gris); font-weight: 400; }
body.xs-socle.woocommerce-account .woocommerce-MyAccount-content table.shop_table .button { margin: 2px 4px 2px 0; padding: 6px 14px; font-size: 13px; }

/* adresses */
body.xs-socle.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.xs-socle.woocommerce-account .woocommerce-Addresses::before,
body.xs-socle.woocommerce-account .woocommerce-Addresses::after { content: none; }
body.xs-socle.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	float: none;
	width: auto;
	max-width: none;
	padding: 20px;
	border: 1px solid var(--xs-w-trait);
	border-radius: 10px;
}
body.xs-socle.woocommerce-account .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.xs-socle.woocommerce-account .woocommerce-Address-title h2,
body.xs-socle.woocommerce-account .woocommerce-Address-title h3 { margin: 0 0 8px; font-size: 16px; }
body.xs-socle.woocommerce-account .woocommerce-Address-title .edit { float: none; font-size: 14px; }
body.xs-socle.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: 22px; }

/* formulaires (compte, adresses, connexion, inscription, mot de passe) */
body.xs-socle.woocommerce-account .woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
body.xs-socle.woocommerce-account .woocommerce form .form-row label {
	display: block;
	margin: 0 0 6px;
	color: var(--xs-w-texte);
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
}
body.xs-socle.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
body.xs-socle.woocommerce-account .woocommerce form .input-text,
body.xs-socle.woocommerce-account .woocommerce form select,
body.xs-socle.woocommerce-account .woocommerce form .select2-container .select2-selection--single {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--xs-w-champ);
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: var(--xs-encre);
	font-family: var(--xs-police);
	font-size: 16px;
	line-height: 46px;
}
body.xs-socle.woocommerce-account .woocommerce form textarea.input-text { height: auto; min-height: 96px; padding: 12px 14px; line-height: 22px; }
body.xs-socle.woocommerce-account .woocommerce form .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 46px; }
body.xs-socle.woocommerce-account .woocommerce form .select2-container .select2-selection--single .select2-selection__arrow { top: 11px; right: 8px; }
body.xs-socle.woocommerce-account .woocommerce form .input-text:focus,
body.xs-socle.woocommerce-account .woocommerce form select:focus {
	border-color: var(--xs-orange);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 105, 0, .15);
}
body.xs-socle.woocommerce-account .woocommerce form fieldset {
	margin: 8px 0 20px;
	padding: 16px 20px 4px;
	border: 1px solid var(--xs-w-trait);
	border-radius: 10px;
}
body.xs-socle.woocommerce-account .woocommerce form fieldset legend { padding: 0 6px; color: var(--xs-encre); font-size: 15px; font-weight: 600; }
body.xs-socle.woocommerce-account .woocommerce form .password-input { display: block; position: relative; }
body.xs-socle.woocommerce-account .woocommerce form .show-password-input { top: 12px; right: 12px; }
body.xs-socle.woocommerce-account .woocommerce form button.button,
body.xs-socle.woocommerce-account .woocommerce form .woocommerce-Button {
	height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 10px;
	background: var(--xs-orange);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 48px;
}
body.xs-socle.woocommerce-account .woocommerce form button.button:hover { background: #e65e00; }
body.xs-socle.woocommerce-account .woocommerce-privacy-policy-text,
body.xs-socle.woocommerce-account .woocommerce form .description { color: var(--xs-gris); font-size: 13px; line-height: 18px; }

/* visiteur non connecté : connexion et inscription en cartes */
body.xs-socle.woocommerce-account:not(.logged-in) .site-main { max-width: 1012px; }
body.xs-socle.woocommerce-account:not(.logged-in) .page-content > .woocommerce:not(:has(#customer_login)) { max-width: 460px; }
body.xs-socle.woocommerce-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
body.xs-socle.woocommerce-account #customer_login::before,
body.xs-socle.woocommerce-account #customer_login::after { content: none; }
body.xs-socle.woocommerce-account #customer_login > .u-column1,
body.xs-socle.woocommerce-account #customer_login > .u-column2 { float: none; width: auto; }
body.xs-socle.woocommerce-account #customer_login > div,
body.xs-socle.woocommerce-account:not(.logged-in) .page-content > .woocommerce > form,
body.xs-socle.woocommerce-account .woocommerce-ResetPassword {
	padding: 28px;
	border-radius: 12px;
	background: #fff;
}
body.xs-socle.woocommerce-account #customer_login h2,
body.xs-socle.woocommerce-account:not(.logged-in) .page-content > .woocommerce > h2 { margin: 0 0 16px; font-size: 20px; font-weight: 600; line-height: 28px; }
body.xs-socle.woocommerce-account .woocommerce form.login,
body.xs-socle.woocommerce-account .woocommerce form.register,
body.xs-socle.woocommerce-account .woocommerce form.lost_reset_password { margin: 0; padding: 0; border: 0; border-radius: 0; }
body.xs-socle.woocommerce-account .woocommerce form.login .form-row:has(button) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
body.xs-socle.woocommerce-account .woocommerce form.login .lost_password { margin: 0; font-size: 14px; }
body.xs-socle.woocommerce-account .woocommerce form.login .lost_password a { color: var(--xs-orange); }

@media (max-width: 899px) {
	body.xs-socle.woocommerce-account.logged-in .page-content > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
	body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li a { padding: 9px 12px; font-size: 14px; white-space: nowrap; }
	body.xs-socle.woocommerce-account .woocommerce-MyAccount-navigation li a::before { width: 18px; height: 18px; }
	body.xs-socle.woocommerce-account .woocommerce-MyAccount-content { padding: 20px 16px; }
	body.xs-socle.woocommerce-account #customer_login,
	body.xs-socle.woocommerce-account .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
	body.xs-socle.woocommerce-account #customer_login > div,
	body.xs-socle.woocommerce-account .woocommerce-ResetPassword { padding: 20px 16px; }
}
