/*PDP zoom alone */

#gallery_pdp {
    margin: 5px;
    width: 80px;
    float: left;
}

.gallery-viewer {
    float: left;
    width: calc(100% - 90px);
    margin: 10px; 
    margin-top: 0px;
    position: relative;
} 
 
.zoomLens {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
} 

.zoomContainer .zoomLens {
    /*background: url("../images/zoom-icon.png");*/
    background-repeat: no-repeat;
}

/*.zoomWindowContainer div{
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.5) !important;
}

.zoomContainer {
    cursor: url("../images/zoom-icon.png"), auto
}

.magnifylens {
    cursor: url("../images/zoom-icon.png"), auto!important;
}

.demagnifylens {
    cursor: url("../images/zoom-in-icon.png"), auto!important;
}*/

#enlarge_gallery_pdp {
    display: none;
}


/*fancybox*/

.pdp_enl_opt .fancybox-nav span {
    visibility: visible!important;
}

.pdp_enl_opt .fancybox-skin {
    background: transparent
}

.pdp_enl_opt .fancybox-opened .fancybox-skin {
    box-shadow: none;
}

.pdp_enl_opt .fancybox-nav, .pdp_enl_opt .fancybox-close {
    display: none;
}

.enl_fclose {
    background-position: center;
    right: 2%;
    top: 5%;
    box-shadow: none;
    border: none;
    width: 30px;
    height: 30px;
    background-size: contain;
    position: fixed;
    z-index: 111;
}

.enl_fright {
    background-position: center;
    top: 50%;
    right: 2%;
    box-shadow: none;
    border: none;
    width: 40px;
    height: 40px;
    background-size: contain;
    position: fixed;
    z-index: 111;
}

.enl_fleft {
    top: 50%;
    left: 2%;
    box-shadow: none;
    border: none;
    width: 40px;
    height: 40px;
    background-size: contain;
    position: fixed;
    z-index: 111;
}

.fancybox-inner .enl_butt {
    z-index: 10000;
}

.pdp_enl_opt .fancybox-skin, .pdp_enl_opt .fancybox-wrap {
    background: transparent!important;
    box-shadow: none!important;
}

a.enl_but:hover {
    transform: scale(1.10) !important;
    transition: transform .25s !important;
}

.pdp_enl_opt .fancybox-image {
    max-width: 95%!important;
    margin: 0 auto;
}

img.fancybox-image {
}

#panic {
}


/* PDP Zoom End */


/* panning css */

.img-pan-container, .img-pan-container img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.img-pan-container {
    position: fixed;
    overflow: hidden;
    cursor: crosshair;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.img-pan-container img {
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    position: absolute;
    top: 0;
    left: 0;
}

.mega_enl img {
    opacity: 0;
    transition: opacity .6s linear .85s;
}
.mega_enl img.loaded {
    opacity: 1;
}

/*mega enlarge */
.mega_enl {
    display: none
}
.mega_enl {
    position: relative;
    margin: 3%;
    width: 40%;
    height: 60%;
    box-shadow: 0 0 60px rgba(0, 0, 0, .4);
    background: #000;
}

/* version 2.1*/
.owl-item img {
    width: 100%;
}
#fancy_gall .owl-next, #fancy_gall .owl-prev {
    display: none;
}
a#ui-carousel-next {
    display: none;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: -10px;
    left: 43%;
    background-size: 70%;
    background-repeat: no-repeat;
}
a#ui-carousel-prev {
    display: none;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 43%;
    background-size: 70%;
    background-repeat: no-repeat;
}
.gallery_pdp_container {
    position: relative;
    float: left;
    display: flex;
    max-width: 545px;
}
.wrapper a img {
    border: 1px solid #000000;
}
.product-details {
    float: right;
    padding: 15px;
    width: 54%;
    padding-left: 30px;
    margin-top: 25px;
}


#gallery_pdp img{
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 10px !important;
    border: 2px solid #ffffff;
    border-radius: 5px;
}

#gallery_pdp  .img_gal.active img{
    border: 2px solid #1e8e3e;
}

/* Page decoration css*/


@media(max-width:1250px){
    .gallery-viewer{
      width: calc(100% - 90px);
    }

    #gallery_pdp{
        max-height:385px;
        overflow-y: auto;
        width:90px;
    }

    #gallery_pdp figure img{
        transform: inherit;
    }
}

@media(max-width:980px){
    #gallery_pdp img {
        width: 90px !important;
        height: 90px !important;
    }

    .gallery_pdp_container{
        display: flex;
        width: 100%;
        max-width: inherit;
    }

    .gallery-viewer {
        width: calc(100% - 45%);
    }

    .add-cart-button {
      width: 200px;
      float: none;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: baseline;
    }

    #gallery_pdp a:last-child img{
        margin-right:0px
    }

    .zoomContainer{
        display: none !important;
    }

    #gallery_pdp{
        width: 90px;
        max-height:500px;
    }
}

@media(max-width:900px){
    #gallery_pdp {
        width: 70px;
    }
}

@media(max-width:767px){
    .gallery-viewer {
        margin-right: 0;
    }
    .gallery-viewer {
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
    }
    #gallery_pdp{
        display: none;
    }
}

@media(max-width:480px){
    .gallery_pdp_container {
        float: inherit;
    }
    .img_gal.active img {
        border-color: #000;
    }
    #gallery_pdp {
        margin: 0px;
        max-height: 357px;
    }
    .avg-number {
        font-size: 45px;
    }
    .rating-summary{
        gap: 10px;
    }
    .first-letter{
        left:0;
    }
}

@media(max-width:430px){
    #gallery_pdp img {
        width: 70px !important;
        height: 70px !important;
    }
    #gallery_pdp {
        width: 60px;
        max-height: 357px;
    }
    .gallery-viewer {
        width:100%;
    }
}
@media(max-width:380px){
    #gallery_pdp {
        max-height: 265px;
    }
}

@media(max-width:330px){
    #gallery_pdp img {
      width: 65px !important;
      height: 65px !important;
      margin-right: 5px;
    }
}