.sfs-slider {
    --sfs-transition-speed: 1000ms;

    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #fff;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior: contain;
}

.sfs-slider:active {
    cursor: grabbing;
}

.sfs-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.sfs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: opacity var(--sfs-transition-speed) ease-in-out;
    z-index: 1;
}

.sfs-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.sfs-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Navigation Arrows */
.sfs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.sfs-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.sfs-arrow:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.sfs-arrow svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.sfs-arrow-prev {
    left: 20px;
}

.sfs-arrow-next {
    right: 20px;
}

.sfs-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Pagination */
.sfs-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.sfs-dot {
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    padding: 0;
}

.sfs-dot:focus {
    outline: none;
}

/* Circles style */
.sfs-pagination--circles .sfs-dot {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
}

.sfs-pagination--circles .sfs-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sfs-pagination--circles .sfs-dot.active {
    background: #fff;
}

/* Rectangles style */
.sfs-pagination--rectangles .sfs-dot {
    width: 30px;
    height: 4px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 2px;
}

.sfs-pagination--rectangles .sfs-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sfs-pagination--rectangles .sfs-dot.active {
    background: #fff;
}

/* Responsive adjustments - Tablet */
@media (max-width: 1024px) {
    .sfs-arrow {
        width: 45px;
        height: 45px;
    }

    .sfs-arrow svg {
        width: 22px;
        height: 22px;
    }

    .sfs-arrow-prev {
        left: 15px;
    }

    .sfs-arrow-next {
        right: 15px;
    }
}

/* Responsive adjustments - Mobile */
@media (max-width: 768px) {
    .sfs-arrow {
        width: 40px;
        height: 40px;
    }

    .sfs-arrow svg {
        width: 20px;
        height: 20px;
    }

    .sfs-arrow-prev {
        left: 10px;
    }

    .sfs-arrow-next {
        right: 10px;
    }

    .sfs-pagination {
        bottom: 20px;
        gap: 10px;
    }

    .sfs-pagination--circles .sfs-dot {
        width: 10px;
        height: 10px;
    }

    .sfs-pagination--rectangles .sfs-dot {
        width: 24px;
        height: 3px;
    }
}

/* Responsive adjustments - Small Mobile */
@media (max-width: 480px) {
    .sfs-arrow {
        width: 36px;
        height: 36px;
    }

    .sfs-arrow svg {
        width: 18px;
        height: 18px;
    }

    .sfs-arrow-prev {
        left: 8px;
    }

    .sfs-arrow-next {
        right: 8px;
    }

    .sfs-pagination {
        bottom: 15px;
        gap: 8px;
    }

    .sfs-pagination--circles .sfs-dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }

    .sfs-pagination--rectangles .sfs-dot {
        width: 20px;
        height: 3px;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .sfs-arrow {
        width: 36px;
        height: 36px;
    }

    .sfs-arrow svg {
        width: 18px;
        height: 18px;
    }

    .sfs-pagination {
        bottom: 10px;
    }
}
