/* AB Hero Slider (Elementor widget "ab-hero-slider"). */

.ab-hs {
	--ab-hs-accent: #CE951B;
	position: relative;
	background: #120a0c;
	color: #fff;
	overflow: hidden;
}

.ab-hs__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.ab-hs__track::-webkit-scrollbar { display: none; }
.ab-hs__track:focus { outline: none; }

.ab-hs__slide {
	position: relative;
	flex: 0 0 100%;
	min-height: 45rem;
	display: flex;
	align-items: center;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	isolation: isolate;
}
.ab-hs__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #000;
	opacity: 0;
	pointer-events: none;
}
.ab-hs__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.ab-hs__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
	width: 100%;
	max-width: 58rem;
	padding: 100px 60px;
	box-sizing: border-box;
}
.ab-hs__content > * { margin: 0; max-width: 100%; text-wrap: pretty; }

.ab-hs .ab-hs__kicker { padding-top: 50px; font-size: 1.5rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.ab-hs .ab-hs__title {
	font-size: clamp(3.125rem, 5.15vw, 4.5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--ab-hs-accent);
}
.ab-hs .ab-hs__subtitle { font-size: 2rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; color: #fff; }
.ab-hs .ab-hs__text { font-size: 1.25rem; line-height: 1.75; text-transform: uppercase; color: #fff; }
.ab-hs .ab-hs__text strong, .ab-hs .ab-hs__subtitle strong { font-weight: 700; }
.ab-hs .ab-hs__note { padding-bottom: 30px; font-size: 1.05rem; line-height: 1.6; color: var(--ab-hs-accent); }
.ab-hs .ab-hs__note strong { font-weight: 700; }

.ab-hs .ab-hs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 16rem;
	padding: 1.3rem 2.5rem;
	background: var(--ab-gold, #A78156);
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s;
}
.ab-hs .ab-hs__btn:hover, .ab-hs .ab-hs__btn:focus-visible { background: var(--ab-gold-dark, #8A6A45); color: #fff; }

/* Arrows: shown on hover / keyboard focus, like the Shopify slideshow. */
.ab-hs .ab-hs__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s;
}
.ab-hs .ab-hs__arrow--prev { left: 12px; }
.ab-hs .ab-hs__arrow--next { right: 12px; }
.ab-hs:hover .ab-hs__arrow, .ab-hs .ab-hs__arrow:focus-visible { opacity: 1; }
.ab-hs .ab-hs__arrow:hover, .ab-hs .ab-hs__arrow:focus { background: transparent; color: var(--ab-hs-accent); }
.ab-hs .ab-hs__arrow svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Pause/play + dots, centred on the image. */
.ab-hs__controls {
	position: absolute;
	left: 50%;
	bottom: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 4px;
	transform: translateX(-50%);
}
.ab-hs .ab-hs__play, .ab-hs .ab-hs__dot {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.ab-hs .ab-hs__play:hover, .ab-hs .ab-hs__play:focus, .ab-hs .ab-hs__dot:hover, .ab-hs .ab-hs__dot:focus { background: transparent; color: #fff; }
.ab-hs .ab-hs__play svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ab-hs .ab-hs__icon-play { display: none; }
.ab-hs.is-paused .ab-hs__icon-pause { display: none; }
.ab-hs.is-paused .ab-hs__icon-play { display: block; }
.ab-hs .ab-hs__dots { display: flex; margin: 0; padding: 0; list-style: none; }
.ab-hs .ab-hs__dots li { margin: 0; }
.ab-hs .ab-hs__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .45);
	transition: background-color .2s, transform .2s;
}
.ab-hs .ab-hs__dot[aria-current="true"]::before { background: #fff; transform: scale(1.1); }
.ab-hs .ab-hs__play:focus-visible, .ab-hs .ab-hs__dot:focus-visible, .ab-hs .ab-hs__arrow:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

@media (max-width: 1024px) {
	.ab-hs__slide { min-height: 36rem; }
	.ab-hs__content { padding: 72px 48px; }
	.ab-hs .ab-hs__kicker { padding-top: 24px; }
}

@media (max-width: 767px) {
	.ab-hs__slide { min-height: 25rem; }
	.ab-hs__slide::after { opacity: .55; }
	.ab-hs__content { gap: 8px; padding: 40px 20px 64px; }
	.ab-hs .ab-hs__kicker { padding-top: 0; font-size: 1.05rem; }
	.ab-hs .ab-hs__title { font-size: clamp(2.25rem, 10vw, 3.125rem); }
	.ab-hs .ab-hs__subtitle { font-size: 1.3rem; }
	.ab-hs .ab-hs__text { font-size: 1rem; line-height: 1.6; }
	.ab-hs .ab-hs__note { padding-bottom: 16px; font-size: .95rem; }
	.ab-hs .ab-hs__btn { min-width: 0; padding: 1rem 2rem; }
	.ab-hs .ab-hs__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ab-hs__track { scroll-behavior: auto; }
}
