.home {
	width: 100%;
	padding: 20px 0 56px;
	background: var(--store-bg);
	color: var(--store-ink-inverse);
}

.home-banners,
.home-products {
	width: min(100%, var(--store-container));
	margin: 0 auto;
	padding: 0 20px;
}

.home-banners+.home-products {
	margin-top: 28px;
}

.home-products+.home-products {
	margin-top: 32px;
}

.home-carousel {
	position: relative;
}

.home-carousel__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	user-select: none;
}

.home-carousel__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.home-carousel__track a,
.home-carousel__track img {
	-webkit-user-drag: none;
}

.home-carousel__track::-webkit-scrollbar {
	display: none;
}

.home-carousel__dots {
	min-height: 20px;
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.home-carousel__dot {
	width: 40px;
	height: 10px;
	border: 0;
	border-radius: 999px;
	background: #282828;
	padding: 0;
	cursor: pointer;
	transition: background-color 180ms ease;
}

.home-carousel__dot.is-active {
	background: var(--store-accent);
}

.home-banners__track {
	gap: 18px;
}

.home-banner {
	position: relative;
	flex: 0 0 calc((100% - 18px) / 2);
	min-width: 0;
	aspect-ratio: 1.78 / 1;
	border-radius: var(--store-radius);
	overflow: hidden;
	scroll-snap-align: start;
	background: #111111;
	box-shadow: var(--store-shadow);
}

.home-banner::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.22) 38%, rgba(0, 0, 0, 0) 72%);
	content: "";
	pointer-events: none;
}

.home-banner picture,
.home-banner img {
	width: 100%;
	height: 100%;
}

.home-banner img {
	object-fit: cover;
	transition: transform 220ms ease;
}

.home-banner:hover img {
	transform: scale(1.02);
}

.home-banner__content {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 30px;
	width: min(62%, 330px);
	display: grid;
	justify-items: start;
	gap: 14px;
	transform: translateY(-50%);
}

.home-banner__title {
	color: #ffffff;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72), 0 1px 1px rgba(0, 0, 0, 0.6);
}

.home-banner__cta {
	min-height: 40px;
	padding: 0 18px;
	border-radius: var(--store-radius);
	background: var(--store-accent);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.9px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
	transition: background-color 180ms ease, transform 180ms ease;
}

.home-banner:hover .home-banner__cta {
	background: var(--store-accent-strong);
	transform: translateY(-1px);
}

@media (max-width: 760px) {
	.home {
		padding: 18px 0 42px;
	}

	.home-banners,
	.home-products {
		padding: 0 10px;
	}

	.home-banners+.home-products {
		margin-top: 32px;
	}

	.home-products+.home-products {
		margin-top: 26px;
	}

	.home-carousel__track,
	.home-banners__track {
		gap: 10px;
	}

	.home-carousel__dots {
		margin-top: 10px;
		justify-content: flex-start;
		overflow: hidden;
	}

	.home-carousel__dot {
		flex: 0 0 40px;
		height: 10px;
	}

	.home-banner {
		flex-basis: 100%;
		aspect-ratio: 1.45 / 1;
	}

	.home-banner__content {
		left: 18px;
		width: min(70%, 260px);
		gap: 12px;
	}

	.home-banner__title {
		font-size: 21px;
	}

	.home-banner__cta {
		min-height: 38px;
		padding: 0 15px;
		font-size: 12px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.home-banner img {
		transition: none;
	}
}
