/* ── Shortcode Slider — Frontend ── */

.scs-slider-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
    --scs-gap: 24px;
    --scs-speed: 500ms;
}

/* Viewport clips the track */
.scs-viewport {
    overflow: hidden;
    width: 100%;
}

/* Track: flex row that gets translated */
.scs-track {
    display: flex;
    gap: var(--scs-gap);
    transition: transform var(--scs-speed) cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

/* Individual slide */
.scs-slide {
    flex: 0 0 auto;
    min-width: 0;
    box-sizing: border-box;
}

/* Drag cursor */
.scs-slider-wrap[data-draggable="true"] .scs-viewport {
    cursor: grab;
    user-select: none;
}
.scs-slider-wrap[data-draggable="true"] .scs-viewport:active {
    cursor: grabbing;
}
.scs-slider-wrap[data-dragging="true"] .scs-track {
    transition: none !important;
}

/* ── Arrows ── */
.scs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.15);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
    line-height: 1;
}

.scs-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.scs-arrow:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.scs-prev { left: -22px; }
.scs-next { right: -22px; }

.scs-arrow[disabled] {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* ── Dots ── */
.scs-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.scs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, width 0.25s, border-radius 0.25s;
    flex-shrink: 0;
}

.scs-dot.active {
    background: #111;
    width: 22px;
    border-radius: 4px;
}

/* ── Responsive arrows ── */
@media ( max-width: 600px ) {
    .scs-prev { left: 0; }
    .scs-next { right: 0; }
    .scs-arrow {
        width: 36px;
        height: 36px;
    }
    .scs-arrow svg { width: 14px; height: 14px; }
}
