
/* Source: tempercom-galeria-produto-v75.code-snippets.php */
body.single-product .woocommerce-product-gallery.tmc-v74-ready .woocommerce-product-gallery__wrapper,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .flex-control-nav,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .flex-control-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .flex-direction-nav,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .woocommerce-product-gallery__trigger,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v54-main,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v54-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v66-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v67-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v68-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v69-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v70-main,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v70-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v71-main,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v71-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v72-main,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v72-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v73-main,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-v73-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-product-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tmc-gallery-thumbs,
            body.single-product .woocommerce-product-gallery.tmc-v74-ready .tc-product-thumbs{
                display:none!important;
                visibility:hidden!important;
                opacity:0!important;
                height:0!important;
                max-height:0!important;
                margin:0!important;
                padding:0!important;
                overflow:hidden!important;
                pointer-events:none!important;
            }

            body.single-product .woocommerce-product-gallery.tmc-v74-ready{
                width:100%!important;
                max-width:100%!important;
                background:#fff!important;
                border:1px solid #e5e7eb!important;
                box-shadow:none!important;
                overflow:hidden!important;
                position:relative!important;
            }

            body.single-product .tmc-v74-main{
                --tmc-zoom-scale:1;
                --tmc-zoom-x:50%;
                --tmc-zoom-y:50%;

                width:100%!important;
                height:560px!important;
                min-height:560px!important;
                max-height:560px!important;
                background:#fff!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                overflow:hidden!important;
                border-bottom:1px solid #e5e7eb!important;
                position:relative!important;
                cursor:zoom-in!important;
                user-select:none!important;
                touch-action:pan-y!important;
            }

            body.single-product .tmc-v74-main::after{
                content:"Passe o mouse para ampliar"!important;
                position:absolute!important;
                left:18px!important;
                bottom:18px!important;
                height:32px!important;
                padding:0 11px!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                background:rgba(17,17,17,.82)!important;
                color:#fff!important;
                -webkit-text-fill-color:#fff!important;
                font-size:12px!important;
                line-height:1!important;
                font-weight:900!important;
                letter-spacing:.055em!important;
                text-transform:uppercase!important;
                pointer-events:none!important;
                opacity:.92!important;
                transition:opacity .16s ease!important;
            }

            body.single-product .tmc-v74-main.is-zooming::after{
                opacity:0!important;
            }

            body.single-product .tmc-v74-main img{
                width:100%!important;
                height:100%!important;
                object-fit:contain!important;
                object-position:center!important;
                display:block!important;
                padding:28px!important;
                margin:0!important;
                background:#fff!important;
                transform:scale(var(--tmc-zoom-scale))!important;
                transform-origin:var(--tmc-zoom-x) var(--tmc-zoom-y)!important;
                transition:transform .045s linear!important;
                will-change:transform!important;
                pointer-events:none!important;
                backface-visibility:hidden!important;
            }

            body.single-product .tmc-v74-main.is-zooming{
                cursor:zoom-out!important;
            }

            body.single-product .tmc-v74-thumbs{
                width:100%!important;
                padding:14px!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                gap:12px!important;
                flex-wrap:wrap!important;
                background:#fff!important;
                border:0!important;
                overflow:visible!important;
            }

            body.single-product .tmc-v74-thumbs.is-single{
                display:none!important;
            }

            body.single-product .tmc-v74-thumb{
                width:76px!important;
                height:76px!important;
                min-width:76px!important;
                padding:6px!important;
                margin:0!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                background:#fff!important;
                border:1px solid #d6dbe3!important;
                box-shadow:none!important;
                cursor:pointer!important;
                appearance:none!important;
                -webkit-appearance:none!important;
                transition:border-color .14s ease, transform .14s ease, box-shadow .14s ease!important;
            }

            body.single-product .tmc-v74-thumb:hover{
                border-color:#111!important;
                transform:translateY(-1px)!important;
            }

            body.single-product .tmc-v74-thumb.is-active{
                border:2px solid #f47a20!important;
                box-shadow:0 0 0 2px rgba(244,122,32,.10)!important;
            }

            body.single-product .tmc-v74-thumb img{
                width:100%!important;
                height:100%!important;
                object-fit:contain!important;
                object-position:center!important;
                display:block!important;
                padding:0!important;
                margin:0!important;
                background:#fff!important;
                pointer-events:none!important;
            }



            /*
             * ============================================================
             * V74.4 - VÍDEO NO MESMO QUADRADO DA FOTO
             * ============================================================
             */
            body.single-product .tmc-v74-main > .tmc-v74-main-image.is-hidden{
                display:none!important;
            }

            body.single-product .tmc-v74-main.is-video{
                background:#000!important;
                cursor:default!important;
                touch-action:auto!important;
            }

            body.single-product .tmc-v74-main.is-video::after{
                display:none!important;
                opacity:0!important;
            }

            body.single-product .tmc-v74-video-stage{
                position:absolute!important;
                inset:0!important;
                z-index:3!important;
                width:100%!important;
                height:100%!important;
                display:none!important;
                align-items:center!important;
                justify-content:center!important;
                background:#000!important;
                overflow:hidden!important;
            }

            body.single-product .tmc-v74-main.is-video .tmc-v74-video-stage{
                display:flex!important;
            }

            /*
             * V74.4 - O vídeo fica dentro de uma janela própria.
             * Para o MP4 do aparador, a janela recorta apenas a parte vertical
             * gravada no lado esquerdo do arquivo e posiciona essa parte no centro.
             */
            body.single-product .tmc-v74-video-viewport{
                position:absolute!important;
                inset:0!important;
                z-index:4!important;
                width:100%!important;
                height:100%!important;
                display:none!important;
                align-items:center!important;
                justify-content:center!important;
                overflow:hidden!important;
                background:#000!important;
            }

            body.single-product .tmc-v74-video-viewport.is-visible{
                display:flex!important;
            }

            body.single-product .tmc-v74-video-viewport video{
                position:relative!important;
                top:auto!important;
                left:auto!important;
                width:100%!important;
                height:100%!important;
                max-width:100%!important;
                max-height:100%!important;
                display:block!important;
                margin:0 auto!important;
                padding:0!important;
                border:0!important;
                background:#000!important;
                object-fit:contain!important;
                object-position:center center!important;
                transform:none!important;
                pointer-events:auto!important;
            }

            /*
             * O arquivo do aparador é horizontal, porém o conteúdo útil é 9:16
             * e está gravado à esquerda. A janela abaixo recorta o preto da direita
             * sem impedir o carregamento ou os controles do vídeo.
             */
            body.single-product .tmc-v74-video-viewport.is-left-portrait-crop{
                inset:0 auto 0 50%!important;
                width:auto!important;
                height:100%!important;
                max-width:100%!important;
                aspect-ratio:9 / 16!important;
                transform:translateX(-50%)!important;
                background:#000!important;
            }

            body.single-product .tmc-v74-video-viewport.is-left-portrait-crop video{
                width:100%!important;
                height:100%!important;
                max-width:none!important;
                max-height:none!important;
                object-fit:cover!important;
                object-position:left center!important;
                background:#000!important;
            }

            body.single-product .tmc-v74-play-overlay{
                position:absolute!important;
                top:50%!important;
                left:50%!important;
                z-index:12!important;
                min-width:150px!important;
                height:48px!important;
                padding:0 18px!important;
                display:none!important;
                align-items:center!important;
                justify-content:center!important;
                gap:9px!important;
                transform:translate(-50%,-50%)!important;
                background:#ff7a00!important;
                border:1px solid #ff7a00!important;
                border-radius:6px!important;
                box-shadow:0 10px 28px rgba(0,0,0,.34)!important;
                color:#fff!important;
                -webkit-text-fill-color:#fff!important;
                font-size:13px!important;
                line-height:1!important;
                font-weight:900!important;
                cursor:pointer!important;
            }

            body.single-product .tmc-v74-play-overlay.is-visible{
                display:inline-flex!important;
            }

            body.single-product .tmc-v74-play-overlay:hover{
                background:#e86800!important;
                border-color:#e86800!important;
            }

            body.single-product .tmc-v74-video-message{
                position:absolute!important;
                left:16px!important;
                right:16px!important;
                bottom:16px!important;
                z-index:11!important;
                display:none!important;
                padding:10px 12px!important;
                background:rgba(17,17,17,.88)!important;
                border:1px solid rgba(255,255,255,.24)!important;
                color:#fff!important;
                -webkit-text-fill-color:#fff!important;
                font-size:12px!important;
                line-height:1.35!important;
                font-weight:700!important;
                text-align:center!important;
            }

            body.single-product .tmc-v74-video-message.is-visible{
                display:block!important;
            }

            /* YouTube continua ocupando todo o quadro, sem alterar o layout. */
            body.single-product .tmc-v74-video-stage iframe{
                position:absolute!important;
                inset:0!important;
                width:100%!important;
                height:100%!important;
                max-width:100%!important;
                max-height:100%!important;
                display:block!important;
                margin:0!important;
                padding:0!important;
                border:0!important;
                background:#000!important;
                transform:none!important;
                pointer-events:auto!important;
            }

            body.single-product .tmc-v74-audio-toggle{
                position:absolute!important;
                top:14px!important;
                right:14px!important;
                z-index:8!important;
                min-width:128px!important;
                height:38px!important;
                padding:0 13px!important;
                display:none!important;
                align-items:center!important;
                justify-content:center!important;
                gap:7px!important;
                background:rgba(17,17,17,.82)!important;
                border:1px solid rgba(255,255,255,.42)!important;
                border-radius:6px!important;
                box-shadow:0 6px 18px rgba(0,0,0,.24)!important;
                color:#fff!important;
                -webkit-text-fill-color:#fff!important;
                font-size:12px!important;
                line-height:1!important;
                font-weight:800!important;
                cursor:pointer!important;
            }

            body.single-product .tmc-v74-audio-toggle.is-visible{
                display:inline-flex!important;
            }

            body.single-product .tmc-v74-audio-toggle:hover{
                background:#111!important;
                border-color:#fff!important;
            }

            body.single-product .tmc-v74-thumb{
                position:relative!important;
                overflow:hidden!important;
            }

            body.single-product .tmc-v74-thumb.is-video-thumb{
                background:#111!important;
            }

            body.single-product .tmc-v74-thumb.is-video-thumb img{
                opacity:.82!important;
            }

            body.single-product .tmc-v74-video-play{
                position:absolute!important;
                top:50%!important;
                left:50%!important;
                z-index:3!important;
                width:32px!important;
                height:32px!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                transform:translate(-50%,-50%)!important;
                background:rgba(255,122,0,.96)!important;
                border:2px solid #fff!important;
                border-radius:50%!important;
                box-shadow:0 4px 12px rgba(0,0,0,.28)!important;
                color:#fff!important;
                -webkit-text-fill-color:#fff!important;
                font-size:14px!important;
                line-height:1!important;
                pointer-events:none!important;
            }

            body.single-product .tmc-v74-video-play::before{
                content:"▶"!important;
                display:block!important;
                margin-left:2px!important;
            }

            body.single-product .tmc-v74-video-label{
                position:absolute!important;
                left:3px!important;
                right:3px!important;
                bottom:3px!important;
                z-index:4!important;
                height:17px!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                background:rgba(17,17,17,.78)!important;
                color:#fff!important;
                -webkit-text-fill-color:#fff!important;
                font-size:12px!important;
                line-height:1!important;
                font-weight:900!important;
                letter-spacing:.05em!important;
                pointer-events:none!important;
            }

            body.single-product .tmc-v74-video-fallback{
                width:100%!important;
                height:100%!important;
                display:flex!important;
                align-items:center!important;
                justify-content:center!important;
                background:#111!important;
                color:#fff!important;
                font-size:12px!important;
                font-weight:900!important;
                letter-spacing:.05em!important;
            }

            @media (max-width:520px){
                body.single-product .tmc-v74-audio-toggle{
                    top:9px!important;
                    right:9px!important;
                    min-width:112px!important;
                    height:34px!important;
                    padding:0 10px!important;
                    font-size:12px!important;
                }

                body.single-product .tmc-v74-video-play{
                    width:28px!important;
                    height:28px!important;
                    font-size:12px!important;
                }
            }

            body.single-product .tmc-v71-modal,
            body.single-product .tmc-v71-modal.is-open,
            .tmc-v71-modal,
            .tmc-v71-modal.is-open{
                display:none!important;
                visibility:hidden!important;
                opacity:0!important;
                pointer-events:none!important;
            }

            body.tmc-v71-modal-open{
                overflow:auto!important;
            }

            @media (max-width:980px){
                body.single-product .tmc-v74-main{
                    height:390px!important;
                    min-height:390px!important;
                    max-height:390px!important;
                    touch-action:pan-y!important;
                }

                body.single-product .tmc-v74-main.is-zooming{
                    touch-action:none!important;
                }

                body.single-product .tmc-v74-main img{
                    padding:18px!important;
                    transition:transform .075s linear!important;
                }

                body.single-product .tmc-v74-main::after{
                    content:"Toque para ampliar • arraste para mover"!important;
                    left:12px!important;
                    bottom:12px!important;
                    height:30px!important;
                    font-size:12px!important;
                    letter-spacing:.035em!important;
                }

                body.single-product .tmc-v74-thumb{
                    width:66px!important;
                    height:66px!important;
                    min-width:66px!important;
                }
            }

            @media (max-width:520px){
                body.single-product .tmc-v74-main{
                    height:340px!important;
                    min-height:340px!important;
                    max-height:340px!important;
                }

                body.single-product .tmc-v74-main img{
                    padding:12px!important;
                }

                body.single-product .tmc-v74-thumb{
                    width:60px!important;
                    height:60px!important;
                    min-width:60px!important;
                    padding:5px!important;
                }

                body.single-product .tmc-v74-thumbs{
                    padding:12px!important;
                    gap:10px!important;
                }
            }

            @media (max-width:390px){
                body.single-product .tmc-v74-main{
                    height:320px!important;
                    min-height:320px!important;
                    max-height:320px!important;
                }

                body.single-product .tmc-v74-main::after{
                    font-size:12px!important;
                    height:28px!important;
                    padding:0 8px!important;
                }
            }


/* Core 2.0.3 — galeria mobile mais rápida: preserva a foto grande,
   mas libera espaço para título e preço ainda na primeira dobra. */
@media(max-width:520px){
    body.single-product .tmc-v74-main{
        height:300px!important;
        min-height:300px!important;
        max-height:300px!important;
    }
    body.single-product .tmc-v74-main img{padding:10px!important}
    body.single-product .tmc-v74-thumb{
        width:54px!important;
        height:54px!important;
        min-width:54px!important;
        padding:4px!important;
    }
    body.single-product .tmc-v74-thumbs{
        padding:9px 10px!important;
        gap:8px!important;
    }
}
@media(max-width:390px){
    body.single-product .tmc-v74-main{
        height:285px!important;
        min-height:285px!important;
        max-height:285px!important;
    }
}
