.slider-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    overflow: visible;
}

.slider-container {
    position: relative;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border-radius: 20px;
    user-select: none;
    cursor: grab;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9; 
}

.slider-container.vertical-look {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 4 / 3;
    max-height: none;
}

.slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease-out;
}

.slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%; 
    flex-shrink: 0; 
    flex: 0 0 100%;
    margin: 0;
    padding: 15px; 
    box-sizing: border-box; 
    position: relative;
}


.slide img {
    display: block; 
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    /* pointer-events: none; */
    border-radius: 25px;
}

.slide img {
    pointer-events: auto;
    cursor: zoom-in;
}
.slide-content {
    position: relative;
    z-index: 2; 
    margin-top: auto; 
    margin-bottom: 80px; 
    padding: 20px;
    
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    color: white;
    text-align: center;
    width: 90%;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    gap: 10px;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

.image-preview.active {
    opacity: 1;
    pointer-events: all;
}

.image-preview img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.image-preview {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease;
}



