/*
 * Tudo para Pragas
 * Substituições vanilla/CSS de plugins jQuery removidos (limpeza de front-end).
 */

/* fitVids -> vídeos responsivos com aspect-ratio nativo */
.video-fitvid iframe,
.video-fitvid video,
.video-fitvid embed,
.video-fitvid object
{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* jquery.pulsate -> destaque de campo com erro (glow pulsante vermelho) */
@keyframes fieldWarningPulse
{
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
    50%      { box-shadow: 0 0 8px 2px rgba(231, 76, 60, 0.9); }
}

.field-warning-pulse
{
    animation: fieldWarningPulse 0.15s ease-in-out 10;
    border-radius: 3px;
}

/* jquery.mCustomScrollbar -> scroll nativo estilizado (mini-carrinho .scroll-pane) */
.scroll-pane
{
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}

.scroll-pane::-webkit-scrollbar
{
    width: 8px;
}

.scroll-pane::-webkit-scrollbar-track
{
    background: transparent;
}

.scroll-pane::-webkit-scrollbar-thumb
{
    background: rgba(0, 0, 0, 0.35);
    border-radius: 4px;
}

.scroll-pane::-webkit-scrollbar-thumb:hover
{
    background: rgba(0, 0, 0, 0.55);
}
