/*Variables*/
:root {
    --primary: #222;
    --white: #fff;
}

/*Styles*/
.wc-custom-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px;
    padding-bottom: 120px;
}

.wc-slider-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    aspect-ratio: 1 / 1;
}

.wc-slider-slide {
    position: absolute;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease, padding 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.wc-slider-slide.active {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    z-index: 1;
    pointer-events: auto;
}

.wc-slider-slide.exiting {
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.wc-slider-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.wc-slider-arrows {
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 0;
    right: 0;
    z-index: 9;
}

.wc-slider-arrows button {
    border: none;
    font-size: 26px;
    cursor: pointer;
    font-weight: 300;
    border-radius: 0;
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    margin-left: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wc-slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    z-index: 9;
}

.wc-slider-dots button {
    width: 30px;
    height: 6px;
    margin: 0 2px;
    border: 0 !important;
    background: var(--primary);
    cursor: pointer;
    outline: none;
}

.wc-slider-dots button.active {
    background: var(--white);
}

.wc-slider-arrows button:hover, .wc-slider-arrows button:focus, .wc-slider-dots button:hover,  .wc-slider-dots button:focus {
    border: 0 !important;
    outline: 0 !important;
}

/*Responsiveness*/
@media(max-width:768px) {
    .wc-custom-slider {
        padding-bottom: 100px;
        margin-bottom: 20px;
    }

    .wc-slider-arrows {
        bottom: 22px;
        right: unset;
        left: 50%;
        transform: translate(-50%);
    }

    .wc-slider-arrows button {
        font-size: 20px;
        width: 34px;
        height: 34px;
        margin: 0 3px;
    }
}