
.custom-slider-wrapper {
    width: 405px;
    height: 485px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.custom-main-slider {
    width: 405px;
    height: 257px;
    flex-shrink: 0;
    cursor: pointer;
}

.custom-main-slider .slick-slide {
    width: 405px !important;
    height: 257px !important;
}

.custom-main-slider img {
    width: 405px;
    height: 257px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.custom-main-slider img:hover {
    opacity: 0.9;
}

.custom-thumb-slider {
    width: 405px;
    height: 86px;
    flex-shrink: 0;
}

.custom-thumb-slider .slick-slide {
    padding: 0 8px;
    width: 124px !important;
    height: 86px !important;
}

.custom-thumb-slider img {
    width: 124px;
    height: 86px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.custom-thumb-slider .slick-current img {
    border: none;
}

.custom-thumb-slider img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.custom-thumb-slider .slick-list {
    margin: 0 -8px;
    overflow: hidden;
}

.custom-main-slider .slick-dots,
.custom-thumb-slider .slick-dots,
.custom-main-slider .slick-arrow,
.custom-thumb-slider .slick-arrow {
    display: none !important;
}

.custom-main-slider .slick-track,
.custom-thumb-slider .slick-track {
    display: flex !important;
    align-items: center;
}

.custom-thumb-slider .slick-slide:not(.slick-active) {
    visibility: visible !important;
    opacity: 1 !important;
}

.custom-lightbox {
    display: none;
    position: fixed !important;
    z-index: 9999999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.92) !important;
    overflow: hidden !important;
    animation: lightboxFadeIn 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-lightbox-image {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    animation: lightboxZoomIn 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@keyframes lightboxZoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.custom-lightbox-close {
    position: fixed !important;
    top: 30px !important;
    right: 40px !important;
    color: #ffffff !important;
    font-size: 50px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10000000 !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.custom-lightbox-close:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transform: rotate(90deg) !important;
}

@media (max-width: 768px) {
    .custom-slider-wrapper {
        width: 100%;
        height: auto;
        gap: 15px;
        justify-content: center;
    }
    
    .custom-main-slider {
        width: 100%;
        height: auto;
        aspect-ratio: 405/257;
    }
    
    .custom-main-slider .slick-slide {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 405/257;
    }
    
    .custom-main-slider img {
        width: 100%;
        height: auto;
        aspect-ratio: 405/257;
    }
    
    .custom-thumb-slider {
        width: 100%;
        height: auto;
        aspect-ratio: 405/86;
    }
    
    .custom-thumb-slider .slick-slide {
        width: 33.333% !important;
        height: auto !important;
        aspect-ratio: 124/86;
        padding: 0 5px;
    }
    
    .custom-thumb-slider img {
        width: 100%;
        height: auto;
        aspect-ratio: 124/86;
    }
    
    .custom-thumb-slider .slick-list {
        margin: 0 -5px;
    }
    
    .custom-thumb-slider .slick-current img {
        border: none;
    }

    .custom-lightbox-close {
        top: 20px !important;
        right: 20px !important;
        font-size: 35px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .custom-lightbox-image {
        max-width: 95vw !important;
        max-height: 85vh !important;
    }
}
