body#product #content {
    max-width: 100%;
}
body#product .product-flags {
    align-content: flex-end;
    align-items: flex-end;
}
.product-images-ecommzoom {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.cover-image-ecommzoom {
    cursor: zoom-in;
    width: calc(100% - 50px);
}
.cover-image-ecommzoom iframe{
    display: none;
    width: 100%
}
.product-images-ecommzoom  .cover-image-ecommzoom img {
    max-width: 100%;
    height: auto;
}
.product-images-ecommzoom .thumb-container-ecommzoom{
    padding-right: 10px;
}
.product-images-ecommzoom .thumb-container-ecommzoom .thumbs-ecommzoom{
    justify-content: center;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    position: relative;
    height: 500px;
}
.product-images-ecommzoom .thumb-container-ecommzoom ul{
    height: initial;
    display: inline-block;
    transition-duration: 0.5s;
    font-size: 0;
}
.product-images-ecommzoom .thumb-container-ecommzoom ul li {
    padding: 5px 2.5px;
    cursor: pointer;
}
.product-images-ecommzoom .btn-event {
    background: #f7f7f7;
    text-align: center;
    cursor: pointer;
}
.container_ecommzoom {
    z-index: 9999;
    position: fixed;
    top: 0px;
    /* transition: all 1s ease 0s; */
    background: red;
    left: 0px;
    bottom: 0px;
    right: 0px;
}
.container_ecommzoom:not(.active) {
    display: none;
}
.container_ecommzoom .zoo-item {
    position: fixed;
    left: 0;
    top: -100vh;
    right: 0;
    bottom: 0;
    width: 100%!important;
    padding: 0;
    height: 100%!important;
    margin: 0;
    background: #f1f1f1;
    top: 0vh;
    background: #fff;
}
.content_zoom .arrows .prev, .content_zoom .arrows .next {
    top: 50%;
    position: absolute;
    cursor: pointer;
}
.content_zoom .arrows .next {
    right: 0px;
}

.container_ecommzoom .zoo-item .zoo-img {
    height: 110%;
    background-size: contain;
    transform: scale(1.05)!important;
    transform-origin: center 16%;
    cursor: zoom-in!important;
    -webkit-backface-visibility: hidden;
    background-repeat: no-repeat;
    background-position: center;
}
.container_ecommzoom .doublezoom .zoo-item .zoo-img {
    transform: scale(2.5)!important;
    height: 100%;
    cursor: zoom-out!important;
}
.container_ecommzoom span.material-icons.zoom-close {
    position: absolute;
    z-index: 55;
    right: 25px;
    top: 25px;
    cursor: pointer;
}
.zoompanmobilecontainer {
    display: none;
}
.zoompanmobilecontainer.modalon {
    display: block;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100vw;
    z-index: 999999;
    background: white;
}
span.material-icons.panclose {
    position: absolute;
    right: 10px;
    top: 11px;
    font-size: 50px;
    z-index: 999;
}
#zoompanmobile {
    height: 100vh;
}
#zoompanmobile img{
    height: 100%;
    width: auto;
    left: -50%;
    position: relative;
}
.product-images-ecommzoom .btn-event.next, .product-images-ecommzoom .btn-event.prev {
    display: none;
}

/*horizontal mode*/
.product-images-ecommzoom.mode1 {
    flex-wrap: wrap;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom {
    order: 2;
    width: 100%;
    /*padding: 0px 70px;*/
    display: flex;
}
.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .thumbs-ecommzoom{
    justify-content: center;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: horizontal;
    position: relative;
    height: auto;
}
.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .thumbs-ecommzoom ul{
    height: initial;
    display: block;
    transition-duration: 0.5s;
    white-space: nowrap;
}
.product-images-ecommzoom.mode1 .thumb-container-ecommzoom ul li {
    display: inline-block;
}
.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.up, .product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.down {
    display: none;
}
.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.prev, .product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.next {
    display: block;
    margin-top: 45px;
    height: 27px;
}
/*end horizontal mode*/

.product-images-ecommzoom .thumb-container-ecommzoom ul li .contentiframe {
    display: none;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul li .icon-video > span {
    font-size: 50px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    line-height: 86px;
    height: 86px;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li .icon-video > span {
    display: none;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li .icon-video .contentiframe {
    display: block;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li.content_video *, .product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li.content_video {
    height: 100%;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li .icon-video .contentiframe iframe {
    width: 100%;
}

.container_ecommzoom .content_zoom .nav {

    left: 5px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    z-index: 5;
}
.container_ecommzoom .content_zoom .nav.item-next {
    right: 5px;
    left: initial;
}
.container_ecommzoom .content_zoom .nav.item-next:before, .container_ecommzoom .content_zoom .nav.item-prev:before  {
    content: '';
    display: inline-block;
    width: 30px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%23000000'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpolyline fill='none' stroke='%23000000' stroke-width='0.744' points='7 2 17 12 7 22'%3E%3C/polyline%3E%3C/g%3E%3C/svg%3E");
    background-size: cover; /* Ajustar el tamaño del SVG */
}
.container_ecommzoom .content_zoom .nav.item-prev:before {
    transform:rotate(180deg)
}
.grid_mode_zoom .cover-image-ecommzoom {
    width: 100%;
    
    display: block;
}
 
.grid_mode_zoom  ul{
        display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    gap:10px;
        margin: 0px;
}

.grid_mode_zoom  ul li{
    width: calc(calc(100% / 2) - 5px);
}
.grid_mode_zoom  ul li:nth-child(3n+1) {
  width: 100%;
}

@media (max-width: 992px) {
    .product-images-ecommzoom.mode1 .thumb-container-ecommzoom {
        display: block;
    }
    .cover-image-ecommzoom{
        display: none
    }
    .product-images-ecommzoom .thumb-container-ecommzoom {
        width: 100%;
    }
    .product-images-ecommzoom .thumb-container-ecommzoom .thumbs-ecommzoom{
        display: block;
        height: initial;
    }
    .product-images-ecommzoom .thumb-container-ecommzoom ul {
        width: 100%;
    }
    .product-images-ecommzoom .thumb-container-ecommzoom ul img{
        width: 100%;height: auto
    }
    .product-images-ecommzoom .btn-event{
        display: none!important
    }
}
/*mod sito*/