/* Joia dourada: vídeo recortado, borda separada e fecho com pingentes por cima. */
#wevideo-widget.wevideo-frame-jewel .wevideo-widget-content {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    box-shadow: none !important;
    filter: drop-shadow(0 12px 12px rgba(112, 72, 20, .28));
}
#wevideo-widget.wevideo-frame-jewel .wevideo-video-wrapper {
    border-radius: 0 !important;
    -webkit-mask: url('../frames/jewel-mask.svg') center / 100% 100% no-repeat;
    mask: url('../frames/jewel-mask.svg') center / 100% 100% no-repeat;
}
#wevideo-widget .wevideo-jewel-border {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    z-index: 2;
    pointer-events: none;
}
#wevideo-widget.wevideo-frame-jewel .wevideo-close-btn,
#wevideo-widget.wevideo-frame-jewel .wevideo-close-btn:hover {
    top: 0 !important;
    left: 0 !important;
    width: var(--wv-jewel-close, 44px) !important;
    height: var(--wv-jewel-close, 44px) !important;
    min-width: 44px !important;
    min-height: 44px !important;
    transform: translate(-30%, -30%);
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    overflow: visible !important;
}
#wevideo-widget .wevideo-jewel-close-art {
    position: absolute;
    width: 150% !important;
    height: 150% !important;
    max-width: none !important;
    object-fit: contain;
    left: -27%;
    top: -10%;
    pointer-events: none;
    user-select: none;
}
#wevideo-widget.wevideo-frame-jewel .wevideo-close-btn:focus-visible {
    outline: 2px solid #99531a;
    outline-offset: 2px;
}

.wevideo-widget {
    position: fixed;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, visibility 0.5s ease;
    will-change: transform, opacity;
    touch-action: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
}

.wevideo-widget.wevideo-ready {
    opacity: 1 !important;
    visibility: visible !important;
}

.wevideo-widget.dragging {
    transition: none !important;
    cursor: grabbing !important;
}

.wevideo-widget.bottom-right {
    right: 20px;
    bottom: 20px;
}

.wevideo-widget.bottom-left {
    left: 20px;
    bottom: 20px;
}

.wevideo-widget.top-right {
    right: 20px;
    top: 20px;
}

.wevideo-widget.top-left {
    left: 20px;
    top: 20px;
}

.wevideo-widget.round .wevideo-widget-content {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.wevideo-widget.vertical .wevideo-widget-content {
    width: 240px;
    height: 400px;
    overflow: hidden;
    border: 3px solid #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.wevideo-widget-content:focus-visible {
    outline: 3px solid #0066FF;
    outline-offset: 3px;
}

.wevideo-widget-content {
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    transform: translateZ(0);
    backface-visibility: hidden;
    height: 100%;
    display: block;
    border: none;
}

.wevideo-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    border: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 1;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.wevideo-widget video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    pointer-events: none;
    border-radius: inherit;
}

.wevideo-widget video.loaded {
    opacity: 1;
}

/* Novo estilo do botão de fechar */
.wevideo-close-btn {
    position: absolute;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    transform: translate(-50%, -50%);
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border-radius: 50% !important;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: normal !important;
}

.wevideo-close-btn .close-icon {
    color: #444 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: block !important;
    font-family: Arial, sans-serif;
    pointer-events: none;
    margin: 0 !important;
}

.wevideo-close-btn:hover {
    background: #f9f9f9 !important;
    border-color: #bbb !important;
}

/* Estilos do Stories Popup */
.wevideo-stories-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wevideo-stories-popup.active {
    opacity: 1;
    pointer-events: auto;
}

html.wevideo-no-scroll,
html.wevideo-no-scroll body {
    overflow: hidden !important;
}

.wevideo-stories-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #000;
    overflow: hidden;
}

/* Novo estilo para o cabeçalho do stories */
.wevideo-stories-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    padding: 10px 15px;
}

