/* HOME */

.home {
    padding-bottom: 3.25rem;
}

.home-head {
    position: relative;
    display: flex;
    width: 100vw;
    height: 18.75rem;
    justify-content: center;
    align-items: center;
}

.home-head img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.home-head h2 {
    margin: 0;
    text-align: center;
}

.home-head .heading-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    width: 14.063rem;
    margin: 0;
    padding: 1.125rem 1.125rem 3.188rem;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.home-head .heading-search form {
    position: absolute;
    bottom: -.5rem;
}

.home-head .heading-search input[type=search] {
    --line-height: 2.5rem;
    width: 16.688rem;
    border: none;
    box-shadow: var(--shadow);
    background-color: var(--white);
    line-height: var(--line-height);
    border-radius: calc(var(--line-height) / 2);
    -webkit-box-shadow: var(--shadow);
    box-shadow: var(--shadow);
}

.home-head .heading-search input[type=submit] {
    --width: 1.875rem;
    background-size: var(--magnifier-background-size);
    right: 0.25rem;
    top: 0.3rem;
}

.home .products-list .card {
    box-shadow: none;
}

.home .product-wrapper-inner {
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.home .product-wrapper-inner > h2 {
    text-align: center;
    margin-top: 0;
    padding-top: 3.688rem;
    margin-bottom: 0.25rem;
}

.home .products-list .swiper-slide {
    padding: 1rem 2.5rem 1.875rem;
}

.home .products-list .product-footer h2 {
    margin: .75rem 0 1rem;
}

.home .products-list .product-footer p {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25rem;
}

.home .products-list .swiper-arrow {
    --swiper-navigation-top-offset: 32%;
}

.home .product-wrapper:has(.swiper-arrow) {
    margin-top: 0;
}

.home .componentProductsList-readMore {
    padding: 0 2.5rem;
}

@media screen and (min-width: 48rem) {
    .home .products-swiper .swiper-slide.swiper-slide-visible {
        box-shadow: none;
    }
    
    .home .products-swiper {
        overflow: hidden;
    }

    .home .product-wrapper .swiper-arrow.swiper-button-prev {
        left: calc(var(--swiper-navigation-size) / -2);
    }

    .home .product-wrapper .swiper-arrow.swiper-button-next {
        right: calc(var(--swiper-navigation-size) / -2);
    }
}

@media screen and (min-width: 64rem) {
    
    .home {
        padding-bottom: 6.313rem;
    }

    .home-head {
        width: var(--content-width);
        margin-top: 3.375rem;
    }

    .home-head img {
        border-radius: var(--radius);
    }

    .home-head .heading-search {
        --extra-width: 1.813rem;
        width: fit-content;
        padding: 1.75rem 2.125rem 3.45rem;
        max-width: 70%;
        transform: translateY(-5rem);
    }

    .home-head .heading-search form {
        width: calc(100% + var(--extra-width) * 2);
        bottom: -.75rem;
    }

    .home-head .heading-search input[type="search"] {
        width: 100%;
    }

    .home .componentHero {
        margin-top: 2.375rem;
    }

    .home .overlappingBoxes + .overlappingBoxes {
        margin-top: 1.375rem;
    }

    .home .products-list .card,
    .home .product-wrapper-inner {
        box-shadow: none;
    }

    .home .product-wrapper-inner > h2 {
        padding-top: 0;
    }

    .home .products-list .swiper-slide {
        padding: 2.5rem;
    }

    .home .products-list .swiper-slide h2 {
        font-size: var(--h3-size);
        line-height: var(--h3-line-height);
        padding: 0 .5rem;
    }

    .home .componentProductsList-readMore {
        margin-top: .5rem;
    }

    .home .products-swiper .swiper-slide.swiper-slide-visible {
        box-shadow: var(--shadow);
    }

    .home .componentProductsList div:is(.swiper-arrow, #hey) {
        top: 50%;
        position: absolute;
    }

}