/* =========================================================================
   IWL Design MasterStudy : module WooCommerce
   Boutique, fiche produit, panier, validation de commande, compte client.
   Panier et commande en mode classique (shortcodes).
   Couleurs : variables --iwl-* (Réglages > Design IWL).
   ========================================================================= */

body.iwl-wc {
	--iwl-wc-radius: 16px;
	--iwl-wc-field: 12px;
}
body.iwl-wc .woocommerce *,
body.iwl-wc .woocommerce *::before,
body.iwl-wc .woocommerce *::after,
body.iwl-wc .iwl-wc-empty * { box-sizing: border-box; }

/* -------------------------------------------------------------------------
   1. Base : conteneur, typographie, liens
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce,
body.iwl-wc .woocommerce-page .woocommerce {
	font-family: var(--iwl-font-text);
	color: var(--iwl-ink);
}
body.iwl-wc .woocommerce h2,
body.iwl-wc .woocommerce h3,
body.iwl-wc .woocommerce-page h1.page-title,
body.iwl-wc .woocommerce-products-header__title {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	color: var(--iwl-navy);
	line-height: 1.15;
}
body.iwl-wc .woocommerce h2 { font-size: 1.45rem; margin: 0 0 .8em; }
body.iwl-wc .woocommerce h3 { font-size: 1.15rem; margin: 0 0 .7em; }
body.iwl-wc .woocommerce a { color: var(--iwl-coral); }
body.iwl-wc .woocommerce a:hover { color: var(--accent-hover, #E85A50); }
body.iwl-wc .woocommerce a:focus-visible,
body.iwl-wc .woocommerce button:focus-visible,
body.iwl-wc .woocommerce input:focus-visible,
body.iwl-wc .woocommerce select:focus-visible {
	outline: 3px solid var(--iwl-navy);
	outline-offset: 2px;
}

/* Fil d'Ariane */
body.iwl-wc .woocommerce-breadcrumb {
	font-size: .88rem;
	color: var(--iwl-muted);
	margin: 0 0 1em;
}
body.iwl-wc .woocommerce-breadcrumb a { color: var(--iwl-navy); font-weight: 700; text-decoration: none; }
body.iwl-wc .woocommerce-breadcrumb a:hover { color: var(--iwl-coral); }

/* -------------------------------------------------------------------------
   2. Boutons
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce a.button,
body.iwl-wc .woocommerce button.button,
body.iwl-wc .woocommerce input.button,
body.iwl-wc .woocommerce #respond input#submit,
body.iwl-wc .woocommerce a.button.alt,
body.iwl-wc .woocommerce button.button.alt,
body.iwl-wc .woocommerce input.button.alt,
body.iwl-wc .woocommerce .wc-proceed-to-checkout a.checkout-button,
body.iwl-wc .woocommerce #place_order,
body.iwl-wc .iwl-wc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid var(--iwl-coral) !important;
	border-radius: 999px !important;
	background: var(--iwl-coral) !important;
	color: #fff !important;
	font-family: var(--iwl-font-text);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, transform .2s, color .2s;
}
body.iwl-wc .woocommerce a.button:hover,
body.iwl-wc .woocommerce button.button:hover,
body.iwl-wc .woocommerce input.button:hover,
body.iwl-wc .woocommerce #respond input#submit:hover,
body.iwl-wc .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
body.iwl-wc .woocommerce #place_order:hover,
body.iwl-wc .iwl-wc-btn:hover {
	background: var(--accent-hover, #E85A50) !important;
	border-color: var(--accent-hover, #E85A50) !important;
	color: #fff !important;
	transform: translateY(-2px);
}

/* Boutons secondaires : retour, mise à jour du panier, coupon, modifier */
body.iwl-wc .woocommerce a.button.wc-backward,
body.iwl-wc .woocommerce button[name="update_cart"],
body.iwl-wc .woocommerce button[name="apply_coupon"],
body.iwl-wc .woocommerce .woocommerce-Address a.edit,
body.iwl-wc .woocommerce-MyAccount-content a.button.view,
body.iwl-wc .iwl-wc-btn--ghost {
	background: #fff !important;
	color: var(--iwl-coral) !important;
}
body.iwl-wc .woocommerce a.button.wc-backward:hover,
body.iwl-wc .woocommerce button[name="apply_coupon"]:hover,
body.iwl-wc .woocommerce-MyAccount-content a.button.view:hover,
body.iwl-wc .iwl-wc-btn--ghost:hover {
	background: var(--iwl-coral) !important;
	color: #fff !important;
}
body.iwl-wc .woocommerce button.button:disabled,
body.iwl-wc .woocommerce button.button:disabled[disabled],
body.iwl-wc .woocommerce button[name="update_cart"]:disabled {
	opacity: .45;
	cursor: not-allowed;
	transform: none;
	background: #fff !important;
	color: var(--iwl-coral) !important;
}
body.iwl-wc .woocommerce a.added_to_cart {
	display: inline-block;
	margin-top: 10px;
	font-weight: 800;
	color: var(--iwl-navy);
}
body.iwl-wc .woocommerce .button.loading { opacity: .7; }

