/* ==========================================================================
   Panier mobile "Bag" - WooCommerce  (page panier + pop-up panier)
   Les couleurs sont injectées en style inline sur .wcbc
   (réglages : WooCommerce > Panier mobile). Valeurs par défaut ci-dessous.
   Astuce : --wcbc-sticky-top règle le décalage du récapitulatif sticky (en plus des 20 px d'air)
   (augmentez-le si votre site a un en-tête fixe).
   ========================================================================== */

.wcbc {
	--wcbc-primary: #AA7821;
	--wcbc-primary-hover: #9F6403;
	--wcbc-accent: #0b5fcf;
	--wcbc-bg: #FFECCC;
	--wcbc-card: #fff;
	--wcbc-border: rgba(140, 95, 15, 0.22);
	--wcbc-muted: #6f6253;
	--wcbc-radius: 16px;

	width: calc(100% - 24px);
	max-width: 560px;
	margin: 12px auto;
	background: var(--wcbc-bg);
	color: #111;
	font-size: 15px;
	line-height: 1.4;
	border-radius: 24px;
	overflow: hidden;
	overflow: clip;
	box-sizing: border-box;
}

.wcbc *,
.wcbc *::before,
.wcbc *::after {
	box-sizing: border-box;
}

.wcbc .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wcbc svg {
	width: 22px;
	height: 22px;
	flex: none;
}

/* ---------- En-tête ---------- */

.wcbc .wcbc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--wcbc-border);
}

.wcbc .wcbc-title {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

.wcbc .wcbc-count {
	font-weight: 400;
}

.wcbc .wcbc-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: -8px -8px -8px 0;
	color: #111;
	text-decoration: none;
}

/* ---------- Barre de livraison offerte ---------- */

.wcbc .wcbc-ship {
	padding: 20px 20px 8px;
	text-align: center;
}

.wcbc .wcbc-ship-text {
	margin: 0 0 12px;
	font-size: 17px;
}

.wcbc .wcbc-bar {
	height: 5px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.wcbc .wcbc-bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--wcbc-primary), #4a2f00);
	transition: width 0.4s ease;
}

/* ---------- Cartes (lignes panier + suggestions) ---------- */

.wcbc .wcbc-items {
	padding: 16px 16px 4px;
}

.wcbc .wcbc-card {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 14px;
	margin: 0 0 12px;
	padding: 14px;
	background: var(--wcbc-card);
	border-radius: var(--wcbc-radius);
	transition: opacity 0.2s ease;
}

.wcbc .wcbc-card.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.wcbc .wcbc-thumb a,
.wcbc .wcbc-thumb {
	display: block;
}

.wcbc .wcbc-thumb img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 12px;
	background: var(--wcbc-bg);
}

.wcbc .wcbc-body {
	min-width: 0;
}

.wcbc .wcbc-name,
.wcbc .wcbc-name a {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.25;
	color: #111;
	text-decoration: none;
	overflow-wrap: anywhere;
}

/* Attributs de variation : "Taille : Pocket, Couleur : Bordeaux" sur une ligne */
.wcbc dl.variation {
	display: flex;
	flex-wrap: wrap;
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--wcbc-muted);
}

.wcbc dl.variation dt,
.wcbc dl.variation dd {
	margin: 0;
	padding: 0;
	float: none;
}

.wcbc dl.variation dt {
	margin-right: 0.3em;
	font-weight: 400;
}

.wcbc dl.variation dd {
	margin-right: 0.3em;
}

.wcbc dl.variation dd p {
	display: inline;
	margin: 0;
}

.wcbc dl.variation dd:not(:last-of-type)::after {
	content: ",";
}

.wcbc .backorder_notification {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--wcbc-muted);
}

/* Prix + badge */
.wcbc .wcbc-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 8px;
}

.wcbc .wcbc-price,
.wcbc .wcbc-price .amount {
	font-size: 17px;
	font-weight: 500;
}

.wcbc .wcbc-price del,
.wcbc .wcbc-old-price,
.wcbc .wcbc-old-price .amount {
	font-size: 15px;
	font-weight: 400;
	color: var(--wcbc-muted);
	opacity: 1;
}

.wcbc .wcbc-price ins {
	background: none;
	text-decoration: none;
}

.wcbc .wcbc-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--wcbc-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.wcbc .wcbc-line-total {
	margin-top: 4px;
	font-size: 13px;
	color: var(--wcbc-muted);
}

/* Quantité + suppression */
.wcbc .wcbc-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
}

