/**
 * Widget Elementor : bouton panier header (icône + badge).
 */
.sailiz-csc-header-toggle {
	--csc-header-badge-bg: #c6580d;
	--csc-header-badge-color: #111;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
	vertical-align: middle;
}

.sailiz-csc-header-toggle:focus-visible {
	outline: 2px solid var(--csc-header-badge-bg, #c6580d);
	outline-offset: 3px;
}

.sailiz-csc-header-toggle__icon {
	display: block;
	width: clamp(1.5625rem, -0.9375rem + 3.125vw, 2.1875rem);
	height: auto;
}

.sailiz-csc-header-toggle__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}


.sailiz-csc-header-toggle__badge.is-empty {
	display: none;
}

.sailiz-csc-header-toggle__value {
	display: inline-block;
}


button.csc-toggle.sailiz-csc-header-toggle,
button.csc-toggle.sailiz-csc-header-toggle:hover {
	background-color: transparent !important;
}

span.csc-header-toggle__badge {
    font-size: 13px;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: 600;
    top: 0 !important;
    right: -10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--csc-header-badge-bg, #c6580d);
    border-radius: 100%;
    color: var(--items-indicator-text-color, #000);
    display: block;
    inset-inline-end: -.7em;
    line-height: 1.5em;
    min-width: 1.6em;
    position: absolute;
    text-align: center;
	width: 24px;
	height: 24px;
}

/* Téléphone : badge plus compact */
@media (max-width: 767px) {
	span.csc-header-toggle__badge {
		font-size: 10px;
		width: 18px;
		height: 18px;
		min-width: 18px;
		line-height: 18px;
	}
}