/* MAIN */

.swiper:first-of-type{

    position:relative;
    overflow:hidden;
    width:100%;

}

.swiper:first-of-type .swiper-wrapper{

    display:flex !important;
    flex-wrap:nowrap !important;
    transition:transform .35s ease;
    width:100%;

}

.swiper:first-of-type .swiper-slide{

    flex:0 0 100% !important;
    max-width:100%;
    min-width:100%;
}

/* gambar */

.swiper:first-of-type img{

    width:100%;
    height:100%;
    object-fit:contain;
}

/* thumbnail */

.swiper:last-of-type{

    margin-top:12px;

}

.swiper:last-of-type .swiper-wrapper{

    display:flex !important;
    gap:10px;
    overflow-x:auto;
    scrollbar-width:none;

}

.swiper:last-of-type .swiper-wrapper::-webkit-scrollbar{

    display:none;

}

.swiper:last-of-type .swiper-slide{

    flex:0 0 90px;
    cursor:pointer;
    opacity:.4;
}

.swiper:last-of-type .swiper-slide.active{

    opacity:1;
    border:2px solid #16a34a;
}

/* tombol */

.swiper-button-next,
.swiper-button-prev{

    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.25);
    z-index:100;
    cursor:pointer;

}

.swiper-button-prev{

    left:10px;

}

.swiper-button-next{

    right:10px;

}

.swiper-button-prev::before{

    content:"❮";
    display:block;
    text-align:center;
    line-height:42px;
    font-size:24px;

}

.swiper-button-next::before{

    content:"❯";
    display:block;
    text-align:center;
    line-height:42px;
    font-size:24px;

}