.wcbc .wcbc-stepper {
	display: inline-flex;
	align-items: center;
	height: 44px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.wcbc .wcbc-stepper .wcbc-step {
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.wcbc .wcbc-stepper .wcbc-step:hover,
.wcbc .wcbc-stepper .wcbc-step:focus {
	background: rgba(170, 120, 33, 0.14);
	color: #111;
}

.wcbc .wcbc-stepper .quantity {
	display: block;
	margin: 0;
	float: none;
}

.wcbc .wcbc-stepper input.qty,
.wcbc .wcbc-stepper .wcbc-qty-display {
	display: block;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font-size: 16px;
	line-height: 44px;
	color: #111;
	-moz-appearance: textfield;
	appearance: textfield;
}

.wcbc .wcbc-stepper input.qty::-webkit-outer-spin-button,
.wcbc .wcbc-stepper input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wcbc .wcbc-stepper.is-fixed {
	padding: 0 6px;
}

/* Icône corbeille (on évite la classe .remove de WooCommerce, trop stylée) */
.wcbc .product-remove {
	margin: 0;
	padding: 0;
}

.wcbc .product-remove a.wcbc-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #111;
	text-decoration: none;
	border-radius: 12px;
}

.wcbc .product-remove a.wcbc-remove:hover,
.wcbc .product-remove a.wcbc-remove:focus {
	background: rgba(170, 120, 33, 0.14);
	color: #111;
}

.wcbc .product-remove a.wcbc-remove svg {
	width: 20px;
	height: 20px;
}

/* ---------- Souvent achetés ensemble ---------- */

.wcbc .wcbc-xs {
	padding: 20px 16px 4px;
}

.wcbc .wcbc-xs-title {
	margin: 0 0 4px 4px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

.wcbc .wcbc-xs-text {
	margin: 0 0 16px 4px;
	color: var(--wcbc-muted);
}

.wcbc .wcbc-xs-card {
	grid-template-columns: 80px 1fr;
}

.wcbc .wcbc-xs-card .wcbc-thumb img {
	width: 80px;
	height: 80px;
	background: transparent;
}

.wcbc .wcbc-xs-card .wcbc-name,
.wcbc .wcbc-xs-card .wcbc-name a {
	font-size: 17px;
}

.wcbc .wcbc-xs-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: 12px;
}

.wcbc .wcbc-xs-actions.has-select {
	grid-template-columns: 1fr auto;
}

.wcbc .wcbc-variation {
	width: 100%;
	min-width: 0;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 10px;
	background-color: #fff;
	color: #111;
	font-size: 14px;
	box-shadow: none;
}

.wcbc .wcbc-quick-add {
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 10px;
	background: var(--wcbc-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wcbc .wcbc-quick-add:hover,
.wcbc .wcbc-quick-add:focus,
.wcbc .wcbc-quick-add:active {
	background: var(--wcbc-primary-hover);
	border-color: var(--wcbc-primary-hover);
	color: #fff;
}

.wcbc .wcbc-quick-add.is-loading,
.wcbc .wcbc-quick-add:disabled {
	opacity: 0.55;
	cursor: wait;
}

.wcbc .wcbc-xs-error {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 13px;
	color: #b3261e;
}

/* ---------- Code promo + bouton de mise à jour ---------- */

.wcbc .wcbc-actions {
	padding: 4px 16px 20px;
}

.wcbc .wcbc-coupon-box {
	margin: 8px 0 0;
	padding: 14px 16px;
	background: var(--wcbc-card);
	border-radius: 14px;
}

.wcbc .wcbc-coupon-box summary {
	cursor: pointer;
	font-weight: 500;
}

.wcbc .wcbc-coupon-box .coupon {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.wcbc .wcbc-coupon-box .coupon input.input-text {
	flex: 1;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--wcbc-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
}

.wcbc .wcbc-coupon-box .coupon .wcbc-apply {
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 10px;
	background: transparent;
	color: var(--wcbc-primary-hover);
	font-weight: 500;
	box-shadow: none;
}

.wcbc .wcbc-coupon-box .coupon .wcbc-apply:hover,
.wcbc .wcbc-coupon-box .coupon .wcbc-apply:focus,
.wcbc .wcbc-coupon-box .coupon .wcbc-apply:active {
	background: var(--wcbc-primary-hover);
	border-color: var(--wcbc-primary-hover);
	color: #fff;
}

/* Sans JS : le bouton "Mettre à jour" reste visible. Avec JS : masqué (mise à jour automatique). */
.wcbc .wcbc-update {
	display: block;
	width: 100%;
	height: 44px;
	margin-top: 12px;
	padding: 0 16px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 10px;
	background: transparent;
	color: var(--wcbc-primary-hover);
	font-weight: 500;
}

.wcbc.wcbc-js .wcbc-update {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ---------- Totaux ---------- */
/* Sélecteurs volontairement spécifiques : WooCommerce et les thèmes donnent à .cart_totals
   une largeur de 48 % + float, et au tableau des bordures / paddings. */

.wcbc .cart-collaterals {
	width: 100%;
	float: none;
	margin: 0;
	padding: 20px 20px 24px;
	background: #fff;
	border-radius: 24px 24px 0 0;
}

.woocommerce-cart .wcbc .cart-collaterals .cart_totals,
.wcbc .cart-collaterals .cart_totals {
	float: none;
	clear: both;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.wcbc .wcbc-sum-title {
	display: none;
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table,
.wcbc .cart-collaterals .cart_totals table.wcbc-table tbody {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 6px 0;
	border: 0;
	background: none;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr th,
.wcbc .cart-collaterals .cart_totals table.wcbc-table tr td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	color: inherit;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr th {
	flex: 0 0 auto;
	white-space: nowrap;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr td {
	flex: 1 1 auto;
	text-align: right;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr td::before,
.wcbc .cart-collaterals .cart_totals table.wcbc-table tr th::before {
	content: none;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.cart-discount th,
.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.cart-discount td,
.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.cart-discount a {
	color: var(--wcbc-accent);
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.cart-discount td {
	font-weight: 500;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.cart-discount a.woocommerce-remove-coupon {
	display: block;
	font-size: 13px;
	font-weight: 400;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.shipping td ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.shipping td p {
	margin: 4px 0 0;
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.order-total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--wcbc-border);
}

.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.order-total th,
.wcbc .cart-collaterals .cart_totals table.wcbc-table tr.order-total td {
	font-size: 19px;
	font-weight: 600;
}

.wcbc .wcbc-saved {
	margin: 6px 0 0;
	font-size: 14px;
	text-align: right;
	color: var(--wcbc-accent);
}

/* Bouton de paiement (page panier + pop-up) */
.wcbc .wc-proceed-to-checkout {
	margin: 0;
	padding: 0;
}

.woocommerce-cart .wcbc .wc-proceed-to-checkout a.wcbc-checkout,
.wcbc a.wcbc-checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 56px;
	margin: 18px 0 0;
	padding: 0 16px;
	border: 0;
	border-radius: 14px;
	background: var(--wcbc-primary);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.woocommerce-cart .wcbc .wc-proceed-to-checkout a.wcbc-checkout:hover,
.woocommerce-cart .wcbc .wc-proceed-to-checkout a.wcbc-checkout:focus,
.woocommerce-cart .wcbc .wc-proceed-to-checkout a.wcbc-checkout:active,
.wcbc a.wcbc-checkout:hover,
.wcbc a.wcbc-checkout:focus,
.wcbc a.wcbc-checkout:active {
	background: var(--wcbc-primary-hover);
	color: #fff;
}

.wcbc .wcbc-checkout svg {
	width: 20px;
	height: 20px;
}

/* Réassurance */
.wcbc .wcbc-usps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.wcbc .wcbc-usps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
}

.wcbc .wcbc-usps svg {
	width: 18px;
	height: 18px;
}

/* ---------- Panier vide (messages WooCommerce natifs) ---------- */

.woocommerce-cart .cart-empty {
	max-width: 560px;
	margin: 24px auto 12px;
	text-align: center;
}

.woocommerce-cart .return-to-shop {
	max-width: 560px;
	margin: 0 auto 24px;
	text-align: center;
}

/* ==========================================================================
   Pop-up panier (mini-cart)
   ========================================================================== */

.wcbc.wcbc-mini {
	display: flex;
	flex-direction: column;
	width: auto;
	max-width: none;
	min-height: 100%;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.wcbc.wcbc-mini .wcbc-head {
	padding: 14px 20px;
}

.wcbc.wcbc-mini .wcbc-items {
	padding-top: 12px;
}

.wcbc.wcbc-mini .wcbc-card {
	grid-template-columns: 80px 1fr;
	gap: 12px;
	padding: 12px;
}

.wcbc.wcbc-mini .wcbc-thumb img {
	width: 80px;
	height: 80px;
}

.wcbc.wcbc-mini .wcbc-name,
.wcbc.wcbc-mini .wcbc-name a {
	font-size: 17px;
}

.wcbc.wcbc-mini .wcbc-xs {
	padding-top: 12px;
}

.wcbc.wcbc-mini .wcbc-xs-title {
	font-size: 19px;
}

.wcbc.wcbc-mini .wcbc-xs-card {
	grid-template-columns: 64px 1fr;
}

.wcbc.wcbc-mini .wcbc-xs-card .wcbc-thumb img {
	width: 64px;
	height: 64px;
}

.wcbc.wcbc-mini .wcbc-xs-actions.has-select {
	grid-template-columns: 1fr;
}

.wcbc.wcbc-mini .wcbc-mini-footer {
	position: sticky;
	bottom: 0;
	margin-top: auto;
	padding: 18px 20px 20px;
	background: #fff;
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -6px 20px rgba(90, 60, 0, 0.08);
}

.wcbc .wcbc-mini-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 3px 0;
	font-size: 16px;
}

.wcbc .wcbc-mini-row strong {
	font-size: 19px;
	font-weight: 600;
}

.wcbc .wcbc-mini-row.is-saving {
	font-size: 14px;
	color: var(--wcbc-accent);
}

.wcbc .wcbc-view-cart {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	text-align: center;
	color: #111;
	text-decoration: underline;
}

.wcbc .wcbc-mini-empty {
	padding: 40px 20px;
	text-align: center;
}

.wcbc .wcbc-mini-empty p {
	margin: 0 0 8px;
	font-size: 17px;
}

/* ==========================================================================
   Écrans moyens (tablette)
   ========================================================================== */

@media (min-width: 768px) {
	.wcbc:not(.wcbc-mini):not(.wcbc-co) {
		max-width: 680px;
		margin-top: 24px;
		margin-bottom: 24px;
		box-shadow: 0 10px 40px rgba(90, 60, 0, 0.12);
	}
}

/* ==========================================================================
   Laptop / bureau : 2 colonnes (panier à gauche, récapitulatif sticky à droite)
   ========================================================================== */

@media (min-width: 992px) {
	.wcbc:not(.wcbc-mini):not(.wcbc-co) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		align-items: start;
		width: calc(100% - 48px);
		max-width: 1120px;
	}

	.wcbc:not(.wcbc-mini) .woocommerce-cart-form {
		min-width: 0;
	}

	.wcbc:not(.wcbc-mini) .wcbc-head {
		padding: 24px 28px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-title {
		font-size: 22px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-ship {
		padding: 24px 28px 8px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-items {
		padding: 20px 24px 4px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-card {
		grid-template-columns: 120px 1fr;
		gap: 20px;
		padding: 18px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-card .wcbc-thumb img {
		width: 120px;
		height: 120px;
	}

	/* Suggestions : 3 cartes verticales en grille */
	.wcbc:not(.wcbc-mini) .wcbc-xs {
		padding: 28px 24px 8px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-xs-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-xs-card {
		grid-template-columns: 1fr;
		gap: 12px;
		margin: 0;
		padding: 14px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-xs-card .wcbc-thumb img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}

	.wcbc:not(.wcbc-mini) .wcbc-xs-actions.has-select {
		grid-template-columns: 1fr;
	}

	.wcbc:not(.wcbc-mini) .wcbc-actions {
		padding: 8px 24px 28px;
	}

	/* Récapitulatif : carte blanche collée en haut pendant le défilement */
	.wcbc:not(.wcbc-mini) .cart-collaterals {
		position: sticky;
		top: var(--wcbc-sticky-top, 24px);
		margin: 24px 24px 24px 0;
		padding: 28px 26px;
		border-radius: 20px;
		box-shadow: 0 6px 24px rgba(90, 60, 0, 0.12);
	}

	.wcbc:not(.wcbc-mini) .wcbc-sum-title {
		display: block;
	}

	.wcbc:not(.wcbc-mini) .wcbc-usps {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-top: 22px;
		padding-top: 18px;
		border-top: 1px solid var(--wcbc-border);
	}

	.wcbc:not(.wcbc-mini) .wcbc-usps li {
		font-size: 14px;
	}
}

/* Très petits écrans */
@media (max-width: 380px) {
	.wcbc:not(.wcbc-mini) .wcbc-card {
		grid-template-columns: 80px 1fr;
		gap: 12px;
		padding: 12px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-thumb img {
		width: 80px;
		height: 80px;
	}

	.wcbc:not(.wcbc-mini) .wcbc-xs-card {
		grid-template-columns: 64px 1fr;
	}

	.wcbc:not(.wcbc-mini) .wcbc-xs-card .wcbc-thumb img {
		width: 64px;
		height: 64px;
	}

	.wcbc .wcbc-xs-actions.has-select {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Page paiement (checkout) : 2 colonnes, récapitulatif fixe à droite
   Sélecteurs volontairement spécifiques (ID #payment, form.checkout...) :
   WooCommerce et les thèmes stylent fortement ces éléments.
   ========================================================================== */

.wcbc.wcbc-co {
	display: flex;
	flex-direction: column;
	max-width: 1180px;
	width: calc(100% - 24px);
	margin: 12px auto;
	border-radius: 24px;
}

.wcbc-co .wcbc-co-main {
	min-width: 0;
	padding: 20px 16px 28px;
}

.wcbc-co .wcbc-co-form {
	max-width: 560px;
	margin: 0 auto;
}

/* ---------- Titres et textes ---------- */

.wcbc-co .wcbc-co-section,
.wcbc-co .wcbc-shipping-section:not(:empty) {
	margin-top: 28px;
}

.wcbc-co .wcbc-co-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

.wcbc-co .wcbc-co-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.wcbc-co .wcbc-co-login {
	margin-bottom: 14px;
	font-size: 14px;
	color: #111;
	text-decoration: underline;
}

.wcbc-co .wcbc-co-sub {
	margin: -8px 0 14px;
	font-size: 14px;
	color: var(--wcbc-muted);
}

.wcbc-co .wcbc-co-note {
	margin: 0;
	padding: 16px;
	border-radius: 12px;
	background: rgba(170, 120, 33, 0.12);
	text-align: center;
	font-size: 14px;
	color: var(--wcbc-muted);
}

.wcbc-co .wcbc-co-logo {
	margin-bottom: 18px;
	text-align: center;
}

.wcbc-co .wcbc-co-logo img {
	width: auto;
	max-width: 100%;
	max-height: 90px;
}

/* ---------- Paiement express ---------- */

.wcbc-co .wcbc-co-express-head {
	margin: 0 0 10px;
	text-align: center;
	font-size: 14px;
	color: var(--wcbc-muted);
}

.wcbc-co .wcbc-co-or {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 0;
	font-size: 13px;
	color: var(--wcbc-muted);
}

.wcbc-co .wcbc-co-or::before,
.wcbc-co .wcbc-co-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--wcbc-border);
}

.wcbc-co .wcbc-co-express.is-empty .wcbc-co-express-head,
.wcbc-co .wcbc-co-express.is-empty .wcbc-co-or {
	display: none;
}

/* ---------- Champs (labels flottants) ---------- */

.wcbc-co .woocommerce-billing-fields__field-wrapper,
.wcbc-co .woocommerce-shipping-fields__field-wrapper,
.wcbc-co .woocommerce-additional-fields__field-wrapper,
.wcbc-co .wcbc-contact-fields,
.wcbc-co .woocommerce-account-fields .create-account {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wcbc.wcbc-co form.checkout p.form-row {
	position: relative;
	flex: 1 1 100%;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.wcbc.wcbc-co form.checkout p.form-row-first,
.wcbc.wcbc-co form.checkout p.form-row-last {
	flex: 1 1 calc(50% - 6px);
}

.wcbc.wcbc-co form.checkout p.form-row[id$="_postcode_field"],
.wcbc.wcbc-co form.checkout p.form-row[id$="_city_field"],
.wcbc.wcbc-co form.checkout p.form-row[id$="_state_field"] {
	flex: 1 1 140px;
}

.wcbc.wcbc-co form.checkout p.form-row .woocommerce-input-wrapper {
	display: block;
}

.wcbc.wcbc-co form.checkout p.form-row .input-text,
.wcbc.wcbc-co form.checkout p.form-row textarea,
.wcbc.wcbc-co form.checkout p.form-row select {
	display: block;
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 24px 15px 8px;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	font-size: 16px;
	line-height: 1.3;
	color: #111;
	box-sizing: border-box;
}

.wcbc.wcbc-co form.checkout p.form-row textarea {
	height: auto;
	min-height: 96px;
	padding-top: 28px;
}

.wcbc.wcbc-co form.checkout p.form-row .input-text:focus,
.wcbc.wcbc-co form.checkout p.form-row textarea:focus,
.wcbc.wcbc-co form.checkout p.form-row select:focus {
	outline: none;
	border-color: var(--wcbc-primary);
	box-shadow: 0 0 0 3px rgba(170, 120, 33, 0.22);
}

.wcbc.wcbc-co form.checkout p.form-row.woocommerce-invalid .input-text,
.wcbc.wcbc-co form.checkout p.form-row.woocommerce-invalid select {
	border-color: #b3261e;
}

.wcbc.wcbc-co form.checkout p.form-row .checkout-inline-error-message {
	margin: 4px 2px 0;
	font-size: 13px;
	color: #b3261e;
}

/* Label qui flotte : au centre du champ vide, en haut quand rempli / focus */
.wcbc.wcbc-co form.checkout p.form-row.wcbc-float > label {
	position: absolute;
	top: 18px;
	left: 16px;
	z-index: 2;
	display: block;
	max-width: calc(100% - 52px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--wcbc-muted);
	pointer-events: none;
	transition: top 0.15s ease, font-size 0.15s ease;
}

.wcbc.wcbc-co form.checkout p.form-row.wcbc-float.wcbc-filled > label,
.wcbc.wcbc-co form.checkout p.form-row.wcbc-float:focus-within > label,
.wcbc.wcbc-co form.checkout p.form-row.wcbc-float:has(select) > label,
.wcbc.wcbc-co form.checkout p.form-row.wcbc-float:has(input:-webkit-autofill) > label,
.wcbc.wcbc-co form.checkout p.form-row.wcbc-float:has(.woocommerce-input-wrapper > strong) > label {
	top: 8px;
	font-size: 11.5px;
}

.wcbc.wcbc-co form.checkout p.form-row.wcbc-float .woocommerce-input-wrapper > strong {
	display: block;
	padding: 24px 15px 8px;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: #fff;
	font-weight: 400;
}

.wcbc.wcbc-co form.checkout p.form-row label .required {
	color: var(--wcbc-primary-hover);
	text-decoration: none;
}

.wcbc.wcbc-co form.checkout p.form-row label .optional {
	font-size: inherit;
}

/* Listes déroulantes (selectWoo : pays, région) */
.wcbc-co .select2-container {
	width: 100% !important;
}

.wcbc-co .select2-container .select2-selection--single {
	height: 56px;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: #fff;
}

.wcbc-co .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 24px 40px 8px 15px;
	font-size: 16px;
	line-height: 1.3;
	color: #111;
}

.wcbc-co .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 8px;
	height: 56px;
}

.wcbc-co .select2-container--open .select2-selection--single,
.wcbc-co .select2-container--focus .select2-selection--single {
	border-color: var(--wcbc-primary);
}

/* Cases à cocher */
.wcbc.wcbc-co form.checkout p.form-row label.checkbox,
.wcbc-co .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	position: static;
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.3;
	cursor: pointer;
}

.wcbc-co input[type="checkbox"],
.wcbc-co input[type="radio"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wcbc-primary);
}

/* "Livrer à une adresse différente ?" et "Informations complémentaires" */
.wcbc-co .woocommerce-shipping-fields,
.wcbc-co .woocommerce-additional-fields {
	margin-top: 20px;
}

.wcbc-co .woocommerce-additional-fields > h3 {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: inherit;
}

/* Case "Livrer à une adresse différente ?" : ligne encadrée bien visible */
.wcbc.wcbc-co #ship-to-different-address {
	margin: 0 0 14px;
	padding: 14px 16px;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: inherit;
}

.wcbc.wcbc-co #ship-to-different-address label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.wcbc-co .shipping_address {
	margin-top: 8px;
}

/* ---------- Mode de livraison (choix natifs de WooCommerce) ---------- */

.wcbc-co .wcbc-ship-table,
.wcbc-co .wcbc-ship-table tbody,
.wcbc-co .wcbc-ship-table tr,
.wcbc-co .wcbc-ship-table th,
.wcbc-co .wcbc-ship-table td {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.wcbc-co .wcbc-ship-table th {
	display: none;
}

.wcbc.wcbc-co #shipping_method,
.wcbc.wcbc-co .wc_payment_methods {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--wcbc-border);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.wcbc.wcbc-co #shipping_method li,
.wcbc.wcbc-co .wc_payment_methods > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 10px;
	margin: 0;
	padding: 16px;
	border-top: 1px solid var(--wcbc-border);
	list-style: none;
	text-align: left;
}

.wcbc.wcbc-co #shipping_method li:first-child,
.wcbc.wcbc-co .wc_payment_methods > li:first-child {
	border-top: 0;
}

.wcbc.wcbc-co #shipping_method li:has(input:checked),
.wcbc.wcbc-co .wc_payment_methods > li:has(> input:checked) {
	background: #fffaf1;
}

.wcbc.wcbc-co #shipping_method li label {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

/* ---------- Paiement (passerelles WooCommerce) ---------- */

.wcbc.wcbc-co #payment {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.wcbc.wcbc-co #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 1px solid var(--wcbc-border);
	border-radius: 14px;
}

.wcbc.wcbc-co #payment .wc_payment_methods > li > label {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.wcbc.wcbc-co #payment .wc_payment_methods > li > label img {
	width: auto;
	max-height: 24px;
	margin: 0 0 0 auto;
}

.wcbc.wcbc-co #payment div.payment_box {
	flex: 1 1 100%;
	width: 100%;
	margin: 14px 0 0;
	padding: 14px;
	border-radius: 12px;
	background: var(--wcbc-bg);
	font-size: 14px;
	color: #111;
}

.wcbc.wcbc-co #payment div.payment_box::before,
.wcbc.wcbc-co #payment div.payment_box::after {
	display: none;
}

.wcbc.wcbc-co #payment div.payment_box p {
	margin: 0 0 8px;
}

.wcbc.wcbc-co #payment .form-row.place-order {
	margin: 18px 0 0;
	padding: 0;
}

.wcbc-co .woocommerce-terms-and-conditions-wrapper,
.wcbc-co .woocommerce-privacy-policy-text {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--wcbc-muted);
}

.wcbc-co .woocommerce-privacy-policy-text a,
.wcbc-co .woocommerce-terms-and-conditions-wrapper a {
	color: inherit;
	text-decoration: underline;
}

/* Bouton "Payer" : #place_order est un ID, il bat les styles du thème */
.wcbc.wcbc-co #payment #place_order {
	display: block;
	float: none;
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 14px;
	background: var(--wcbc-primary);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.wcbc.wcbc-co #payment #place_order:hover,
.wcbc.wcbc-co #payment #place_order:focus,
.wcbc.wcbc-co #payment #place_order:active {
	background: var(--wcbc-primary-hover);
	color: #fff;
}

/* Liens du bas */
.wcbc-co .wcbc-co-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 32px;
	padding-top: 18px;
	border-top: 1px solid var(--wcbc-border);
	font-size: 13px;
}

.wcbc-co .wcbc-co-links a {
	color: #111;
	text-decoration: underline;
}

/* ---------- Récapitulatif (colonne de droite) ---------- */

.wcbc-co .wcbc-co-summary {
	order: -1; /* mobile : le récapitulatif (repliable) passe au-dessus du formulaire */
	margin: 12px 12px 0;
}

.wcbc-co .wcbc-co-summary-card {
	border-radius: 16px;
	background: #fff;
}

.wcbc-co .wcbc-co-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: #111;
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
}

.wcbc-co .wcbc-co-toggle:hover,
.wcbc-co .wcbc-co-toggle:focus {
	background: transparent;
	color: #111;
}

.wcbc-co .wcbc-co-toggle-total {
	font-size: 17px;
	font-weight: 600;
}

.wcbc-co .wcbc-co-summary-body {
	padding: 0 16px 18px;
}

.wcbc-co .wcbc-sum-title {
	display: none;
}

/* Sans JS le récapitulatif reste visible ; avec JS il est replié sur mobile */
.wcbc.wcbc-js .wcbc-co-summary:not(.is-open) .wcbc-co-summary-body {
	display: none;
}

.wcbc-co #order_review {
	float: none;
	width: 100%;
	padding: 0;
}

/* Articles */
.wcbc-co .wcbc-co-item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
}

.wcbc-co .wcbc-co-thumb {
	position: relative;
}

.wcbc-co .wcbc-co-thumb img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: var(--wcbc-bg);
}

.wcbc-co .wcbc-co-qty {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #5b5047;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 22px;
	text-align: center;
}

.wcbc-co .wcbc-co-name {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.wcbc-co dl.variation {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--wcbc-muted);
}

.wcbc-co dl.variation dt,
.wcbc-co dl.variation dd {
	display: inline;
	margin: 0;
	padding: 0;
	float: none;
}

.wcbc-co dl.variation dd p {
	display: inline;
	margin: 0;
}

.wcbc-co dl.variation dd::after {
	content: "";
	display: block;
}

.wcbc-co .wcbc-co-price {
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

/* Code promo */
.wcbc-co .wcbc-coupon-form {
	margin: 14px 0 6px;
}

.wcbc-co .wcbc-coupon-row {
	display: flex;
	gap: 8px;
}

.wcbc-co .wcbc-coupon-row input {
	flex: 1;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	font-size: 15px;
}

.wcbc-co .wcbc-coupon-row input:focus {
	outline: none;
	border-color: var(--wcbc-primary);
	box-shadow: 0 0 0 3px rgba(170, 120, 33, 0.22);
}

.wcbc-co .wcbc-coupon-row button {
	height: 48px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 12px;
	background: var(--wcbc-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.wcbc-co .wcbc-coupon-row button:hover,
.wcbc-co .wcbc-coupon-row button:focus,
.wcbc-co .wcbc-coupon-row button:active {
	background: var(--wcbc-primary-hover);
	border-color: var(--wcbc-primary-hover);
	color: #fff;
}

.wcbc-co .wcbc-coupon-form.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.wcbc-co .wcbc-coupon-msg {
	margin: 6px 2px 0;
	font-size: 13px;
}

.wcbc-co .wcbc-coupon-msg:empty {
	display: none;
}

.wcbc-co .wcbc-coupon-msg.is-ok {
	color: var(--wcbc-accent);
}

.wcbc-co .wcbc-coupon-msg.is-error {
	color: #b3261e;
}

/* Totaux */
.wcbc-co .wcbc-co-totals {
	margin-top: 12px;
}

.wcbc-co .wcbc-co-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 5px 0;
	font-size: 15px;
}

.wcbc-co .wcbc-co-row > span:last-child {
	text-align: right;
}

.wcbc-co .wcbc-co-muted {
	font-size: 14px;
	color: var(--wcbc-muted);
}

.wcbc-co .wcbc-co-row.cart-discount,
.wcbc-co .wcbc-co-row.cart-discount a {
	color: var(--wcbc-accent);
}

.wcbc-co .wcbc-co-row.cart-discount a.woocommerce-remove-coupon {
	display: block;
	font-size: 12px;
}

.wcbc-co .wcbc-co-row.order-total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--wcbc-border);
	font-size: 19px;
	font-weight: 600;
}

.wcbc-co .wcbc-co-cur {
	margin-right: 4px;
	font-size: 12px;
	font-weight: 400;
	color: var(--wcbc-muted);
}

.wcbc-co .wcbc-co-row.order-total small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--wcbc-muted);
}

