.simple-slider {
    position: relative;
    padding: 0 3em;
    overflow: hidden;
    max-width: 100%;
}

.simple-slider > div {
    position: relative;
}

.simple-slider .simple-slider-track {
    transition: all 0.5s ease;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3.5em;
}

/* Generic slide element (nowcom-theme version) */
.simple-slider .simple-slider-track > .simple-slider-slide {
    width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: var(--Neutral-white, #FFF);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    margin: 10px 0;
    overflow: hidden;
    max-height: 440px; /* 460px product-screenshots height minus 10px margin each side */
}

.simple-slider .simple-slider-track > .simple-slider-slide > * {
    width: 100%;
}

/* Let the before-after plugin manage its own container height */
.simple-slider .simple-slider-slide .before-after-container {
    width: 100%;
}

.simple-slider-prev {
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
    padding: 1px;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    border: none;
    position: absolute;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    z-index: 10;
}

.simple-slider-next {
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
    padding: 1px;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    border: none;
    position: absolute;
    top: 50%;
    right: -38px;
    transform: translateY(-50%);
    z-index: 10;
}

.simple-slider-prev svg path,
.simple-slider-next svg path {
    fill: #000;
}

.simple-slider-nav-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
