.aivp-card-video-badge{position:absolute;display:inline-flex;align-items:center;gap:5px;line-height:1;box-sizing:border-box;pointer-events:none;box-shadow:0 6px 18px rgba(0,0,0,.16)}
.aivp-card-video-icon{display:inline-block;flex:0 0 auto}.woocommerce ul.products li.product,.shopengine-single-product-item,.shopengine-product-image,.product,.jet-woo-builder-product,.products .product{position:relative}.aivp-open-wrap{margin:8px 0}.aivp-open-floating{display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-weight:700;line-height:1.2;transition:transform .2s ease,opacity .2s ease;text-decoration:none}.aivp-open-floating:hover{transform:translateY(-1px);opacity:.92}.aivp-floating-bubble{position:fixed;width:92px;height:92px;display:flex;align-items:center;justify-content:center;background:#111;border:2px solid rgba(255,255,255,.92);border-radius:999px;box-shadow:0 14px 34px rgba(0,0,0,.32);cursor:pointer;z-index:9997;box-sizing:border-box;overflow:hidden;touch-action:none;background-size:cover;background-position:center;background-repeat:no-repeat}.aivp-floating-bubble.is-hidden{display:none}.aivp-floating-bubble.is-dragging{cursor:grabbing}.aivp-floating-live-video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;border:0;border-radius:999px;background:#000;pointer-events:none}.aivp-floating-play{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.94);color:#E91E63;font-size:18px;line-height:1;padding-left:3px;box-shadow:0 4px 12px rgba(0,0,0,.18)}.aivp-floating-close{position:absolute;top:2px;right:2px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:rgba(0,0,0,.48);color:#fff;font-size:14px;font-weight:800;line-height:1;cursor:pointer;z-index:2;padding:0}.aivp-floating-close:hover{filter:brightness(.95)}.aivp-video-modal{position:fixed;inset:0;display:none;z-index:99999}.aivp-video-modal.is-open{display:flex;align-items:center;justify-content:center}.aivp-video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}.aivp-video-modal-box{position:relative;width:92vw;border-radius:22px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.45);box-sizing:border-box}.aivp-modal-close{position:absolute;top:-14px;right:-14px;width:34px;height:34px;border-radius:999px;border:0;background:#E91E63;color:#fff;font-size:22px;line-height:1;cursor:pointer;z-index:1}.aivp-video-modal-content{position:relative;width:100%;aspect-ratio:9/16;max-height:78vh}.aivp-video-modal-content iframe,.aivp-video-modal-content video{width:100%;height:100%;display:block;border:0;border-radius:14px;background:#000;object-fit:contain}@media(max-width:767px){.aivp-video-modal-box{padding:12px;border-radius:18px}.aivp-video-modal-content{max-height:80vh}.aivp-floating-bubble{width:82px;height:82px;z-index:9998}.aivp-floating-play{width:38px;height:38px;font-size:16px}}


/* AIVP 1.4.3 - bolinha maior, vídeo sempre pequeno e X fora da bolinha */
.aivp-floating-bubble{width:108px!important;height:108px!important;overflow:visible!important;border:2px solid rgba(255,255,255,.95)!important;background:#000!important;}
.aivp-floating-live-video{overflow:hidden!important;border-radius:999px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);}
.aivp-floating-close{top:-10px!important;right:-10px!important;width:28px!important;height:28px!important;background:#000!important;color:#fff!important;border:2px solid #fff!important;border-radius:999px!important;font-size:20px!important;font-weight:800!important;line-height:1!important;z-index:20!important;box-shadow:0 6px 16px rgba(0,0,0,.28)!important;}
.aivp-floating-close:hover{background:#111!important;color:#fff!important;}
.aivp-floating-bubble .aivp-floating-play{display:none!important;}
@media(max-width:767px){.aivp-floating-bubble{width:98px!important;height:98px!important}.aivp-floating-close{width:26px!important;height:26px!important;font-size:18px!important;top:-9px!important;right:-9px!important}}


/* AIVP 1.4.4 - modal compacto, X corrigido e bolinha maior */
.aivp-floating-bubble{
    width:118px!important;
    height:118px!important;
    overflow:visible!important;
    border:2px solid rgba(255,255,255,.96)!important;
    background:#000!important;
}
.aivp-floating-live-video{
    overflow:hidden!important;
    border-radius:999px!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important;
}
.aivp-floating-close{
    box-sizing:border-box!important;
    top:-11px!important;
    right:-11px!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    background:#000!important;
    color:#fff!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:22px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    z-index:20!important;
    box-shadow:0 6px 16px rgba(0,0,0,.30)!important;
    appearance:none!important;
    -webkit-appearance:none!important;
}
.aivp-floating-close:hover,
.aivp-floating-close:focus{
    background:#000!important;
    color:#fff!important;
    outline:none!important;
    transform:none!important;
}
.aivp-video-modal.is-open{
    align-items:center!important;
    justify-content:center!important;
    padding:16px!important;
}
.aivp-video-modal-box{
    width:auto!important;
    max-width:560px!important;
    min-width:280px!important;
    padding:14px!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 24px 70px rgba(0,0,0,.55)!important;
}
.aivp-video-modal-content{
    width:min(520px,86vw)!important;
    aspect-ratio:16/9!important;
    max-height:62vh!important;
    background:#000!important;
    border-radius:7px!important;
    overflow:hidden!important;
}
.aivp-video-modal-content iframe,
.aivp-video-modal-content video{
    border-radius:7px!important;
    object-fit:contain!important;
}
.aivp-modal-close{
    box-sizing:border-box!important;
    top:-18px!important;
    right:-18px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#000!important;
    color:#fff!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:34px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    z-index:100001!important;
    box-shadow:0 8px 22px rgba(0,0,0,.42)!important;
    appearance:none!important;
    -webkit-appearance:none!important;
}
.aivp-modal-close:hover,
.aivp-modal-close:focus{
    background:#000!important;
    color:#fff!important;
    outline:none!important;
    transform:none!important;
}
@media(max-width:767px){
    .aivp-floating-bubble{width:108px!important;height:108px!important;}
    .aivp-floating-close{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:22px!important;top:-10px!important;right:-10px!important;}
    .aivp-video-modal-box{max-width:94vw!important;padding:10px!important;}
    .aivp-video-modal-content{width:86vw!important;max-height:56vh!important;}
    .aivp-modal-close{top:-16px!important;right:-12px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;font-size:32px!important;}
}

/* AIVP 1.5.0 - botão "Ver vídeo" mais fino e protegido contra padding global do tema */
.aivp-open-floating{
    min-height:0!important;
    height:auto!important;
    padding:2px 14px!important;
    line-height:1.2!important;
    border:0!important;
    box-sizing:border-box!important;
}
.aivp-open-floating span{
    line-height:1.2!important;
}


/* AIVP 1.5.1 - X fecha no primeiro clique e não deixa bolinha duplicada por baixo */
.aivp-floating-close{
    pointer-events:auto!important;
    z-index:999999!important;
    padding:0!important;
    transform:none!important;
}
.aivp-floating-bubble.is-hidden{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    box-shadow:none!important;
}