/* Barra de progresso */
.wevideo-stories-progress {
    width: 100%;
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.wevideo-stories-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.wevideo-stories-progress-bar {
    width: 0%;
    height: 100%;
    background: #FFFFFF;
}

/* Container para logo e botão fechar */
.wevideo-stories-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 34px;
}

/* Marca no topo: texto ou logo */
.wevideo-stories-logo {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.wevideo-stories-logo--img {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    height: 34px;
    overflow: visible;
}

.wevideo-stories-logo--img img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-height: 28px !important;
    max-width: 150px !important;
    margin: 0 !important;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.wevideo-stories-logo--wevideo img {
    max-height: 24px !important;
}

/* Novo estilo para os controles */
.wevideo-stories-controls {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    z-index: 10;
}

.wevideo-stories-control {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: rgb(69 39 26 / 95%);
    border: none;
    color: #353535 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: #4d4d4d78 !important;
}

.wevideo-stories-control:hover {
    transform: scale(1.1);
    background: rgba(98, 58, 42, 1);
}

.wevideo-stories-control i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke: #FFFFFF;
    stroke-width: 2;
    fill: none;
}

/* Substituindo os ícones do Dashicons por SVGs personalizados */
.wevideo-stories-control[data-action="like"] i:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

.wevideo-stories-control[data-action="like"].active {
    background: rgba(255, 255, 255, 0.2) !important;
}

.wevideo-stories-control[data-action="like"].active i:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='red' stroke='red' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.wevideo-stories-control[data-action="comment"] i:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

.wevideo-stories-control[data-action="whatsapp"] i:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

.wevideo-stories-control[data-action="share"] i:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'/%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

.wevideo-stories-control[data-action="mute"] i:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4zM19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.wevideo-stories-control[data-action="mute"] i.dashicons-controls-volumeoff:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4zM23 9l-6 6M17 9l6 6'/%3E%3C/svg%3E");
}

.wevideo-stories-control i:before {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Ajuste do botão fechar */
.wevideo-stories-close {
    position: static;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    background-color: #0000005c !important;
    border: none;
    color: #FFFFFF !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wevideo-stories-close:hover {
    transform: scale(1.1);
}

.wevideo-stories-close .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.wevideo-stories-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
    background: #000;
}

/* Camada de toque: segurar pausa, tocar navega, arrastar troca/fecha */
.wevideo-stories-stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* Setas de navegação (desktop) */
.wevideo-stories-nav {
    flex: 0 0 auto;
    width: 48px !important;
    height: 48px !important;
    margin: 0 16px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.wevideo-stories-nav:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.wevideo-stories-nav:disabled {
    opacity: 0.25;
    cursor: default;
}

/* Aviso rápido (comentário enviado, link copiado...) */
.wevideo-stories-toast {
    position: absolute;
    left: 50%;
    top: 70px;
    transform: translate(-50%, -10px);
    max-width: 85%;
    padding: 10px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 40;
}

.wevideo-stories-toast.active {
    opacity: 1;
    transform: translate(-50%, 0);
}

@keyframes slideUpFade {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.wevideo-stories-product {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: none;
    opacity: 0;
    transition: none;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    z-index: 15;
    box-sizing: border-box;
}

.wevideo-stories-product.active {
    display: flex;
    animation: slideUpFade 0.5s ease forwards;
}

.wevideo-stories-product.no-carousel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

.wevideo-stories-product.no-carousel .wevideo-product-info {
    padding-right: 0;
    width: 100%;
}

.wevideo-stories-product.no-carousel .wevideo-buy-button {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
}

.wevideo-product-info {
    flex: 1;
    padding-right: 20px;
}

.wevideo-product-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.wevideo-product-price {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.wevideo-product-price del {
    opacity: 0.6;
    font-size: 0.7em;
    margin-right: 6px;
}

.wevideo-product-price ins {
    text-decoration: none;
}

.wevideo-product-price .screen-reader-text,
.wevideo-carousel__price .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.wevideo-buy-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-style: solid;
    transition: all 0.3s ease;
    /* Valores padrão que serão sobrescritos pelo JavaScript */
    background-color: #0066FF;
    color: #FFFFFF;
    border-width: 1px;
    border-color: #0066FF;
    border-radius: 4px;
}

.wevideo-buy-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Animações para o botão */
.wevideo-buy-button.pulse {
    animation: pulseButton 1.5s infinite;
}

.wevideo-buy-button.shake {
    animation: shakeButton 2s infinite;
}

.wevideo-buy-button.bounce {
    animation: bounceButton 2s infinite;
}

.wevideo-buy-button.glow {
    animation: glowButton 1.5s infinite alternate;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shakeButton {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-3px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(3px);
    }
}

@keyframes bounceButton {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes glowButton {
    from {
        box-shadow: 0 0 5px -5px rgba(255, 255, 255, 0.8);
    }
    to {
        box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.8);
    }
}

.wevideo-product-gallery {
    width: 40%;
}

.wevideo-gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.wevideo-gallery-track {
    display: flex;
    transition: transform 0.3s ease;
}

.wevideo-gallery-item {
    flex: 0 0 100%;
    padding: 5px;
    box-sizing: border-box;
}

.wevideo-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.wevideo-gallery-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.wevideo-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease;
}

.wevideo-gallery-dot.active {
    background: #fff;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .wevideo-stories-container {
        max-width: 100%;
    }

    .wevideo-stories-nav {
        display: none;
    }
    
    .wevideo-stories-controls {
        right: 10px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.25);
    }
    
}

