/**
 * Homepage Hero v2 + product marquee — full-viewport luxury composition.
 */

/* —— Glass buttons (Hero) —— */
.sbh-btn--glass {
	background: rgba(255, 252, 247, 0.18);
	color: #fffaf3;
	border: 1px solid rgba(255, 255, 255, 0.42);
	backdrop-filter: blur(16px) saturate(1.15);
	-webkit-backdrop-filter: blur(16px) saturate(1.15);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
	font-weight: 500;
}

.sbh-btn--glass:hover {
	background: rgba(255, 252, 247, 0.18);
	color: #fffaf3;
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.18),
		inset 0 0 28px rgba(255, 248, 230, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.sbh-btn--glass-gold {
	background: rgba(196, 165, 116, 0.42);
	border-color: rgba(232, 208, 160, 0.55);
	color: #fffaf3;
}

.sbh-btn--glass-gold:hover {
	background: rgba(196, 165, 116, 0.42);
	color: #fffaf3;
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.18),
		inset 0 0 28px rgba(255, 248, 230, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* —— Full-viewport Hero —— */
.sbh-home .sbh-hero {
	position: relative;
	isolation: isolate;
	min-height: 100svh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	padding: calc(var(--sbh-header-h) + 1rem) 0 3.5rem;
	overflow: hidden;
	background: #1c1917;
}

.sbh-home .sbh-hero__bg {
	position: absolute;
	inset: -4% -2%;
	z-index: 0;
	will-change: transform;
}

.sbh-home .sbh-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transform: scale(1.06);
}

.sbh-home .sbh-hero__bg-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(22, 18, 16, 0.78) 0%, rgba(28, 24, 20, 0.55) 42%, rgba(28, 24, 20, 0.35) 100%),
		linear-gradient(180deg, rgba(20, 16, 14, 0.35) 0%, transparent 35%, rgba(20, 16, 14, 0.55) 100%);
}

.sbh-home .sbh-hero__bg-gold {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 70% 60% at 20% 40%,
		rgba(196, 165, 116, 0.28),
		transparent 62%
	);
	mix-blend-mode: soft-light;
}

.sbh-home .sbh-hero__bg-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 45% 40% at 75% 55%,
		rgba(255, 236, 200, 0.16),
		transparent 65%
	);
	pointer-events: none;
}

.sbh-home .sbh-hero__layout {
	position: relative;
	z-index: 2;
	width: min(100% - 2.5rem, var(--sbh-container));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
	min-height: calc(100svh - var(--sbh-header-h) - 4.5rem);
	min-height: calc(100dvh - var(--sbh-header-h) - 4.5rem);
}

.sbh-home .sbh-hero__copy {
	color: #f7f2ea;
	max-width: 36rem;
}