/* -------------------------------------------------------------------------
   3. Messages (info, succès, erreur)
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce-message,
body.iwl-wc .woocommerce-info,
body.iwl-wc .woocommerce-error,
body.iwl-wc .woocommerce-noreviews,
body.iwl-wc p.no-comments {
	position: relative;
	margin: 0 0 24px;
	padding: 16px 20px 16px 56px;
	border: 1px solid var(--iwl-line);
	border-left: 5px solid var(--iwl-navy);
	border-radius: 12px;
	background: #fff;
	color: var(--iwl-ink);
	font-weight: 700;
	list-style: none;
	box-shadow: 0 10px 24px rgba(23, 45, 123, .06);
}
body.iwl-wc .woocommerce-message { border-left-color: var(--iwl-teal); }
body.iwl-wc .woocommerce-error { border-left-color: var(--iwl-coral); background: #FFF6F5; }
body.iwl-wc .woocommerce-message::before,
body.iwl-wc .woocommerce-info::before,
body.iwl-wc .woocommerce-error::before {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--iwl-font-text);
	font-size: .85rem;
	font-weight: 900;
	color: #fff;
	content: "i";
	background: var(--iwl-navy);
}
body.iwl-wc .woocommerce-message::before { content: "✓"; background: var(--iwl-teal); }
body.iwl-wc .woocommerce-error::before { content: "!"; background: var(--iwl-coral); }
body.iwl-wc .woocommerce-error li { margin: 0; }
body.iwl-wc .woocommerce-message .button,
body.iwl-wc .woocommerce-info .button {
	float: right;
	min-height: 40px;
	padding: 8px 18px;
	margin: -6px 0 -6px 16px;
}

/* -------------------------------------------------------------------------
   4. Champs de formulaire
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce form .form-row label,
body.iwl-wc .woocommerce-page form .form-row label,
body.iwl-wc .woocommerce form label {
	font-weight: 800;
	font-size: .92rem;
	color: var(--iwl-navy);
	line-height: 1.4;
	margin-bottom: 6px;
}
body.iwl-wc .woocommerce form .form-row .required { color: var(--accent-hover, #E85A50); text-decoration: none; border: 0; }
body.iwl-wc .woocommerce form .form-row .optional { color: var(--iwl-muted); font-weight: 600; }
body.iwl-wc .woocommerce input.input-text,
body.iwl-wc .woocommerce input[type="text"],
body.iwl-wc .woocommerce input[type="email"],
body.iwl-wc .woocommerce input[type="tel"],
body.iwl-wc .woocommerce input[type="password"],
body.iwl-wc .woocommerce input[type="number"],
body.iwl-wc .woocommerce select,
body.iwl-wc .woocommerce textarea,
body.iwl-wc .woocommerce .select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 2px solid var(--iwl-line);
	border-radius: var(--iwl-wc-field);
	background: var(--iwl-cream);
	font-family: var(--iwl-font-text);
	font-size: 1rem;
	color: var(--iwl-ink);
	box-shadow: none;
	transition: border-color .2s, background-color .2s;
}
body.iwl-wc .woocommerce textarea { min-height: 110px; }
body.iwl-wc .woocommerce input.input-text:focus,
body.iwl-wc .woocommerce input[type="text"]:focus,
body.iwl-wc .woocommerce input[type="email"]:focus,
body.iwl-wc .woocommerce input[type="tel"]:focus,
body.iwl-wc .woocommerce input[type="password"]:focus,
body.iwl-wc .woocommerce select:focus,
body.iwl-wc .woocommerce textarea:focus,
body.iwl-wc .woocommerce .select2-container--open .select2-selection--single {
	border-color: var(--iwl-navy);
	background: #fff;
	outline: none;
}
body.iwl-wc .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.iwl-wc .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--iwl-coral); }
body.iwl-wc .woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--iwl-teal); }
body.iwl-wc .woocommerce .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
body.iwl-wc .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--iwl-ink); }
body.iwl-wc .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); right: 10px; }
body.iwl-wc .select2-dropdown { border: 2px solid var(--iwl-navy); border-radius: var(--iwl-wc-field); overflow: hidden; font-family: var(--iwl-font-text); }
body.iwl-wc .select2-container--default .select2-results__option--highlighted[aria-selected],
body.iwl-wc .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--iwl-navy); }
body.iwl-wc .woocommerce input[type="checkbox"],
body.iwl-wc .woocommerce input[type="radio"] { accent-color: var(--iwl-coral); width: 18px; height: 18px; vertical-align: -3px; }

/* Quantité */
body.iwl-wc .woocommerce .quantity .qty {
	width: 84px;
	min-height: 48px;
	text-align: center;
	font-weight: 800;
	border: 2px solid var(--iwl-line);
	border-radius: var(--iwl-wc-field);
	background: #fff;
	color: var(--iwl-navy);
}

