.home-product{
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}
.home-product__content-container{
    display: flex;
    align-items: center;
    margin-top: 60px;
}
.home-product__content{
    display: grid;
    align-items: flex-start;
    grid-template-columns: min-content;
}
.home-product__item{
    grid-area: 1 / 1;
    padding: 63px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}
.home-product__item--active{
    opacity: 1;
    pointer-events: initial;
}
.home-product__item-title{
    white-space: nowrap;
    margin-bottom: 60px;
}

.home-product__item-content{
    white-space: pre-line;
}
.home-product__cards{
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (width < 1248px) {
    .home-product__item{
        padding: 40px;
    }
}
@media screen and (width < 1024px) {
    .home-product__content-container{
        flex-direction: column;
        align-items: stretch;
    }
    .home-product__content{
        grid-template-columns: auto;
    }
    .home-product__item-title{
        white-space: initial;
    }
    .home-product__cards{
        display: none;
    }
}
@media screen and (width < 768px) {
    .home-product__item{
        padding: 0 24px 40px;
    }
    .home-product__item-title{
        margin-bottom: 40px;
    }
}
@media screen and (width < 576px) {
    .home-product{
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.home-product-card{
    width: 100%;
    padding: 20px 31px;
    border: 1px solid white;
    transition: background-color 0.5s;
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
	position: relative;
}
.home-product-card:hover .home-product-card__readmore,
.home-product-card--active .home-product-card__readmore{
    opacity: 1;
}
.home-product-card__title{
    color: var(--color-gray-3);
    margin-bottom: 10px;
	text-align: center;
}
.home-product-card__img{
    margin: 0 auto;
}
.home-product-card__readmore{
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.5s;
	color: white;
	display: grid;
	place-content: center;
}

@media screen and (width < 1024px) {
    .home-product-card{
        display: flex;
        flex-direction: column;
        border: none;
        height: 100%;
    }
    .home-product-card__title{
        flex-grow: 1;
    }
}

.home-product-swiper{
    position: relative;
    padding: 0 74px;
    width: 100%;
    display: none;
}
.home-product-swiper__slide{
	height: auto;
}
.home-product-swiper__container{
    overflow-x: clip;
    overflow-y: visible;
}
.home-product-swiper__prev,
.home-product-swiper__next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: var(--color-gray-5);
    transition: color 0.3s;
}
.home-product-swiper__prev{
    left: 24px;
}
.home-product-swiper__next{
    right: 24px;
}
.home-product-swiper__prev-icon,
.home-product-swiper__next-icon{
    width: 100%;
    height: 100%;
    color: inherit;
}
.home-product-swiper__prev:hover,
.home-product-swiper__next:hover{
    color: var(--color-primary-1);
}
@media screen and (width < 1024px) {
    .home-product-swiper{
        display: block;
    }
}
@media screen and (width < 576px) {
    .home-product-swiper{
        padding: 0 52px;
    }
    .home-product-swiper__prev,
    .home-product-swiper__next{
        width: 20px;
        height: 20px;
    }
}

.home-product-swiper-pagination{
    margin-top: 60px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.home-product-swiper-pagination__bullet{
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid var(--color-primary-1);
    transition: background-color 1s;
}
.home-product-swiper-pagination__bullet--active{
    background-color: var(--color-primary-1);
}

@media screen and (width < 1024px) {
    .home-product-swiper-pagination{
        display: flex;
    }
}
@media screen and (width < 576px) {
    .home-product-swiper-pagination{
        gap: 16px;
    }
}