/**
 * Zevonix Suite - Pill Row
 * Layout skeleton. Every visual value below is overridable from the
 * Elementor Style tab; these are only the fallbacks, and they reproduce the
 * pill aesthetic the Home trades row used before it became a widget.
 */

.zsuite-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: var( --zsp-justify, center );
	gap: var( --zsp-gap, 12px );
	max-width: var( --zsp-max-width, 1100px );
	margin: 0 auto;
}

.zsuite-pill {
	display: inline-flex;
	align-items: center;
	gap: var( --zsp-icon-gap, 10px );
	flex: 0 0 auto;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 22px;
	background-color: rgba( 255, 255, 255, 0.08 );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.zsuite-pills--lift .zsuite-pill:hover,
a.zsuite-pill:focus-visible {
	transform: translateY( calc( -1 * var( --zsp-hover-lift, 1px ) ) );
}

a.zsuite-pill:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.zsuite-pill__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #FFFFFF;
	font-size: 18px;
	line-height: 1;
}

.zsuite-pill__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.zsuite-pill__label {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: #FFFFFF;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}

/* Editor placeholder when the repeater is empty. */
.zsuite-pills__empty {
	width: 100%;
	padding: 20px;
	border: 1px dashed #CBD5E1;
	border-radius: 8px;
	color: #64748B;
	text-align: center;
	font-size: 14px;
}

@media ( prefers-reduced-motion: reduce ) {
	.zsuite-pill {
		transition: none;
	}

	.zsuite-pills .zsuite-pill:hover,
	.zsuite-pills .zsuite-pill:focus-visible {
		transform: none;
	}
}