/* ---------- Laptop / bureau : récapitulatif fixe à droite ---------- */

@media (min-width: 992px) {
	.wcbc.wcbc-co {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
		align-items: start;
		width: calc(100% - 48px);
		margin: 24px auto;
		padding: 0;
		box-shadow: 0 10px 40px rgba(90, 60, 0, 0.12);
		overflow: visible; /* indispensable au position: sticky du récapitulatif */
	}

	.wcbc-co .wcbc-co-main {
		grid-column: 1;
		grid-row: 1;
		padding: 40px 48px 48px;
	}

	/*
	 * Colonne fixe : l'<aside> est transparente et collée tout en haut ; c'est son padding-top
	 * (20 px) qui crée l'espace au-dessus de la carte blanche, quoi qu'il arrive au "top".
	 */
	.wcbc.wcbc-co .wcbc-co-summary {
		order: 0;
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: var(--wcbc-sticky-top, 0px);
		align-self: start;
		margin: 0 24px 0 0;
		padding: 20px 0;
		background: transparent;
	}

	.wcbc.wcbc-co .wcbc-co-summary-card {
		max-height: calc(100vh - var(--wcbc-sticky-top, 0px) - 40px);
		overflow-y: auto;
		box-shadow: 0 6px 24px rgba(90, 60, 0, 0.12);
		border-radius: 20px;
	}

	.wcbc-co .wcbc-co-toggle {
		display: none;
	}

	.wcbc-co .wcbc-co-summary-body {
		padding: 28px 26px;
	}

	/* Toujours visible sur ordinateur, même avec JS */
	.wcbc.wcbc-js .wcbc-co-summary:not(.is-open) .wcbc-co-summary-body {
		display: block;
	}

	.wcbc-co .wcbc-sum-title {
		display: block;
		margin: 0 0 16px;
		font-size: 22px;
		font-weight: 500;
		line-height: 1.2;
		color: inherit;
	}
}

