/* Xclsv Brnd Banner: homepage category carousel. Matches the approved prototype (300px, gold CTA, dots). */
.eab-banner {
	position: relative;
	overflow: hidden;
	background: #000;
	height: 300px;
	touch-action: pan-y;
}

/* Wider screens: tie banner height to viewport width (which is what
   determines how harsh the photo crop is), capped so it never dominates. */
@media (min-width: 768px) {
	.eab-banner {
		height: min(560px, 35vw);
	}
}

.eab-banner-track {
	position: relative;
	height: 100%;
}

.eab-banner-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.eab-banner-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.eab-banner-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* --eab-pos: vertical anchor on wide screens (default 50%).
	   --eab-mpos: horizontal anchor on phones, where the sides crop. */
	object-position: 50% var(--eab-pos, 50%);
	display: block;
}

@media (max-width: 767px) {
	.eab-banner-slide img {
		object-position: var(--eab-mpos, 50%) 50%;
	}
}

.eab-banner-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 18px 26px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
	text-align: center;
}

.eab-banner-cta {
	display: inline-block;
	background: #b59677;
	color: #0a0a0a;
	font-family: 'Jost', system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.66rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 9px 22px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}

.eab-banner-cta:hover {
	background: #fff;
	color: #0a0a0a;
}

.eab-banner-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 3;
}

.eab-banner-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	padding: 0;
	transition: background 0.3s;
}

.eab-banner-dots button.is-active {
	background: #b59677;
}

@media (prefers-reduced-motion: reduce) {
	.eab-banner-slide {
		transition: none;
	}
	.eab-banner-dots button {
		transition: none;
	}
}
