/* Small Slider Styles for Camera Grid */
.small-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.small-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.small-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
}

.small-slider-track:active {
    cursor: grabbing;
}

/* no fade effect */

.small-slider-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.small-slider-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
}

/* Navigation Controls */
.small-slider-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Navigation Buttons */
.small-slider-btn {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.3s ease;
    opacity: 1;
    pointer-events: auto;
    height: 50%;
    transform: translateY(-50%);
}

.small-slider-btn[style*="display: none"] {
    display: none !important;
}

.small-slider:hover .small-slider-btn {
    opacity: 1;
}

.small-slider-btn:hover {
    opacity: 0.8;
}

.small-slider-btn.disabled {
    opacity: 0.3 !important;
    cursor: default;
}

.small-slider-prev {
    left: 0;
}

.small-slider-next {
    right: 0;
}

.small-slider-btn img.nav-arrow-icon {
    width: clamp(50px, 4vw, 100px);
    height: clamp(50px, 4vw, 100px);
    object-fit: contain;
}

.small-slider-btn.small-slider-prev img.nav-arrow-icon {
    transform: scaleX(-1);
}

/* Dots Indicator */
.small-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    justify-content: center;
}

.small-slider-dot-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px 19px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.small-slider-dot-wrap:first-child {
    padding-left: 20px;
}

.small-slider-dot-wrap:last-child {
    padding-right: 20px;
}

.small-slider-dots[style*="display: none"] {
    display: none !important;
}

.small-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.small-slider-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

/* Expand Icon - must receive clicks above the track */
.small-slider-expand {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 5px 10px 10px 5px;
    z-index: 15;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-slider-expand img {
    width: 36px;
    height: 36px;
}

/* Touch support */
.small-slider-track {
    touch-action: pan-y;
}

/* Responsive */
@media (max-width: 600px) {
    .small-slider-btn img.nav-arrow-icon {
        width: 50px;
        height: 50px;
    }

    .small-slider-expand img {
        width: 24px;
        height: 24px;
    }
}

/* removed per design: no fade/opacity animation on slide change */