/******* scoped style for the Slider Plugin *******/

.imagesSec{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 30px;
    border: 0;
    border-radius: 0;
    padding: 12px 2px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.imagesSec::-webkit-scrollbar{
    display: none;
}

.imagesSec img{
    display: block;
    width: 200px;
    height: 300px;
    object-fit: cover;
    border: 0;
    border-radius: 10px;
    margin: 33px 10px;
    background: #fff;
    box-shadow: 0 0 10px 5px #ccc;
    scroll-snap-align: start;
    transition: transform .2s ease;
}

.imagesSec img:hover{
    transform: scale(1.2,1.2);
    cursor: pointer;
}

.fullScreen{
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 72px 28px 28px;
    background-color: rgba(10,10,14,.92);
}

#maximizedImg{
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 1280px);
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.42);
}

.sliderLightboxButton{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #d8d8df;
    cursor: pointer;
}

.sliderLightboxButton:hover{
    background: #fff;
    color: #171717;
}

#nextIcon,
#prevIcon{
    font-size: 34px;
    z-index: 1;
}

#cancelIcon{
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 22px;
}

.fullScreen i{
    color: inherit;
}

@media (max-width: 680px){
    .imagesSec{
        grid-auto-columns: 190px;
        gap: 12px;
        width: 100%;
        padding: 10px 2px 16px;
    }

    .imagesSec img{
        width: 170px;
        height: 255px;
    }

    .fullScreen{
        gap: 10px;
        padding: 64px 14px 18px;
    }

    #nextIcon,
    #prevIcon{
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    #cancelIcon{
        top: 14px;
        right: 14px;
    }
}
