/**
 * AIEO Lowest Price (Omnibus) message — front-end styling.
 * Theme-token-driven so it inherits the host brand; muted by default.
 *
 * @package ai-eshop-optimizer
 */
.wp-block-aieo-lowest-price-message,
.aieo-lowest-price {
	display: flex;
	align-items: center;                       /* two columns (text | icon), vertically centred */
	gap: 4px;
	font-size: var(--aieo-lp-size, 0.75rem);   /* absolute size, operator-set — no parent inheritance */
	line-height: 1.4;
	color: var(--wp--preset--color--muted, #6b7280);
	margin: 6px 0;
}
.aieo-lowest-price__text { min-width: 0; }     /* lets the text wrap while the icon stays beside it */
.aieo-lowest-price__text .woocommerce-Price-amount,
.aieo-lowest-price__text bdi {
	font-weight: 600;
	color: var(--wp--preset--color--fg, #374151);
}

/* Info icon + hover/focus tooltip */
.aieo-lowest-price__info {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;              /* icon column never shrinks or wraps off */
	color: var(--wp--preset--color--accent, rgba(180, 25, 68, 0.7));
	cursor: help;
}
.aieo-lowest-price__info > svg {
	display: block;              /* fills the inline-block cleanly, no baseline descender */
	width: 1em;
	height: 1em;
}
.aieo-lowest-price__tooltip {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
	max-width: 240px;
	background: #1f2937;
	color: #fff;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 400;
	text-align: left;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, visibility 0.18s ease;
	z-index: 20;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}
.aieo-lowest-price__info:hover .aieo-lowest-price__tooltip,
.aieo-lowest-price__info:focus .aieo-lowest-price__tooltip,
.aieo-lowest-price__info:focus-visible .aieo-lowest-price__tooltip {
	opacity: 1;
	visibility: visible;
}