/* Animações para o botão de curtir */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.3);
    }
    30% {
        transform: scale(.95);
    }
    45% {
        transform: scale(1.2);
    }
    60% {
        transform: scale(.95);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartPop {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.wevideo-stories-control[data-action="like"] {
    position: relative;
    overflow: visible;
}

.wevideo-stories-control[data-action="like"].active i:before {
    animation: heartBeat 0.8s cubic-bezier(.17, .89, .32, 1.49);
}

.wevideo-stories-control[data-action="like"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='red' stroke='red' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0;
}

.wevideo-stories-control[data-action="like"].animate::after {
    animation: heartPop 0.5s ease-out forwards;
}

/* Estilos do menu de compartilhamento */
.wevideo-share-menu {
    position: absolute;
    right: 70px;
    top: 54%;
    width: 265px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.wevideo-share-menu.active {
    display: block;
    opacity: 1;
}

.wevideo-share-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.wevideo-share-menu-item {
    display: flex !important;
    align-items: center !important;
    padding: 6px 10px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: white !important;
    text-decoration: none !important;
    width: 100%;
}

.wevideo-share-menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.wevideo-share-menu-item i {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wevideo-share-menu-item span {
    font-size: 12px;
    font-weight: 500;
    color: white;
}

/* Ícones das redes sociais */
.wevideo-share-menu-item[data-network="facebook"] i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z'/%3E%3C/svg%3E");
}

.wevideo-share-menu-item[data-network="instagram"] i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.wevideo-share-menu-item[data-network="whatsapp"] i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
}

.wevideo-share-menu-item[data-network="telegram"] i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z'/%3E%3C/svg%3E");
}

.wevideo-share-menu-item[data-network="linkedin"] i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.wevideo-share-menu-item[data-network="pinterest"] i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z'/%3E%3C/svg%3E");
}

/* Estilos do container de comentários */
.wevideo-comments-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 25;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.wevideo-comments-container.active {
    transform: translateY(0);
    visibility: visible;
}

.wevideo-comment-empty {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px 0;
}

.wevideo-comments-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.wevideo-comments-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.wevideo-comments-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    line-height: 1;
}

.wevideo-comments-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.wevideo-comments-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wevideo-comment-item {
    margin-bottom: 20px;
    color: #fff;
}

