
/* Estilos para el SVG de la barra */
.barra-envio-wrapper svg {
    position: relative;
    z-index: 3;
}

/* Barra de progreso con gradiente azul animado y efecto de carga */


/* Trail (fondo) de la barra con efecto de ondas */
.barra-envio-wrapper svg .progressbar-trail {
    stroke: #e5e7eb;
    stroke-width: 10;
    stroke-linecap: round;
    animation: trailPulse 3s ease-in-out infinite;
}


/* Mensaje de envío */
.mensaje-envio {
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    font-size: 16px;
    color: #374151;
    z-index: 2;
    position: relative;
}

/* Texto del porcentaje */
.barra-envio-wrapper .progressbar-text {
    color: #0e204d !important;
    font-weight: bold;
    font-size: 14px;
}

/* Estilos para cuando se completa el envío gratis */
.barra-envio-wrapper.completed {
    background: #f0fdf4;
    border-color: #22c55e;
    animation: celebration 1s ease-in-out;
}

@keyframes celebration {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.barra-envio-wrapper.completed .mensaje-envio {
    color: #16a34a;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Responsive */
@media (max-width: 768px) {
    .barra-envio-wrapper {
        margin: 15px 0;
        padding: 12px;
    }
    
    .mensaje-envio {
        font-size: 14px;
        margin-top: 12px;
    }
}
p.mensaje-envio{
    margin: 0;

}
.woocommerce-cart p.mensaje-envio {
    font-weight: 100;
    font-size: 13px;
}
.progressbar-text {
    display: none;
}