/* Home page hero */

.site-main.home-hero {
	max-width: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.home-hero__stage {
	position: relative;
	width: 100%;
	height: calc(100vh - var(--site-header-offset, 0px));
	height: calc(100svh - var(--site-header-offset, 0px));
	overflow: hidden;
}

.home-hero__bg {
	position: absolute;
	inset: 0;
	background-color: #f2f2f2;
	background-image: var(--home-hero-initial-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.home-hero__logo {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s ease;
}

.home-hero__logo.is-hidden {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.home-hero__logo-img {
	display: block;
	width: 75vw;
	max-width: 100%;
	height: auto;
}

.home-hero__content {
	color: var(--color-body);
	padding-top: var(--site-padding-top);
	padding-right: var(--site-padding-right);
	padding-bottom: var(--site-padding-bottom);
	padding-left: var(--site-padding-left);
}

.home-hero__content-inner {
	width: 100%;
	max-width: var(--site-content-width);
	margin-left: auto;
	margin-right: auto;
	color: inherit;
}

.home-hero__content-inner > :first-child {
	margin-top: 0;
}

.home-hero__content-inner > :last-child {
	margin-bottom: 0;
}

.home-hero__content :where(p, li, a, strong, em, ul, ol, h1, h2, h3, h4, h5, h6) {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: inherit;
	line-height: inherit;
	text-transform: inherit;
	color: inherit;
}

.home-products {
	width: 100%;
}

.home-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
}

.home-products__item {
	margin: 0;
	min-width: 0;
}

.home-products__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.home-products__image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background-color: #f2f2f2;
}

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

.home-products__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background-color: #e8e8e8;
}

.home-products__info {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	background-color: var(--color-secondary);
	color: var(--color-white, #ffffff);
	padding: 15px;
}

.home-products__title,
.home-products__price {
	color: inherit;
}

.home-products__title {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.home-products__price {
	flex: 0 0 auto;
	margin: 0;
	text-align: right;
}

.home-products__price .amount,
.home-products__price ins,
.home-products__price .price {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

.home-products__price del {
	opacity: 0.65;
}

.home-products__card:is(:hover, :active, :focus-visible) .home-products__info,
.home-products__card:is(:hover, :active, :focus-visible) .home-products__title,
.home-products__card:is(:hover, :active, :focus-visible) .home-products__price,
.home-products__card:is(:hover, :active, :focus-visible) .home-products__price .amount {
	color: var(--color-white, #ffffff);
}

@media (max-width: 1023px) {
	.home-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-products__info {
		padding: 10px;
	}
}

@media (max-width: 767px) {
	.home-products__info {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.home-products__price {
		text-align: left;
	}
}
