@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
}

#woosq-popup {
    position: relative;
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0px;
    background-color: #fff;
    max-height: 460px;
    box-sizing: border-box;
    overflow: hidden;
}

#woosq-popup * {
    box-sizing: border-box;
}

#woosq-popup .single-product {
    position: relative;
    overflow: hidden;
}

#woosq-popup .single-product .product {
    display: flex;
}

#woosq-popup .single-product .product > div {
    width: 50%;
    height: 460px;
    overflow: auto;
}

#woosq-popup .slick-slider {
    position: relative;
    margin: 0 0 0 0;
}

#woosq-popup .slick-slider .slick-slide {
    outline: none;
    max-height: 100%;
}

#woosq-popup .slick-list {
    max-height: 100%;
}

#woosq-popup .slick-track {
    display: flex;
    align-items: center;
    max-height: 460px;
}

#woosq-popup .thumbnails {
    outline: none;
    width: 460px;
    max-height: 460px;
    text-align: center;
    position: relative;
    background-color: #f9f9f9;
}

#woosq-popup .thumbnails .thumbnail {
    display: flex;
    height: 100%;
}

#woosq-popup .thumbnails img {
    display: block;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    max-height: 460px;
    max-width: 100%;
    margin: auto;
    border-radius: 0;
}

#woosq-popup .thumbnails img[data-fancybox="gallery"] {
    cursor: pointer;
}

#woosq-popup .slick-slider .slick-dots {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 10px;
    z-index: 8;
}

#woosq-popup .slick-slider .slick-dots li {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

#woosq-popup .slick-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 16px;
    height: 16px;
    padding: 5px;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
    opacity: .5;
}

#woosq-popup .slick-slider .slick-dots li.slick-active button {
    opacity: 1;
}

#woosq-popup .slick-slider .slick-dots li button:before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #000000;
}

#woosq-popup .slick-slider .slick-dots li button:focus {
    outline: none;
}

#woosq-popup .slick-slider .slick-arrow {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    color: #222;
    background-color: transparent;
    border-radius: 0;
    z-index: 8;
}

#woosq-popup .slick-slider .slick-arrow:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
}

#woosq-popup .slick-slider .slick-arrow:before {
    font-family: "feather";
    font-size: 24px;
    line-height: 44px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#woosq-popup .slick-slider .slick-arrow:focus {
    outline: none;
}

#woosq-popup .slick-slider .slick-arrow.slick-prev {
    left: 0;
}

#woosq-popup .slick-slider .slick-arrow.slick-prev:before {
    content: '\e929';
}

#woosq-popup .slick-slider .slick-arrow.slick-next {
    right: 0;
}

#woosq-popup .slick-slider .slick-arrow.slick-next:before {
    content: '\e92a';
}

#woosq-popup .single-product .product .summary {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

#woosq-popup .single-product .product .summary.view-details {
    padding-bottom: 44px;
    position: relative;
}

#woosq-popup .view-details-btn {
    width: 50%;
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    background-color: #222;
    box-shadow: 10px -20px 20px #fff;
    color: #fff;
    text-align: center;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

#woosq-popup .view-details-btn:hover {
    background-color: #5fbd74;
}

#woosq-popup .single-product .product .summary .summary-content {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

@media screen and (max-width: 1023px) {
    #woosq-popup {
        max-width: 460px;
        height: 90vh;
        max-height: 90vh;
        overflow: hidden;
    }

    #woosq-popup .single-product {
        height: 100%;
        position: relative;
        overflow-y: auto;
    }

    #woosq-popup .single-product .product {
        display: block;
    }

    #woosq-popup .single-product .product > div {
        width: 100%;
        height: auto;
    }

    #woosq-popup .single-product .product .thumbnails {
        max-height: 338px;
    }

    #woosq-popup .thumbnails img {
        max-height: 338px;
        margin: 0;
    }

    #woosq-popup .slick-track {
        max-height: 338px;
    }

    #woosq-popup .view-details-btn {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .mfp-woosq .mfp-arrow {
        display: none;
    }
}

/* Popup */

.mfp-woosq {
    z-index: 99991;
    overflow: auto;
}

.mfp-woosq .mfp-container {
    padding: 0;
}

.mfp-woosq .mfp-close {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 0;
}

.mfp-woosq .mfp-close:hover {
    background-color: transparent;
}

.mfp-woosq .mfp-close:active {
    top: 0;
}

.mfp-woosq .mfp-close:focus {
    outline: none;
}

.mfp-woosq .mfp-close:before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    content: '\e9ea';
    font-family: "feather";
    display: inline-block;
    font-size: 24px;
    color: #222;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mfp-woosq .mfp-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    font-size: 0;
    margin: 0 auto;
    margin-top: -15px;
    margin-left: -15px;
    right: auto;
    bottom: auto;
}

