/* Barre IOSS : progression de la valeur des articles expédiés hors UE (panier, tiroir, paiement). Variables --bp-cart-* de cart.css. */
.bp-ioss {
	--bp-ioss-fill: var(--bp-cart-brand, #34439e); --bp-ioss-tint: color-mix(in srgb, var(--bp-ioss-fill) 8%, #fff);
	box-sizing: border-box; margin: 0 0 18px; padding: 16px 18px 14px; border-radius: 18px; color: var(--bp-cart-ink, #2b2622);
	background: linear-gradient(180deg, #fff, var(--bp-ioss-tint)); border: 1px solid color-mix(in srgb, var(--bp-ioss-fill) 22%, transparent);
	box-shadow: 0 14px 30px -24px rgba(28, 33, 71, .45); font-family: var(--bp-font-body, 'Nunito'), system-ui, sans-serif;
}
.bp-ioss[hidden] { display: none; }
.bp-ioss--warn { --bp-ioss-fill: #c2610c; }
.bp-ioss--split { --bp-ioss-fill: #1f7a4d; }
.bp-ioss--exceeded, .bp-ioss--error { --bp-ioss-fill: #b3261e; }
.bp-ioss__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.bp-ioss__icon { flex: none; color: var(--bp-ioss-fill); }
.bp-ioss__title { font: 800 12px/1.2 var(--bp-font-body, 'Nunito'), system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-ioss-fill); }
.bp-ioss__msg { margin: 0 0 12px; font: 700 15px/1.4 var(--bp-font-body, 'Nunito'), system-ui, sans-serif; }
.bp-ioss__bar { height: 10px; border-radius: 999px; background: rgba(43, 38, 34, .1); overflow: hidden; }
.bp-ioss__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--bp-ioss-fill) 70%, #fff), var(--bp-ioss-fill)); transition: width .4s ease; }
.bp-ioss__scale { display: flex; justify-content: space-between; margin-top: 6px; font: 700 12px/1 var(--bp-font-body, 'Nunito'), system-ui, sans-serif; color: #6b635b; }
.bp-ioss__guide { margin-top: 14px; padding-top: 12px; border-top: 1px dashed color-mix(in srgb, var(--bp-ioss-fill) 35%, transparent); }
.bp-ioss__guide-title { margin: 0 0 8px; font: 800 14px/1.3 var(--bp-font-body, 'Nunito'), system-ui, sans-serif; }
.bp-ioss__fixes, .bp-ioss__eu { list-style: none; margin: 0 0 12px; padding: 0; }
.bp-ioss__fixes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--bp-cart-line, rgba(43, 38, 34, .1)); font-size: 14px; }
.bp-ioss__fix { color: var(--bp-cart-brand, #34439e); font-weight: 800; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.bp-ioss__fix:hover { color: var(--bp-cart-accent, #c2410c); }
.bp-ioss__saves { color: #6b635b; font-weight: 700; font-size: 13px; }
.bp-ioss__eu { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-bottom: 0; }
.bp-ioss__eu a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 8px; box-sizing: border-box; border-radius: 14px; background: #fff; border: 1px solid var(--bp-cart-line, rgba(43, 38, 34, .1)); color: inherit; text-decoration: none; }
.bp-ioss__eu a:hover { border-color: var(--bp-cart-brand, #34439e); }
.bp-ioss__eu img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bp-cart-soft, #f6f4f1); }
.bp-ioss__eu-name { font: 700 12.5px/1.3 var(--bp-font-body, 'Nunito'), system-ui, sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-ioss__eu-price { font: 800 13px/1.2 var(--bp-font-body, 'Nunito'), system-ui, sans-serif; color: var(--bp-cart-brand, #34439e); }
.bp-ioss__eu-price del { color: #8c8379; font-weight: 600; margin-right: 4px; }
.bp-ioss__eu-price ins { text-decoration: none; }
/* tiroir : plus compact */
.bp-ioss[data-where="drawer"] { margin: 12px 0 8px; padding: 12px 14px 10px; border-radius: 16px; }
.bp-ioss[data-where="drawer"] .bp-ioss__msg { font-size: 13.5px; margin-bottom: 10px; }
.bp-ioss[data-where="drawer"] .bp-ioss__eu { grid-template-columns: 1fr; gap: 6px; }
.bp-ioss[data-where="drawer"] .bp-ioss__eu a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; }
.bp-ioss[data-where="drawer"] .bp-ioss__eu img { width: 44px; border-radius: 8px; }
.woocommerce-cart .bp-ioss, .woocommerce-checkout .bp-ioss { max-width: 1180px; margin-inline: auto; }
@media (max-width: 749px) {
	.bp-ioss { padding: 14px 14px 12px; border-radius: 16px; margin-bottom: 14px; }
	.bp-ioss__msg { font-size: 14px; }
	.bp-ioss__eu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .bp-ioss__bar span { transition: none; } }

/* Bandeau d'erreur de blocage en double de l'encadré IOSS (ioss.display.hide_error_banner) */
.bp-ioss-hidden { display: none !important; }
