/* Poser la base visuelle commune du tunnel. */
.wolk-cart-designer-active,
.wolk-commerce-render {
	background: var(--wolk-bg);
	color: var(--wolk-text);
	font-size: var(--wolk-base-font-size);
}

.wolk-cart-designer-active .woocommerce,
.wolk-commerce-render {
	font-family: var(--wolk-body-font);
}

/* Centrer la zone de contenu principale. */
.wolk-cart-designer-active .entry-content,
.wolk-cart-designer-active .site-main,
.wolk-commerce-render {
	max-width: var(--wolk-max-width);
	margin: 0 auto;
}

.wolk-commerce-render {
	padding: clamp(1.2rem, 2vw, 2rem);
}

/* Animer les grands blocs quand le tunnel devient visible. */
.wolk-animate-in {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.55s ease,
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--wolk-enter-delay, 0ms);
}

.wolk-animate-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Construire le hero editorial du panier et de la commande. */
.wolk-commerce-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 clamp(1.5rem, 2vw, 2.5rem);
	padding: var(--wolk-hero-padding);
	min-height: var(--wolk-hero-min-height);
	border-radius: var(--wolk-section-radius);
	background:
		linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(244, 239, 231, 0.94));
	border: 1px solid rgba(216, 206, 191, 0.9);
	box-shadow: 0 14px 32px rgba(63, 48, 30, 0.05);
}

/* Poser une image optionnelle dans le hero. */
.wolk-commerce-hero__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	transform: scale(1.03);
}

/* Poser un voile creme pour garder la lisibilite. */
.wolk-commerce-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255, 250, 244, calc(var(--wolk-hero-overlay-opacity) + 0.12)), rgba(244, 239, 231, var(--wolk-hero-overlay-opacity))),
		linear-gradient(180deg, rgba(255, 250, 244, 0.12), rgba(39, 35, 29, 0.06));
}

/* Ajouter une forme decorative dans le hero. */
.wolk-commerce-hero__layer {
	position: absolute;
	inset: auto -8% -35% auto;
	width: 320px;
	height: 320px;
	border-radius: 999px;
	background: rgba(var(--wolk-primary-rgb), 0.05);
	filter: blur(2px);
}

.wolk-commerce-hero__shell {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
	gap: clamp(1rem, 2.2vw, 2rem);
	align-items: end;
}

.wolk-commerce-hero__content {
	position: relative;
	max-width: var(--wolk-hero-content-max);
}

/* Styliser le titre principal avec une hiérarchie plus proche du site. */
.wolk-commerce-hero h1 {
	margin: 0;
	color: var(--wolk-primary);
	font-family: var(--wolk-heading-font);
	font-size: clamp(2.2rem, 4vw, var(--wolk-hero-title-size));
	font-weight: 700;
	line-height: 0.98;
	text-wrap: balance;
}

