/*
 ProductGallery module styles.
 Migrated out of the theme's src/styles/styles.css so the module owns its own CSS.
*/

.pl-product-gallery {
    margin-bottom: 25px;
    padding-left: 100px;
}

@media (max-width: 980px) {
    .pl-product-gallery {
        padding-left: 0;
        margin-bottom: 28px;
    }
}

.pl-product-gallery .swiper-container {
    width: 100%;
}

.pl-product-gallery .new-badge,
.pl-product-gallery .bestseller-badge,
.pl-product-gallery .sold-out-badge {
    position: absolute;
    z-index: 10;
    top: 20px;
    left: 20px;
    width: 106px;
    height: 106px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 100%;
    background: #ffc333;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
}

.pl-product-gallery .product-gallery-badge:nth-child(2) {
    top: 136px;
}

.pl-product-gallery .product-gallery-badge:nth-child(3) {
    top: 252px;
}

@media (max-width: 375px) {

    .pl-product-gallery .new-badge,
    .pl-product-gallery .bestseller-badge,
    .pl-product-gallery .sold-out-badge {
        top: 5px;
        left: 5px;
        width: 90px;
        height: 90px;
        font-size: 16px;
        letter-spacing: 0.8px;
        line-height: 18px;
    }

    .pl-product-gallery .product-gallery-badge:nth-child(2) {
        top: 100px;
    }

    .pl-product-gallery .product-gallery-badge:nth-child(3) {
        top: 195px;
    }
}

.pl-product-gallery .bestseller-badge {
    font-size: 12px;
    background: #6fbe44;
}

.pl-product-gallery .pl-gallery-video {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    z-index: 10;
}

.pl-product-gallery .pl-gallery-video video {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
}

.pl-product-gallery .pl-video-fullscreen {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 10;
    display: block;
    width: 50px;
    height: 50px;
    z-index: 10;
    background: url(../images/fullscreen@2x.png) no-repeat center center;
    background-size: contain;
    border: 0;
}

.pl-product-gallery .pl-gallery-video-overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: inherit;
    z-index: 2;
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

.pl-product-gallery-item {
    padding-bottom: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.pl-product-gallery-nav {
    width: 70px;
    position: absolute;
    left: 0;
}

.pl-product-gallery-nav img {
    display: none;
}

@media (max-width: 980px) {
    .pl-product-gallery-nav {
        display: none;
    }
}

.pl-product-gallery-nav .swiper-slide {
    margin-bottom: 15px;
    cursor: pointer;
}

.pl-product-gallery-nav video {
    display: none;
}

.pl-product-gallery-nav .pl-video-fullscreen {
    display: none;
}

.pl-product-gallery-nav .pl-gallery-video-overlay {
    display: none;
}

.pl-product-gallery-nav .swiper-slide-video:before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    margin-left: -25px;
    z-index: 10;
    background: url(../images/play@2x.png) no-repeat center center;
    background-size: contain;
}

.pl-product-gallery-main {
    width: 100%;
    position: relative;
}

.pl-product-gallery-main .pl-product-gallery-item {
    padding: 0;
    background-image: none !important;
    min-height: 0 !important;
}

.pl-product-gallery-main .pl-product-gallery-item .pl-gallery-image img {
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

@media (max-width: 980px) {
    .pl-product-gallery-main .swiper-container {
        overflow: visible;
    }
}

.pl-product-gallery-main .swiper-pagination {
    position: relative;
    bottom: auto;
    left: 0;
    width: 100%;
    display: none;
    margin-top: 30px;
}

.pl-product-gallery-main .swiper-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #1c439b;
}

@media (max-width: 980px) {
    .pl-product-gallery-main .swiper-pagination {
        display: block;
    }
}