.sbh-home .sbh-hero__title {
	margin: 0 0 1.25rem;
	font-family: var(--sbh-font-display);
	font-size: clamp(2.75rem, 5.8vw, 4.75rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.02;
	max-width: 13ch;
	color: #fffaf3;
	text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sbh-home .sbh-hero__visual {
	margin: 0;
	position: relative;
	align-self: center;
	width: 100%;
	height: min(78vh, 44rem);
	min-height: 28rem;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow:
		0 36px 90px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(196, 165, 116, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	background: #2a2420;
	will-change: transform;
}

.sbh-home .sbh-hero__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
	display: block;
}

.sbh-home .sbh-hero .sbh-lang {
	margin-bottom: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.sbh-home .sbh-hero .sbh-lang__link {
	color: rgba(247, 242, 234, 0.55);
}

.sbh-home .sbh-hero .sbh-lang__link:hover,
.sbh-home .sbh-hero .sbh-lang__link.is-active {
	color: #f7f2ea;
}

.sbh-home .sbh-hero .sbh-lang__sep {
	color: rgba(247, 242, 234, 0.3);
}

.sbh-home .sbh-hero__brand {
	margin: 0 0 1rem;
	font-family: var(--sbh-font-display);
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #e8d4b0;
}

.sbh-home .sbh-hero__subtitle {
	margin: 0 0 2rem;
	max-width: 28rem;
	font-size: 1.08rem;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(247, 242, 234, 0.82);
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.sbh-home .sbh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.sbh-home .sbh-hero__visual::after {
	display: none;
}

.sbh-home .sbh-hero__visual-shimmer {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	background: linear-gradient(
		115deg,
		transparent 0%,
		transparent 40%,
		rgba(255, 248, 232, 0.22) 50%,
		transparent 60%,
		transparent 100%
	);
	background-size: 220% 100%;
	animation: sbh-hero-img-shimmer 16s ease-in-out infinite;
	mix-blend-mode: soft-light;
}

@keyframes sbh-hero-img-shimmer {
	0%,
	18% { background-position: 130% 0; opacity: 0.25; }
	50% { background-position: -30% 0; opacity: 0.55; }
	82%,
	100% { background-position: -30% 0; opacity: 0.25; }
}

.sbh-home .sbh-hero [data-sbh-enter] {
	opacity: 0;
	transform: translateY(1.4rem);
	animation: sbh-hero-enter 1.05s var(--sbh-ease) forwards;
}

.sbh-home .sbh-hero [data-sbh-enter="1"] { animation-delay: 0.12s; }
.sbh-home .sbh-hero [data-sbh-enter="2"] { animation-delay: 0.32s; }

@keyframes sbh-hero-enter {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Transparent header over dark hero */
.home .sbh-header:not(.is-scrolled) {
	background: rgba(20, 16, 14, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.home .sbh-header:not(.is-scrolled) .sbh-logo__text,
.home .sbh-header:not(.is-scrolled) .sbh-nav__list a,
.home .sbh-header:not(.is-scrolled) .sbh-nav__link {
	color: rgba(247, 242, 234, 0.88);
}

.home .sbh-header:not(.is-scrolled) .sbh-nav__list a:hover,
.home .sbh-header:not(.is-scrolled) .sbh-nav__item.is-active .sbh-nav__link {
	color: #fff;
}

/* —— Product marquee (always moving) —— */
.sbh-home .sbh-marquee {
	position: relative;
	z-index: 3;
	margin-top: -1.5rem;
	padding: 0 0 2.5rem;
	overflow: visible;
	border: 0;
	background: transparent;
}

.sbh-home .sbh-marquee::before,
.sbh-home .sbh-marquee::after {
	display: none;
}

.sbh-home .sbh-marquee__viewport {
	overflow: hidden;
	padding: 0.5rem 0 0.25rem;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	background: linear-gradient(180deg, rgba(247, 242, 234, 0.92) 0%, var(--sbh-bg-canvas) 100%);
	border-block: 1px solid rgba(196, 165, 116, 0.28);
	padding-block: 1.35rem;
}

.sbh-home .sbh-marquee__track {
	display: flex;
	width: max-content;
	gap: 1rem;
	animation: sbh-marquee-run 55s linear infinite;
	will-change: transform;
}

.sbh-home .sbh-marquee:hover .sbh-marquee__track {
	animation-play-state: running;
}

@keyframes sbh-marquee-run {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.sbh-home .sbh-marquee__card {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	width: 12.5rem;
	text-decoration: none;
	color: inherit;
	background: #fffaf5;
	border: 1px solid rgba(196, 165, 116, 0.28);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(47, 44, 42, 0.08);
}

a.sbh-marquee__card:hover {
	color: inherit;
	border-color: rgba(184, 149, 94, 0.55);
}

.sbh-home .sbh-marquee__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: linear-gradient(155deg, #f3ebe0, #d8c4a8);
}

.sbh-home .sbh-marquee__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sbh-home .sbh-marquee__media-ph {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse 60% 50% at 40% 30%, rgba(255, 248, 235, 0.7), transparent 65%),
		linear-gradient(155deg, #f3ebe0, #cbb38f);
}

.sbh-home .sbh-marquee__meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.85rem 0.9rem 1rem;
}

.sbh-home .sbh-marquee__brand {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sbh-accent-gold);
}

.sbh-home .sbh-marquee__title {
	font-family: var(--sbh-font-display);
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--sbh-bg-emphasis);
}

.sbh-home .sbh-marquee__cat {
	font-size: 0.78rem;
	font-weight: 400;
	color: var(--sbh-text-secondary);
}

@media (max-width: 900px) {
	.sbh-home .sbh-hero {
		padding: calc(var(--sbh-header-h) + 0.75rem) 0 2.5rem;
		min-height: 100svh;
		min-height: 100dvh;
	}

	.sbh-home .sbh-hero__layout {
		grid-template-columns: 1fr;
		min-height: auto;
		gap: 1.5rem;
		padding: 0.5rem 0 1rem;
	}

	.sbh-home .sbh-hero__visual {
		order: -1;
		min-height: min(42vh, 18rem);
		max-height: 46vh;
		border-radius: 18px;
	}

	.sbh-home .sbh-hero__title {
		max-width: 12ch;
		font-size: clamp(2.2rem, 9vw, 3.2rem);
	}

	.sbh-home .sbh-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sbh-home .sbh-hero__actions .sbh-btn {
		width: 100%;
	}

	.sbh-home .sbh-marquee {
		margin-top: 0;
	}

	.sbh-home .sbh-marquee__card {
		width: 10.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sbh-home .sbh-hero__visual-shimmer,
	.sbh-home .sbh-marquee__track,
	.sbh-home .sbh-hero [data-sbh-enter] {
		animation: none !important;
	}

	.sbh-home .sbh-hero [data-sbh-enter] {
		opacity: 1;
		transform: none;
	}

	.sbh-home .sbh-hero__bg,
	.sbh-home .sbh-hero__visual {
		transform: none !important;
	}
}
