.asb-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: var(--asb-bg, #111827);
	color: var(--asb-text, #ffffff);
	transform: translateY(110%);
	transition: transform 0.35s ease;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.asb-bar.asb-visible {
	transform: translateY(0);
}

.asb-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	padding: 10px 16px;
}

.asb-logo {
	height: 42px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
	border-radius: 6px;
	flex: none;
}

.asb-logo--plate {
	background: #fff;
	padding: 3px;
}

.asb-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	flex: 1 1 auto;
	min-width: 180px;
	color: inherit;
}

/* Icônes de paiement inline (shortcode :visa:, :aba:… via asb_render_pay).
   Dimensionnées à la hauteur du texte porteur (message ou libellé compte
   à rebours). !important : blindage contre les règles d'image du thème /
   d'Elementor (`.elementor img { height: auto }` écrase une simple classe
   — bug vécu sur les widgets Affi, même défense ici). */
img.asb-pay-icon {
	display: inline-block !important;
	height: 1.35em !important;
	width: auto !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 0.15em !important;
	vertical-align: -0.32em !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.asb-countdown {
	display: flex;
	align-items: baseline;
	gap: 7px;
	flex: none;
	white-space: nowrap;
}

.asb-countdown-label {
	font-size: 11px;
	opacity: 0.85;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.asb-countdown-digits {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	font-size: 17px;
}

.asb-coupon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	border: 1.5px dashed currentColor;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: inherit;
	padding: 7px 12px;
	cursor: pointer;
	font: inherit;
	line-height: 1;
}

.asb-coupon:hover {
	background: rgba(255, 255, 255, 0.16);
}

.asb-coupon .asb-code {
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 14px;
}

.asb-coupon .asb-copy {
	font-size: 12.5px;
	line-height: 1.4;
	opacity: 0.8;
	letter-spacing: 0.03em;
}

.asb-cta {
	flex: none;
	background: var(--asb-btn-bg, #f59e0b);
	color: var(--asb-btn-text, #111111);
	padding: 11px 22px;
	border-radius: 9px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.asb-cta:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	color: var(--asb-btn-text, #111111);
	text-decoration: none;
}

.asb-close {
	position: absolute;
	top: -13px;
	right: 12px;
	width: 26px;
	height: 26px;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	color: #111111;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

@media (max-width: 640px) {
	.asb-inner {
		gap: 6px 10px;
		padding: 8px 10px;
	}

	.asb-text {
		flex-basis: 100%;
		text-align: center;
		font-size: 13px;
		min-width: 0;
	}

	.asb-logo {
		height: 30px;
	}

	.asb-countdown-digits {
		font-size: 15px;
	}

	.asb-cta {
		padding: 9px 16px;
		font-size: 14px;
	}
}
