/* ==========================================================================
   Yummy BARF – Panier en deux colonnes, livraisons grisées, jauge, cross-selling
   Chargé par config/panier.php. Charte : orange #EF7D00, turquoise #1B9A9D.
   ========================================================================== */

:root {
	--yb-orange: #EF7D00;
	--yb-orange-fonce: #C46600;
	--yb-orange-pale: #FEF4E9;
	--yb-orange-trait: #F3D9BE;
	--yb-turquoise: #1B9A9D;
	--yb-turquoise-fonce: #14676A;
	--yb-turquoise-pale: #E9F6F6;
	--yb-turquoise-trait: #BFDFDF;
	--yb-texte: #212529;
	--yb-texte-doux: #6C757D;
	--yb-bordure: #E9ECEF;
	--yb-bordure-forte: #DEE2E6;
	--yb-rouge: #B91C1C;
}

/* --------------------------------------------------------------------------
   1. Grille : formulaire + blocs à gauche, récapitulatif sticky à droite
   -------------------------------------------------------------------------- */
.yb-panier-2col.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	/* Dernière ligne flexible : le récapitulatif (colonne 2, lignes 1 à -1)
	   y déverse sa hauteur excédentaire au lieu de la répartir sur les lignes
	   « auto », ce qui laissait de grands blancs entre les blocs de gauche. */
	grid-template-rows: auto auto auto 1fr;
	column-gap: 40px;
	row-gap: 28px;
	align-items: start;
}
/* Les clearfix ::before/::after de WooCommerce deviendraient des items de
   grille fantômes (lignes vides + espacements) : on les neutralise. */
.yb-panier-2col.woocommerce-cart .woocommerce::before,
.yb-panier-2col.woocommerce-cart .woocommerce::after,
.yb-panier-2col.woocommerce-cart .cart-collaterals::before,
.yb-panier-2col.woocommerce-cart .cart-collaterals::after {
	content: none;
	display: none;
}
.yb-panier-2col.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.yb-panier-2col.woocommerce-cart .woocommerce > .woocommerce-error,
.yb-panier-2col.woocommerce-cart .woocommerce > .woocommerce-message,
.yb-panier-2col.woocommerce-cart .woocommerce > .woocommerce-info {
	/* Colonne 1 uniquement (jamais 1 / -1) : un item pleine largeur sans ligne de
	   grille définie entrerait en conflit avec le "cart_totals" (colonne 2, lignes
	   1 à 12 fixées) dès que ce bloc contient un message (ex. « article supprimé »),
	   et la grille repousserait alors toute la colonne de gauche sous la ligne 12. */
	grid-column: 1;
	margin-bottom: 0;
}
.yb-panier-2col.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.yb-panier-2col.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper > :last-child { margin-bottom: 0; }
.yb-panier-2col.woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
.yb-panier-2col.woocommerce-cart .cart-collaterals { display: contents; }
.yb-panier-2col.woocommerce-cart .cart-collaterals .zone-commandes-groupees,
.yb-panier-2col.woocommerce-cart .cart-collaterals .yb-cross-sell,
.yb-panier-2col.woocommerce-cart .cart-collaterals .cross-sells {
	grid-column: 1;
	width: 100%;
	float: none;
	margin: 0;
}
.yb-panier-2col.woocommerce-cart .cart-collaterals .cart_totals {
	grid-column: 2;
	grid-row: 1 / -1;
	position: sticky;
	top: 24px;
	width: 100%;
	float: none;
	margin: 0;
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--yb-bordure);
	border-radius: 12px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
/* Récapitulatif : le tableau WooCommerce est rendu comme la maquette
   (lignes en flex, sans bordures, livraisons en pleine largeur) */