/* Note de diagnostic (administrateurs uniquement) */
.wcbc-co .wcbc-co-note.wcbc-co-admin {
	margin-top: 12px;
	border: 1px solid #ffe69c;
	background: #fff3cd;
	text-align: left;
	color: #664d03;
}

.wcbc-co .wcbc-co-admin ul {
	margin: 6px 0 0 18px;
	padding: 0;
}

.wcbc-co .wcbc-co-admin li {
	margin: 0 0 4px;
}

/* ==========================================================================
   Page de remerciement (order-received)
   ========================================================================== */

.wcbc.wcbc-ty {
	max-width: 1000px;
	padding: 20px 16px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-radius: 24px;
}

.wcbc.wcbc-ty h2,
.wcbc.wcbc-ty h3,
.wcbc.wcbc-ty p,
.wcbc.wcbc-ty ul,
.wcbc.wcbc-ty ol,
.wcbc.wcbc-ty dl,
.wcbc.wcbc-ty dd {
	margin: 0;
	padding: 0;
	border: 0;
}

.wcbc.wcbc-ty ul,
.wcbc.wcbc-ty ol {
	list-style: none;
}

/* Héros : remerciement */
.wcbc-ty .wcbc-ty-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 28px 18px 24px;
	background: var(--wcbc-card);
	border-radius: var(--wcbc-radius);
	text-align: center;
}