.mfp-woosq .mfp-preloader:before {
    content: '\e9a7';
    font-family: "feather";
    display: inline-block;
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    -webkit-animation: spinner 1s linear infinite;
    -moz-animation: spinner 1s linear infinite;
    -ms-animation: spinner 1s linear infinite;
    -o-animation: spinner 1s linear infinite;
    animation: spinner 1s linear infinite;
}

.mfp-woosq .mfp-arrow {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: none;
    padding: 0;
    outline: none;
    text-align: center;
    margin-top: -30px;
    border-radius: 0;
    opacity: 1;
}

.mfp-woosq .mfp-arrow:active {
    margin-top: -30px;
}

.mfp-woosq .mfp-arrow:hover {
    background-color: rgba(0, 0, 0, .5);
}

.mfp-woosq .mfp-arrow:focus {
    outline: none;
}

.mfp-woosq .mfp-arrow:before {
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    border-width: 0;
    margin: 0;
    display: inline-block;
    font-family: "feather";
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
}

.mfp-woosq .mfp-arrow:after {
    display: none;
}

.mfp-woosq .mfp-arrow.mfp-arrow-left:before {
    content: '\e90e';
}

.mfp-woosq .mfp-arrow.mfp-arrow-right:before {
    content: '\e90f';
}

/*
====== Fade effect ======
*/
.mfp-fade {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/*
====== Zoom effect ======
*/
.mfp-zoom-in {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: scale(0.8);
}

.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}

.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Newspaper effect ======
*/
.mfp-newspaper {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-newspaper .mfp-with-anim {
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.5s;
    transform: scale(0) rotate(500deg);
}

.mfp-newspaper.mfp-bg {
    opacity: 0;
    transition: all 0.5s;
}

.mfp-newspaper.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.mfp-newspaper.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-newspaper.mfp-removing .mfp-with-anim {
    transform: scale(0) rotate(500deg);
    opacity: 0;
}

.mfp-newspaper.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Move-horizontal effect ======
*/
.mfp-move-horizontal {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-move-horizontal .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s;
    transform: translateX(-50px);
}

.mfp-move-horizontal.mfp-bg {
    opacity: 0;
    transition: all 0.3s;
}

.mfp-move-horizontal.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: translateX(0);
}

.mfp-move-horizontal.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-move-horizontal.mfp-removing .mfp-with-anim {
    transform: translateX(50px);
    opacity: 0;
}

.mfp-move-horizontal.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Move-from-top effect ======
*/
.mfp-move-from-top {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-move-from-top .mfp-content {

}

.mfp-move-from-top .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s;
    transform: translateY(-100px);
}

.mfp-move-from-top.mfp-bg {
    opacity: 0;
    transition: all 0.2s;
}

.mfp-move-from-top.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: translateY(0);
}

.mfp-move-from-top.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-move-from-top.mfp-removing .mfp-with-anim {
    transform: translateY(-50px);
    opacity: 0;
}

.mfp-move-from-top.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== 3d unfold ======
*/
.mfp-3d-unfold {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-3d-unfold .mfp-content {
    perspective: 2000px;
}

.mfp-3d-unfold .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform-style: preserve-3d;
    transform: rotateY(-60deg);
}

.mfp-3d-unfold.mfp-bg {
    opacity: 0;
    transition: all 0.5s;
}

.mfp-3d-unfold.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: rotateY(0deg);
}

.mfp-3d-unfold.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-3d-unfold.mfp-removing .mfp-with-anim {
    transform: rotateY(60deg);
    opacity: 0;
}

.mfp-3d-unfold.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Zoom-out effect ======
*/
.mfp-zoom-out {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-zoom-out .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
}

.mfp-zoom-out.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-out.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-out.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-zoom-out.mfp-removing .mfp-with-anim {
    transform: scale(1.3);
    opacity: 0;
}

.mfp-zoom-out.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Slide bottom effect ======
*/
.mfp-slide-bottom {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-slide-bottom .mfp-with-anim {
    opacity: 0;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    -webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    transform: translateY(-20px) perspective(600px) rotateX(10deg);

}

/* animate in */
.mfp-slide-bottom.mfp-ready .mfp-with-anim {
    opacity: 1;
    -webkit-transform: translateY(0) perspective(600px) rotateX(0);
    -moz-transform: translateY(0) perspective(600px) rotateX(0);
    -ms-transform: translateY(0) perspective(600px) rotateX(0);
    -o-transform: translateY(0) perspective(600px) rotateX(0);
    transform: translateY(0) perspective(600px) rotateX(0);
}

/* animate out */
.mfp-slide-bottom.mfp-removing .mfp-with-anim {
    opacity: 0;
    -webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    transform: translateY(-10px) perspective(600px) rotateX(10deg);
}

/* Dark overlay, start state */
.mfp-slide-bottom.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

/* animate in */
.mfp-slide-bottom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

/* animate out */
.mfp-slide-bottom.mfp-removing.mfp-bg {
    opacity: 0;
}
