.w-home__banner {
    width: 100%;
    margin-top: 1.875rem;
}
.w-home__mock {
    height: 30rem;
    width: 100%;
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.w-home__slidernav {
    position: absolute;
    display: flex;
    bottom: .875rem;
    left: 50%;
    transform: translateX(-50%);
    gap: 1.25rem;
}
.w-home__slidernav__navdot {
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 1.25rem;
    margin: .3125rem;
    position: relative;
    width: 1.25rem;
}
.w-home__slidernav__navdot.--is-active:before {
    background: var(--w-color-wentronic-red);
    border-radius: 50%;
    content: "";
    height: .625rem;
    left: .3125rem;
    position: absolute;
    top: .3125rem;
    width: .625rem;
}
.w-home__slidernav__navdot:focus-visible {
    background-color: lightgrey;
}
.w-home__sliderprevbutton, .w-home__slidernextbutton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: white;
    display: flex;
    z-index: 2;

    svg {
        fill: white;
        height: 1.5rem;
        width: 1.5rem;
        align-self: center;
        margin: 0 auto;
    }
}
.w-home__sliderprevbutton:hover, .w-home__slidernextbutton:hover {
    background: black;
}
.w-home__sliderprevbutton {
    left: 2rem;
    content: '<';
}
.w-home__slidernextbutton {
    right: 2rem;
    content: '>';
}
.w-home__slidescontainer {
    display: flex;
    width: 100%;
    height: 100%;
}
.w-home__slider__slide {
    display: block;
    width: 100%;
    height: 100%;
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    min-height: 10rem;
    background-color: grey;
    scroll-snap-align: center;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
.w-home__sliderheader {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.625rem;
    padding-top: 2rem;

    h2 {
        font-size: 1.375rem;
        font-weight: 300;
        color: var(--w-color-text-offblack);
    }

    button {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.w-productslider__wrapper:first-of-type {
    margin-top: 2rem;
}
.w-productslider__wrapper:nth-of-type(odd) {
    background-color: var(--w-color-section);
}
.w-productslider__wrapper__inner {
    max-width: var(--w-spacing-width--default);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem 1rem 1rem;
}
.w-home__productslider .w-subproduct {
    border: unset;
}
.w-home__productslider:has(.w-product-card:hover, .w-product-card:focus-within) {
    overflow-y: visible;
    margin-bottom: -100%;
    z-index: 10;

    .w-home__productslider__container {
        padding-bottom: 100%;
    }
}
.w-home__productslider__container {
    display: grid;
    column-gap: unset;
    transform: translateZ(0); /* Forces hardware acceleration */
    will-change: transform;
    overflow: scroll hidden;
    grid-template-columns: repeat(6, 50%);
}
.w-home__productslider__slide {
    flex-grow: 0;
    flex-shrink: 1;
    scroll-snap-align: center;
    padding: .5rem;
}

@media (min-width: 1024px) {
    .w-home__productslider__container {
        grid-template-columns: repeat(6, 25%);
    }
}
@media (min-width: 1200px) {
    .w-home__productslider__container {
        grid-template-columns: repeat(6, 16.6%);
    }
}