.wcbc-ty .wcbc-ty-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--wcbc-primary);
	color: #fff;
}

.wcbc-ty .wcbc-ty-check svg {
	width: 32px;
	height: 32px;
	stroke-width: 2.4;
}

.wcbc-ty .wcbc-ty-check.is-warn {
	background: #c0392b;
}

.wcbc.wcbc-ty .wcbc-ty-title {
	font-size: 28px;
	line-height: 1.15;
	font-weight: 700;
	color: #111;
}

.wcbc-ty .wcbc-ty-lead {
	max-width: 520px;
	font-size: 16px;
	color: #222;
}

.wcbc-ty .wcbc-ty-mail {
	max-width: 520px;
	color: var(--wcbc-muted);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.wcbc-ty .wcbc-ty-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 6px;
}

.wcbc-ty .wcbc-ty-chips li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 16px;
	background: var(--wcbc-bg);
	border-radius: 12px;
	font-size: 14px;
	text-align: center;
}

.wcbc-ty .wcbc-ty-chips li span {
	color: var(--wcbc-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Titres de cartes */
.wcbc.wcbc-ty .wcbc-ty-h2 {
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
	color: #111;
}

.wcbc.wcbc-ty .wcbc-ty-h3 {
	margin: 18px 0 8px;
	font-size: 15px;
	font-weight: 700;
}

/* La suite */
.wcbc-ty .wcbc-ty-steps,
.wcbc-ty .wcbc-ty-card {
	padding: 18px 16px;
	background: var(--wcbc-card);
	border-radius: var(--wcbc-radius);
}

.wcbc-ty .wcbc-ty-steps ol {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wcbc-ty .wcbc-ty-steps li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.wcbc-ty .wcbc-ty-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wcbc-bg);
	color: var(--wcbc-primary-hover);
	font-weight: 700;
	font-size: 14px;
}

.wcbc-ty .wcbc-ty-steps strong {
	display: block;
	font-size: 15px;
}

.wcbc-ty .wcbc-ty-steps li p {
	margin-top: 2px;
	color: var(--wcbc-muted);
	font-size: 14px;
}

/* Grille résumé / côté */
.wcbc-ty .wcbc-ty-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wcbc-ty .wcbc-ty-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.wcbc-ty .wcbc-ty-summary {
	min-width: 0;
}

/* Articles */
.wcbc-ty .wcbc-ty-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--wcbc-border);
}