.wevideo-comment-author {
    font-weight: 500;
    margin-bottom: 5px;
}

.wevideo-comment-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
}

.wevideo-comment-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.wevideo-comments-form {
    position: relative;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.wevideo-comments-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
}

.wevideo-comments-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.wevideo-comments-submit {
    background: #0066FF;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wevideo-comments-submit:hover {
    background: #0052cc;
}

/* Estilização da scrollbar */
.wevideo-comments-content::-webkit-scrollbar {
    width: 6px;
}

.wevideo-comments-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.wevideo-comments-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.wevideo-comments-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Estilos do loader de adição ao carrinho */
.wevideo-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.wevideo-loading-overlay.active {
    display: flex;
}

.wevideo-loading-content {
    text-align: center;
    color: #fff;
}

.wevideo-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: wevideo-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.wevideo-loading-text {
    font-size: 18px;
    font-weight: 500;
}

@keyframes wevideo-spin {
    to { transform: rotate(360deg); }
} 

/* ==========================================================================
   Carrossel de Stories ([wevideo_carousel] / widget Elementor)
   ========================================================================== */

.wevideo-carousel {
    --wv-per-view: 4;
    --wv-per-view-tablet: 3;
    --wv-per-view-mobile: 2;
    --wv-pv: var(--wv-per-view);
    --wv-gap: 16px;
    --wv-radius: 4px;
    --wv-border-width: 0px;
    --wv-border-color: transparent;
    --wv-circle-size: 88px;
    --wv-ring-color: #0066FF;
    --wv-title-color: #fff;
    --wv-price-color: #fff;
    --wv-circle-title-color: inherit;
    --wv-arrow-bg: #fff;
    --wv-arrow-color: #111;
    position: relative;
    width: 100%;
}

@media (max-width: 1024px) {
    .wevideo-carousel { --wv-pv: var(--wv-per-view-tablet); }
}

@media (max-width: 768px) {
    .wevideo-carousel { --wv-pv: var(--wv-per-view-mobile); }
}

.wevideo-carousel__viewport {
    position: relative;
}

.wevideo-carousel__track {
    display: flex;
    gap: var(--wv-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    margin: 0;
    list-style: none;
}

.wevideo-carousel__track::-webkit-scrollbar {
    display: none;
}

.wevideo-carousel__slide {
    flex: 0 0 calc((100% - (var(--wv-pv) - 1) * var(--wv-gap)) / var(--wv-pv));
    min-width: 0;
    scroll-snap-align: start;
}

.wevideo-carousel__card {
    all: unset;
    box-sizing: border-box;
    display: block;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.wevideo-carousel__card:focus-visible {
    outline: 3px solid var(--wv-ring-color);
    outline-offset: 3px;
    border-radius: var(--wv-radius);
}

.wevideo-carousel__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
}

.wevideo-carousel__media video,
.wevideo-carousel__media img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
    border: 0;
    margin: 0;
    pointer-events: none;
}

.wevideo-carousel__play {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.wevideo-carousel__play::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #fff;
}

/* ---- Layout: cards verticais (9:16) ---- */