.yb-panier-2col.woocommerce-cart .cart_totals h2 {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 22px !important;
	font-weight: 800;
	color: var(--yb-orange);
}
.yb-panier-2col.woocommerce-cart .cart_totals table.shop_table {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
.yb-panier-2col.woocommerce-cart .cart_totals table.shop_table tbody { display: flex; flex-direction: column; gap: 20px; }
.yb-panier-2col.woocommerce-cart .cart_totals table.shop_table tr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.yb-panier-2col.woocommerce-cart .cart_totals table.shop_table th,
.yb-panier-2col.woocommerce-cart .cart_totals table.shop_table td {
	width: auto;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
}
.yb-panier-2col.woocommerce-cart .cart_totals table.shop_table td::before { display: none !important; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.cart-subtotal th { font-weight: 400; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.cart-subtotal td { font-weight: 700; text-align: right; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.yb-livraisons-ligne { flex-direction: column; align-items: stretch; gap: 10px; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.yb-livraisons-ligne th {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	width: 100%;
	font-size: 14px;
	font-weight: 700;
}
.yb-panier-2col.woocommerce-cart .cart_totals tr.yb-livraisons-ligne th .yb-livraisons__titre { white-space: nowrap; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.yb-livraisons-ligne th .yb-livraisons__aide {
	margin: 0 !important;
	font-size: 12px;
	font-weight: 600;
	color: var(--yb-rouge);
	white-space: nowrap;
}
.yb-panier-2col.woocommerce-cart .cart_totals tr.yb-livraisons-ligne td { display: block; width: 100%; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.order-total { border-top: 1px solid var(--yb-bordure); padding-top: 16px; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.order-total th { font-size: 16px; font-weight: 700; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.order-total td { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.order-total td strong { font-size: 22px; font-weight: 800; line-height: 1.1; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.order-total td small { font-size: 11px; color: var(--yb-texte-doux); }
.yb-panier-2col.woocommerce-cart .cart_totals .wc-proceed-to-checkout { margin: 0 !important; padding: 0 !important; }
.yb-panier-2col.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button { margin: 0 !important; }
.yb-panier-2col.woocommerce-cart .woocommerce-shipping-destination { margin: 12px 0 0 !important; font-weight: 400; }
.yb-panier-2col.woocommerce-cart .woocommerce-shipping-destination strong { font-weight: 600; }
/* Ligne ajoutée par l'extension « Pickup store » (message d'information) */
.yb-panier-2col.woocommerce-cart .cart_totals tr.shipping-pickup-store { display: block; margin-top: -8px; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.shipping-pickup-store th { display: none; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.shipping-pickup-store td { display: block; width: 100%; }
.yb-panier-2col.woocommerce-cart .cart_totals tr.shipping-pickup-store .message { margin: 0; font-size: 12px; line-height: 1.4; color: var(--yb-texte-doux); }
/* Ordre visuel de la colonne de gauche : formulaire, groupes, cross-selling */
.yb-panier-2col.woocommerce-cart .woocommerce-cart-form { order: 1; }
.yb-panier-2col.woocommerce-cart .cart-collaterals .zone-commandes-groupees { order: 2; }
.yb-panier-2col.woocommerce-cart .cart-collaterals .yb-cross-sell { order: 3; }

/* Encarts WooCommerce (article supprimé, erreurs, infos) rhabillés dans la charte */
.yb-panier-2col.woocommerce-cart .woocommerce-message,
.yb-panier-2col.woocommerce-cart .woocommerce-info,
.yb-panier-2col.woocommerce-cart .woocommerce-error {
	position: relative;
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 14px 18px 14px 50px !important;
	border: 0 !important;
	border-left: 4px solid var(--yb-turquoise) !important;
	border-radius: 12px !important;
	background: var(--yb-turquoise-pale) !important;
	color: var(--yb-turquoise-fonce) !important;
	font-size: 14px !important;
	line-height: 1.45;
	list-style: none;
}
.yb-panier-2col.woocommerce-cart .woocommerce-message::before,
.yb-panier-2col.woocommerce-cart .woocommerce-info::before,
.yb-panier-2col.woocommerce-cart .woocommerce-error::before {
	content: "" !important;
	position: absolute;
	left: 18px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border-radius: 50%;
	background-color: var(--yb-turquoise);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	font: 0/0 a;
}
.yb-panier-2col.woocommerce-cart .woocommerce-error {
	border-left-color: var(--yb-rouge) !important;
	background: #FDECEC !important;
	color: #7F1D1D !important;
}
.yb-panier-2col.woocommerce-cart .woocommerce-error::before {
	background-color: var(--yb-rouge);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E");
}
.yb-panier-2col.woocommerce-cart .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
.yb-panier-2col.woocommerce-cart .woocommerce-info::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E");
}
.yb-panier-2col.woocommerce-cart .woocommerce-notices-wrapper > * + * { margin-top: 10px !important; }
/* « Annuler ? » en petit bouton pilule */
.yb-panier-2col.woocommerce-cart .woocommerce-message a.restore-item,
.yb-panier-2col.woocommerce-cart .woocommerce-message a.button,
.yb-panier-2col.woocommerce-cart .woocommerce-info a.button {
	order: 2;
	margin-left: auto;
	padding: 6px 14px !important;
	border: 1px solid var(--yb-turquoise) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--yb-turquoise-fonce) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap;
}
.yb-panier-2col.woocommerce-cart .woocommerce-message a.restore-item:hover { background: var(--yb-turquoise) !important; color: #fff !important; }

/* Tableau produits : carte comme la maquette (en-tête pêche, lignes fines, pied gris) */
.yb-panier-2col.woocommerce-cart table.shop_table.cart {
	margin: 0 !important;
	border: 1px solid var(--yb-bordure) !important;
	border-radius: 12px !important;
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart th,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td {
	border: 0 !important;
	vertical-align: middle;
	background: transparent;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart thead th {
	padding: 12px 12px !important;
	background: var(--yb-orange-pale) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--yb-texte);
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart tbody td {
	padding: 14px 12px !important;
	border-top: 1px solid #F1F3F5 !important;
	font-size: 14px;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart th:first-child,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td:first-child { padding-left: 20px !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart th:last-child,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td:last-child { padding-right: 20px !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart .product-remove { width: 40px; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart .product-thumbnail { width: 64px; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart .product-price { width: 90px; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart .product-quantity { width: 120px; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart .product-subtotal { width: 100px; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 28px !important;
	height: 28px !important;
	margin: 0;
	border: 1px solid var(--yb-bordure-forte) !important;
	border-radius: 50%;
	background: #fff !important;
	color: var(--yb-rouge) !important;
	font-size: 16px !important;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover { background: var(--yb-rouge) !important; border-color: var(--yb-rouge) !important; color: #fff !important; }
/* La croix est dessinée en CSS (deux barres) : le glyphe « × » de la police n'est jamais optiquement centré */
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove { position: relative; font-size: 0 !important; color: transparent !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove::before,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 1.5px;
	background: var(--yb-rouge);
	border-radius: 1px;
	transform: translate(-50%, -50%) rotate(45deg);
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove::after { transform: translate(-50%, -50%) rotate(-45deg); }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover::before,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover::after { background: #fff; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-thumbnail a { display: block; line-height: 0; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	width: 56px !important;
	height: 56px !important;
	max-width: none;
	object-fit: cover;
	border-radius: 8px;
	background: #F6EFE8;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-name a {
	font-size: 15px;
	font-weight: 700;
	color: var(--yb-texte);
	text-decoration: none;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-name a:hover { color: var(--yb-orange); }
.yb-panier-2col.woocommerce-cart .yb-produit__sous { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--yb-texte-doux); }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-price { font-size: 14px; color: var(--yb-texte); }
.yb-panier-2col.woocommerce-cart table.shop_table.cart th.product-subtotal,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-subtotal { text-align: right !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.product-subtotal { font-size: 15px; font-weight: 700; }
/* Pied : code promo à gauche, poids total à droite ; « Mettre à jour » n'apparaît qu'après une modification */
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions {
	padding: 14px 20px !important;
	background: #FAFAFA !important;
	border-top: 1px solid #F1F3F5 !important;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions::after { content: ""; display: table; clear: both; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions .coupon {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	float: left;
	margin: 0;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions .coupon input.input-text {
	width: 180px !important;
	height: 40px !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--yb-bordure-forte) !important;
	border-radius: 999px !important;
	background: #fff !important;
	font-size: 14px !important;
	line-height: 40px;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions .coupon button.button,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions > button.button {
	height: 40px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--yb-turquoise) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 40px !important;
	width: auto !important;
	min-width: 0 !important;
	cursor: pointer;
}
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions .coupon button.button:hover,
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions > button.button:hover { background: var(--yb-turquoise-fonce) !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions > button.button { float: right; margin-left: 12px !important; background: var(--yb-orange) !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions > button.button:hover { background: var(--yb-orange-fonce) !important; }
.yb-panier-2col.woocommerce-cart table.shop_table.cart td.actions > button.button[disabled] { display: none !important; }
.yb-panier-2col.woocommerce-cart .yb-poids-total { float: right; line-height: 40px; font-size: 14px; font-weight: 700; color: #F0930B; }

/* Sélecteur de quantité (extension WPP) : pilule comme la maquette */
.yb-panier-2col.woocommerce-cart td.product-quantity,
.yb-panier-2col.woocommerce-cart th.product-quantity { text-align: center !important; }
.yb-panier-2col.woocommerce-cart td.product-quantity .quantity { display: inline-block; vertical-align: middle; }
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap {
	display: inline-flex !important;
	align-items: center;
	height: 36px;
	box-sizing: border-box;
	border: 1px solid var(--yb-bordure-forte) !important;
	border-radius: 999px !important;
	overflow: hidden;
	background: #fff !important;
}
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap button {
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--yb-texte) !important;
	font-size: 16px !important;
	line-height: 1 !important;
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding-bottom: 2px !important; /* compense la hauteur d'x de la police : glyphes optiquement centrés */
	cursor: pointer;
}
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap button:hover { background: var(--yb-orange-pale) !important; color: var(--yb-orange) !important; }
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap button.disabled { opacity: .35; cursor: default; background: #fff !important; color: var(--yb-texte) !important; }
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap input.qty {
	width: 36px !important;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center;
	font-size: 14px !important;
	font-weight: 600;
	color: var(--yb-texte);
	-moz-appearance: textfield;
}
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap input.qty::-webkit-outer-spin-button,
.yb-panier-2col.woocommerce-cart .product-quantity .wpp-qty-wrap input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --------------------------------------------------------------------------
   2. Jauge de poids
   -------------------------------------------------------------------------- */
.yb-jauge {
	box-sizing: border-box;
	padding: 18px 22px;
	margin: 0 0 20px;
	border-radius: 12px;
	background: var(--yb-orange-pale);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.yb-jauge__entete {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
}
.yb-jauge__message { font-size: 16px; font-weight: 800; color: var(--yb-texte); line-height: 1.3; }
.yb-jauge__message strong { color: var(--yb-orange); }
.yb-jauge__poids { font-size: 13px; color: var(--yb-texte-doux); white-space: nowrap; }
.yb-jauge__barre {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: var(--yb-orange-trait);
}
.yb-jauge__remplissage {
	height: 100%;
	border-radius: 999px;
	background: var(--yb-orange);
	transition: width .4s ease;
}
/* Trait de palier : à sa position exacte sur l'échelle de poids. */
.yb-jauge__repere {
	position: absolute;
	top: -3px;
	width: 2px;
	height: 16px;
	margin-left: -1px;
	background: var(--yb-turquoise);
}
.yb-jauge__paliers {
	position: relative;
	display: block;
	height: 16px;
	font-size: 12px;
	font-weight: 600;
	color: var(--yb-texte-doux);
}
/* Le repère de la barre tombe au-dessus du premier chiffre du libellé
   (la coche « ✓ » déborde à gauche, hors du flux). */
.yb-jauge__palier {
	position: absolute;
	top: 0;
	white-space: nowrap;
}
.yb-jauge__ok { position: absolute; right: 100%; padding-right: 3px; }
.yb-jauge__palier--fin { left: auto; right: 0; }
.yb-jauge__palier.is-ok { color: var(--yb-turquoise); }
.yb-jauge__palier.is-cible { color: var(--yb-orange); }

/* --------------------------------------------------------------------------
   3. Modes de livraison : radios en cartes, indisponibles grisées
   -------------------------------------------------------------------------- */
.yb-livraisons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yb-livraisons-ligne th { padding-top: 14px !important; }
.yb-livraison {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--yb-bordure-forte);
	border-radius: 10px;
	background: #fff;
	margin: 0 !important;
}
.yb-livraison input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--yb-orange);
}
.yb-livraison label,
.yb-livraison__texte {
	flex-grow: 1;
	min-width: 0;
	display: flex !important; /* le thème force display:block sur les labels */
	flex-direction: column;
	gap: 2px;
	margin: 0 !important;
	font-weight: 400 !important;
	cursor: pointer;
}
/* Méthode disponible : nom à gauche, prix à droite sur la même ligne */
.yb-livraison--ok label {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.yb-livraison--ok label .yb-livraison__nom { flex-grow: 1; }
.yb-livraison__nom { font-size: 14px; font-weight: 600; color: var(--yb-texte); }
.yb-livraison__motif { font-size: 12px; color: var(--yb-texte-doux); line-height: 1.35; }
.yb-livraison__prix { font-size: 14px; font-weight: 700; white-space: nowrap; }
.yb-livraison__prix em { font-style: normal; color: var(--yb-turquoise); }
.yb-livraison--ok:hover { border-color: var(--yb-orange); }
.yb-livraison--ok.is-choisie {
	border: 2px solid var(--yb-orange);
	padding: 11px 13px;
	background: #FFFBF7;
}
.yb-livraison--off {
	border-style: dashed;
	background: #F8F9FA;
	opacity: .85;
	cursor: not-allowed;
}
.yb-livraison--off .yb-livraison__nom { color: var(--yb-texte-doux); }
.yb-livraison--off .yb-livraison__prix { color: #ADB5BD; font-weight: 400; }
.yb-livraison--off.yb-livraison--chronofresh .yb-livraison__motif,
.yb-livraison--off.yb-livraison--refrigere .yb-livraison__motif { color: var(--yb-orange); font-weight: 600; }
.yb-livraisons__aide {
	margin: 10px 0 0 !important;
	font-size: 12px;
	font-weight: 600;
	color: var(--yb-rouge);
}
.yb-livraisons__aide--vide { color: var(--yb-texte-doux); font-weight: 400; }
.woocommerce-cart .woocommerce-shipping-destination { font-size: 12px; color: var(--yb-texte-doux); margin: 10px 0 0; }

/* Bouton « Valider » grisé */
.yb-valider--off { opacity: .45 !important; cursor: not-allowed !important; }
.yb-valider__aide {
	margin: 8px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--yb-texte-doux);
}

/* --------------------------------------------------------------------------
   4. Commandes groupées (rhabillage du bloc existant)
   -------------------------------------------------------------------------- */
.yb-groupe {
	box-sizing: border-box;
	padding: 24px 28px !important;
	border-radius: 16px;
	background: var(--yb-turquoise-pale) !important;
	border: 0 !important;
}
.yb-groupe .bloc { border: 0 !important; padding: 0 !important; background: transparent !important; }
.yb-groupe__entete { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.yb-groupe__icone {
	flex-shrink: 0;
	box-sizing: content-box;
	width: 22px;
	height: 22px;
	padding: 13px;
	border-radius: 50%;
	background: var(--yb-turquoise);
	color: #fff;
}
.yb-groupe__titres { display: flex; flex-direction: column; gap: 3px; }
.yb-groupe h2 {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 19px !important;
	font-weight: 800;
	color: var(--yb-turquoise-fonce) !important;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.yb-groupe__badge {
	padding: 3px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--yb-turquoise-fonce);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
}
.yb-groupe__intro { margin: 0; font-size: 13px; color: #3F6B6C; }
.yb-groupe form,
.yb-groupe .yb-groupe__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.yb-groupe form select,
.yb-groupe form button,
.yb-groupe .yb-groupe__form button { margin: 0 !important; align-self: center; line-height: 48px !important; vertical-align: middle; }
.yb-groupe form select,
.yb-groupe .yb-groupe__form select {
	flex: 1 1 260px;
	height: 48px !important;
	box-sizing: border-box;
	padding: 0 18px !important;
	border: 1px solid var(--yb-turquoise-trait) !important;
	border-radius: 999px !important;
	background: #fff !important;
	font-size: 15px;
	color: var(--yb-texte);
	/* Chevron personnalisé, rentré de 18 px (le natif colle au bord du champ arrondi) */
	-webkit-appearance: none;
	appearance: none;
	padding-right: 48px !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314676A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 18px center !important;
	background-size: 14px 14px !important;
}
.yb-groupe form button,
.yb-groupe .yb-groupe__form button {
	height: 48px !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--yb-turquoise) !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.yb-groupe form button:hover,
.yb-groupe .yb-groupe__form button:hover { background: var(--yb-turquoise-fonce) !important; }
.yb-groupe form button.bouton-annuler,
.yb-groupe .yb-groupe__form button.bouton-annuler { background: #fff !important; color: var(--yb-turquoise-fonce) !important; border: 1px solid var(--yb-turquoise-trait) !important; }
.yb-groupe__aide { flex-basis: 100%; margin: 0; font-size: 12px; color: #3F6B6C; }
.yb-groupe .session {
	margin: 0 0 14px;
	padding: 14px 16px !important;
	border-radius: 10px;
	background: #fff !important;
	border: 0 !important;
	font-size: 14px;
	line-height: 1.5;
}
/* Client sans groupe : ligne discrète */
.yb-groupe--sans {
	padding: 14px 20px !important;
	border-radius: 12px;
	background: transparent !important;
	border: 1px dashed #CED4DA !important;
}
.yb-groupe--sans .yb-groupe__entete { margin-bottom: 6px; gap: 10px; }
.yb-groupe--sans .yb-groupe__icone { width: 16px; height: 16px; padding: 7px; }
.yb-groupe--sans h2 { font-size: 15px !important; }
.yb-groupe--sans .bloc { font-size: 14px; color: var(--yb-texte-doux); }
.yb-groupe--sans .bloc a { font-weight: 700; color: var(--yb-orange); }

/* --------------------------------------------------------------------------
   5. Cross-selling
   -------------------------------------------------------------------------- */
.yb-cross-sell { display: flex; flex-direction: column; gap: 14px; }
.yb-cross-sell__entete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.yb-cross-sell__entete h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--yb-orange); }
.yb-cross-sell__sous-titre { font-size: 13px; color: var(--yb-texte-doux); }
.yb-cross-sell__grille {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 2px;
	margin: -2px;
	outline: none;
}
.yb-cross-sell__grille::-webkit-scrollbar { display: none; }
.yb-cross-sell__nav { display: flex; gap: 8px; margin-left: auto; }
.yb-cross-sell__nav[hidden] { display: none; }
.yb-cross-sell__fleche { width: 36px; height: 36px; padding: 0 !important; border-radius: 50% !important; border: 1px solid var(--yb-bordure-forte) !important; background: #fff !important; color: var(--yb-texte) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1 !important; }
.yb-cross-sell__fleche:hover { border-color: var(--yb-orange) !important; color: var(--yb-orange) !important; }
.yb-cross-sell__fleche[disabled] { opacity: .35; cursor: default; }
.yb-cross-sell__carte {
	flex: 0 0 calc((100% - 42px) / 4);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	border: 0;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
	text-align: center;
	transition: transform .3s, box-shadow .3s;
}
.yb-cross-sell__carte:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.yb-cross-sell__image { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #F6EFE8; border-bottom: 1px solid var(--yb-orange); }
.yb-cross-sell__image img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; border: 0 !important; transition: transform .4s; }
.yb-cross-sell__carte:hover .yb-cross-sell__image img { transform: scale(1.04); }
.yb-cross-sell__plus {
	position: absolute; left: 0; right: 0; bottom: -10rem;
	padding: .25rem 0;
	background: var(--yb-orange);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	transition: bottom .3s;
}
.yb-cross-sell__carte:hover .yb-cross-sell__plus { bottom: 0; }
.yb-cross-sell__chrono {
	position: absolute; top: 14px; left: 0;
	height: 27px; padding: 5px 10.7px 4px 7.2px;
	background: #fff;
	border-radius: 0 99vw 99vw 0;
	display: flex; align-items: center;
}
.yb-cross-sell__chrono img { height: 100% !important; width: auto !important; margin: 0 !important; border: 0 !important; }
.yb-cross-sell__badge {
	position: absolute; top: 14px; right: 0;
	padding: 2px 8px 2px 14px;
	border-radius: 99vw 0 0 99vw;
	background: #fff;
	color: #333;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 10px 15px 4px rgba(0, 0, 0, .1);
}
.yb-cross-sell__corps { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 16px; flex-grow: 1; align-items: center; }
.yb-cross-sell__nom { font-size: 15px; font-weight: 900; line-height: 1.3; color: var(--yb-turquoise); text-decoration: none; }
.yb-cross-sell__nom:hover { color: var(--yb-turquoise-fonce); }
.yb-cross-sell__prix { font-size: 18px; font-weight: 900; color: #662011; margin-bottom: 8px; }
.yb-cross-sell__prix del { color: #662011; font-weight: 400; margin-right: 6px; opacity: .8; }
.yb-cross-sell__prix ins { text-decoration: none; }
.yb-cross-sell__ajouter {
	margin-top: auto !important;
	width: 100%;
	height: 40px;
	line-height: 40px !important;
	padding: 0 15px !important;
	border: 0 !important;
	border-radius: 99vw !important;
	background: var(--yb-turquoise) !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-align: center;
	text-decoration: none !important;
	transition: background-color .4s !important;
}
.yb-cross-sell__ajouter:hover { background: #1EB0B3 !important; }
.yb-cross-sell__ajouter--options { background: #fff !important; color: var(--yb-turquoise) !important; border: 1px solid var(--yb-turquoise) !important; line-height: 38px !important; }
.yb-cross-sell__ajouter--options:hover { background: var(--yb-turquoise-pale) !important; }
.yb-cross-sell__ajouter.loading { opacity: .6; pointer-events: none; position: relative; }
.yb-cross-sell__ajouter.loading::after,
.woocommerce .woocommerce-shop-product .link-wrapper a.loading::after { top: 50% !important; right: 14px !important; margin-top: -0.5em; line-height: 1; }
.yb-cross-sell__ajouter.added::after { content: none !important; }
.yb-cross-sell__ajouter.added { background: var(--yb-turquoise-fonce) !important; }

/* Confirmation d'ajout : ligne surlignée + toast */
table.shop_table.cart tr.cart_item td { transition: background-color .6s; }
table.shop_table.cart tr.cart_item.yb-ligne--nouvelle td { background-color: var(--yb-turquoise-pale) !important; }
.yb-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 9999; display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 999px; background: var(--yb-turquoise-fonce); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.yb-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.yb-toast__lien { color: #fff !important; text-decoration: underline; font-weight: 700; white-space: nowrap; }
.yb-cross-sell__ajouter.added::after { content: " ✓"; }
.yb-cross-sell .added_to_cart { display: none; }

/* --------------------------------------------------------------------------
   6. Bandeau après ajout au panier (toute page)
   -------------------------------------------------------------------------- */
#yb-bandeau-poids {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	max-width: 380px;
	box-sizing: border-box;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--yb-orange-pale);
	border-left: 4px solid var(--yb-orange);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	font-size: 14px;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transform: translateY(12px);
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}
#yb-bandeau-poids[hidden] { display: none; }
#yb-bandeau-poids.is-visible { opacity: 1; transform: none; pointer-events: auto; }
#yb-bandeau-poids strong { color: var(--yb-orange); }
.yb-bandeau__lien { font-weight: 700; color: var(--yb-orange); text-decoration: none; }
.yb-bandeau__lien:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	/* Tablette : une colonne, livraisons en grille de deux */
	.yb-panier-2col.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.yb-panier-2col.woocommerce-cart .cart-collaterals .cart_totals {
		grid-column: 1;
		grid-row: auto;
		position: static;
		order: 2;
	}
	.yb-panier-2col.woocommerce-cart .cart-collaterals .zone-commandes-groupees { order: 3; }
	.yb-panier-2col.woocommerce-cart .cart-collaterals .yb-cross-sell { order: 4; }
	.yb-livraisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yb-cross-sell__carte { flex-basis: calc((100% - 28px) / 3); }
}
@media (max-width: 640px) {
	.yb-livraisons { grid-template-columns: minmax(0, 1fr); }
	.yb-jauge { padding: 16px; }
	.yb-jauge__message { font-size: 15px; }
	.yb-jauge__paliers { font-size: 11px; }
	.yb-groupe { padding: 18px 16px !important; }
	.yb-groupe form select,
	.yb-groupe .yb-groupe__form select,
	.yb-groupe form button,
	.yb-groupe .yb-groupe__form button { flex-basis: 100%; width: 100%; }
	.yb-cross-sell__carte { flex-basis: 150px; }
	.yb-cross-sell__nav { display: none !important; }
	#yb-bandeau-poids { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* Appel à l'action quand on clique sur « Valider » grisé */
.yb-livraisons-ligne.is-attention .yb-livraison--ok,
.yb-jauge.is-attention { box-shadow: 0 0 0 3px rgba(239, 125, 0, .35); transition: box-shadow .3s; }

/* ==================================================================
   Page groupe d'achat (single-groupe_dachat.php) — charte panier
   ================================================================== */
.yb-page { padding: 40px 0 56px; background: #fff !important; }
/* Messages de la page groupe : même dessin que les encarts du panier. */
.yb-page .yb-alerte {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	margin: 0 0 20px !important;
	padding: 14px 18px 14px 50px !important;
	border: 0 !important;
	border-left: 4px solid var(--yb-turquoise) !important;
	border-radius: 12px !important;
	background: var(--yb-turquoise-pale) !important;
	color: var(--yb-turquoise-fonce) !important;
	font-size: 14px !important;
	line-height: 1.45;
}
.yb-page .yb-alerte::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border-radius: 50%;
	background-color: var(--yb-turquoise);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.yb-page .yb-alerte.alert-danger {
	border-left-color: var(--yb-rouge) !important;
	background: #FDECEC !important;
	color: #7F1D1D !important;
}
.yb-page .yb-alerte.alert-danger::before {
	background-color: var(--yb-rouge);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E");
}

/* En-tête */
.yb-page__entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.yb-page__titre { display: flex; flex-direction: column; gap: 10px; }
.yb-page__sur-titre { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #6C757D; }
.yb-page__titre h1 { margin: 0; font-size: 34px; font-weight: 800; color: #EF7D00; line-height: 1.1; }
.yb-page__pilules { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yb-page__actions { display: flex; gap: 12px; flex-shrink: 0; }
.yb-page__actions form { margin: 0; }

/* Pilules */
.yb-pilule { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.yb-pilule--peche { background: #FEF4E9; color: #212529; }
.yb-pilule--peche svg { color: #EF7D00; }
.yb-pilule--turquoise { background: #E6F5F5; color: #146E70; }
.yb-pilule--turquoise svg { color: #1B9A9D; }
.yb-pilule--gris { background: #F1F3F5; color: #495057; }
.yb-pilule--blanc { background: #fff; border: 1px solid #F3D9BE; color: #EF7D00; }

/* Boutons */
.yb-page .yb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.yb-page .yb-btn--plein { background: #EF7D00; color: #fff; border: 1px solid #EF7D00; }
.yb-page .yb-btn--plein:hover { background: #C46600; border-color: #C46600; color: #fff; }
.yb-page .yb-btn--contour { background: #fff; color: #212529; border: 1px solid #DEE2E6; }
.yb-page .yb-btn--contour:hover { border-color: #212529; color: #212529; }
.yb-page .yb-btn--petit { height: 36px; padding: 0 14px; font-size: 13px; }
.yb-page button.yb-btn--danger, .yb-page .yb-btn--danger { background: #fff !important; color: #B91C1C !important; border: 1px solid #F5C6C6 !important; }
.yb-page button.yb-btn--danger:hover, .yb-page .yb-btn--danger:hover { background: #FEF2F2 !important; color: #B91C1C !important; }
.yb-page button.yb-btn--plein { background: #EF7D00 !important; color: #fff !important; border-color: #EF7D00 !important; }
.yb-page button.yb-btn--plein:hover { background: #C46600 !important; border-color: #C46600 !important; }
.yb-page button.yb-btn--contour { background: #fff !important; color: #212529 !important; border: 1px solid #DEE2E6 !important; }

/* Colonnes */
.yb-page__cols { display: flex; gap: 40px; align-items: flex-start; }
.yb-page__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.yb-page__side { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }

/* Cartes */
.yb-carte { border: 1px solid #E9ECEF; border-radius: 12px; overflow: hidden; background: #fff; }
.yb-carte__tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; background: #FEF4E9; }
.yb-carte__tete > div { display: flex; flex-direction: column; gap: 2px; }
.yb-carte__titre { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #212529; }
.yb-carte__sous { font-size: 13px; color: #6C757D; }
.yb-carte__corps { padding: 20px 24px; }
.yb-carte--vide { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.yb-carte--vide strong { font-size: 15px; }
.yb-carte--vide span { font-size: 14px; color: #6C757D; line-height: 1.5; }

/* Commande groupée */
.yb-cmd__chiffres { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid #F1F3F5; }
.yb-cmd__chiffres > div { padding: 18px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #F1F3F5; }
.yb-cmd__chiffres > div:last-child { border-right: 0; }
.yb-cmd__lib { font-size: 12px; color: #6C757D; display: block; }
.yb-cmd__val { font-size: 26px; font-weight: 800; color: #212529; line-height: 1.1; }
.yb-cmd__val small { font-size: 14px; font-weight: 600; color: #6C757D; }
.yb-cmd__val--orange { color: #EF7D00; }
.yb-cmd__livraison { padding: 18px 24px; display: flex; gap: 20px; align-items: flex-start; border-bottom: 1px solid #F1F3F5; }
.yb-cmd__livraison > div { display: flex; flex-direction: column; gap: 2px; }
.yb-cmd__livraison strong { font-size: 15px; }
.yb-cmd__adresse { font-size: 14px; color: #495057; }
.yb-cmd__icone { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: #E6F5F5; color: #1B9A9D; display: flex; align-items: center; justify-content: center; }
.yb-cmd__ligne { display: grid; grid-template-columns: 1fr 140px 120px 110px; gap: 12px; align-items: center; padding: 12px 24px; border-top: 1px solid #F1F3F5; font-size: 14px; color: #495057; }
.yb-cmd__ligne--tete { border-top: 0; font-size: 12px; font-weight: 700; color: #6C757D; text-transform: uppercase; letter-spacing: .4px; }
.yb-cmd__ligne--off { opacity: .55; }
.yb-cmd__poids { font-size: 15px; font-weight: 800; color: #EF7D00; }
.yb-droite { text-align: right; }
.yb-membre-mini { display: flex; align-items: center; gap: 12px; min-width: 0; }
.yb-membre-mini > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.yb-membre-mini strong { font-size: 15px; color: #212529; }
.yb-membre-mini span { font-size: 12px; color: #6C757D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-cmd__pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; background: #F8F9FA; border-top: 1px solid #F1F3F5; font-size: 13px; color: #6C757D; }
.yb-cmd__pied form { margin: 0; }

/* Avatars */
.yb-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; }
.yb-avatar--orange { background: #EF7D00; }
.yb-avatar--turquoise { background: #1B9A9D; }
.yb-avatar--gris { background: #DEE2E6; color: #495057; }

/* Membres */
/* Commandes groupées passées : bloc repliable sous les commandes en cours. */
.yb-historique { border: 1px solid #E9ECEF; border-radius: 12px; background: #fff; }
.yb-historique__tete { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: 15px; font-weight: 700; color: #495057; cursor: pointer; list-style: none; }
.yb-historique__tete::-webkit-details-marker { display: none; }
.yb-historique__tete::before { content: ""; width: 8px; height: 8px; border-right: 2px solid #ADB5BD; border-bottom: 2px solid #ADB5BD; transform: rotate(-45deg); transition: transform .2s; }
.yb-historique[open] .yb-historique__tete::before { transform: rotate(45deg); }
.yb-historique__tete:hover { color: #EF7D00; }
.yb-historique__nb { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #F1F3F5; font-size: 12px; font-weight: 700; color: #6C757D; }
.yb-historique__corps { display: flex; flex-direction: column; gap: 20px; padding: 4px 20px 20px; }
.yb-historique__corps .yb-carte { border-color: #F1F3F5; }

.yb-membres { display: flex; flex-direction: column; gap: 14px; }
.yb-membres__tete h2 { margin: 0; font-size: 22px; font-weight: 800; color: #EF7D00; }
.yb-membres__tete h2 small { font-size: 15px; font-weight: 600; color: #6C757D; }
.yb-membres__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.yb-membre { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 12px; border: 1px solid #E9ECEF; border-radius: 12px; min-width: 0; }
.yb-membre .yb-avatar { width: 32px; height: 32px; font-size: 11px; }
.yb-membre > div { flex: 1 1 0; }
.yb-membre > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yb-membre strong { font-size: 14px; color: #212529; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-membre span { font-size: 12px; color: #6C757D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-membre .yb-badge { position: absolute; top: 8px; right: 8px; margin: 0; }
.yb-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.yb-badge--ok { background: #E6F5F5; color: #146E70; }
.yb-badge--off { background: #F1F3F5; color: #6C757D; font-weight: 600; }
.yb-membre--ok { border-color: #B8E0E1; }

/* Formulaire */
.yb-form { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.yb-form__ligne { display: grid; gap: 14px; }
.yb-form__ligne--2 { grid-template-columns: 1fr 1fr; }
.yb-form__ligne--3 { grid-template-columns: 140px 1fr 1fr; }
.yb-form__ligne--fin { grid-template-columns: 1fr auto; align-items: end; }
.yb-form { align-items: stretch; }
.yb-form__ligne { width: 100%; }
.yb-form label { display: block; margin: 0; font-size: 13px; font-weight: 700; color: #212529; }
.yb-form label .form-control { display: block; width: 100%; margin-top: 6px; }
.yb-form label abbr { color: #B91C1C; text-decoration: none; border: 0; }
.yb-page .yb-form .form-control { height: 44px; box-sizing: border-box; padding: 0 14px; border: 1px solid #DEE2E6; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 500; color: #212529; background: #fff; box-shadow: none; margin: 0; }
.yb-page .yb-form .form-control:focus { border-color: #EF7D00; outline: 0; box-shadow: 0 0 0 3px rgba(239,125,0,.15); }
.yb-page .yb-form select.form-control { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* Carte repliable (Modifier ce groupe) */
.yb-carte--repliable summary { list-style: none; cursor: pointer; }
.yb-carte--repliable summary::-webkit-details-marker { display: none; }
.yb-carte__chevron { width: 10px; height: 10px; border-right: 2px solid #212529; border-bottom: 2px solid #212529; transform: rotate(45deg); margin-right: 6px; transition: transform .15s; }
.yb-carte--repliable[open] .yb-carte__chevron { transform: rotate(-135deg); }
.yb-carte--repliable .acf-form { margin: 0; }
.yb-carte--repliable .acf-fields > .acf-field { padding: 12px 0; border: 0; }
.yb-carte--repliable .acf-label label { font-size: 13px; font-weight: 700; }
.yb-carte--repliable .acf-form-submit { padding: 8px 0 0; text-align: right; }
.yb-carte--repliable .acf-google-map .canvas { height: 380px !important; }
.yb-page .acf-form-submit .acf-button, .yb-page .acf-form-submit input[type="submit"] { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #EF7D00; color: #fff; border: 0; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* Colonne latérale */
.yb-carte--map .yb-carte__map { display: block; position: relative; }
.yb-page #map { height: 200px; width: 100%; }
.yb-carte--map .yb-carte__corps { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; }
.yb-info { display: flex; flex-direction: column; gap: 2px; }
.yb-info strong { font-size: 16px; }
.yb-info__texte { font-size: 14px; color: #495057; line-height: 1.5; }
.yb-info__texte p:last-child { margin-bottom: 0; }
.yb-encart-peche { box-sizing: border-box; padding: 20px; border-radius: 12px; background: #FEF4E9; display: flex; flex-direction: column; gap: 14px; }
.yb-encart-peche strong { font-size: 16px; font-weight: 800; color: #212529; }
.yb-encart-peche ol { margin: 0; padding: 0; list-style: none; counter-reset: yb; display: flex; flex-direction: column; gap: 12px; }
.yb-encart-peche li { position: relative; padding-left: 38px; font-size: 14px; color: #495057; line-height: 1.5; counter-increment: yb; }
.yb-encart-peche li::before { content: counter(yb); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #EF7D00; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 1080px) {
  .yb-page__cols { flex-direction: column; }
  .yb-page__side { width: 100%; }
  .yb-membres__grille { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .yb-page { padding: 24px 0 40px; }
  .yb-page__entete { flex-direction: column; align-items: stretch; }
  .yb-page__actions { flex-wrap: wrap; }
  .yb-page__actions .yb-btn { flex: 1 1 auto; }
  .yb-cmd__chiffres { grid-template-columns: 1fr; }
  .yb-cmd__chiffres > div { border-right: 0; border-bottom: 1px solid #F1F3F5; }
  .yb-cmd__ligne { grid-template-columns: 1fr 90px; }
  .yb-cmd__ligne > span:nth-child(2), .yb-cmd__ligne > span:nth-child(3) { display: none; }
  .yb-membres__grille { grid-template-columns: repeat(2, 1fr); }
  .yb-form__ligne--2, .yb-form__ligne--3, .yb-form__ligne--fin { grid-template-columns: 1fr; }
  .yb-cmd__pied { flex-direction: column; align-items: flex-start; }
}

/* ==================================================================
   Boutique : carte produit — après « Ajouter au panier », le bouton
   « Voir le panier » se place à côté au lieu de chevaucher le prix
   ================================================================== */
.woocommerce .woocommerce-shop-product .link-wrapper { display: flex; gap: 8px; width: 88%; }
.woocommerce .woocommerce-shop-product .link-wrapper > a { flex: 1 1 0; width: auto !important; min-width: 0; margin: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.woocommerce .woocommerce-shop-product .link-wrapper > .screen-reader-text { display: none; }
.woocommerce .woocommerce-shop-product .link-wrapper a.add_to_cart_button.added { flex: 0 0 auto; font-size: 0; padding-left: 14px; padding-right: 14px; background-color: #146E70; }
.woocommerce .woocommerce-shop-product .link-wrapper a.add_to_cart_button.added::after { content: '✓ Ajouté'; font-family: inherit; font-size: 14px; margin: 0; }
.woocommerce .woocommerce-shop-product .link-wrapper a.added_to_cart { background-color: #fff !important; color: #1B9A9D !important; border: 1px solid #1B9A9D; padding-top: 9px; padding-bottom: 9px; }
.woocommerce .woocommerce-shop-product .link-wrapper a.added_to_cart:hover { background-color: #E9F6F6 !important; }

/* Accueil, slider « La sélection du moment » : même rendu qu'au catalogue après l'ajout.
   Les styles du bloc ACF gagnent sur font-size/color : on habille donc le bouton
   avec un calque ::after plutôt qu'en masquant son libellé. */
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper { display: flex !important; gap: 8px; align-items: stretch; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper > a { flex: 1 1 0; width: auto !important; min-width: 0; margin: 0 !important; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper > .screen-reader-text { display: none !important; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper a.add_to_cart_button.added { position: relative; flex: 0 0 auto; width: 108px !important; padding-left: 0 !important; padding-right: 0 !important; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper a.add_to_cart_button.added::after { content: '\2713 Ajout\00E9'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #146E70; color: #fff; font-size: 14px; font-family: inherit; border-radius: inherit; transition: background .4s; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper a.add_to_cart_button.added:hover::after { background: #1B9A9D; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper a.added_to_cart { position: relative; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper a.added_to_cart::after { content: 'Voir le panier'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #fff; color: #1B9A9D; border: 1px solid #1B9A9D; border-radius: inherit; font-size: 14px; font-family: inherit; transition: background .4s; }
.widget-product-slider #product-slider .woocommerce-shop-product .link-wrapper a.added_to_cart:hover::after { background: #E9F6F6; }

/* ==================================================================
   Page commande (checkout) — charte panier
   ================================================================== */
.yb-commande-2col .yb-commande { padding-bottom: 40px; }

/* Étapes */
.yb-commande__etapes { display: flex; align-items: center; gap: 10px; margin: 4px 0 20px; font-size: 13px; font-weight: 700; color: var(--yb-texte-doux); flex-wrap: wrap; }
.yb-etape { display: inline-flex; align-items: center; gap: 8px; }
.yb-etape__num { width: 24px; height: 24px; border-radius: 50%; background: #F1F3F5; color: var(--yb-texte-doux); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.yb-etape--ok { color: var(--yb-turquoise-fonce); }
.yb-etape--ok .yb-etape__num { background: var(--yb-turquoise); color: #fff; }
.yb-etape--active { color: var(--yb-texte); }
.yb-etape--active .yb-etape__num { background: var(--yb-orange); color: #fff; }
.yb-etape__trait { width: 40px; height: 2px; background: var(--yb-bordure-forte); }
.yb-etape__trait--ok { background: var(--yb-turquoise); }

/* Encart info + coupon */
.yb-note { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--yb-orange-pale); border: 1px solid var(--yb-orange-trait); margin-bottom: 20px; }
.yb-note__icone { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--yb-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.yb-note p { margin: 0; font-size: 13px; line-height: 1.5; color: #495057; }
.yb-note a { font-weight: 700; }
.yb-commande .woocommerce-form-coupon-toggle .woocommerce-info { background: #fff; border: 1px solid var(--yb-bordure); border-radius: 12px; color: var(--yb-texte); font-size: 14px; padding: 14px 18px 14px 18px; margin-bottom: 20px; }
.yb-commande .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.yb-commande .woocommerce-form-coupon-toggle .woocommerce-info a { font-weight: 700; color: var(--yb-orange); }
.yb-commande form.checkout_coupon { border: 1px solid var(--yb-bordure) !important; border-radius: 12px !important; padding: 16px 18px !important; margin-bottom: 20px !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yb-commande form.checkout_coupon p { margin: 0; flex: 1 1 100%; font-size: 13px; color: var(--yb-texte-doux); }
.yb-commande form.checkout_coupon .form-row { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.yb-commande form.checkout_coupon .form-row-first { flex: 1 1 200px; }
.yb-commande form.checkout_coupon input.input-text { height: 40px; box-sizing: border-box; padding: 0 14px; border: 1px solid var(--yb-bordure-forte); border-radius: 999px; font-family: inherit; font-size: 13px; width: 100%; }
.yb-commande form.checkout_coupon button { height: 40px !important; padding: 0 16px !important; border: 0 !important; border-radius: 999px !important; background: var(--yb-turquoise) !important; color: #fff !important; font-size: 13px !important; font-weight: 700 !important; line-height: 40px !important; }

/* Colonnes */
.yb-commande__cols { display: flex; gap: 40px; align-items: flex-start; }
.yb-commande__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.yb-commande__side { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
.yb-commande #customer_details { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.yb-commande #customer_details .col-1, .yb-commande #customer_details .col-2 { float: none !important; width: 100% !important; }
.yb-commande .col2-set::before, .yb-commande .col2-set::after { display: none !important; }

/* Cartes de formulaire */
.yb-commande .yb-carte { border: 1px solid var(--yb-bordure); border-radius: 12px; background: #fff; overflow: hidden; box-sizing: border-box; }
.yb-commande .yb-carte--form h3, .yb-commande .yb-carte--form .woocommerce-additional-fields > h3 { margin: 0 !important; padding: 16px 24px !important; background: var(--yb-orange-pale); font-size: 12px !important; font-weight: 700 !important; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte) !important; display: flex !important; width: 100% !important; box-sizing: border-box; align-items: center; gap: 10px; border: 0 !important; line-height: 1.4 !important; }
.yb-commande .yb-carte--form h3 label { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.yb-commande .yb-carte--form h3 input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--yb-orange); }
.yb-commande .woocommerce-billing-fields__field-wrapper, .yb-commande .shipping_address .woocommerce-shipping-fields__field-wrapper, .yb-commande .woocommerce-additional-fields__field-wrapper { padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.yb-commande .col-2 .woocommerce-additional-fields { border-top: 1px solid var(--yb-bordure); }
.yb-commande .col-2 .woocommerce-additional-fields:not(:has(> h3))::before { content: '3 · Notes de commande'; display: block; padding: 16px 24px; background: var(--yb-orange-pale); font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte); }
.yb-commande .col-2 .shipping_address { border-top: 1px solid var(--yb-bordure); }
.yb-commande .woocommerce-billing-fields__field-wrapper::before, .yb-commande .woocommerce-billing-fields__field-wrapper::after, .yb-commande .woocommerce-shipping-fields__field-wrapper::before, .yb-commande .woocommerce-shipping-fields__field-wrapper::after { display: none !important; }
.yb-commande .form-row { float: none !important; margin: 0 !important; padding: 0 !important; width: 100% !important; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; }
.yb-commande .form-row-first, .yb-commande .form-row-last { width: calc(50% - 7px) !important; }
.yb-commande .form-row label { margin: 0 !important; font-size: 13px !important; font-weight: 700 !important; color: var(--yb-texte) !important; }
.yb-commande .form-row label .required { color: var(--yb-rouge); text-decoration: none; }
.yb-commande .form-row label .optional { font-weight: 400; color: var(--yb-texte-doux); }
.yb-commande .form-row .woocommerce-input-wrapper { display: block; }
.yb-commande .form-row input.input-text, .yb-commande .form-row select, .yb-commande .form-row textarea, .yb-commande .form-row .select2-container .select2-selection--single { height: 44px !important; box-sizing: border-box; padding: 0 14px !important; border: 1px solid var(--yb-bordure-forte) !important; border-radius: 10px !important; font-family: inherit !important; font-size: 14px !important; font-weight: 500; color: var(--yb-texte); background: #fff; box-shadow: none !important; width: 100%; line-height: 42px; }
.yb-commande .form-row .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 0; }
.yb-commande .form-row .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; right: 8px; }
.yb-commande .form-row textarea { height: 96px !important; padding: 12px 14px !important; line-height: 1.5; resize: vertical; }
.yb-commande .form-row input.input-text:focus, .yb-commande .form-row textarea:focus { border-color: var(--yb-orange) !important; outline: 0; box-shadow: 0 0 0 3px rgba(239,125,0,.15) !important; }
.yb-commande .form-row.woocommerce-invalid input.input-text { border-color: var(--yb-rouge) !important; }

/* Récapitulatif */
.yb-commande .yb-recap { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.yb-commande #order_review_heading { margin: 0 !important; padding: 0 !important; font-size: 22px !important; font-weight: 800 !important; color: var(--yb-orange) !important; border: 0 !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table { border: 0 !important; margin: 0 !important; border-collapse: collapse; width: 100%; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table th, .yb-commande table.shop_table.woocommerce-checkout-review-order-table td { border: 0 !important; padding: 8px 0 !important; font-size: 14px; vertical-align: middle; background: transparent !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table thead { display: none; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table .cart_item td.product-name { padding: 6px 0 !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table .cart_item td.product-total { text-align: right; font-weight: 700; white-space: nowrap; }
.yb-recap__produit { display: flex; align-items: center; gap: 12px; }
.yb-recap__vignette { flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: #F6EFE8; }
.yb-recap__vignette img { width: 48px !important; height: 48px !important; object-fit: cover; display: block; margin: 0 !important; }
.yb-recap__infos { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yb-recap__infos strong { font-size: 14px; font-weight: 700; line-height: 1.3; }
.yb-recap__infos small { font-size: 12px; color: var(--yb-texte-doux); }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tfoot th { font-weight: 400; color: #495057; padding-top: 10px !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 700; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal th, .yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal td { border-top: 1px solid #F1F3F5 !important; padding-top: 16px !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.order-total th, .yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.order-total td { border-top: 2px solid var(--yb-texte) !important; padding-top: 14px !important; font-weight: 800 !important; color: var(--yb-texte) !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.order-total td .woocommerce-Price-amount { font-size: 26px; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.order-total td .includes_tax { display: block; font-size: 12px; font-weight: 400; color: var(--yb-texte-doux); }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.order-total td .includes_tax .woocommerce-Price-amount { font-size: 12px; font-weight: 400; }
/* Livraison dans le récapitulatif : même rendu que le panier */
.yb-commande tr.woocommerce-shipping-totals th { display: block; width: 100%; padding: 14px 0 6px !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte-doux) !important; }
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { padding: 8px 0 6px !important; text-align: left; }
.yb-commande .yb-livraisons__entete { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.yb-commande .yb-livraison { width: 100%; box-sizing: border-box; }
.yb-commande tr.woocommerce-shipping-totals .yb-livraisons__titre { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte-doux); }
.yb-commande tr.woocommerce-shipping-totals .yb-livraisons__aide { font-size: 12px; margin-left: 8px; }
.yb-commande .yb-livraisons { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* Click & Collect par camion (WC Pickup Store) */
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.shipping-pickup-store th,
.yb-commande table.shop_table.woocommerce-checkout-review-order-table tr.shipping-pickup-store td { display: table-cell !important; width: 100%; text-align: left; padding: 0 !important; }
.yb-commande tr.shipping-pickup-store th strong,
.yb-commande .yb-pickup__titre { display: block; margin: 0; padding: 14px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte-doux); }
.yb-commande tr.shipping-pickup-store th strong::after,
.yb-commande .yb-pickup__titre::after { content: ' · Point de retrait'; }
.yb-commande tr.shipping-pickup-store .select2-container { width: 100% !important; }
.yb-commande tr.shipping-pickup-store .select2-container .select2-selection--single { height: 44px !important; border: 1px solid var(--yb-bordure-forte) !important; border-radius: 10px !important; background: #fff; }
.yb-commande tr.shipping-pickup-store .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; padding: 0 40px 0 14px; text-align: left; font-size: 14px; font-weight: 600; color: var(--yb-texte); }
.yb-commande tr.shipping-pickup-store .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; right: 10px; }
.yb-commande tr.shipping-pickup-store select#shipping-pickup-store-select { width: 100%; height: 44px; border: 1px solid var(--yb-bordure-forte); border-radius: 10px; padding: 0 14px; font-family: inherit; font-size: 14px; }
.yb-commande tr.shipping-pickup-store .store-template { margin-top: 12px; border: 1px solid var(--yb-bordure); border-radius: 12px; overflow: hidden; }
.yb-commande tr.shipping-pickup-store .wps-store-details { padding: 12px 14px; font-size: 13px; line-height: 1.5; color: #495057; text-align: left; }
.yb-commande tr.shipping-pickup-store .wps-store-details > span:first-child { display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte-doux); margin-bottom: 2px; }
.yb-commande tr.shipping-pickup-store .wps-store-details > span:first-child .colon { display: none; }
.yb-commande tr.shipping-pickup-store .wps-store-details br { display: none; }
.yb-commande tr.shipping-pickup-store .wps-store-details iframe { display: block; width: calc(100% + 28px); height: 220px; margin: 12px -14px -12px; border: 0; }
.yb-commande tr.shipping-pickup-store .store-message { display: flex; gap: 8px; margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--yb-texte-doux); text-align: left; }

/* Retrait à l'entrepôt : date / heure */
.yb-commande #show-if-shipping, .yb-commande #show-if-shipping-bis { padding: 0; }
.yb-commande #show-if-shipping h3, .yb-commande #show-if-shipping-bis h3 { margin: 12px 0 6px !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte-doux) !important; }

/* Paiement */
.yb-commande #payment { background: transparent !important; border-radius: 0; padding-top: 14px; border-top: 1px solid #F1F3F5; }
.yb-commande #payment::before { content: 'Paiement'; display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--yb-texte-doux); margin-bottom: 10px; }
.yb-commande #payment ul.payment_methods { border: 0 !important; padding: 0 !important; margin: 0 0 12px !important; display: flex; flex-direction: column; gap: 10px; }
.yb-commande #payment ul.payment_methods li { margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--yb-bordure-forte); border-radius: 12px; line-height: 1.4 !important; }
.yb-commande #payment ul.payment_methods li:has(input:checked) { border: 2px solid var(--yb-orange); background: #FFFBF7; padding: 11px 13px !important; }
.yb-commande #payment ul.payment_methods li > label { display: flex !important; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 700; cursor: pointer; }
.yb-commande #payment ul.payment_methods li > label img { max-height: 24px; margin-left: auto; }
.yb-commande #payment ul.payment_methods li input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--yb-orange); }
.yb-commande #payment div.payment_box { background: transparent !important; padding: 8px 0 0 28px !important; margin: 0 !important; font-size: 12px !important; color: var(--yb-texte-doux); }
.yb-commande #payment div.payment_box::before { display: none !important; }
.yb-commande .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.5; color: var(--yb-texte-doux); margin: 0 0 12px; }
.yb-commande .woocommerce-terms-and-conditions-wrapper .form-row { flex-direction: row; align-items: flex-start; gap: 10px; }
.yb-commande .woocommerce-terms-and-conditions-wrapper label { font-size: 13px !important; font-weight: 600 !important; line-height: 1.45; display: flex; align-items: flex-start; gap: 10px; }
.yb-commande .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--yb-orange); }
.yb-commande #payment .place-order { padding: 14px 0 0 !important; margin: 0 !important; }
.yb-commande #payment .place-order::before, .yb-commande #payment .place-order::after { display: none; }
.yb-commande #place_order { float: none !important; width: 100% !important; height: 52px !important; padding: 0 20px !important; border: 0 !important; border-radius: 999px !important; background: var(--yb-orange) !important; color: #fff !important; font-family: inherit; font-size: 16px !important; font-weight: 800 !important; line-height: 52px !important; cursor: pointer; }
.yb-commande #place_order:hover { background: var(--yb-orange-fonce) !important; }

/* Réassurance */
.yb-reassurance { box-sizing: border-box; padding: 16px 20px; border-radius: 12px; background: var(--yb-turquoise-pale); display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--yb-turquoise-fonce); font-weight: 600; }
.yb-reassurance span { display: flex; align-items: center; gap: 10px; }
.yb-reassurance svg { color: var(--yb-turquoise); flex-shrink: 0; }

@media (max-width: 1080px) {
	.yb-commande__cols { flex-direction: column; }
	.yb-commande__side { width: 100%; position: static; }
}
@media (max-width: 640px) {
	.yb-commande .form-row-first, .yb-commande .form-row-last { width: 100% !important; }
	.yb-commande .yb-recap { padding: 18px; }
	.yb-commande__etapes { font-size: 12px; }
	.yb-etape__trait { width: 20px; }
}

/* ==================================================================
   Fiche produit : sélecteur de quantité en pilule (même dessin que le panier)
   ================================================================== */
.single-product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.single-product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.single-product form.cart .woocommerce-variation-add-to-cart .wpp-step-notice { flex-basis: 100%; margin: 0; }
.single-product form.cart .qty-label { margin: 0 !important; font-weight: 600; }
.single-product form.cart .quantity { display: inline-block; vertical-align: middle; margin: 0 !important; float: none !important; }
.single-product form.cart .wpp-qty-wrap { display: inline-flex !important; align-items: center; height: 44px; box-sizing: border-box; border: 1px solid var(--yb-bordure-forte, #CED4DA) !important; border-radius: 999px !important; overflow: hidden; background: #fff !important; }
.single-product form.cart .wpp-qty-wrap button { width: 42px !important; height: 42px !important; margin: 0 !important; padding: 0 0 2px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; color: var(--yb-texte, #212529) !important; font-size: 18px !important; line-height: 1 !important; font-family: inherit !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; cursor: pointer; }
.single-product form.cart .wpp-qty-wrap button:hover { background: var(--yb-orange-pale, #FEF4E9) !important; color: var(--yb-orange, #EF7D00) !important; }
.single-product form.cart .wpp-qty-wrap button.disabled { opacity: .35; cursor: default; background: #fff !important; color: var(--yb-texte, #212529) !important; }
.single-product form.cart .wpp-qty-wrap input.qty { width: 44px !important; height: 42px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; font-size: 15px !important; font-weight: 700; color: var(--yb-texte, #212529); -moz-appearance: textfield; }
.single-product form.cart .wpp-qty-wrap input.qty::-webkit-outer-spin-button,
.single-product form.cart .wpp-qty-wrap input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product form.cart .single_add_to_cart_button { margin-left: auto !important; height: 44px; white-space: nowrap; }

/* Panier vide : bouton « Retour à la boutique » (même dessin que « Ajouter au panier ») */
.woocommerce-cart .woocommerce:has(> .wc-empty-cart-message) { display: flex; align-items: center; gap: 16px; }
.woocommerce-cart .wc-empty-cart-message { flex: 1 1 auto; min-width: 0; }
.woocommerce-cart .return-to-shop { flex: 0 0 auto; margin: 0 !important; align-self: center; }
.woocommerce-cart .return-to-shop .button { display: inline-flex !important; align-items: center; justify-content: center; height: 44px; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important; background: var(--yb-orange, #EF7D00) !important; color: #fff !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important; text-decoration: none !important; box-shadow: none !important; transition: background .2s; }
.woocommerce-cart .return-to-shop .button:hover { background: #FF8400 !important; color: #fff !important; }

/* ==================================================================
   Page « Mes groupes » — mise en page moderne
   ================================================================== */
.yb-mesgroupes { display: flex; flex-direction: column; gap: 26px; }
.yb-mesgroupes__entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.yb-mesgroupes__surtitre { display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #6C757D; }
.yb-mesgroupes__titre { margin: 6px 0 4px; font-size: 34px; font-weight: 800; color: #EF7D00; }
.yb-mesgroupes__accroche { margin: 0; font-size: 14px; color: #495057; }
.yb-mesgroupes__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.yb-mesgroupes .yb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px !important; border-radius: 999px !important; font-size: 14px; font-weight: 700; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; }
.yb-mesgroupes .yb-btn--ligne { border: 1px solid #DEE2E6 !important; background: #fff !important; color: #212529 !important; }
.yb-mesgroupes .yb-btn--ligne:hover { border-color: #EF7D00 !important; color: #EF7D00 !important; }
.yb-mesgroupes .yb-btn--plein { border: 1px solid #EF7D00 !important; background: #EF7D00 !important; color: #fff !important; }
.yb-mesgroupes .yb-btn--plein:hover { background: #C46600 !important; border-color: #C46600 !important; color: #fff !important; }

.yb-mesgroupes__chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.yb-mesgroupes .yb-chiffre { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 20px; border-radius: 14px; }
.yb-mesgroupes .yb-chiffre::before { content: ""; grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: 18px 18px; }
.yb-mesgroupes .yb-chiffre strong { align-self: end; font-size: 20px; font-weight: 800; line-height: 1.2; color: #212529; }
.yb-mesgroupes .yb-chiffre span { align-self: start; font-size: 13px; line-height: 1.3; color: #6C757D; }
.yb-mesgroupes .yb-chiffre--orange::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF7D00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E"); }
.yb-mesgroupes .yb-chiffre--turquoise::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B9A9D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M15.5 20a5 5 0 0 1 6 0'/%3E%3C/svg%3E"); }
.yb-mesgroupes .yb-chiffre--gris::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.yb-mesgroupes .yb-chiffre--orange { background: #FEF4E9; }
.yb-mesgroupes .yb-chiffre--turquoise { background: #E6F5F5; }
.yb-mesgroupes .yb-chiffre--gris { background: #F1F3F5; }

.yb-mesgroupes .yb-onglets { display: flex; flex-wrap: wrap; gap: 26px; border-bottom: 1px solid #E9ECEF; }
.yb-mesgroupes .yb-onglet { padding: 0 0 12px; border: 0; border-bottom: 3px solid transparent; background: none; font-family: inherit; font-size: 15px; font-weight: 700; color: #6C757D; cursor: pointer; }
.yb-mesgroupes .yb-onglet span { font-weight: 700; }
.yb-mesgroupes .yb-onglet:hover { color: #EF7D00; }
.yb-mesgroupes .yb-onglet.is-actif { border-bottom-color: #EF7D00; color: #EF7D00; font-weight: 800; }
.yb-mesgroupes .yb-panneau { display: none; }
.yb-mesgroupes .yb-panneau.is-actif { display: block; }

.yb-mesgroupes .yb-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yb-mesgroupes .yb-mgcarte { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid #E9ECEF; border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.yb-mesgroupes .yb-mgcarte:hover { border-color: #EF7D00; box-shadow: 0 8px 18px rgba(0, 0, 0, .07); transform: translateY(-2px); }
.yb-mesgroupes .yb-mgcarte--actif { box-shadow: 0 6px 16px rgba(0, 0, 0, .05); }
.yb-mesgroupes .yb-mgcarte__entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.yb-mesgroupes .yb-mgcarte__ident { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yb-mesgroupes .yb-mgcarte__titre { font-size: 19px; font-weight: 800; color: #EF7D00 !important; text-decoration: none !important; }
.yb-mesgroupes .yb-mgcarte__titre:hover { color: #C46600 !important; }
.yb-mesgroupes .yb-mgcarte__ville { font-size: 13px; line-height: 1.4; color: #6C757D; }
.yb-mesgroupes .yb-mgcarte__role { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #FEF4E9; font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: #C46600; }
.yb-mesgroupes .yb-mgcarte__role--membre { background: #E6F5F5; color: #146E70; }

.yb-mesgroupes .yb-mgcarte__membres { display: flex; align-items: center; gap: 10px; }
.yb-mesgroupes .yb-mgavas { display: flex; }
.yb-mesgroupes .yb-mgava { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; background: #1B9A9D; font-size: 10px; font-weight: 800; color: #fff; }
.yb-mesgroupes .yb-mgava:first-child { margin-left: 0; }
.yb-mesgroupes .yb-mgava--gerant { background: #EF7D00; }
.yb-mesgroupes .yb-mgava--plus { background: #F1F3F5; color: #495057; }
.yb-mesgroupes .yb-mgcarte__nb { font-size: 13px; color: #6C757D; }

.yb-mesgroupes .yb-mgcarte__etat { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #E6F5F5; }
.yb-mesgroupes .yb-mgcarte__etat-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.yb-mesgroupes .yb-mgcarte__etat-titre { font-size: 13px; font-weight: 700; color: #146E70; }
.yb-mesgroupes .yb-mgcarte__etat-chiffre { font-size: 12px; font-weight: 700; color: #146E70; }
.yb-mesgroupes .yb-mgcarte__barre { height: 6px; border-radius: 999px; background: #C9E7E7; overflow: hidden; }
.yb-mesgroupes .yb-mgcarte__barre span { display: block; height: 100%; border-radius: 999px; background: #1B9A9D; }
.yb-mesgroupes .yb-mgcarte__etat-note { font-size: 12px; line-height: 1.4; color: #146E70; }
.yb-mesgroupes .yb-mgcarte__etat--vide { flex-direction: row; justify-content: space-between; align-items: center; background: #F8F9FA; }
.yb-mesgroupes .yb-mgcarte__etat--vide span { font-size: 13px; color: #6C757D; }
.yb-mesgroupes .yb-mgcarte__etat--vide a { font-size: 13px; font-weight: 700; color: #EF7D00 !important; text-decoration: none !important; }
.yb-mesgroupes .yb-mgcarte__lien { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; font-size: 14px; font-weight: 700; color: #1B9A9D !important; text-decoration: none !important; }
.yb-mesgroupes .yb-mgcarte__lien:hover { color: #146E70 !important; }

.yb-mesgroupes .yb-mgcreer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 230px; padding: 20px; border: 2px dashed #F3D9BE; border-radius: 16px; background: #FFFCF8; text-align: center; text-decoration: none !important; transition: border-color .15s, background .15s; }
.yb-mesgroupes .yb-mgcreer:hover { border-color: #EF7D00; background: #FEF4E9; }
.yb-mesgroupes .yb-mgcreer__rond { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #FEF4E9; font-size: 22px; font-weight: 700; line-height: 1; color: #EF7D00; }
.yb-mesgroupes .yb-mgcreer strong { font-size: 15px; font-weight: 800; color: #EF7D00; }
.yb-mesgroupes .yb-mgcreer__texte { max-width: 220px; font-size: 13px; line-height: 1.45; color: #6C757D; }

@media (max-width: 991px) {
	.yb-mesgroupes .yb-grille { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.yb-mesgroupes__chiffres,
	.yb-mesgroupes .yb-grille { grid-template-columns: 1fr; }
	.yb-mesgroupes__titre { font-size: 27px; }
	.yb-mesgroupes__actions { width: 100%; }
	.yb-mesgroupes .yb-btn { flex: 1 1 auto; }
}

/* ==================================================================
   Listes de sélection Select2 (Click & Collect, pays…) — couleurs Yummy BARF
   ================================================================== */
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background-color: #1B9A9D !important; color: #fff !important; }
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] { background-color: #E6F5F5 !important; color: #146E70 !important; }
.select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted { background-color: #1B9A9D !important; color: #fff !important; }
.select2-container--default .select2-results__group { color: #146E70 !important; font-weight: 800; }
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: #1B9A9D !important; outline: none !important; box-shadow: 0 0 0 3px rgba(27, 154, 157, .15) !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color: #1B9A9D !important; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-bottom-color: #1B9A9D !important; }

.yb-livraisons__adresse { display: inline-flex; align-items: center; justify-content: center; height: 40px; margin-top: 10px; padding: 0 18px; border-radius: 999px; background: #EF7D00; font-size: 14px; font-weight: 700; color: #fff !important; text-decoration: none !important; transition: background .15s; }
.yb-livraisons__adresse:hover { background: #C46600; color: #fff !important; }

/* Calculateur d'adresse du panier (aucune adresse renseignée) */
.cart_totals tr.shipping .shipping-calculator-button { display: inline-flex; align-items: center; justify-content: center; height: 40px; margin-top: 10px; padding: 0 18px; border-radius: 999px; background: #EF7D00; font-size: 14px; font-weight: 700; color: #fff !important; text-decoration: none !important; transition: background .15s; }
.cart_totals tr.shipping .shipping-calculator-button:hover { background: #C46600; color: #fff !important; }
.cart_totals tr.shipping .shipping-calculator-form { margin-top: 12px; padding: 14px; border: 1px solid #E9ECEF; border-radius: 12px; background: #F8F9FA; }
.cart_totals tr.shipping .shipping-calculator-form p { margin: 0 0 10px; }
.cart_totals tr.shipping .shipping-calculator-form label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: #495057; }
.cart_totals tr.shipping .shipping-calculator-form .input-text,
.cart_totals tr.shipping .shipping-calculator-form select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #DEE2E6; border-radius: 10px; background: #fff; font-size: 14px; color: #212529; }
.cart_totals tr.shipping .shipping-calculator-form .input-text:focus,
.cart_totals tr.shipping .shipping-calculator-form select:focus { border-color: #1B9A9D; outline: none; box-shadow: 0 0 0 3px rgba(27, 154, 157, .15); }
.cart_totals tr.shipping .shipping-calculator-form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 42px; margin-top: 2px; border: 0 !important; border-radius: 999px !important; background: #1B9A9D !important; font-size: 14px; font-weight: 700; color: #fff !important; cursor: pointer; transition: background .15s; }
.cart_totals tr.shipping .shipping-calculator-form button[type="submit"]:hover { background: #146E70 !important; }
.cart_totals tr.shipping th { vertical-align: top; }

/* Ligne « Mode de livraison » sans adresse : une seule colonne, pleine largeur */
.cart_totals tr.shipping:not(.woocommerce-shipping-totals),
.cart_totals tr.yb-livraisons-ligne--adresse { display: block !important; width: 100%; }
.cart_totals tr.shipping:not(.woocommerce-shipping-totals) th,
.cart_totals tr.shipping:not(.woocommerce-shipping-totals) td,
.cart_totals tr.yb-livraisons-ligne--adresse th,
.cart_totals tr.yb-livraisons-ligne--adresse td { display: block; width: 100%; padding-left: 0 !important; padding-right: 0 !important; text-align: left; }
.cart_totals tr.shipping:not(.woocommerce-shipping-totals) th,
.cart_totals tr.yb-livraisons-ligne--adresse th { padding-bottom: 4px !important; }
.cart_totals tr.shipping .shipping-calculator-form,
.cart_totals tr.shipping .shipping-calculator-button { width: 100%; box-sizing: border-box; }

/* ==================================================================
   Select2 — rendu moderne (pays, Click & Collect…)
   ================================================================== */
.select2-container--default .select2-selection--single { height: 42px !important; border: 1px solid #DEE2E6 !important; border-radius: 10px !important; background: #fff !important; transition: border-color .15s, box-shadow .15s; }
.select2-container--default.select2-container--open .select2-selection--single { border-radius: 10px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { height: 40px !important; line-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; padding-left: 14px !important; padding-right: 38px !important; font-size: 14px; color: #212529 !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px !important; right: 10px !important; }
.select2-container .select2-dropdown { overflow: hidden; padding: 6px; border: 1px solid #E9ECEF !important; border-radius: 12px !important; background: #fff; box-shadow: 0 14px 32px rgba(33, 37, 41, .14); }
.select2-container .select2-dropdown--below { margin-top: 6px; }
.select2-container .select2-dropdown--above { margin-top: -6px; }
.select2-container--default .select2-search--dropdown { padding: 2px 2px 8px; }
.select2-container--default .select2-search--dropdown .select2-search__field { height: 38px; padding: 0 12px 0 36px !important; border: 1px solid #E9ECEF !important; border-radius: 999px !important; background: #F8F9FA url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868E96' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center / 15px 15px !important; font-size: 14px; color: #212529; }
.select2-container--default .select2-search--dropdown .select2-search__field:focus { background-color: #fff !important; }
.select2-container--default .select2-results > .select2-results__options { max-height: 260px; }
.select2-container--default .select2-results__option { margin: 1px 0; padding: 9px 12px !important; border-radius: 8px; font-size: 14px; line-height: 1.3; color: #212529; }
.select2-container--default .select2-results__option[role="group"] { margin: 0; padding: 0 !important; border-radius: 0; }
.select2-container--default .select2-results__group { padding: 10px 12px 4px !important; font-size: 11px !important; letter-spacing: .6px; text-transform: uppercase; }
.select2-container--default .select2-results__option--highlighted { font-weight: 600; }
.select2-container--default .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted)::after,
.select2-container--default .select2-results__option[data-selected="true"]:not(.select2-results__option--highlighted)::after { content: "✓"; float: right; font-weight: 800; color: #1B9A9D; }

/* ==================================================================
   Catalogue — produits en rupture de stock
   ================================================================== */
li.product.outofstock .link-wrapper .button { border: 2px solid #1B9A9D !important; background: #fff !important; color: #1B9A9D !important; box-shadow: none !important; }
li.product.outofstock .link-wrapper .button:hover { background: #E6F5F5 !important; color: #146E70 !important; border-color: #146E70 !important; }

/* Adresse déjà renseignée : pas de bouton « Modifier mon adresse » dans le panier */
.cart_totals tr.woocommerce-shipping-totals .shipping-calculator-button,
.cart_totals tr.woocommerce-shipping-totals .shipping-calculator-form { display: none !important; }

/* ==================================================================
   Cross-selling : choix de la variation sur la carte
   ================================================================== */
.yb-cs-var { width: 100%; margin: auto 0 !important; padding: 2px 0 10px !important; }
.yb-cs-var__tuiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.yb-cs-var__tuile { display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 4px !important; min-width: 0; height: 34px !important; min-height: 0 !important; margin: 0 !important; padding: 0 9px !important; border: 1.5px solid #DEE2E6; border-radius: 10px !important; background: #fff; box-shadow: none !important; font-family: inherit; line-height: 1 !important; white-space: nowrap; text-transform: none !important; cursor: pointer; transition: border-color .15s, background .15s; }
.yb-cs-var__sep { font-size: 11px; font-weight: 700; line-height: 1; color: #ADB5BD; }
.yb-cs-var__tuiles.is-empiles .yb-cs-var__tuile { flex-direction: column !important; gap: 2px !important; min-width: 0; height: 42px !important; padding: 0 9px !important; }
.yb-cs-var__tuiles.is-empiles .yb-cs-var__sep { display: none; }
.yb-cs-var__tuiles.is-grille2 { display: grid !important; grid-template-columns: 1fr 1fr; gap: 5px; }
.yb-cs-var__tuiles.is-grille2 .yb-cs-var__tuile { width: 100%; min-width: 0; padding: 0 6px !important; gap: 3px !important; }
.yb-cs-var__tuile:hover { border-color: #EF7D00; background: #fff; }
.yb-cs-var__tuile.is-choisi { border: 2px solid #EF7D00; background: #FFF8F1; }
.yb-cs-var__tuile:focus-visible { outline: 2px solid #1B9A9D; outline-offset: 2px; }
.yb-cs-var__nom { display: block; margin: 0; font-size: 11px !important; font-weight: 800; line-height: 1.2 !important; color: #212529; }
.yb-cs-var__prix { display: block; margin: 0; font-size: 11px !important; font-weight: 700; line-height: 1.2 !important; color: #8A3B12; }
.yb-cs-var__liste { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 0; text-align: left; }
.yb-cs-var__libelle { font-size: 12px; font-weight: 700; color: #495057; }
.yb-cs-var__select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #DEE2E6; border-radius: 10px; background: #fff; font-family: inherit; font-size: 14px; color: #212529; }
.yb-cs-var__select:focus { border-color: #1B9A9D; outline: none; box-shadow: 0 0 0 3px rgba(27, 154, 157, .15); }
.yb-cross-sell__carte .yb-cs-var__ajouter:disabled { border: 1.5px solid #CFE8E8 !important; background: #F3FAFA !important; color: #7FB9BA !important; opacity: 1 !important; cursor: not-allowed; }
.yb-cross-sell__badge[hidden] { display: none !important; }

/* Bloc « Commandes groupées » placé entre la jauge et le tableau des produits */
.woocommerce-cart-form .zone-commandes-groupees { margin: 0 0 20px !important; }

/* Page commande : liste des produits de « Votre commande » défilante à partir de 5 produits
   (370 px ≈ 4 lignes complètes ; dès la 5e, la moitié de la ligne suivante dépasse). */
.woocommerce-checkout-review-order-table { display: block; }
.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tfoot { display: table; width: 100%; }
.woocommerce-checkout-review-order-table tbody { display: block; width: 100%; box-sizing: border-box; max-height: 370px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.woocommerce-checkout-review-order-table tbody::-webkit-scrollbar { width: 6px; }
.woocommerce-checkout-review-order-table tbody::-webkit-scrollbar-track { background: #F1F3F5; border-radius: 999px; }
.woocommerce-checkout-review-order-table tbody::-webkit-scrollbar-thumb { background: #1B9A9D; border-radius: 999px; }
.woocommerce-checkout-review-order-table tbody tr.cart_item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; box-sizing: border-box; }
.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-name { flex: 1 1 auto; min-width: 0; }
.woocommerce-checkout-review-order-table tbody tr.cart_item td.product-total { flex: 0 0 auto; text-align: right; }

/* Jauge : préfixe « entre » placé à gauche du premier chiffre (comme le ✓) */
.yb-jauge__ok.yb-jauge__prefixe { white-space: nowrap; padding-right: 4px; color: inherit; }


/* Page groupe : initiales blanches sur les avatars colorés (orange / turquoise) */
.yb-avatar.yb-avatar--orange,
.yb-avatar.yb-avatar--turquoise{color:#fff !important;}

/* Mes groupes : objectif de livraison offerte à côté du poids */
.yb-mgcarte__etat-objectif{font-weight:500;color:#6b7280;font-size:.92em;}

/* Page groupe : activité des membres et retrait des membres inactifs */
.yb-membre{position:relative;}
.yb-membre .yb-membre__activite{display:block !important;font-size:12px !important;line-height:1.3;color:#9ca3af !important;margin-top:2px;}
.yb-membre--inactif .yb-membre__activite{color:#b45309 !important;}
.yb-membre .yb-membre__retirer{margin:0 0 0 auto;align-self:center;flex-shrink:0;}
.yb-membre .yb-membre__retirer button{background:#fff !important;color:#b91c1c !important;border:1px solid #fecaca !important;border-radius:999px !important;padding:4px 12px !important;font-size:12px !important;font-weight:600 !important;line-height:1.4 !important;cursor:pointer;box-shadow:none !important;text-transform:none !important;transition:background .15s,border-color .15s;}
.yb-membre .yb-membre__retirer button:hover{background:#fef2f2 !important;border-color:#f87171 !important;}
.yb-membre .yb-membre__activite{white-space:normal !important;overflow:visible !important;text-overflow:clip !important;}

/* Page groupe : pagination de l'historique des commandes groupées */
.yb-historique__plus{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:16px 0 4px;}
.yb-historique__plus a{display:inline-flex;align-items:center;padding:8px 18px;border:1px solid #1B9A9D;border-radius:999px;color:#1B9A9D !important;font-weight:600;font-size:14px;text-decoration:none !important;transition:background .15s,color .15s;}
.yb-historique__plus a:hover{background:#1B9A9D;color:#fff !important;}
.yb-historique__plus span{font-size:12px;color:#9ca3af;}

/* Click & Collect par camion : tournée(s) ouverte(s) sous le nom du mode */
.yb-livraison--ok label .yb-livraison__texte{flex-grow:1;min-width:0;display:flex !important;flex-direction:column;gap:2px;cursor:pointer;}
.yb-livraison__info{font-size:12px;color:var(--yb-texte-doux);line-height:1.35;font-weight:400;}
.yb-livraison--ok.is-choisie .yb-livraison__info{color:#14676A;}


/* Jauge : étiquettes des paliers en pastilles — pâle tant que le palier n'est pas atteint, pleine couleur une fois atteint */
.yb-jauge{container-type:inline-size;}
.yb-jauge__paliers{height:24px;margin-top:2px;}
.yb-jauge__palier,.yb-jauge__palier.is-cible{display:inline-flex;align-items:center;box-sizing:border-box;height:22px;padding:0 10px 0 0;border-radius:0 999px 999px 0;background:#D9EFEF;color:#14676A;font-weight:700;line-height:1;transition:background .25s,color .25s;}
.yb-jauge__palier .yb-jauge__ok,.yb-jauge__palier .yb-jauge__ok.yb-jauge__prefixe{top:0;bottom:0;display:inline-flex;align-items:center;margin-right:-1px;padding:0 5px 0 10px;border-radius:999px 0 0 999px;background:inherit;color:inherit;white-space:nowrap;}
.yb-jauge__palier:not(:has(.yb-jauge__ok)){padding-left:10px;margin-left:-10px;border-radius:999px;}
.yb-jauge__palier--fin:not(:has(.yb-jauge__ok)){margin-left:0;}
.yb-jauge__palier.is-ok{background:#1B9A9D;color:#fff;}
/* Jauge étroite : les pastilles ne tiennent plus sous leur repère, elles se rangent en ligne (et passent à la ligne si besoin) */
@container (max-width: 860px){
.yb-jauge__paliers{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;height:auto;}
.yb-jauge__palier,.yb-jauge__palier.is-cible{position:static;padding:0 10px;margin-left:0 !important;border-radius:999px !important;}
.yb-jauge__palier .yb-jauge__ok,.yb-jauge__palier .yb-jauge__ok.yb-jauge__prefixe{position:static;margin:0 4px 0 0;padding:0;border-radius:0;background:none;}
}

/* Jauge : une couleur par palier — texte coloré sur fond clair, puis fond plein et texte blanc une fois atteint */
.yb-jauge__palier--minimum,.yb-jauge__palier--minimum.is-cible{background:#EADCD8;color:#662011;}
.yb-jauge__palier--chronofresh,.yb-jauge__palier--chronofresh.is-cible{background:#FBDDB9;color:#EF7D00;}
.yb-jauge__palier--refrigere,.yb-jauge__palier--refrigere.is-cible{background:#D2ECEC;color:#1B9A9D;}
.yb-jauge__palier--minimum.is-ok{background:#662011;color:#fff;}
.yb-jauge__palier--chronofresh.is-ok{background:#EF7D00;color:#fff;}
.yb-jauge__palier--refrigere.is-ok{background:#1B9A9D;color:#fff;}