/* -------------------------------------------------------------------------
   5. Boutique et catégories : grille de cartes produit
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce .woocommerce-result-count { color: var(--iwl-muted); font-size: .95rem; margin: 10px 0 24px; }
body.iwl-wc .woocommerce .woocommerce-ordering { margin: 0 0 24px; }
body.iwl-wc .woocommerce .woocommerce-ordering select { width: auto; min-width: 240px; font-weight: 700; color: var(--iwl-navy); }

body.iwl-wc .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
	margin: 0 0 2em;
	padding: 0;
	clear: both;
}
body.iwl-wc .woocommerce ul.products::before,
body.iwl-wc .woocommerce ul.products::after { display: none; }
body.iwl-wc .woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	margin: 0 !important;
	padding: 16px 16px 22px;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
	transition: transform .2s, box-shadow .2s;
}
body.iwl-wc .woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--iwl-shadow); }
body.iwl-wc .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
body.iwl-wc .woocommerce ul.products li.product a img {
	margin: 0 0 16px;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
body.iwl-wc .woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	margin: 0 0 10px;
	font-family: var(--iwl-font-title);
	font-size: 1.1rem;
	font-weight: 900;
	color: var(--iwl-navy);
	line-height: 1.25;
}
body.iwl-wc .woocommerce ul.products li.product .price { margin: auto 0 16px; }
body.iwl-wc .woocommerce ul.products li.product .button { width: 100%; margin-top: 0; }
body.iwl-wc .woocommerce ul.products li.product .star-rating { margin: 0 0 10px; }

/* Prix */
body.iwl-wc .woocommerce .price,
body.iwl-wc .woocommerce div.product p.price,
body.iwl-wc .woocommerce div.product span.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	font-family: var(--iwl-font-title);
	font-weight: 900;
	font-size: 1.35rem;
	color: var(--iwl-navy) !important;
}
body.iwl-wc .woocommerce .price del { order: 2; font-size: .85em; font-weight: 700; color: var(--iwl-muted); opacity: 1; }
body.iwl-wc .woocommerce .price ins { order: 1; text-decoration: none; background: none; font-weight: 900; color: var(--iwl-navy); }
body.iwl-wc .woocommerce .price .woocommerce-Price-amount { color: inherit; }

/* Badge promo */
body.iwl-wc .woocommerce span.onsale {
	position: absolute;
	top: 26px;
	left: 26px;
	right: auto;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--iwl-coral);
	color: #fff;
	font-family: var(--iwl-font-text);
	font-size: .82rem;
	font-weight: 800;
	line-height: 1.2;
}
body.iwl-wc .woocommerce div.product span.onsale { top: 16px; left: 16px; }

/* Étoiles */
body.iwl-wc .woocommerce .star-rating span::before,
body.iwl-wc .woocommerce p.stars a { color: #F2B544; }
body.iwl-wc .woocommerce .star-rating::before { color: var(--iwl-line); }

/* Pagination */
body.iwl-wc .woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 8px; }
body.iwl-wc .woocommerce nav.woocommerce-pagination ul li { border: 0; }
body.iwl-wc .woocommerce nav.woocommerce-pagination ul li a,
body.iwl-wc .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 2px solid var(--iwl-line);
	font-weight: 800;
	color: var(--iwl-navy);
	background: #fff;
}
body.iwl-wc .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--iwl-navy); border-color: var(--iwl-navy); color: #fff; }