/* Styliser les titres de sections du tunnel. */
.wolk-cart-designer-active .cart_totals h2,
.wolk-cart-designer-active #order_review_heading,
.wolk-commerce-render .cart_totals h2,
.wolk-commerce-render #order_review_heading,
.wolk-commerce-highlights h2,
.wolk-cart-designer-active .woocommerce-billing-fields h3,
.wolk-cart-designer-active .woocommerce-additional-fields h3,
.wolk-commerce-render .woocommerce-billing-fields h3,
.wolk-commerce-render .woocommerce-additional-fields h3 {
	margin: 0;
	color: var(--wolk-secondary);
	font-family: var(--wolk-heading-font);
	font-size: clamp(1.45rem, 2.3vw, var(--wolk-section-title-size));
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

/* Regler le texte d'introduction du hero. */
.wolk-commerce-hero p {
	max-width: 58ch;
	margin: 0.95rem 0 0;
	color: var(--wolk-muted);
	font-size: 0.98rem;
	line-height: 1.7;
}

.wolk-commerce-hero__aside {
	align-self: stretch;
}

.wolk-commerce-hero__panel {
	display: grid;
	gap: 1rem;
	height: 100%;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(216, 206, 191, 0.88);
	border-radius: calc(var(--wolk-card-radius) + 2px);
	background: rgba(255, 250, 244, 0.86);
	box-shadow: none;
	backdrop-filter: blur(8px);
}

.wolk-commerce-hero__panel-kicker {
	color: var(--wolk-primary);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.wolk-commerce-hero__metrics {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wolk-commerce-hero__metrics li {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(216, 206, 191, 0.7);
}

.wolk-commerce-hero__metrics li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.wolk-commerce-hero__metrics span {
	color: var(--wolk-muted);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wolk-commerce-hero__metrics strong {
	color: var(--wolk-text);
	font-size: 1rem;
	font-weight: 700;
	text-align: right;
}

.wolk-commerce-hero--style-minimal {
	min-height: auto;
	box-shadow: none;
}

.wolk-commerce-hero--style-minimal .wolk-commerce-hero__layer {
	display: none;
}

.wolk-commerce-hero--style-minimal .wolk-commerce-hero__aside {
	display: none;
}

.wolk-commerce-hero--align-center .wolk-commerce-hero__shell {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
}

.wolk-commerce-hero--align-center .wolk-commerce-hero__content,
.wolk-commerce-hero--align-center .wolk-commerce-hero__content p {
	text-align: center;
}

.wolk-commerce-hero--align-center .wolk-commerce-hero__aside {
	width: min(100%, 420px);
}

/* Construire la carte de reperes editoriaux. */
.wolk-commerce-highlights {
	margin: 0 0 clamp(1.5rem, 2vw, 2.5rem);
}

.wolk-commerce-highlights__card {
	padding: clamp(1.3rem, 2vw, 1.8rem);
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: rgba(255, 250, 244, 0.92);
	box-shadow: 0 10px 24px rgba(52, 42, 31, 0.04);
}

/* Poser une structure plus premium autour des contenus checkout et panier. */
.wolk-commerce-render__content {
	position: relative;
}

/* Organiser la liste des reperes. */
.wolk-commerce-highlights ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.95rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.wolk-commerce-highlights li {
	position: relative;
	padding: 0.9rem 1rem 0.9rem 1.6rem;
	border: 1px solid rgba(216, 206, 191, 0.78);
	border-radius: calc(var(--wolk-card-radius) - 8px);
	background: rgba(255, 250, 244, 0.8);
	color: var(--wolk-text);
	line-height: 1.5;
}

/* Marquer chaque repere avec une puce coloree. */
.wolk-commerce-highlights li::before {
	content: "";
	position: absolute;
	top: 1rem;
	left: 0.7rem;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 999px;
	background: var(--wolk-secondary);
}

/* Espacer les notices et l'entree coupon. */
.wolk-cart-designer-active .woocommerce-notices-wrapper,
.wolk-commerce-render .woocommerce-notices-wrapper,
.wolk-cart-designer-active .woocommerce-form-coupon-toggle,
.wolk-commerce-render .woocommerce-form-coupon-toggle {
	margin-bottom: 1.5rem;
}

/* Habiller les messages WooCommerce. */
.wolk-cart-designer-active .woocommerce-info,
.wolk-cart-designer-active .woocommerce-message,
.wolk-cart-designer-active .woocommerce-error,
.wolk-commerce-render .woocommerce-info,
.wolk-commerce-render .woocommerce-message,
.wolk-commerce-render .woocommerce-error {
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: rgba(255, 250, 244, 0.95);
	color: var(--wolk-text);
	box-shadow: 0 10px 30px rgba(63, 48, 30, 0.05);
}

/* Colorer les icones de notice. */
.wolk-cart-designer-active .woocommerce-info::before,
.wolk-cart-designer-active .woocommerce-message::before,
.wolk-cart-designer-active .woocommerce-error::before,
.wolk-commerce-render .woocommerce-info::before,
.wolk-commerce-render .woocommerce-message::before,
.wolk-commerce-render .woocommerce-error::before {
	color: var(--wolk-secondary);
}

/* Transformer les tableaux WooCommerce en cartes. */
.wolk-cart-designer-active .woocommerce-cart-form__contents,
.wolk-cart-designer-active table.shop_table,
.wolk-cart-designer-active #order_review table,
.wolk-commerce-render .woocommerce-cart-form__contents,
.wolk-commerce-render table.shop_table,
.wolk-commerce-render #order_review table {
	overflow: hidden;
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: var(--wolk-surface);
	box-shadow: none;
}

/* Differencier l'en-tete des tableaux. */
.wolk-cart-designer-active table.shop_table thead th,
.wolk-commerce-render table.shop_table thead th {
	background: var(--wolk-table-head-bg);
	color: var(--wolk-text);
	font-size: 0.95rem;
	font-weight: 700;
}

/* Aerer les cellules du panier et du recapitulatif. */
.wolk-cart-designer-active table.shop_table td,
.wolk-cart-designer-active table.shop_table th,
.wolk-commerce-render table.shop_table td,
.wolk-commerce-render table.shop_table th {
	padding: 1.15rem 1rem;
	border-color: rgba(216, 206, 191, 0.9);
}

/* Renforcer la lisibilite des noms de produits. */
.wolk-cart-designer-active .product-name a,
.wolk-cart-designer-active .product-name,
.wolk-cart-designer-active .woocommerce table.shop_table td.product-name,
.wolk-commerce-render .product-name a,
.wolk-commerce-render .product-name,
.wolk-commerce-render .woocommerce table.shop_table td.product-name {
	color: var(--wolk-text);
	font-weight: 600;
}

/* Habiller le bouton de suppression produit. */
.wolk-cart-designer-active .product-remove a,
.wolk-commerce-render .product-remove a {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: rgba(204, 90, 28, 0.1);
	color: var(--wolk-secondary) !important;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove a,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove a {
	all: unset;
	position: relative;
	display: grid !important;
	place-items: center !important;
	width: 2.7rem;
	height: 2.7rem;
	padding: 0 !important;
	margin: 0 auto;
	border: 0;
	border-radius: 999px;
	background: rgba(204, 90, 28, 0.12);
	color: transparent !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	text-indent: 0;
	box-sizing: border-box;
	cursor: pointer;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove a::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove a::before {
	content: "×";
	display: block;
	color: var(--wolk-secondary);
	font-size: 2.05rem;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-1px);
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove a:hover,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove a:focus,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove a:hover,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove a:focus {
	background: rgba(204, 90, 28, 0.18);
	outline: none;
}

/* Uniformiser les champs de formulaire. */
.wolk-cart-designer-active .quantity .qty,
.wolk-cart-designer-active input.input-text,
.wolk-cart-designer-active textarea,
.wolk-cart-designer-active select,
.wolk-commerce-render .quantity .qty,
.wolk-commerce-render input.input-text,
.wolk-commerce-render textarea,
.wolk-commerce-render select {
	min-height: 52px;
	border: 1px solid rgba(216, 206, 191, 0.95);
	border-radius: var(--wolk-field-radius);
	background: var(--wolk-field-bg);
	color: var(--wolk-text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Mettre en avant le focus clavier et souris. */
.wolk-cart-designer-active input.input-text:focus,
.wolk-cart-designer-active textarea:focus,
.wolk-cart-designer-active select:focus,
.wolk-commerce-render input.input-text:focus,
.wolk-commerce-render textarea:focus,
.wolk-commerce-render select:focus {
	border-color: var(--wolk-field-focus);
	outline: none;
	box-shadow: 0 0 0 4px rgba(var(--wolk-field-focus-rgb), 0.14);
}

/* Renforcer les labels et les aides du formulaire. */
.wolk-cart-designer-active .woocommerce form .form-row label,
.wolk-commerce-render .woocommerce form .form-row label {
	margin-bottom: 0.45rem;
	color: var(--wolk-text);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.wolk-cart-designer-active .woocommerce form .form-row .optional,
.wolk-commerce-render .woocommerce form .form-row .optional,
.wolk-cart-designer-active ::placeholder,
.wolk-commerce-render ::placeholder {
	color: var(--wolk-muted);
}

/* Habiller les CTA principaux du tunnel. */
.wolk-cart-designer-active .button,
.wolk-cart-designer-active button.button,
.wolk-cart-designer-active input.button,
.wolk-cart-designer-active #payment #place_order,
.wolk-commerce-render .button,
.wolk-commerce-render button.button,
.wolk-commerce-render input.button,
.wolk-commerce-render #payment #place_order {
	padding: 1rem 1.4rem;
	border: none;
	border-radius: 999px;
	background: var(--wolk-button-bg);
	color: var(--wolk-button-text);
	font-weight: 700;
	letter-spacing: 0.01em;
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Animer les CTA au survol et au focus. */
.wolk-cart-designer-active .button:hover,
.wolk-cart-designer-active button.button:hover,
.wolk-cart-designer-active input.button:hover,
.wolk-cart-designer-active #payment #place_order:hover,
.wolk-commerce-render .button:hover,
.wolk-commerce-render button.button:hover,
.wolk-commerce-render input.button:hover,
.wolk-commerce-render #payment #place_order:hover,
.wolk-cart-designer-active .button:focus,
.wolk-cart-designer-active button.button:focus,
.wolk-cart-designer-active input.button:focus,
.wolk-cart-designer-active #payment #place_order:focus,
.wolk-commerce-render .button:focus,
.wolk-commerce-render button.button:focus,
.wolk-commerce-render input.button:focus,
.wolk-commerce-render #payment #place_order:focus {
	background: var(--wolk-button-hover);
	color: var(--wolk-button-text);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(57, 72, 29, 0.12);
}

/* Adoucir l'affichage des CTA desactives. */
.wolk-cart-designer-active .button:disabled,
.wolk-cart-designer-active button.button:disabled,
.wolk-commerce-render .button:disabled,
.wolk-commerce-render button.button:disabled {
	opacity: 0.6;
}

/* Distinguer les actions secondaires. */
.wolk-cart-designer-active .actions .button:not(.alt),
.wolk-commerce-render .actions .button:not(.alt) {
	background: rgba(var(--wolk-primary-rgb), 0.09);
	color: var(--wolk-primary);
	box-shadow: none;
}

/* Forcer le CTA panier pour éviter l'ecrasement par Elementor. */
body.woocommerce-cart.wolk-cart-designer-active .wc-proceed-to-checkout a.checkout-button,
.wolk-commerce-render--cart .wc-proceed-to-checkout a.checkout-button {
	border-radius: 999px !important;
	background: var(--wolk-button-bg) !important;
}

body.woocommerce-cart.wolk-cart-designer-active .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart.wolk-cart-designer-active .wc-proceed-to-checkout a.checkout-button:focus,
.wolk-commerce-render--cart .wc-proceed-to-checkout a.checkout-button:hover,
.wolk-commerce-render--cart .wc-proceed-to-checkout a.checkout-button:focus {
	background: var(--wolk-button-hover) !important;
}

/* Organiser la page panier en deux colonnes. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce,
.wolk-commerce-render--cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, var(--wolk-sidebar-width));
	gap: var(--wolk-gap);
	align-items: start;
	margin: 0;
}

/* Etendre les notices panier sur toute la largeur. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce > .woocommerce-message,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce > .woocommerce-info,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce > .woocommerce-error,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce > .woocommerce-form-coupon-toggle,
.wolk-commerce-render--cart .woocommerce > .woocommerce-notices-wrapper,
.wolk-commerce-render--cart .woocommerce > .woocommerce-message,
.wolk-commerce-render--cart .woocommerce > .woocommerce-info,
.wolk-commerce-render--cart .woocommerce > .woocommerce-error,
.wolk-commerce-render--cart .woocommerce > .woocommerce-form-coupon-toggle {
	grid-column: 1 / -1;
}

/* Eviter les debordements du formulaire panier. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form,
.wolk-commerce-render--cart .woocommerce-cart-form {
	min-width: 0;
	margin: 0;
	padding: clamp(1rem, 1.8vw, 1.5rem);
	overflow-x: auto;
	overflow-y: hidden;
	border: 1px solid rgba(216, 206, 191, 0.82);
	border-radius: calc(var(--wolk-card-radius) + 6px);
	background: rgba(255, 250, 244, 0.94);
	box-shadow: 0 10px 24px rgba(52, 42, 31, 0.04);
}

/* Donner une structure plus editoriale au tableau panier. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents,
.wolk-commerce-render--cart .woocommerce-cart-form__contents {
	width: 100%;
	min-width: 0;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
}

/* Calmer les colonnes utilitaires de la table panier. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-remove,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-thumbnail,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-remove,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-thumbnail {
	width: 3.2rem;
	color: transparent;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-thumbnail,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-thumbnail {
	width: 6rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-price {
	width: 6.5rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-quantity {
	width: 6.75rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-subtotal {
	width: 7.25rem;
}

/* Etirer chaque ligne produit comme une carte de panier. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item,
.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item {
	display: grid;
	grid-template-columns: 2.3rem 5.8rem minmax(0, 1fr) minmax(6.75rem, 7.25rem);
	grid-template-areas:
		"remove media name subtotal"
		". media price subtotal"
		". media quantity subtotal";
	gap: 0.7rem 1.15rem;
	align-items: start;
	padding: 1.45rem 0;
}

/* Poser une separation nette entre les lignes produit. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item + tr.wolk-cart-item,
.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item + tr.wolk-cart-item {
	border-top: 1px solid rgba(216, 206, 191, 0.8);
}

/* Nettoyer les cellules du panier quand la ligne devient une grille. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item > td,
.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item > td {
	padding: 0;
	border: 0;
	background: transparent;
}

/* Placer le bouton de suppression au debut de la ligne. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove {
	grid-area: remove;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0.45rem;
}

/* Donner plus de presence au visuel produit. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail {
	grid-area: media;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail a,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail a {
	display: block;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail img,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail img {
	width: 84px;
	min-width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: calc(var(--wolk-card-radius) - 12px);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(216, 206, 191, 0.62);
}

/* Organiser le contenu produit sur une colonne plus lisible. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name {
	grid-area: name;
	min-width: 0;
	display: grid;
	gap: 0.45rem;
	align-content: start;
	padding-top: 0.1rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name a,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name a {
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

/* Ajouter une respiration a la description courte du produit. */
body.woocommerce-cart.wolk-cart-designer-active .wolk-cart-item__description,
.wolk-commerce-render--cart .wolk-cart-item__description {
	max-width: 56ch;
	color: var(--wolk-muted);
	font-size: 0.94rem;
	line-height: 1.65;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

/* Styliser les meta produit comme des capsules discretes. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name dl.variation,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.55rem;
	margin: 0.1rem 0 0;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name dl.variation dt,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name dl.variation dd,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name dl.variation dt,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name dl.variation dd {
	margin: 0;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name dl.variation dd,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name dl.variation dd {
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(var(--wolk-primary-rgb), 0.08);
	color: var(--wolk-primary);
	font-size: 0.82rem;
	line-height: 1.35;
}

/* Poser le prix unitaire juste sous le contenu produit. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price {
	grid-area: price;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	color: var(--wolk-muted);
	font-size: 0.92rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price::before {
	content: "Montant";
	color: var(--wolk-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price .amount,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price .amount {
	color: var(--wolk-text);
	font-size: 1rem;
	font-weight: 700;
}

/* Installer la quantite sous le prix avec un vrai bloc de controle. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity {
	grid-area: quantity;
	padding-top: 0.1rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .quantity {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 82px;
	max-width: 100%;
	border: 1px solid rgba(216, 206, 191, 0.95);
	border-radius: 15px;
	background: var(--wolk-field-bg);
	overflow: hidden;
	box-sizing: border-box;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button {
	all: unset;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 30px;
	width: 30px;
	min-width: 30px;
	height: 42px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wolk-primary) !important;
	font-family: inherit;
	font-size: 1.22rem !important;
	font-weight: 500;
	line-height: 1 !important;
	text-align: center !important;
	text-indent: 0;
	text-shadow: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	min-height: 42px !important;
	letter-spacing: 0;
	user-select: none;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button:hover,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button:focus,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button:hover,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button:focus {
	background: rgba(var(--wolk-primary-rgb), 0.08);
	outline: none;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button::before {
	content: none !important;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button--minus::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button--minus::before {
	content: none !important;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button--plus::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button--plus::before {
	content: none !important;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button--minus,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .wolk-quantity__button--minus {
	padding-bottom: 0;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .quantity .qty,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .quantity .qty {
	all: unset;
	min-width: 0;
	display: block !important;
	flex: 0 0 20px;
	height: 42px;
	width: 20px;
	padding: 0;
	margin: 0;
	border: 0;
	border-left: 1px solid rgba(216, 206, 191, 0.85);
	border-right: 1px solid rgba(216, 206, 191, 0.85);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 42px;
	text-align: center;
	font-family: inherit;
	appearance: textfield;
	-moz-appearance: textfield;
	box-sizing: border-box;
	min-height: 42px !important;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .quantity .qty::-webkit-inner-spin-button,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .quantity .qty::-webkit-outer-spin-button,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .quantity .qty::-webkit-inner-spin-button,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .quantity .qty::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Poser le total ligne sur une colonne de synthese. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
	grid-area: subtotal;
	display: grid;
	align-content: center;
	gap: 0.45rem;
	justify-items: end;
	min-height: 100%;
	padding: 0 0 0 1.15rem;
	border-left: 1px solid rgba(216, 206, 191, 0.85);
	text-align: right;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal::before {
	content: "Total";
	color: var(--wolk-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal .amount,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal .amount {
	color: var(--wolk-text);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.1;
}

/* Aerer la zone coupon et mise a jour du panier. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions {
	padding-top: 1.2rem;
	border: 0px;
	border-top: 1px solid rgba(216, 206, 191, 0.8);
	background: rgba(255, 250, 244, 0.48);
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions .coupon,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions .coupon .input-text,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions .coupon .input-text {
	flex: 1 1 220px;
	margin: 0;
}

/* Aligner les ventes croisees sous le tableau avec des cartes plus propres. */
body.woocommerce-cart.wolk-cart-designer-active .cross-sells,
.wolk-commerce-render--cart .cross-sells {
	grid-column: 1 / 2;
	margin: clamp(1.25rem, 2vw, 1.8rem) 0 0;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells > h2,
.wolk-commerce-render--cart .cross-sells > h2 {
	margin: 0 0 1rem;
	color: var(--wolk-secondary);
	font-family: var(--wolk-heading-font);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 700;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products,
.wolk-commerce-render--cart .cross-sells ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products li.product,
.wolk-commerce-render--cart .cross-sells ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 1rem;
	border: 1px solid rgba(216, 206, 191, 0.85);
	border-radius: var(--wolk-card-radius);
	background: rgba(255, 250, 244, 0.92);
	box-shadow: 0 10px 24px rgba(52, 42, 31, 0.04);
	text-align: left;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products li.product a,
.wolk-commerce-render--cart .cross-sells ul.products li.product a {
	text-decoration: none;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products li.product img,
.wolk-commerce-render--cart .cross-sells ul.products li.product img {
	width: 100%;
	margin: 0 0 0.9rem;
	padding: 0.85rem;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: calc(var(--wolk-card-radius) - 10px);
	background: rgba(255, 255, 255, 0.88);
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products li.product .woocommerce-loop-product__title,
.wolk-commerce-render--cart .cross-sells ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products li.product .price,
.wolk-commerce-render--cart .cross-sells ul.products li.product .price {
	display: block;
	margin-bottom: 0.85rem;
	color: var(--wolk-text);
	font-weight: 700;
}

body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products li.product .button,
.wolk-commerce-render--cart .cross-sells ul.products li.product .button {
	width: 100%;
	justify-content: center;
	text-align: center;
}

/* Revenir sur une structure panier stable sans casser les colonnes natives. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item,
.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item {
	display: table-row;
	padding: 0;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item > td,
.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item > td {
	display: table-cell;
	padding: 1.35rem 1rem;
	border-top: 1px solid rgba(216, 206, 191, 0.8);
	vertical-align: middle;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item:first-child > td,
.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item:first-child > td {
	border-top: 0;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove {
	display: table-cell;
	width: 3.2rem;
	text-align: center;
	vertical-align: middle;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail {
	display: none !important;
	width: 6rem;
}


body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
	display: table-cell;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
	white-space: nowrap;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
	width: 7.25rem;
	text-align: right;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity {
	width: 6.75rem;
	text-align: center;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price::before,
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price::before,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal::before {
	content: none;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
	padding-left: 1rem;
	border-left: 0;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail img,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail img {
	width: 84px;
	min-width: 84px;
	height: 84px;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name {
	min-width: 0;
	padding-right: 0.8rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name a,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name a {
	display: inline-block;
	margin-bottom: 0.2rem;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price .amount,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price .amount {
	font-size: 0.92rem;
	font-weight: 600;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal .amount,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal .amount {
	font-size: 1.18rem;
	font-weight: 700;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .quantity {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto;
}

/* Finaliser l'equilibre desktop du panier pour garder une ligne propre et lisible. */
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-price {
	width: 5.75rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-quantity {
	width: 6rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead th.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents thead th.product-subtotal {
	width: 6.5rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name {
	padding-right: 1rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price {
	width: 5.75rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	text-align: right;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity {
	width: 6rem;
	padding-left: 0.65rem;
	padding-right: 0.65rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
	width: 6.5rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	text-align: right;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price .amount,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price .amount {
	font-size: 0.88rem;
	font-weight: 600;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal .amount,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal .amount {
	font-size: 1.05rem;
	font-weight: 700;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity .quantity,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity .quantity {
	width: 82px;
	min-width: 82px;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions {
	padding: 1rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions .coupon,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions .coupon {
	justify-content: flex-start;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions .coupon .input-text,
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions .coupon .input-text {
	min-width: 13rem;
}

body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions button[name="update_cart"],
body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions input[name="update_cart"],
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions button[name="update_cart"],
.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions input[name="update_cart"] {
	float: right;
	min-width: 13.5rem;
	padding: 0.9rem 1.35rem;
	border-radius: 999px;
	font-size: 0.96rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Fixer le resume panier pendant le scroll. */
body.woocommerce-cart.wolk-cart-designer-active .cart-collaterals,
.wolk-commerce-render--cart .cart-collaterals {
	position: sticky;
	top: var(--wolk-sticky-offset);
	align-self: start;
	min-width: 0;
	margin: 0;
}

/* Habiller la carte de totaux du panier. */
body.woocommerce-cart.wolk-cart-designer-active .cart-collaterals .cart_totals,
.wolk-commerce-render--cart .cart-collaterals .cart_totals {
	position: relative;
	float: none;
	width: 100%;
	margin: 0;
	padding: var(--wolk-summary-card-padding);
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: linear-gradient(180deg, var(--wolk-summary-start), var(--wolk-summary-end));
	box-shadow: 0 10px 24px rgba(63, 48, 30, 0.04);
}

/* Aligner les tableaux de totaux sans décalage latéral. */
body.woocommerce-cart.wolk-cart-designer-active .cart-collaterals .shop_table,
.wolk-commerce-render--cart .cart-collaterals .shop_table {
	margin: 0;
}

/* Organiser la page commande en deux colonnes. */
body.woocommerce-checkout.wolk-cart-designer-active form.checkout,
.wolk-commerce-render--checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, var(--wolk-sidebar-width));
	grid-template-areas:
		"customer summary-title"
		"customer summary";
	column-gap: var(--wolk-gap);
	row-gap: 1rem;
	align-items: start;
	margin: 0;
}

/* Eviter les debordements du bloc client. */
body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #customer_details,
.wolk-commerce-render--checkout form.checkout > #customer_details {
	grid-area: customer;
	align-self: start;
	min-width: 0;
	margin: 0;
	padding: clamp(0.9rem, 1.8vw, 1.25rem);
	border: 1px solid rgba(216, 206, 191, 0.82);
	border-radius: calc(var(--wolk-card-radius) + 8px);
	background: rgba(255, 250, 244, 0.94);
	box-shadow: 0 10px 24px rgba(52, 42, 31, 0.04);
}

/* Forcer le recapitulatif de commande dans la colonne laterale. */
body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #order_review_heading,
.wolk-commerce-render--checkout form.checkout > #order_review_heading {
	grid-area: summary-title;
	align-self: end;
	width: 100%;
	margin: 0;
	padding: 0 0.2rem;
}

body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #order_review,
.wolk-commerce-render--checkout form.checkout > #order_review {
	grid-area: summary;
	align-self: start;
	display: grid;
	gap: 1rem;
	align-content: start;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

/* Supprimer la barre d'accent du wrapper review quand il devient simple conteneur. */
body.woocommerce-checkout.wolk-cart-designer-active #order_review::before,
.wolk-commerce-render--checkout #order_review::before {
	content: none;
}

/* Rendre les colonnes client full width dans la grille custom. */
body.woocommerce-checkout.wolk-cart-designer-active #customer_details .col-1,
body.woocommerce-checkout.wolk-cart-designer-active #customer_details .col-2,
.wolk-commerce-render--checkout #customer_details .col-1,
.wolk-commerce-render--checkout #customer_details .col-2 {
	float: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

/* Aerer les blocs client du checkout. */
body.woocommerce-checkout.wolk-cart-designer-active #customer_details,
.wolk-commerce-render--checkout #customer_details {
	display: grid;
	gap: 1rem;
}

/* Habiller les cartes de facturation et notes. */
body.woocommerce-checkout.wolk-cart-designer-active .woocommerce-billing-fields,
body.woocommerce-checkout.wolk-cart-designer-active .woocommerce-additional-fields,
.wolk-commerce-render--checkout .woocommerce-billing-fields,
.wolk-commerce-render--checkout .woocommerce-additional-fields {
	position: relative;
	display: grid;
	align-content: start;
	gap: 0.2rem;
	margin: 0;
	padding: var(--wolk-form-card-padding);
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: rgba(255, 250, 244, 0.94);
	box-shadow: none;
}

/* Donner de l'air aux titres de cartes et au titre de sidebar. */
body.woocommerce-cart.wolk-cart-designer-active .cart_totals h2,
body.woocommerce-checkout.wolk-cart-designer-active #order_review_heading,
body.woocommerce-checkout.wolk-cart-designer-active .woocommerce-billing-fields h3,
body.woocommerce-checkout.wolk-cart-designer-active .woocommerce-additional-fields h3,
.wolk-commerce-render--cart .cart_totals h2,
.wolk-commerce-render--checkout #order_review_heading,
.wolk-commerce-render--checkout .woocommerce-billing-fields h3,
.wolk-commerce-render--checkout .woocommerce-additional-fields h3 {
	margin-bottom: 0.9rem;
}

/* Normaliser les marges de champs WooCommerce pour un rythme plus propre. */
.wolk-cart-designer-active .woocommerce form .form-row,
.wolk-commerce-render .woocommerce form .form-row {
	margin: 0 0 0.95rem;
}

/* Transformer le paiement en carte premium sans imbriquer une carte inutile autour du wrapper review. */
body.woocommerce-checkout.wolk-cart-designer-active #payment,
.wolk-commerce-render--checkout #payment {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: linear-gradient(180deg, var(--wolk-summary-start), var(--wolk-summary-end));
	box-shadow: 0 10px 24px rgba(63, 48, 30, 0.04);
}

/* Decoller legerement le bloc de paiement du recapitulatif. */
body.woocommerce-checkout.wolk-cart-designer-active #payment,
.wolk-commerce-render--checkout #payment {
	margin-top: 0;
}

/* Harmoniser le vrai tableau de review avec le bloc paiement. */
body.woocommerce-checkout.wolk-cart-designer-active #order_review .woocommerce-checkout-review-order-table,
.wolk-commerce-render--checkout #order_review .woocommerce-checkout-review-order-table {
	margin: 0;
	border: 1px solid rgba(216, 206, 191, 0.9);
	border-radius: var(--wolk-card-radius);
	background: linear-gradient(180deg, var(--wolk-summary-start), var(--wolk-summary-end));
	box-shadow: 0 10px 24px rgba(63, 48, 30, 0.04);
	overflow: hidden;
}

/* Nettoyer la liste des moyens de paiement. */
.wolk-cart-designer-active .wc_payment_methods,
.wolk-commerce-render .wc_payment_methods {
	padding: 0;
	background: transparent !important;
}

/* Aerer chaque methode de paiement. */
.wolk-cart-designer-active .wc_payment_methods .wc_payment_method,
.wolk-commerce-render .wc_payment_methods .wc_payment_method {
	margin: 0;
	padding: 1rem 1.2rem;
	border-bottom: 1px solid rgba(216, 206, 191, 0.85);
	transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Mettre en valeur la methode de paiement selectionnee. */
.wolk-cart-designer-active .wc_payment_methods .wc_payment_method.is-selected,
.wolk-commerce-render .wc_payment_methods .wc_payment_method.is-selected {
	background: rgba(var(--wolk-primary-rgb), 0.08);
}

/* Accentuer legerement le changement de paiement. */
.wolk-cart-designer-active .wc_payment_methods.is-changing-payment .wc_payment_method.is-flashing,
.wolk-commerce-render .wc_payment_methods.is-changing-payment .wc_payment_method.is-flashing {
	transform: translateY(-2px);
	box-shadow: inset 0 0 0 1px rgba(var(--wolk-primary-rgb), 0.16);
}

/* Renforcer le libelle de chaque moyen de paiement. */
.wolk-cart-designer-active .wc_payment_method > label,
.wolk-commerce-render .wc_payment_method > label {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 700;
}

/* Habiller la description detaillee d'une methode de paiement. */
.wolk-cart-designer-active .payment_box,
.wolk-commerce-render .payment_box {
	margin-top: 0.9rem !important;
	padding: 1rem 1.05rem !important;
	border-radius: calc(var(--wolk-card-radius) - 8px);
	background: var(--wolk-field-bg) !important;
	color: var(--wolk-text) !important;
}

/* Structurer l'action finale de commande comme un footer de carte. */
body.woocommerce-checkout.wolk-cart-designer-active #payment .place-order,
.wolk-commerce-render--checkout #payment .place-order {
	padding: 1.2rem;
	border-top: 1px solid rgba(216, 206, 191, 0.85);
	background: rgba(255, 250, 244, 0.48);
}

/* Harmoniser la pointe du bloc de description paiement. */
.wolk-cart-designer-active .payment_box::before,
.wolk-commerce-render .payment_box::before {
	border-bottom-color: var(--wolk-field-bg) !important;
}

/* Uniformiser le tableau de review de commande. */
.wolk-cart-designer-active .woocommerce-checkout-review-order-table th,
.wolk-cart-designer-active .woocommerce-checkout-review-order-table td,
.wolk-commerce-render .woocommerce-checkout-review-order-table th,
.wolk-commerce-render .woocommerce-checkout-review-order-table td {
	font-size: 0.95rem;
}

/* Caler proprement le bloc de liens au-dessus du récapitulatif. */
body.woocommerce-checkout.wolk-cart-designer-active .woocommerce-checkout-review-order-table + .woocommerce-info,
body.woocommerce-checkout.wolk-cart-designer-active .woocommerce-checkout-review-order-table + .woocommerce-message,
.wolk-commerce-render--checkout .woocommerce-checkout-review-order-table + .woocommerce-info,
.wolk-commerce-render--checkout .woocommerce-checkout-review-order-table + .woocommerce-message {
	margin-top: 0;
}

/* Accentuer visuellement les montants importants. */
.wolk-cart-designer-active .order-total strong,
.wolk-cart-designer-active .cart-subtotal .amount,
.wolk-commerce-render .order-total strong,
.wolk-commerce-render .cart-subtotal .amount {
	color: var(--wolk-secondary);
}

/* Préserver l'affichage des montants crédits injectés par le plugin de paiement. */
.wolk-cart-designer-active .wolk-payment-system-credit-price,
.wolk-commerce-render .wolk-payment-system-credit-price {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: inherit;
	font-weight: 700;
}

.wolk-cart-designer-active .wolk-payment-system-credit-price .amount,
.wolk-commerce-render .wolk-payment-system-credit-price .amount {
	color: inherit;
	font-weight: inherit;
}

/* Mettre en forme la ligne de supplément euros sans modifier sa logique. */
.wolk-cart-designer-active tr.fee th,
.wolk-cart-designer-active tr.fee td,
.wolk-commerce-render tr.fee th,
.wolk-commerce-render tr.fee td {
	background: rgba(var(--wolk-secondary-rgb), 0.06);
	color: var(--wolk-text);
	font-weight: 700;
}

/* Masquer les sous-totaux et la TVA quand les billets restent payés en crédits. */
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .cart_totals tr.cart-subtotal,
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .cart_totals tr.tax-rate,
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .cart_totals tr.tax-total,
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .woocommerce-checkout-review-order-table tr.cart-subtotal,
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .woocommerce-checkout-review-order-table tr.tax-rate,
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .woocommerce-checkout-review-order-table tr.tax-total,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .cart_totals tr.cart-subtotal,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .cart_totals tr.tax-rate,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .cart_totals tr.tax-total,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .woocommerce-checkout-review-order-table tr.cart-subtotal,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .woocommerce-checkout-review-order-table tr.tax-rate,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .woocommerce-checkout-review-order-table tr.tax-total {
	display: none;
}

/* Retirer les mentions fiscales résiduelles du total quand le règlement reste en crédits. */
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .order-total .includes_tax,
body.wolk-cart-designer-active.wolk-payment-system-ticket-credit-flow .cart_totals .includes_tax,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .order-total .includes_tax,
.wolk-commerce-render.wolk-payment-system-ticket-credit-flow .cart_totals .includes_tax {
	display: none;
}

/* Clarifier visuellement les passerelles pilotées par le plugin de paiement. */
.wolk-cart-designer-active .payment_method_mycred > label,
.wolk-cart-designer-active .payment_method_stripe > label,
.wolk-commerce-render .payment_method_mycred > label,
.wolk-commerce-render .payment_method_stripe > label {
	justify-content: space-between;
}

.wolk-cart-designer-active.wolk-payment-system-active .wc_payment_methods,
.wolk-commerce-render.wolk-payment-system-active .wc_payment_methods {
	border-top: 1px solid rgba(216, 206, 191, 0.85);
}

/* Harmoniser les liens avec la palette Wolk. */
.wolk-cart-designer-active a,
.wolk-commerce-render a {
	color: var(--wolk-primary);
}

.wolk-cart-designer-active a:hover,
.wolk-commerce-render a:hover {
	color: var(--wolk-secondary);
}

/* Adapter la mise en page tablette en une seule colonne. */
@media (max-width: 1024px) {
	.wolk-commerce-hero__shell {
		grid-template-columns: minmax(0, 1fr);
	}

	.wolk-commerce-highlights ul {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce,
	body.woocommerce-checkout.wolk-cart-designer-active form.checkout,
	.wolk-commerce-render--cart .woocommerce,
	.wolk-commerce-render--checkout form.checkout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-checkout.wolk-cart-designer-active form.checkout,
	.wolk-commerce-render--checkout form.checkout {
		grid-template-areas:
			"customer"
			"summary-title"
			"summary";
	}

	body.woocommerce-cart.wolk-cart-designer-active .cart-collaterals,
	body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #order_review_heading,
	body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #order_review,
	.wolk-commerce-render--cart .cart-collaterals,
	.wolk-commerce-render--checkout form.checkout > #order_review_heading,
	.wolk-commerce-render--checkout form.checkout > #order_review {
		grid-column: auto;
		position: static;
	}

	body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #customer_details,
	.wolk-commerce-render--checkout form.checkout > #customer_details {
		padding: 1rem;
	}

	body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #order_review_heading,
	.wolk-commerce-render--checkout form.checkout > #order_review_heading {
		padding: 0;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail img,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail img {
		width: 96px;
		min-width: 96px;
		height: 96px;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name {
		min-width: 220px;
	}
}

/* Adapter les espacements et tableaux sur mobile. */
@media (max-width: 767px) {
	.wolk-commerce-render {
		padding: 1rem 0.8rem 1.5rem;
	}

	.wolk-commerce-hero {
		padding: 1.35rem;
		min-height: auto;
		border-radius: calc(var(--wolk-section-radius) - 10px);
	}

	.wolk-commerce-hero h1 {
		font-size: clamp(2rem, 10vw, 2.8rem);
		line-height: 0.98;
	}

	.wolk-commerce-hero__panel {
		padding: 1rem;
	}

	.wolk-commerce-hero__metrics li {
		align-items: start;
		flex-direction: column;
	}

	.wolk-cart-designer-active table.shop_table td,
	.wolk-cart-designer-active table.shop_table th,
	.wolk-commerce-render table.shop_table td,
	.wolk-commerce-render table.shop_table th {
		padding: 0.9rem 0.75rem;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents thead,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents thead {
		display: none;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents {
		min-width: 0;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item {
		display: grid;
		grid-template-columns: 2.1rem 4.9rem minmax(0, 1fr);
		grid-template-areas:
			"remove media name"
			". media price"
			". media quantity"
			". media subtotal";
		gap: 0.6rem 0.8rem;
		padding: 1rem 0;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents tbody tr.wolk-cart-item > td,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents tbody tr.wolk-cart-item > td {
		display: block;
		padding: 0;
		border: 0;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail img,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail img {
		width: 76px;
		min-width: 76px;
		height: 76px;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-remove,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-remove {
		grid-area: remove;
		width: auto;
		padding-top: 0.25rem;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-thumbnail,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-thumbnail {
		grid-area: media;
		width: auto;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name {
		grid-area: name;
		min-width: 0;
		padding-right: 0;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-name a,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-name a {
		font-size: 1.05rem;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price {
		grid-area: price;
		display: flex;
		align-items: center;
		gap: 0.5rem;
		text-align: left;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-price::before,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-price::before {
		content: "Montant";
		color: var(--wolk-muted);
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-quantity,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-quantity {
		grid-area: quantity;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal {
		grid-area: subtotal;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.8rem;
		margin-top: 0.2rem;
		padding: 0.75rem 0 0;
		border-top: 1px solid rgba(216, 206, 191, 0.8);
		border-left: 0;
		text-align: left;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.product-subtotal::before,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.product-subtotal::before {
		content: "Total";
		color: var(--wolk-muted);
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form__contents td.actions .coupon,
	.wolk-commerce-render--cart .woocommerce-cart-form__contents td.actions .coupon {
		display: grid;
	}

	body.woocommerce-cart.wolk-cart-designer-active .woocommerce-cart-form,
	body.woocommerce-checkout.wolk-cart-designer-active form.checkout > #customer_details,
	.wolk-commerce-render--cart .woocommerce-cart-form,
	.wolk-commerce-render--checkout form.checkout > #customer_details {
		padding: 0.9rem;
	}

	.wolk-cart-designer-active .coupon,
	.wolk-commerce-render .coupon {
		display: grid;
	}

	.wolk-cart-designer-active .button,
	.wolk-cart-designer-active button.button,
	.wolk-cart-designer-active input.button,
	.wolk-cart-designer-active #payment #place_order,
	.wolk-commerce-render .button,
	.wolk-commerce-render button.button,
	.wolk-commerce-render input.button,
	.wolk-commerce-render #payment #place_order {
		width: 100%;
	}

	body.woocommerce-cart.wolk-cart-designer-active .cross-sells ul.products,
	.wolk-commerce-render--cart .cross-sells ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Finir les ajustements mobiles serrés sur petits écrans. */
@media (max-width: 540px) {
	.wolk-commerce-render {
		padding: 0.75rem 0.5rem 1.25rem;
	}

	.wolk-commerce-hero__panel,
	.wolk-commerce-highlights__card,
	body.woocommerce-cart.wolk-cart-designer-active .cart-collaterals .cart_totals,
	body.woocommerce-checkout.wolk-cart-designer-active #order_review,
	body.woocommerce-checkout.wolk-cart-designer-active #payment,
	.wolk-commerce-render--cart .cart-collaterals .cart_totals,
	.wolk-commerce-render--checkout #order_review,
	.wolk-commerce-render--checkout #payment {
		padding: 0.95rem;
	}

	.wolk-cart-designer-active .wc_payment_methods .wc_payment_method,
	.wolk-commerce-render .wc_payment_methods .wc_payment_method {
		padding: 0.9rem 0.95rem;
	}
}

/* Respecter les preferences de mouvement reduit. */
@media (prefers-reduced-motion: reduce) {
	.wolk-animate-in,
	.wolk-cart-designer-active .button,
	.wolk-cart-designer-active button.button,
	.wolk-cart-designer-active input.button,
	.wolk-cart-designer-active #payment #place_order,
	.wolk-commerce-render .button,
	.wolk-commerce-render button.button,
	.wolk-commerce-render input.button,
	.wolk-commerce-render #payment #place_order,
	.wolk-cart-designer-active .wc_payment_methods .wc_payment_method,
	.wolk-commerce-render .wc_payment_methods .wc_payment_method {
		transition: none !important;
	}

	.wolk-animate-in {
		opacity: 1;
		transform: none;
	}
}
