/* WSL Carousel - Frontend Styles */
.wsl-carousel-wrap { width: 100%; overflow: hidden; }

.wsl-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    display: block;
}

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

/* Fade effect (default) */
.wsl-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
}
.wsl-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide effect */
.wsl-carousel[data-effect="slide"] .wsl-slide {
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}
.wsl-carousel[data-effect="slide"] .wsl-slide.active {
    transform: translateX(0);
}
.wsl-carousel[data-effect="slide"] .wsl-slide.prev-slide {
    transform: translateX(-100%);
}

.wsl-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.wsl-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Arrows */
.wsl-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}
.wsl-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.08);
}
.wsl-prev { left: 18px; }
.wsl-next { right: 18px; }

/* Dots */
.wsl-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}
.wsl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.wsl-dot.active,
.wsl-dot:hover {
    background: #fff;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .wsl-carousel { height: 240px !important; }
    .wsl-arrow { width: 38px; height: 38px; font-size: 16px; }
    .wsl-prev { left: 10px; }
    .wsl-next { right: 10px; }
}
@media (max-width: 480px) {
    .wsl-carousel { height: 180px !important; }
}