/* -------------------------------------------------------------------------
   6. Fiche produit
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce div.product { position: relative; }
body.iwl-wc .woocommerce div.product div.images img { border-radius: var(--iwl-wc-radius); }
body.iwl-wc .woocommerce div.product .product_title {
	font-family: var(--iwl-font-title);
	font-weight: 900;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	color: var(--iwl-navy);
	line-height: 1.12;
	margin: 0 0 .4em;
}
body.iwl-wc .woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.05rem; color: var(--iwl-ink); }
body.iwl-wc .woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.4em 0; }
body.iwl-wc .woocommerce div.product form.cart div.quantity { margin: 0; float: none; }
body.iwl-wc .woocommerce div.product form.cart .button { float: none; }
body.iwl-wc .woocommerce div.product .product_meta { font-size: .9rem; color: var(--iwl-muted); border-top: 1px dashed var(--iwl-line); padding-top: 1em; }
body.iwl-wc .woocommerce div.product .product_meta a { color: var(--iwl-navy); font-weight: 700; }

/* Onglets */
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 2em 0 1.2em; }
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; }
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 20px;
	border: 2px solid var(--iwl-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 800;
	color: var(--iwl-navy);
}
body.iwl-wc .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--iwl-navy); border-color: var(--iwl-navy); color: #fff; }
body.iwl-wc .woocommerce div.product .woocommerce-tabs .panel {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
}
body.iwl-wc .woocommerce .related > h2,
body.iwl-wc .woocommerce .upsells > h2 { font-size: 1.6rem; margin-top: 1.5em; }

/* -------------------------------------------------------------------------
   7. Tableaux (panier, commande, commandes du compte)
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce table.shop_table {
	width: 100%;
	border: 1px solid var(--iwl-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--iwl-wc-radius);
	background: #fff;
	overflow: hidden;
	margin: 0 0 24px;
}
body.iwl-wc .woocommerce table.shop_table th {
	padding: 14px 16px;
	background: var(--iwl-cream);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--iwl-navy);
}
body.iwl-wc .woocommerce table.shop_table td {
	padding: 16px;
	border-top: 1px solid var(--iwl-line);
	vertical-align: middle;
}
body.iwl-wc .woocommerce table.shop_table td.product-name a { font-weight: 800; color: var(--iwl-navy); text-decoration: none; }
body.iwl-wc .woocommerce table.shop_table .product-thumbnail img { width: 72px; border-radius: 10px; }
body.iwl-wc .woocommerce table.shop_table tfoot th,
body.iwl-wc .woocommerce table.shop_table tfoot td { background: #fff; border-top: 1px solid var(--iwl-line); }
body.iwl-wc .woocommerce table.shop_table .order-total th,
body.iwl-wc .woocommerce table.shop_table .order-total td,
body.iwl-wc .woocommerce table.shop_table .order-total .amount { font-family: var(--iwl-font-title); font-size: 1.15rem; font-weight: 900; color: var(--iwl-navy); text-transform: none; letter-spacing: 0; }
body.iwl-wc .woocommerce a.remove {
	width: 30px;
	height: 30px;
	line-height: 26px;
	border: 2px solid var(--iwl-line);
	border-radius: 50%;
	color: var(--iwl-coral) !important;
	font-weight: 800;
}
body.iwl-wc .woocommerce a.remove:hover { background: var(--iwl-coral); border-color: var(--iwl-coral); color: #fff !important; }
body.iwl-wc .woocommerce table.cart td.actions { background: var(--iwl-cream); }
body.iwl-wc .woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body.iwl-wc .woocommerce table.cart td.actions .coupon .input-text { width: 220px; background: #fff; }

/* Totaux du panier */
body.iwl-wc .woocommerce .cart-collaterals .cart_totals,
body.iwl-wc .woocommerce-page .cart-collaterals .cart_totals {
	padding: 28px;
	border-radius: var(--iwl-wc-radius);
	background: var(--iwl-cream);
	border: 1px solid var(--iwl-line);
}
body.iwl-wc .woocommerce .cart_totals table.shop_table { margin-bottom: 0; }
body.iwl-wc .woocommerce .wc-proceed-to-checkout { padding: 20px 0 0; }
body.iwl-wc .woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 56px; font-size: 1.1rem; margin: 0; }

