/* Hero Section - V1 */
.hero {
	position: relative;
	height: 80vh;
	display: flex;
	color: var(--sc-hero-v1-root-text, var(--ivory-white));
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	width: 100%;
}

.hero-slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.hero-slide__media {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
}

.hero-slide__media::after {
	content: '';
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.hero--overlay .hero-slide__media::after {
	background: var(--overlay-color);
}

.hero-slide__image {
	display: block;
	height: 100%;
	object-fit: var(--hero-image-fit, cover);
	object-position: center;
	width: 100%;
}

.hero-slide.is-active {
	opacity: 1;
	z-index: 1;
}

/* Multi-slide carousel (2 or 3 per view on desktop, 1 on mobile) */
.hero--carousel .hero-slider {
	overflow: hidden;
	z-index: 1;
}

.hero--carousel .hero-slider__track {
	display: flex;
	height: 100%;
	gap: 8px;
	transition: transform 0.45s ease;
	will-change: transform;
}

.hero--carousel .hero-slide {
	position: relative;
	inset: auto;
	flex: 0 0 auto;
	height: 100%;
	min-height: 100%;
	opacity: 1;
	overflow: hidden;
}

.hero--carousel .hero-slide__media {
	position: absolute;
	inset: 0;
}

.hero--carousel .hero-slide__image {
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform-origin: center center;
	will-change: transform;
}

.hero--carousel .hero-slide:hover {
	z-index: 2;
}

@media (hover: hover) {
	.hero--carousel .hero-slide:hover .hero-slide__image {
		transform: scale(1.1);
	}
}

/* Let hover reach slides under the full-width text overlay */
.hero--carousel .hero__container {
	pointer-events: none;
}

.hero--carousel .hero-content,
.hero--carousel .hero-content a,
.hero--carousel .hero-content .shop-btn {
	pointer-events: auto;
}

.hero-slider-nav--side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 42px;
	height: 42px;
	background: var(--sc-hero-v1-slider-nav-side-bg, rgba(255, 255, 255, 0.88));
	color: var(--sc-hero-v1-slider-nav-side-text, #1f2937);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-slider-nav--side:hover,
.hero-slider-nav--side:focus-visible {
	background: var(--sc-hero-v1-slider-nav-side-hover-bg, #fff);
	transform: translateY(-50%) scale(1.04);
}

.hero-slider-nav--side.hero-slider-nav--prev {
	left: 16px;
}

.hero-slider-nav--side.hero-slider-nav--next {
	right: 16px;
}

.hero-slider-nav--side[hidden] {
	display: none;
}

.hero-slider-controls {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--sc-hero-v1-slider-controls-bg, rgba(0, 0, 0, 0.35));
	backdrop-filter: blur(4px);
}

.hero-slider-nav {
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: var(--sc-hero-v1-slider-nav-bg, rgba(255, 255, 255, 0.18));
	color: var(--sc-hero-v1-slider-nav-text, #fff);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-slider-nav:hover,
.hero-slider-nav:focus-visible {
	background: var(--sc-hero-v1-slider-nav-hover-bg, rgba(255, 255, 255, 0.32));
	outline: none;
}

.hero-slider-dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero-slider-dot {
	width: 10px;
	height: 10px;
	border: none;
	border-radius: 50%;
	padding: 0;
	background: var(--sc-hero-v1-slider-dot-bg, rgba(255, 255, 255, 0.45));
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-slider-dot.is-active {
	background: var(--sc-hero-v1-slider-dot-is-active-bg, #fff);
	transform: scale(1.15);
}

.hero .container.hero__container {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 32px 24px;
	box-sizing: border-box;
}

.hero__container--x-left,
.hero__container--x-center,
.hero__container--x-right {
	justify-content: flex-start;
}

.hero__container--y-top {
	align-items: flex-start;
}

.hero__container--y-center {
	align-items: center;
}

.hero__container--y-bottom {
	align-items: flex-end;
}

.hero-content {
	max-width: min(90vw, 560px);
	width: auto;
	margin-bottom: 60px;
}

/* Keep left/right at the physical screen edge in both LTR and RTL */
.hero__container--x-left .hero-content {
	margin-left: 0;
	margin-right: auto;
}

.hero__container--x-center .hero-content {
	margin-left: auto;
	margin-right: auto;
	width: min(90vw, 560px);
}

.hero__container--x-right .hero-content {
	margin-left: auto;
	margin-right: 0;
}

[dir="rtl"] .hero__container--x-left .hero-content {
	margin-left: auto;
	margin-right: 0;
}

[dir="rtl"] .hero__container--x-right .hero-content {
	margin-left: 0;
	margin-right: auto;
}

.hero-content--text-left {
	text-align: left;
}

[dir="rtl"] .hero-content--text-left {
	text-align: right;
}

.hero-content--text-center {
	text-align: center;
}

.hero-content--text-right {
	text-align: right;
}

[dir="rtl"] .hero-content--text-right {
	text-align: left;
}

.hero-content--text-left .shop-btn,
.hero-content--text-right .shop-btn {
	width: auto;
	display: inline-block;
	min-width: 180px;
	padding: 12px 30px;
}

.hero-content--text-center .shop-btn {
	display: block;
	width: 100%;
	max-width: 320px;
	min-width: 180px;
	margin-left: auto;
	margin-right: auto;
	padding: 12px 30px;
	white-space: nowrap;
}

.hero h1,
.hero h2 {
	color: var(--sc-hero-v1-root-heading-text, var(--primary-title-color));
	font-family: var(--font-family, 'Roboto', sans-serif);
}

.hero h1 {
	font-size: var(--hero-h1-size, 30px);
	font-weight: var(--hero-h1-weight, 400);
}

.hero h2 {
	font-size: var(--hero-h2-size, 25px);
	font-weight: var(--hero-h2-weight, 400);
	font-family: var(--font-family, 'Roboto', sans-serif);
}

.hero p {
	font-size: 20px;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 30px;
	font-weight: 600;
	transition: all 0.3s;
	cursor: pointer;
}

.shop-btn {
	color: var(--sc-hero-v1-shop-btn-text, var(--primary-button-text-color));
	background-color: var(--sc-hero-v1-shop-btn-bg, var(--primary-button-background-color));
	border-radius: 5px;
	font-size: var(--hero-button-size, 20px);
	font-weight: var(--hero-button-weight, 600);
	margin-top: 20px;
	padding: 2%;
	font-family: var(--font-family, 'Roboto', sans-serif);
	text-decoration: none;
	text-align: center;
	transition: all 0.3s;
}

.shop-btn:hover {
	background-color: var(--sc-hero-v1-shop-btn-hover-bg, var(--primary-button-hover-background-color));
	color: var(--sc-hero-v1-shop-btn-hover-text, var(--primary-button-hover-text-color));
}

@media (max-width: 768px) {
	.hero .container.hero__container {
		padding: 24px 16px;
	}

	.hero h1 {
		font-size: calc(var(--hero-h1-size, 30px) * 0.85);
	}

	.hero h2 {
		font-size: calc(var(--hero-h2-size, 25px) * 0.8);
	}

	.hero p {
		font-size: 16px;
	}

	.hero-content {
		max-width: 100%;
	}
}

@media (max-width: 576px) {
	.hero--carousel {
		height: 70vh;
	}

	.hero.hero--has-overlay:not(.hero--carousel) {
		height: auto;
	}

	.hero h1 {
		font-size: min(calc(var(--hero-h1-size, 30px) * 0.72), 1.375rem);
	}

	.hero h2 {
		font-size: min(calc(var(--hero-h2-size, 25px) * 0.68), 1rem);
	}

	.hero .container.hero__container {
		padding: 20px 16px;
	}

	.hero-slider-controls {
		bottom: 16px;
		gap: 10px;
		padding: 6px 10px;
	}

	.hero-slider-nav {
		width: 32px;
		height: 32px;
	}

	.hero-slider-nav--side {
		width: 36px;
		height: 36px;
	}

	.hero-slider-nav--side.hero-slider-nav--prev {
		left: 10px;
	}

	.hero-slider-nav--side.hero-slider-nav--next {
		right: 10px;
	}
}

@media (max-width: 480px) {
	.hero .container.hero__container {
		padding: 16px;
	}
}

/* === theme colour controls: inherited values (generated) === */
.hero-slide__media {
	color: var(--sc-hero-v1-slide-media-text, inherit);
}
/* === end theme colour controls === */
