.bmwp-slider-container {
    position: relative;
    overflow-y: hidden;
}

.bmwp-slider-container .tns-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
}

.bmwp-slider:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.bmwp-slider-container .tns-controls button[data-controls="next"] {
    position: absolute;
    right: 0px;
    background-color: var(--surface-0);
}

.tns-controls button {
    padding: 2px;
}

.tns-controls .next svg {
    transform: rotate(180deg);
}

.tns-controls button {
    height: 80px;
    width: 80px;
}

.tns-controls .prev,
.tns-controls .next {
    max-height: 40px;
}

button[data-controls="prev"] {
    position: relative;
    left: 0px;
    background-color: var(--surface-0);
}

.tns-controls .prev svg,
.tns-controls .next svg {
    fill: var(--primary);
}

.bmwp-slider-container .tns-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    column-gap: 6px;
    z-index: 1;
}

.bmwp-slider-container .tns-nav button {
    background-color: var(--surface-0);
    opacity: 0.6;
    border-radius: 30px;
    padding: 6px;
}

.bmwp-slider-container .tns-nav button.tns-nav-active {
    opacity: 1;
    padding: 6px 20px;
}

.bmwp-slider-container .gallery-item img {
    cursor: grab;
}

button[data-controls="prev"]:hover,
button[data-controls="next"]:hover {
    background-color: var(--primary) !important;
}

button[data-controls="prev"]:hover svg,
button[data-controls="next"]:hover svg {
    fill: var(--surface-0);
}