/* Panier vide (template IWL) */
body.iwl-wc .iwl-wc-empty {
	max-width: 640px;
	margin: 24px auto 40px;
	padding: 48px 32px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
	box-shadow: var(--iwl-shadow);
}
body.iwl-wc .iwl-wc-empty__icon {
	width: 96px;
	height: 96px;
	margin: 0 auto 20px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--iwl-pink);
	color: var(--accent-hover, #E85A50);
}
body.iwl-wc .iwl-wc-empty__icon svg { width: 40px; height: 40px; }
body.iwl-wc .iwl-wc-empty h2 { font-family: var(--iwl-font-title); font-weight: 900; color: var(--iwl-navy); font-size: 1.7rem; margin: 0 0 .4em; }
body.iwl-wc .iwl-wc-empty p { color: var(--iwl-muted); margin: 0 0 1.6em; }
body.iwl-wc .iwl-wc-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
body.iwl-wc .iwl-wc-empty__note { display: inline-block; margin-top: 22px; font-family: var(--iwl-font-hand); font-weight: 700; font-size: 1.45rem; color: var(--iwl-coral); transform: rotate(-3deg); }

/* -------------------------------------------------------------------------
   8. Validation de la commande
   ---------------------------------------------------------------------- */
body.iwl-wc .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 32px; row-gap: 0; align-items: start; }
body.iwl-wc .woocommerce form.checkout > * { grid-column: 1 / -1; }
body.iwl-wc .woocommerce form.checkout > #customer_details { grid-column: 1; grid-row: 2 / span 2; }
body.iwl-wc .woocommerce form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; padding: 24px 28px 8px; background: var(--iwl-cream); border: 1px solid var(--iwl-line); border-bottom: 0; border-radius: var(--iwl-wc-radius) var(--iwl-wc-radius) 0 0; }
body.iwl-wc .woocommerce form.checkout > #order_review { grid-column: 2; grid-row: 3; padding: 8px 28px 28px; background: var(--iwl-cream); border: 1px solid var(--iwl-line); border-top: 0; border-radius: 0 0 var(--iwl-wc-radius) var(--iwl-wc-radius); }
body.iwl-wc .woocommerce #customer_details.col2-set { display: block; }
body.iwl-wc .woocommerce #customer_details .col-1,
body.iwl-wc .woocommerce #customer_details .col-2 {
	float: none;
	width: 100%;
	padding: 28px;
	margin: 0 0 24px;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
}
body.iwl-wc .woocommerce .woocommerce-billing-fields__field-wrapper,
body.iwl-wc .woocommerce .woocommerce-shipping-fields__field-wrapper,
body.iwl-wc .woocommerce .woocommerce-address-fields__field-wrapper,
body.iwl-wc .woocommerce .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.iwl-wc .woocommerce form .form-row { float: none; width: auto; grid-column: 1 / -1; margin: 0 0 16px; padding: 0; }
body.iwl-wc .woocommerce form .form-row-first { grid-column: 1; }
body.iwl-wc .woocommerce form .form-row-last { grid-column: 2; }
body.iwl-wc .woocommerce .woocommerce-checkout-review-order-table { background: #fff; }

/* Paiement */
body.iwl-wc .woocommerce #payment,
body.iwl-wc .woocommerce-page #payment { background: transparent; border-radius: 0; }
body.iwl-wc .woocommerce #payment ul.payment_methods { padding: 0 0 16px; border: 0; }
body.iwl-wc .woocommerce #payment ul.payment_methods li {
	padding: 14px 16px;
	margin: 0 0 10px;
	background: #fff;
	border: 2px solid var(--iwl-line);
	border-radius: 12px;
	font-weight: 800;
	color: var(--iwl-navy);
	list-style: none;
}
body.iwl-wc .woocommerce #payment ul.payment_methods li:has(input:checked) { border-color: var(--iwl-navy); }
body.iwl-wc .woocommerce #payment ul.payment_methods li img { max-height: 24px; vertical-align: middle; margin-left: 6px; }
body.iwl-wc .woocommerce #payment div.payment_box {
	margin: 12px 0 0;
	padding: 14px 16px;
	background: var(--iwl-cream);
	border-radius: 10px;
	font-weight: 600;
	color: var(--iwl-ink);
}
body.iwl-wc .woocommerce #payment div.payment_box::before { display: none; }
body.iwl-wc .woocommerce #payment div.form-row { padding: 0; margin: 0; }
body.iwl-wc .woocommerce .woocommerce-terms-and-conditions-wrapper { font-size: .9rem; margin-bottom: 16px; }
body.iwl-wc .woocommerce #place_order { float: none; width: 100%; min-height: 56px; font-size: 1.1rem; }
body.iwl-wc .woocommerce form.checkout_coupon,
body.iwl-wc .woocommerce form.login,
body.iwl-wc .woocommerce form.register {
	padding: 28px;
	margin: 0 0 24px;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
}