.wevideo-carousel--cards .wevideo-carousel__media {
    aspect-ratio: 9 / 16;
    border-radius: var(--wv-radius);
    border: var(--wv-border-width) solid var(--wv-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

@supports not (aspect-ratio: 9 / 16) {
    .wevideo-carousel--cards .wevideo-carousel__media {
        height: 0;
        padding-bottom: 177.78%;
    }
}

.wevideo-carousel--cards .wevideo-carousel__card:hover .wevideo-carousel__media {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.wevideo-carousel--cards .wevideo-carousel__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    z-index: 2;
}

.wevideo-carousel--cards .wevideo-carousel__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--wv-title-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.wevideo-carousel--cards .wevideo-carousel__price {
    display: block;
    margin-top: 4px;
    color: var(--wv-price-color);
    font-size: 14px;
    font-weight: 700;
}

.wevideo-carousel__price del {
    opacity: 0.7;
    font-weight: 400;
    font-size: 0.85em;
    margin-right: 4px;
}

.wevideo-carousel__price ins {
    text-decoration: none;
}

/* ---- Layout: bolinhas estilo Instagram ---- */

.wevideo-carousel--circles .wevideo-carousel__slide {
    flex: 0 0 var(--wv-circle-size);
}

.wevideo-carousel--circles .wevideo-carousel__media {
    width: var(--wv-circle-size);
    height: var(--wv-circle-size);
    border-radius: 50%;
    border: 3px solid var(--wv-ring-color);
    box-sizing: border-box;
    padding: 0;
    box-shadow: inset 0 0 0 3px #fff;
    transition: transform 0.25s ease;
}

.wevideo-carousel--circles .wevideo-carousel__media video,
.wevideo-carousel--circles .wevideo-carousel__media img {
    border-radius: 50%;
    inset: 3px;
    width: calc(100% - 6px) !important;
    height: calc(100% - 6px) !important;
}

.wevideo-carousel--circles .wevideo-carousel__card:hover .wevideo-carousel__media {
    box-shadow: inset 0 0 0 3px #fff;
}

.wevideo-carousel--circles .wevideo-carousel__play {
    display: none;
}

.wevideo-carousel--circles .wevideo-carousel__info {
    display: block;
    margin-top: 6px;
    text-align: center;
}

.wevideo-carousel--circles .wevideo-carousel__title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--wv-circle-title-color);
    font-size: 12px;
    line-height: 1.3;
}

.wevideo-carousel--circles .wevideo-carousel__price {
    display: block;
    color: var(--wv-circle-title-color);
    font-size: 12px;
    font-weight: 700;
}

/* ---- Setas ---- */

.wevideo-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: var(--wv-arrow-bg) !important;
    color: var(--wv-arrow-color) !important;
    font-size: 26px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.wevideo-carousel.is-scrollable .wevideo-carousel__arrow {
    display: flex;
}

.wevideo-carousel__arrow--prev { left: 8px; }
.wevideo-carousel__arrow--next { right: 8px; }

.wevideo-carousel__arrow.is-disabled {
    opacity: 0;
    pointer-events: none;
}

.wevideo-carousel__arrow svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Escudo contra temas: card e setas não são <button>, mas alguns temas
   estilizam [role=button], div e span genéricos com altura/padding/fundo. */
