/* Carousel Styles */

.stoercup-carousel-wrapper {
    position: relative;
    max-width: 600px;
    /* Adjust based on preference, flyer usually portrait */
    margin: 40px auto;
}

.stoercup-carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
    padding-bottom: 20px;
    /* Space for scrollbar if visible (usually hidden by OS) */
    scrollbar-width: none;
    /* Firefox */
}

.stoercup-carousel-container::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.stoercup-carousel-item {
    flex: 0 0 100%;
    /* Show one slide at a time */
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
}

.stoercup-carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Navigation Buttons */
.stoercup-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    user-select: none;
    transition: background 0.3s;
    z-index: 10;
}

.stoercup-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.stoercup-carousel-btn.prev {
    left: -50px;
    /* Outside on desktop */
}

.stoercup-carousel-btn.next {
    right: -50px;
    /* Outside on desktop */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .stoercup-carousel-btn.prev {
        left: 10px;
    }

    .stoercup-carousel-btn.next {
        right: 10px;
    }
}