.cd-product-viewer-wrapper {
    /* text-align: center;
    padding: 0;
    margin-bottom: 40px; */
    max-width: 900px;
    width: 100%;

    margin-left: auto;
    margin-right: auto;
}

.cd-product-viewer-wrapper>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-product-viewer-wrapper .product-viewer {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 1em;
}

@media (max-width: 767px) {
    .cd-product-viewer-wrapper .product-viewer {
        margin-bottom: 1.5em;
    }
}

.cd-product-viewer-wrapper img {
    /* this is the image visible before the image sprite is loaded */
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes opacity {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes opacity {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes opacity {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.cd-product-viewer-wrapper .product-sprite {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    height: 100%;
    /* our image sprite is composed by 16 frames */
    width: 502%;
    background: url(../img/escenaSprite.png) no-repeat center center;
    background-size: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.cd-product-viewer-wrapper.loaded .product-sprite {
    /* image sprite has been loaded */
    opacity: 1;
    cursor: ew-resize;
}

figure {
    margin: 0 1em;
}

.cd-product-viewer-handle {
    position: relative;
    z-index: 2;
    width: 60%;
    max-width: 300px;
    border-radius: 50em;
    margin: 1em auto 2em;
    height: 10px;
    background: #C21015;
}


@media (max-width: 767px) {
    .cd-product-viewer-handle {
        margin: .5em auto 2em !important;
    }
}

.cd-product-viewer-handle .fill {
    /*thisisusedtocreatetheloadingfilleffect*/
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: rgba(255, 220, 93, 0.4);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
}

.no-csstransitions .cd-product-viewer-handle .fill {
    display: none;
}

.loaded .cd-product-viewer-handle .fill {
    /*imagespritehasbeenloaded*/
    opacity: 0;
    -webkit-transition: transform 0.2s, opacity 0.5s 0.3s;
    -moz-transition: transform 0.2s, opacity 0.5s 0.3s;
    transition: transform 0.2s, opacity 0.5s 0.3s;
    -ms-transition: transform 0.2s, opacity 0.5s 0.3s;
    -o-transition: transform 0.2s, opacity 0.5s 0.3s;
}

.cd-product-viewer-handle .handle {
    position: absolute;
    z-index: 2;
    display: inline-block;
    height: 44px;
    width: 44px;
    left: 0;
    top: -18px;
    background: #F0D427 url(../img/arrows.svg) no-repeat center center;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 220, 93, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
    /* replace text with image */
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    color: transparent;
    -webkit-transform: translateX(-50%) scale(0);
    -moz-transform: translateX(-50%) scale(0);
    -ms-transform: translateX(-50%) scale(0);
    -o-transform: translateX(-50%) scale(0);
    transform: translateX(-50%) scale(0);
    -webkit-transition: box-shadow 0.2s;
    -moz-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
}

.cd-product-viewer-handle .handle:active {
    box-shadow: 0 0 0 0 rgba(181, 66, 64, 0), 0 0 20px rgba(0, 0, 0, 0.2);
}

.loaded .cd-product-viewer-handle .handle {
    /* image sprite has been loaded */
    -webkit-transform: translateX(-50%) scale(1);
    -moz-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    -o-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
    -webkit-animation: cd-bounce 0.3s 0.3s;
    -moz-animation: cd-bounce 0.3s 0.3s;
    animation: cd-bounce 0.3s 0.3s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
    cursor: ew-resize;
}

@-webkit-keyframes cd-bounce {
    0% {
        -webkit-transform: translateX(-50%) scale(0);
    }

    60% {
        -webkit-transform: translateX(-50%) scale(1.1);
    }

    100% {
        -webkit-transform: translateX(-50%) scale(1);
    }
}

@-moz-keyframes cd-bounce {
    0% {
        -moz-transform: translateX(-50%) scale(0);
    }

    60% {
        -moz-transform: translateX(-50%) scale(1.1);
    }

    100% {
        -moz-transform: translateX(-50%) scale(1);
    }
}

@keyframes cd-bounce {
    0% {
        -webkit-transform: translateX(-50%) scale(0);
        -moz-transform: translateX(-50%) scale(0);
        -ms-transform: translateX(-50%) scale(0);
        -o-transform: translateX(-50%) scale(0);
        transform: translateX(-50%) scale(0);
    }

    60% {
        -webkit-transform: translateX(-50%) scale(1.1);
        -moz-transform: translateX(-50%) scale(1.1);
        -ms-transform: translateX(-50%) scale(1.1);
        -o-transform: translateX(-50%) scale(1.1);
        transform: translateX(-50%) scale(1.1);
    }

    100% {
        -webkit-transform: translateX(-50%) scale(1);
        -moz-transform: translateX(-50%) scale(1);
        -ms-transform: translateX(-50%) scale(1);
        -o-transform: translateX(-50%) scale(1);
        transform: translateX(-50%) scale(1);
    }
}

.cd-product-viewer-handle:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #C21015;
}

.cd-product-viewer-handle:after {
    content: "";
    position: absolute;
    top: -10px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #C21015;
}

.contenedor {
    width: 100%;
    position: relative;
}

.product-viewer {
    position: absolute;
    width: 77%;
    padding-bottom: 30%;
    margin-top: 20px;
    border: 10px solid #fff;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .product-viewer {
        border: 5px solid #fff;
        width: 100%;
        padding-bottom: 39%;
    }
}

.texto-fill {
    padding: 15px;
    background: #F0D427;
    width: 95%;
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    line-height: 1.3;
}

@media (max-width: 459px) {
    .texto-fill {
        font-size: 18px;
    }
}

.texto-fill h3 {
    margin: 0;
}

.resaltado {
    background-color: #ffed7b;
    padding: 15px;
    margin: 0;
}