.wcbc-ty .wcbc-ty-item:first-child {
	padding-top: 0;
}

.wcbc-ty .wcbc-ty-thumb {
	position: relative;
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: var(--wcbc-bg);
}

.wcbc-ty .wcbc-ty-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.wcbc-ty .wcbc-ty-qty {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--wcbc-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 22px;
	text-align: center;
}

.wcbc-ty .wcbc-ty-info {
	flex: 1;
	min-width: 0;
}

.wcbc-ty .wcbc-ty-name {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.wcbc-ty .wcbc-ty-name a {
	color: inherit;
	text-decoration: none;
}

.wcbc-ty .wcbc-ty-info .wc-item-meta {
	margin: 2px 0 0;
	color: var(--wcbc-muted);
	font-size: 13px;
}

.wcbc-ty .wcbc-ty-info .wc-item-meta li {
	display: block;
	margin: 0;
}

.wcbc-ty .wcbc-ty-info .wc-item-meta p {
	display: inline;
}

.wcbc-ty .wcbc-ty-note {
	margin-top: 4px;
	font-size: 13px;
	color: var(--wcbc-muted);
}

.wcbc-ty .wcbc-ty-price {
	flex: none;
	font-weight: 600;
	white-space: nowrap;
}

/* Totaux */
.wcbc-ty .wcbc-ty-totals {
	padding-top: 10px;
}

.wcbc-ty .wcbc-ty-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 0;
	color: #333;
}

