/* ==========================================================
   VASS PRODUCT GALLERY
========================================================== */

.vass-gallery{

    margin:30px 0 70px;

}

.vass-gallery-header{

    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;

    margin-bottom:25px;

}

.vass-gallery-count{

    order:2;

    margin-left:auto;

}

@media(max-width:768px){

    .vass-gallery-header{

        flex-direction:column;
        align-items:center;

        gap:15px;

    }

    .vass-gallery-count{

        order:2;

        margin-left:0;

    }

}

.vass-gallery-count{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(45,45,45,.95);

    border:1px solid rgba(251,199,21,.35);

    color:#fbc715;

    font-weight:700;

    font-size:17px;

}

/* ==========================
   MAIN IMAGE
========================== */

.vass-gallery-main{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:30px;

    margin-bottom:28px;

}

.vass-gallery-main-link{

    display:block;

    width:600px;

    max-width:100%;

    border-radius:0;

    overflow:hidden;

    border:none;

    background:#2d2d2d;

    transition:.35s ease;

}

.vass-gallery-main-link:hover{

    border-color:none;

    transform:translateY(-4px);

    box-shadow:0 18px 45px rgba(0,0,0,.35);

}

.vass-gallery-main-image{

    display:block;

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;
    
    -webkit-user-drag:none;

    user-select:none;

}

/* ==========================
   ARROWS
========================== */

.vass-gallery-arrow{

    width:64px;

    height:64px;

    border-radius:50%;

    border:1px solid rgba(251,199,21,.35);

    background:#2d2d2d;

    color:#fbc715;

    font-size:28px;

    cursor:pointer;

    transition:.3s ease;

    flex-shrink:0;

}

.vass-gallery-arrow:hover{

    background:#43631f;

    border-color:#43631f;

    transform:scale(1.08);

}

/* ==========================
   THUMBNAILS
========================== */

.vass-gallery-thumbs{

    display:flex;

    gap:18px;

    overflow-x:auto;
    overflow-y:hidden;

    padding:8px 0 18px;

    scroll-behavior:smooth;

    -webkit-overflow-scrolling:touch;

    scrollbar-width:none;

    cursor:grab;

    user-select:none;
    
    touch-action:pan-x;

}

.vass-gallery-thumbs.dragging{

    cursor:grabbing;

}

.vass-gallery-thumbs::-webkit-scrollbar{

    display:none;

}

.vass-thumb{

    flex:0 0 auto;

    width:110px;

    height:110px;

    border-radius:0;

    overflow:hidden;

    border:2px solid transparent;

    cursor:pointer;

    transition:.3s ease;
    
    scroll-snap-align: center;

}

.vass-thumb.active{

    border-color:#fbc715;

}

.vass-thumb:hover{

    border-color:#43631f;

    transform:translateY(-4px);

}

.vass-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;
    pointer-events:none;

    user-select:none;
    -webkit-user-drag:none;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .vass-gallery-main{

        gap:12px;

    }

    .vass-gallery-main-link{

        width:100%;

    }

    .vass-gallery-arrow{

        width:48px;

        height:48px;

        font-size:22px;

    }

    .vass-thumb{

        width:85px;

        height:85px;

    }

}

/* VASS Gallery v2 additions */



.vass-gallery-main-image{
transition:opacity .22s ease;
}

.vass-gallery-main-image.fade-out{
opacity:0;
}

.vass-gallery-thumbs{
scroll-behavior:smooth;
}

.vass-thumb.active{
border-color:#fbc715!important;
box-shadow:0 0 18px rgba(251,199,21,.35);
}

.vass-thumb:hover{
border-color:#43631f!important;
}

/*=========================================================
VASS SHARE BUTTON
=========================================================*/

.vass-gallery-share-wrap{

    display:flex;

    justify-content:flex-end;

    margin:-10px 0 30px;

}

.vass-share-button{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:190px;

    height:48px;

    padding:0 18px;

    background:#2b2b2b;

    border:1px solid rgba(251,199,21,.35);

    border-radius:999px;

    color:#fbc715;

    font-size:15px;

    font-weight:600;

    white-space:nowrap;

    cursor:pointer;

    transition:.25s;

}

.vass-share-button:hover{

    background:#3b3b3b;

    border-color:#fbc715;

}

.vass-share-button i{

    font-size:15px;

}

/* Mobile */

@media(max-width:768px){

    .vass-gallery-share-wrap{

        justify-content:center;

        margin:15px 0 25px;

    }

}

.vass-gallery-count,
.vass-share-button{

    width:190px;

    justify-content:center;

}