/* Commande reçue */
body.iwl-wc .woocommerce .woocommerce-thankyou-order-received {
	padding: 22px 24px;
	margin: 0 0 24px;
	border-radius: var(--iwl-wc-radius);
	background: #D6EEEB;
	font-family: var(--iwl-font-title);
	font-size: 1.2rem;
	font-weight: 900;
	color: var(--iwl-navy);
}
body.iwl-wc .woocommerce ul.order_details,
body.iwl-wc .woocommerce .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	padding: 0;
	margin: 0 0 32px;
	list-style: none;
}
body.iwl-wc .woocommerce ul.order_details::before,
body.iwl-wc .woocommerce ul.order_details::after { display: none; }
body.iwl-wc .woocommerce ul.order_details li {
	float: none;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--iwl-line);
	border-radius: 12px;
	background: #fff;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--iwl-muted);
}
body.iwl-wc .woocommerce ul.order_details li strong { display: block; margin-top: 6px; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--iwl-navy); }

/* -------------------------------------------------------------------------
   9. Mon compte
   ---------------------------------------------------------------------- */
body.iwl-wc.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 24px 64px;
}
body.iwl-wc.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.iwl-wc.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 980px; }
body.iwl-wc.woocommerce-account .woocommerce-MyAccount-navigation,
body.iwl-wc.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
body.iwl-wc .woocommerce-MyAccount-navigation {
	padding: 14px;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
	position: sticky;
	top: 120px;
}
body.iwl-wc .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
body.iwl-wc .woocommerce-MyAccount-navigation li { margin: 0 0 4px; padding: 0; }
body.iwl-wc .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 800;
	color: var(--iwl-navy) !important;
	text-decoration: none;
	transition: background-color .2s;
}
body.iwl-wc .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--iwl-line);
}
body.iwl-wc .woocommerce-MyAccount-navigation li a:hover { background: var(--iwl-cream); }
body.iwl-wc .woocommerce-MyAccount-navigation li.is-active a { background: var(--iwl-navy); color: #fff !important; }
body.iwl-wc .woocommerce-MyAccount-navigation li.is-active a::before { background: var(--iwl-coral); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--dashboard a::before { background: var(--iwl-teal); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--orders a::before { background: var(--iwl-yellow); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--downloads a::before { background: var(--iwl-purple); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--edit-address a::before { background: var(--iwl-pink); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--edit-account a::before { background: var(--iwl-teal); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--iwl-line); }
body.iwl-wc .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--accent-hover, #E85A50) !important; }
body.iwl-wc .woocommerce-MyAccount-navigation-link--customer-logout a::before { background: var(--iwl-coral); }

body.iwl-wc .woocommerce-MyAccount-content {
	padding: 32px;
	background: #fff;
	border: 1px solid var(--iwl-line);
	border-radius: var(--iwl-wc-radius);
	min-width: 0;
}
body.iwl-wc .woocommerce-MyAccount-content > p:first-child { font-size: 1.1rem; }
body.iwl-wc .woocommerce-MyAccount-content p { line-height: 1.7; }
body.iwl-wc .woocommerce-MyAccount-content mark { background: var(--iwl-pink); color: var(--iwl-navy); padding: 0 .2em; font-weight: 800; }
body.iwl-wc .iwl-wc-dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 24px; }
body.iwl-wc .iwl-wc-dash a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border-radius: 14px;
	text-decoration: none;
	font-weight: 800;
	color: var(--iwl-navy) !important;
	transition: transform .2s;
}
body.iwl-wc .iwl-wc-dash a:hover { transform: translateY(-3px); }
body.iwl-wc .iwl-wc-dash a small { font-weight: 600; color: var(--iwl-ink); }
body.iwl-wc .iwl-wc-dash a:nth-child(1) { background: #FEF0D6; }
body.iwl-wc .iwl-wc-dash a:nth-child(2) { background: #FFE9ED; }
body.iwl-wc .iwl-wc-dash a:nth-child(3) { background: #E3F3F1; }
body.iwl-wc .iwl-wc-dash a:nth-child(4) { background: #EFE5F9; }

body.iwl-wc .woocommerce .woocommerce-Addresses.col2-set,
body.iwl-wc .woocommerce .addresses.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.iwl-wc .woocommerce .col2-set .col-1,
body.iwl-wc .woocommerce .col2-set .col-2 { float: none; width: auto; }
body.iwl-wc .woocommerce .woocommerce-Address,
body.iwl-wc .woocommerce .woocommerce-customer-details address {
	padding: 22px;
	border: 1px solid var(--iwl-line);
	border-radius: 14px;
	background: var(--iwl-cream);
	font-style: normal;
}
body.iwl-wc .woocommerce .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body.iwl-wc .woocommerce .woocommerce-Address-title h2,
body.iwl-wc .woocommerce .woocommerce-Address-title h3 { margin: 0; font-size: 1.1rem; }
body.iwl-wc .woocommerce fieldset { margin: 24px 0; padding: 22px; border: 1px solid var(--iwl-line); border-radius: 14px; }
body.iwl-wc .woocommerce fieldset legend { padding: 0 8px; font-family: var(--iwl-font-title); font-weight: 900; color: var(--iwl-navy); }

/* Statuts de commande */
body.iwl-wc .woocommerce-orders-table__cell-order-status { font-weight: 800; }
body.iwl-wc .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color: #2F7F77; }
body.iwl-wc .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { color: var(--iwl-navy); }
body.iwl-wc .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status,
body.iwl-wc .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status { color: var(--accent-hover, #E85A50); }

/* Connexion / inscription */
body.iwl-wc .woocommerce .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
body.iwl-wc .woocommerce .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 16px 0 0; }
body.iwl-wc .woocommerce .lost_password a { font-weight: 700; }

/* -------------------------------------------------------------------------
   10. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
	body.iwl-wc .woocommerce form.checkout { grid-template-columns: 1fr; }
	body.iwl-wc .woocommerce form.checkout > #customer_details,
	body.iwl-wc .woocommerce form.checkout > #order_review_heading,
	body.iwl-wc .woocommerce form.checkout > #order_review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 860px) {
	body.iwl-wc.woocommerce-account .woocommerce { grid-template-columns: 1fr; padding: 16px 16px 48px; }
	body.iwl-wc .woocommerce-MyAccount-navigation { position: static; }
	body.iwl-wc .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 6px; }
	body.iwl-wc .woocommerce-MyAccount-navigation li { margin: 0; }
	body.iwl-wc .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	body.iwl-wc .woocommerce-MyAccount-content { padding: 22px; }
	body.iwl-wc .woocommerce .woocommerce-Addresses.col2-set,
	body.iwl-wc .woocommerce .addresses.col2-set,
	body.iwl-wc .woocommerce .u-columns.col2-set { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body.iwl-wc .woocommerce .woocommerce-billing-fields__field-wrapper,
	body.iwl-wc .woocommerce .woocommerce-shipping-fields__field-wrapper,
	body.iwl-wc .woocommerce .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
	body.iwl-wc .woocommerce form .form-row-first,
	body.iwl-wc .woocommerce form .form-row-last { grid-column: 1 / -1; }
	body.iwl-wc .woocommerce #customer_details .col-1,
	body.iwl-wc .woocommerce #customer_details .col-2,
	body.iwl-wc .woocommerce form.checkout > #order_review { padding: 20px 16px; }
	body.iwl-wc .woocommerce form.checkout > #order_review_heading { padding: 20px 16px 0; }
	body.iwl-wc .woocommerce .woocommerce-ordering select { min-width: 0; width: 100%; }
	body.iwl-wc .woocommerce-message .button,
	body.iwl-wc .woocommerce-info .button { float: none; display: flex; margin: 12px 0 0; }
	body.iwl-wc .woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
	body.iwl-wc .iwl-wc-empty { padding: 36px 20px; }
	body.iwl-wc .iwl-wc-empty__actions .iwl-wc-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	body.iwl-wc .woocommerce a.button,
	body.iwl-wc .woocommerce button.button,
	body.iwl-wc .woocommerce ul.products li.product,
	body.iwl-wc .iwl-wc-btn { transition: none; }
}