.wevideo-carousel .wevideo-carousel__card {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    line-height: normal !important;
    text-align: left;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.wevideo-carousel.wevideo-carousel--circles .wevideo-carousel__card {
    text-align: center;
}

.wevideo-carousel .wevideo-carousel__arrow {
    box-sizing: border-box !important;
    user-select: none;
}

.wevideo-carousel--circles .wevideo-carousel__arrow {
    top: calc(var(--wv-circle-size) / 2 + 4px);
    width: 32px !important;
    height: 32px !important;
    font-size: 22px !important;
}

@media (hover: none) {
    .wevideo-carousel__arrow {
        display: none !important;
    }
}

.wevideo-carousel-empty {
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

/* ---- weVideo avulso: card único ---- */

.wevideo-carousel--single .wevideo-carousel__arrow {
    display: none !important;
}

.wevideo-carousel--single .wevideo-carousel__track {
    overflow: visible;
    padding: 0;
}

.wevideo-carousel--single.wevideo-carousel--circles .wevideo-carousel__slide {
    flex: 0 0 var(--wv-circle-size);
}

.wevideo-carousel--single.wevideo-carousel--cards .wevideo-carousel__slide {
    flex: 0 0 100%;
}

/* ==========================================================================
   Cards estilo vitrine: miniatura do produto + nome + preço sobre o vídeo
   ========================================================================== */

.wevideo-carousel--cards .wevideo-carousel__info.has-thumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 56px 12px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}

.wevideo-carousel__pthumb {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wevideo-carousel .wevideo-carousel__pthumb img {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}

.wevideo-carousel__text {
    min-width: 0;
    display: block;
}

.wevideo-carousel--cards .has-thumb .wevideo-carousel__title {
    -webkit-line-clamp: 1;
    font-size: 15px;
}

.wevideo-carousel--cards .has-thumb .wevideo-carousel__price {
    margin-top: 2px;
    font-size: 14px;
}

/* ==========================================================================
   Janela "vídeo + produto" (carrossel no modo janela)
   Tudo em div/span: temas que estilizam <button> não interferem.
   ========================================================================== */

html.wvm-lock,
html.wvm-lock body {
    overflow: hidden !important;
}

.wvm {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 90px;
    background: rgba(0, 0, 0, 0.6);
    animation: wvm-fade 0.2s ease both;
    box-sizing: border-box;
}

.wvm *,
.wvm *::before,
.wvm *::after {
    box-sizing: border-box;
}

@keyframes wvm-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wvm__frame {
    position: relative;
    display: flex;
    width: min(1000px, 100%);
    height: min(620px, calc(100vh - 48px));
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: wvm-pop 0.25s ease both;
}

@keyframes wvm-pop {
    from { transform: translateY(10px) scale(0.98); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.wvm__media {
    flex: 0 0 auto;
    height: 100%;
    aspect-ratio: 9 / 16;
    max-width: 50%;
    background: #000;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.wvm__media video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    background: #000;
}

.wvm__panel {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 28px 28px;
    color: #1f1f1f;
    text-align: left;
    line-height: 1.45;
}

.wvm__close {
    position: absolute;
    top: -14px;
    right: -58px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #2b3a67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wvm__nav {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.wvm__nav--prev { left: 22px; }
.wvm__nav--next { right: 22px; }

.wvm__close:hover,
.wvm__nav:hover {
    background: #fff;
    transform: scale(1.05);
}

.wvm__loading {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 200px;
}

.wvm__switch {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.wvm__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 200px;
    padding: 4px 10px 4px 4px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
}

.wvm__chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.wvm__chip span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wvm__chip.is-active {
    border-color: currentColor;
    font-weight: 600;
}

.wvm__gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    margin-bottom: 18px;
}

.wvm__gallery img {
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    aspect-ratio: 1;
    object-fit: cover;
    background: #f2f2f2;
    scroll-snap-align: start;
    border-radius: 2px;
}

.wvm__badges {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.wvm__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}

.wvm__badge--dark { background: #111; color: #fff; }
.wvm__badge--sale { background: #b3261e; color: #fff; }

.wvm__title {
    margin: 0 0 6px !important;
    font-size: clamp(24px, 2.6vw, 36px) !important;
    line-height: 1.15 !important;
    font-weight: 400;
    color: inherit;
}

.wvm__desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 14px !important;
    font-size: 14px;
    color: #555;
}

/* Texto para leitores de tela do WooCommerce ("Preço atual:"): o tema costuma esconder, aqui garantimos */
.wvm .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wvm__price {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}

.wvm__price del {
    opacity: 0.55;
    font-weight: 400;
    font-size: 0.8em;
    margin-right: 6px;
}

.wvm__price ins {
    text-decoration: none;
}

.wvm__attr {
    margin-bottom: 14px;
}

.wvm__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.wvm__opts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wvm__opt {
    padding: 6px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.wvm__opt.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.wvm__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 18px;
}

.wvm__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 160px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--wv-btn-radius, 4px);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.15s ease;
}

.wvm__btn--primary {
    background: var(--wv-btn-bg, #111);
    color: var(--wv-btn-color, #fff) !important;
}

.wvm__btn--ghost {
    border: 1px solid currentColor;
    color: inherit !important;
}

.wvm__btn.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.wvm__btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wvm__stock {
    margin: 0 !important;
    font-weight: 600;
}

.wvm__more {
    display: inline-block;
    padding-top: 14px;
    border-top: 1px solid #eee;
    width: 100%;
    color: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.wvm__toast {
    position: sticky;
    bottom: 0;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 14px;
}

.wvm__toast a {
    color: #fff !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.wvm__error {
    padding: 20px;
    color: #b3261e;
}

@media (max-width: 1100px) {
    .wvm { padding: 20px 70px; }
    .wvm__close { right: -52px; }
}

/* Título do Carrossel 1/2 do weVideo Cloud */
.wevideo-carousel__heading {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

/* Cloud collection shape; local Elementor selectors only target local-design instances. */
.wevideo-carousel--cards .wevideo-carousel__media { aspect-ratio: var(--wv-media-ratio, 9 / 16); }
/* Bubble geometry shared with the Cloud preview; overrides theme button rules. */
#wevideo-widget .wevideo-close-btn {
    left:var(--wv-close-x,14.645%) !important;top:var(--wv-close-y,14.645%) !important;right:auto !important;bottom:auto !important;
    width:var(--wv-close-size,24px) !important;height:var(--wv-close-size,24px) !important;
    min-width:0 !important;min-height:0 !important;transform:translate(-50%,-50%) !important;
}
#wevideo-widget.wevideo-frame-art .wevideo-close-btn {transform:var(--wv-close-transform,translate(-30%,-30%)) !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;}
#wevideo-widget .wevideo-frame-border {position:absolute;inset:0;width:100% !important;height:100% !important;max-width:none !important;z-index:3;pointer-events:none;}
#wevideo-widget .wevideo-frame-close-art {position:absolute;height:auto;pointer-events:none;}
#wevideo-widget .wevideo-bubble-label {
    position:absolute;top:50%;transform:translateY(-50%);z-index:4;color:#fff;padding:6px 10px;
    border-radius:20px;font:700 12px/1.2 Arial,sans-serif;text-transform:uppercase;white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-sizing:border-box;
}

/* Optional central emphasis follows the active card, without changing slide widths. */
.wevideo-carousel.wv-center-highlight .wevideo-carousel__media {transform:scale(.9);opacity:.72;transition:transform .25s ease,opacity .25s ease;}
.wevideo-carousel.wv-center-highlight .wevideo-carousel__card.is-featured .wevideo-carousel__media {transform:scale(1);opacity:1;box-shadow:0 6px 20px rgba(0,0,0,.2);}
.wevideo-carousel.wv-center-highlight .wevideo-carousel__slide:has(.is-featured) {z-index:1;}
/* Joined desktop Stories and product quick view. */
.wvm__frame {width:min(900px,100%);height:min(680px,calc(100dvh - 96px));}
.wvm__media {position:relative;flex:0 0 50%;max-width:50%;aspect-ratio:auto;}
.wvm__header {position:absolute;inset:0 0 auto;padding:12px 14px 22px;background:linear-gradient(rgba(0,0,0,.5),transparent);z-index:2;pointer-events:none;}
.wvm__progress {display:flex;gap:4px;margin-bottom:10px;pointer-events:auto;}
.wvm__progress[hidden] {display:none;}
.wvm__segment {position:relative;flex:1;height:3px;background:rgba(255,255,255,.35);border-radius:3px;overflow:hidden;cursor:pointer;padding:0;border:0;}
.wvm__segment i {display:block;width:0;height:100%;background:#fff;}
.wvm__tools {position:absolute;bottom:16px;right:14px;z-index:2;display:flex;gap:8px;opacity:0;transition:opacity .15s;}
.wvm__media:hover .wvm__tools,.wvm__tools:focus-within {opacity:1;}
.wvm__tool {display:grid;place-items:center;width:34px;height:34px;background:rgba(0,0,0,.5);color:#fff;border:0;border-radius:50%;padding:0;font:16px Arial;cursor:pointer;}
.wvm__close {top:-20px;right:-20px;z-index:4;}
.wvm__actions {position:sticky;bottom:-28px;background:#fff;padding-top:12px;padding-bottom:14px;z-index:2;}
@media(prefers-reduced-motion:reduce){.wevideo-carousel.wv-center-highlight .wevideo-carousel__media{transition:none;}}

/* Product thumbnails and quick shopping reuse the store's existing player. */
.wevideo-carousel__slide{position:relative}
.wevideo-carousel[data-product-thumb="square"] .wevideo-carousel__pthumb{border-radius:6px}
.wevideo-carousel[data-product-thumb="rect"] .wevideo-carousel__pthumb{border-radius:5px;width:38px;height:52px}
.wevideo-carousel[data-product-thumb="square"] .wevideo-carousel__pthumb img,
.wevideo-carousel[data-product-thumb="rect"] .wevideo-carousel__pthumb img{object-fit:contain;background:#fff}
.wevideo-carousel--cards .has-commerce .wevideo-carousel__info{padding-right:56px}
.wevideo-carousel__commerce{position:absolute;right:10px;bottom:12px;z-index:3;display:flex;flex-direction:column-reverse;gap:6px}
.wevideo-carousel__commerce button{font-family:inherit;box-sizing:border-box;cursor:pointer}
.wevideo-carousel__buy,.wevideo-carousel__products-toggle{margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.5)!important;background:rgba(17,17,17,.78)!important;color:#fff!important;width:36px!important;height:36px!important;min-height:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;line-height:1!important;font-size:25px!important}
.wevideo-carousel__products-toggle{font-size:20px!important;width:30px!important;height:28px!important;align-self:center;border:0!important}
.wevideo-carousel__products-list{position:absolute;right:-4px;bottom:76px;width:min(280px,calc(100vw - 60px));max-height:240px;overflow:auto;background:#fff;color:#111;border-radius:12px;padding:6px;box-shadow:0 12px 32px #0004}
.wevideo-carousel__products-list[hidden]{display:none!important}
.wevideo-carousel__product{display:flex!important;align-items:center!important;gap:8px!important;text-align:left!important;background:#fff!important;color:#111!important;border:0!important;width:100%!important;margin:0!important;padding:8px!important;border-radius:8px!important;white-space:normal!important}
.wevideo-carousel__product img{width:38px!important;height:44px!important;object-fit:contain}
.wevideo-carousel__product span{flex:1;min-width:0;font-size:12px;line-height:1.3}
.wevideo-carousel__product small{display:block;font-size:11px;font-weight:700;margin-top:3px}
.wevideo-carousel__product b{font-size:24px;font-weight:400}
.wevideo-carousel__commerce button:focus-visible,.wvm button:focus-visible,.wvm input:focus-visible{outline:2px solid #a855f7!important;outline-offset:3px}
.wevideo-carousel--circles .wevideo-carousel__commerce{right:2px;bottom:48px}
.wvm__gallery img{width:154px;height:154px;flex:0 0 154px;object-fit:contain;background:#f5f5f5}
.wvm__quantity{display:flex;justify-content:space-between;align-items:center;margin:20px 0;gap:12px;font-size:13px}
.wvm__quantity>div{display:flex;border:1px solid #ddd;border-radius:9px;overflow:hidden}
.wvm__quantity button,.wvm__quantity input{width:36px!important;height:36px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center!important;font-size:14px!important;color:#111!important;background:#f5f5f5!important}
.wvm__quantity input{width:44px!important;background:#fff!important;appearance:textfield}
.wvm__quantity input::-webkit-inner-spin-button{appearance:none}
.wvm button{font-family:inherit;cursor:pointer}
.wvm button:disabled{opacity:.45;cursor:not-allowed}
.wvm__chip,.wvm__opt{background:#fff;line-height:1.35}
.wvm__toast{position:sticky;bottom:0}

