.home-page {
	background: transparent;
}

/* Home hero layout/sizing: shared.css (.home-hero, .home-hero__*) */

#homeStorefrontHub {
	scroll-margin-top: 5rem;
	overflow-x: hidden;
}

.home-storefront-section {
	padding-top: 4rem;
}

.home-storefront-block--divider {
	padding-bottom: 2.5rem;
	margin-bottom: 0;
}

.home-storefront-block--divider + .home-storefront-block--divider {
	border-top: 1px solid rgba(212, 175, 55, 0.28);
	padding-top: 2.5rem;
}

.home-storefront-head {
	margin-bottom: 1rem;
}

.home-storefront-head-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	padding: 0.85rem 1.1rem;
	background: linear-gradient(
		135deg,
		rgba(255, 111, 0, 0.07) 0%,
		rgba(255, 248, 240, 0.95) 45%,
		rgba(255, 235, 210, 0.35) 100%
	);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-inline-start: 4px solid var(--ss-primary);
	border-radius: var(--radius-lg);
	box-shadow: 0 2px 10px rgba(90, 30, 30, 0.06);
}

.home-storefront-title {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
	margin: 0;
	padding-bottom: 0.35rem;
	font-size: clamp(1.1rem, 2.8vw, 1.55rem);
	font-weight: 800;
	color: var(--ss-section-accent);
	letter-spacing: 0.01em;
}

.home-storefront-title::after {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 3.25rem;
	height: 3px;
	border-radius: var(--radius-full);
	background: linear-gradient(90deg, var(--ss-primary), #d4af37, rgba(212, 175, 55, 0.2));
}

.home-storefront-head-row .btn-outline.btn-sm {
	flex: 0 0 auto;
	padding: 0.45rem clamp(1rem, 3vw, 2rem);
	border-color: rgba(212, 175, 55, 0.55);
	color: var(--ss-section-accent);
	font-size: clamp(0.85rem, 2.4vw, 1rem);
	font-weight: 600;
	white-space: nowrap;
}

.home-storefront-head-row .btn-outline.btn-sm:hover {
	border-color: var(--ss-primary);
	color: var(--ss-primary);
	background: rgba(255, 111, 0, 0.06);
}

.home-storefront-products-wrap {
	margin-bottom: 0.75rem;
	text-align: center;
}

.home-storefront-products-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	margin: 0 0 1.15rem;
	padding: 0;
	border: none;
	background: none;
	font: inherit;
}

.home-storefront-products-title::before,
.home-storefront-products-title::after {
	content: '';
	flex: 1;
	max-width: 4.5rem;
	height: 2px;
	border-radius: var(--radius-full);
	background: linear-gradient(90deg, transparent, #d4af37 50%, transparent);
	opacity: 0.85;
}

.home-storefront-products-title__text {
	position: relative;
	display: inline-block;
	padding: 0.45rem 1.65rem;
	font-size: clamp(0.92rem, 2.8vw, 1.05rem);
	font-weight: 700;
	color: var(--ss-section-accent);
	background: linear-gradient(135deg, #fffaf5 0%, #fff3e6 100%);
	border: 2px solid #d4af37;
	border-radius: var(--radius-md);
	box-shadow:
		0 2px 10px rgba(212, 175, 55, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	animation: homeGoldTitleGlow 3.5s ease-in-out infinite;
}

.home-storefront-products-title__text::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: calc(var(--radius-md) + 2px);
	background: linear-gradient(
		105deg,
		transparent 30%,
		rgba(255, 215, 0, 0.55) 48%,
		rgba(255, 236, 179, 0.9) 50%,
		rgba(255, 215, 0, 0.55) 52%,
		transparent 70%
	);
	background-size: 220% 100%;
	animation: homeGoldShimmer 4s linear infinite;
	z-index: -1;
	opacity: 0.75;
}

@keyframes homeGoldShimmer {
	0% {
		background-position: 200% center;
	}
	100% {
		background-position: -200% center;
	}
}

@keyframes homeGoldTitleGlow {
	0%,
	100% {
		border-color: #c9a227;
		box-shadow:
			0 2px 10px rgba(212, 175, 55, 0.18),
			inset 0 1px 0 rgba(255, 255, 255, 0.85);
	}
	50% {
		border-color: #ffd700;
		box-shadow:
			0 2px 16px rgba(255, 215, 0, 0.35),
			inset 0 0 10px rgba(255, 215, 0, 0.12);
	}
}

.home-storefront-bleed-wrap {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	margin-bottom: 1.25rem;
}

.home-storefront-bleed {
	width: 100%;
	margin-top: 0.15rem;
}

.home-fw-carousel {
	position: relative;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	min-height: calc(13.75rem + 4.75rem);
	height: clamp(19rem, calc(32vw + 6.5rem), 26.5rem);
	max-height: 28rem;
	overflow: hidden;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-md);
}

.home-fw-slides {
	position: absolute;
	inset: 0;
}

.home-fw-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 900ms ease;
	display: block;
	text-decoration: none;
	color: inherit;
	pointer-events: none;
}

.home-fw-slide.active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

.home-fw-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.home-fw-slide-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.58) 0%,
		rgba(0, 0, 0, 0.2) 42%,
		rgba(0, 0, 0, 0.05) 100%
	);
	pointer-events: none;
}

.home-fw-slide-caption {
	position: absolute;
	inset-inline: 0;
	bottom: 2.35rem;
	z-index: 2;
	padding: 0 clamp(1rem, 4vw, 2rem);
	text-align: center;
	pointer-events: none;
}

.home-fw-slide-title {
	margin: 0;
	font-size: clamp(1.15rem, 3.4vw, 1.65rem);
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.home-fw-dots {
	position: absolute;
	bottom: 0.45rem;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0.35rem;
}

.home-fw-dot {
	min-width: 2rem;
	min-height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.home-fw-dot::before {
	content: '';
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	transition:
		transform 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease;
}

.home-fw-dot:hover::before {
	border-color: rgba(255, 255, 255, 0.95);
}

.home-fw-dot.active::before {
	background: var(--ss-primary);
	border-color: var(--ss-primary);
	transform: scale(1.28);
}

#homeStorefrontSections .home-storefront-products {
	grid-template-columns: repeat(4, 1fr);
	margin-left: auto;
	margin-right: auto;
}

.home-storefront-empty {
	color: var(--ss-muted, #6b7280);
	font-size: 0.95rem;
	margin: 0;
}

@media (max-width: 991px) {
	.home-fw-carousel {
		height: clamp(17rem, calc(36vw + 5rem), 22rem);
		max-height: 24rem;
	}

	#homeStorefrontSections .home-storefront-products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.home-storefront-head-row {
		align-items: center;
		padding: 0.75rem 0.9rem;
	}

	.home-storefront-head-row .btn-outline.btn-sm {
		align-self: center;
	}

	.home-storefront-products-title::before,
	.home-storefront-products-title::after {
		max-width: 2rem;
	}

	.home-storefront-products-title__text {
		padding: 0.4rem 1.15rem;
	}

	#homeStorefrontSections .home-storefront-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
}

@media (max-width: 360px) {
	.home-storefront-head-row {
		align-items: center;
		flex-direction: row;
		gap: 0.5rem;
	}

	.home-storefront-head-row .btn-outline.btn-sm {
		align-self: center;
		flex-shrink: 0;
		padding-inline: 0.85rem;
	}
}