.wcbc-ty .wcbc-ty-row span:last-child {
	text-align: right;
}

.wcbc-ty .wcbc-ty-row.order_total {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--wcbc-border);
	font-size: 18px;
	font-weight: 700;
	color: #111;
}

.wcbc-ty .wcbc-ty-downloads li {
	display: flex;
	flex-direction: column;
	padding: 6px 0;
}

.wcbc-ty .wcbc-ty-downloads li span {
	color: var(--wcbc-muted);
	font-size: 13px;
}

/* Paiement */
.wcbc-ty .wcbc-ty-dl > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--wcbc-border);
}

.wcbc-ty .wcbc-ty-dl > div:last-child {
	border-bottom: 0;
}

.wcbc-ty .wcbc-ty-dl dt {
	color: var(--wcbc-muted);
	font-size: 14px;
}

.wcbc-ty .wcbc-ty-dl dd {
	font-weight: 600;
	text-align: right;
}

.wcbc-ty .wcbc-ty-status {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: #fff3cd;
	color: #664d03;
	font-size: 13px;
	font-weight: 600;
}

.wcbc-ty .wcbc-ty-status.is-paid {
	background: #d8f3e0;
	color: #14532d;
}

.wcbc-ty .wcbc-ty-gateway {
	margin-top: 14px;
	padding: 14px;
	background: var(--wcbc-bg);
	border-radius: 12px;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.wcbc-ty .wcbc-ty-gateway h2,
.wcbc-ty .wcbc-ty-gateway h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.wcbc-ty .wcbc-ty-gateway ul {
	margin: 8px 0 0;
}

.wcbc-ty .wcbc-ty-gateway li {
	padding: 2px 0;
}

/* Adresses */
.wcbc-ty address.wcbc-ty-address {
	font-style: normal;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.wcbc-ty .wcbc-ty-meta {
	margin-top: 8px;
	color: var(--wcbc-muted);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.wcbc-ty .wcbc-ty-recipient {
	padding-top: 10px;
	border-top: 1px solid var(--wcbc-border);
}

/* Compte client */
.wcbc-ty .wcbc-ty-account {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wcbc-ty .wcbc-ty-account .wcbc-ty-h2 {
	margin-bottom: 6px;
}

.wcbc-ty .wcbc-ty-account p {
	color: var(--wcbc-muted);
	font-size: 14px;
	overflow-wrap: anywhere;
}

/* Boutons */
.wcbc-ty .wcbc-ty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.wcbc-ty .wcbc-ty-account .wcbc-ty-actions {
	justify-content: flex-start;
}

.wcbc-ty a.wcbc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--wcbc-primary);
	border-radius: 12px;
	background: var(--wcbc-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wcbc-ty a.wcbc-btn:hover,
.wcbc-ty a.wcbc-btn:focus,
.wcbc-ty a.wcbc-btn:active {
	background: var(--wcbc-primary-hover);
	border-color: var(--wcbc-primary-hover);
	color: #fff;
}

.wcbc-ty a.wcbc-btn.wcbc-btn-secondary {
	background: transparent;
	color: var(--wcbc-primary-hover);
}

.wcbc-ty a.wcbc-btn.wcbc-btn-secondary:hover,
.wcbc-ty a.wcbc-btn.wcbc-btn-secondary:focus,
.wcbc-ty a.wcbc-btn.wcbc-btn-secondary:active {
	background: var(--wcbc-primary-hover);
	color: #fff;
}

.wcbc-ty .wcbc-ty-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-top: 4px;
	text-align: center;
	font-size: 14px;
	color: var(--wcbc-muted);
}

.wcbc-ty .wcbc-ty-footer a:not(.wcbc-btn) {
	color: var(--wcbc-primary-hover);
	font-weight: 600;
}

/* Laptop : récapitulatif à gauche, informations à droite */
@media (min-width: 992px) {
	.wcbc.wcbc-ty {
		padding: 28px 28px 32px;
		gap: 18px;
	}

	.wcbc-ty .wcbc-ty-hero {
		padding: 36px 24px 30px;
	}

	.wcbc.wcbc-ty .wcbc-ty-title {
		font-size: 34px;
	}

	.wcbc-ty .wcbc-ty-steps,
	.wcbc-ty .wcbc-ty-card {
		padding: 22px 24px;
	}

	.wcbc-ty .wcbc-ty-grid {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 18px;
		align-items: start;
	}

	.wcbc-ty .wcbc-ty-side {
		gap: 18px;
	}

	.wcbc-ty .wcbc-ty-account {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

}

/* ==========================================================================
   Confirmation de majorité (page paiement)
   ========================================================================== */

.wcbc-co .wcbc-age {
	margin: 20px 0 0;
	padding: 14px 16px;
	background: var(--wcbc-card);
	border: 1px solid var(--wcbc-border);
	border-radius: var(--wcbc-radius);
}

.wcbc.wcbc-co .wcbc-age .wcbc-age-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #111;
	cursor: pointer;
}

.wcbc.wcbc-co .wcbc-age input.wcbc-age-input {
	flex: none;
	width: 22px;
	height: 22px;
	min-height: 0;
	margin: 1px 0 0;
	accent-color: var(--wcbc-primary);
	cursor: pointer;
}

.wcbc-co .wcbc-age .required {
	color: #c0392b;
	text-decoration: none;
}

.wcbc.wcbc-co .wcbc-age .wcbc-age-notice {
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--wcbc-border);
	color: #111;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.45;
}

/* Date de naissance */
.wcbc-co .wcbc-age .wcbc-age-date {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--wcbc-border);
}

.wcbc.wcbc-co .wcbc-age .wcbc-age-date label {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}

.wcbc.wcbc-co .wcbc-age .wcbc-age-date input[type="date"] {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--wcbc-border);
	border-radius: 12px;
	background: #fff;
	color: #111;
	font-size: 16px;
	box-shadow: none;
}

.wcbc.wcbc-co .wcbc-age .wcbc-age-date input[type="date"]:focus {
	outline: 0;
	border-color: var(--wcbc-primary);
	box-shadow: 0 0 0 1px var(--wcbc-primary);
}

.wcbc-co .wcbc-age .wcbc-age-date small {
	color: var(--wcbc-muted);
	font-size: 12.5px;
}
