/**
 * WooLentor – Free Shipping Bar Pro
 * Skins, animations, countdown timer, cart drawer.
 */

.wp-embed-responsive .wp-block {
    outline: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SKINS
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Minimal ────────────────────────────────────────────────────────────── */
#wl-free-shipping-bar.wl-fsb-skin-minimal {
    background-color: #ffffff;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: none;
}

#wl-free-shipping-bar.wl-fsb-skin-minimal .wl-fsb-message {
    color: #333333;
}

#wl-free-shipping-bar.wl-fsb-skin-minimal .wl-fsb-progress-track {
    background-color: rgba(0, 0, 0, 0.1);
}

#wl-free-shipping-bar.wl-fsb-skin-minimal .wl-fsb-progress-fill {
    background-color: #333333;
}

#wl-free-shipping-bar.wl-fsb-skin-minimal .wl-fsb-close {
    color: rgba(0, 0, 0, 0.4);
}

/* ── Gradient ────────────────────────────────────────────────────────────── */
#wl-free-shipping-bar.wl-fsb-skin-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

#wl-free-shipping-bar.wl-fsb-skin-gradient .wl-fsb-progress-track {
    background-color: rgba(255, 255, 255, 0.25);
}

#wl-free-shipping-bar.wl-fsb-skin-gradient .wl-fsb-progress-fill {
    background: linear-gradient(90deg, #f6d365, #fda085);
}

/* ── Announcement ────────────────────────────────────────────────────────── */
#wl-free-shipping-bar.wl-fsb-skin-announcement {
    background-color: #fff3cd;
    color: #856404;
    border-bottom: 2px solid #ffc107;
    box-shadow: none;
}

#wl-free-shipping-bar.wl-fsb-skin-announcement .wl-fsb-message {
    color: #856404;
    font-weight: 600;
}

#wl-free-shipping-bar.wl-fsb-skin-announcement .wl-fsb-progress-track {
    background-color: rgba(133, 100, 4, 0.15);
}

#wl-free-shipping-bar.wl-fsb-skin-announcement .wl-fsb-progress-fill {
    background-color: #ffc107;
}

#wl-free-shipping-bar.wl-fsb-skin-announcement .wl-fsb-close {
    color: rgba(133, 100, 4, 0.6);
}

/* ── Bold ────────────────────────────────────────────────────────────────── */
#wl-free-shipping-bar.wl-fsb-skin-bold {
    background-color: #e63946;
    color: #ffffff;
    padding: 12px 52px 12px 20px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

#wl-free-shipping-bar.wl-fsb-skin-bold .wl-fsb-message {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#wl-free-shipping-bar.wl-fsb-skin-bold .wl-fsb-progress-track {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.25);
}

#wl-free-shipping-bar.wl-fsb-skin-bold .wl-fsb-progress-fill {
    background-color: #f1faee;
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Slide ───────────────────────────────────────────────────────────────── */
#wl-free-shipping-bar.wl-fsb-anim-slide .wl-fsb-progress-fill {
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Pulse ───────────────────────────────────────────────────────────────── */
@keyframes wl-fsb-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}

#wl-free-shipping-bar.wl-fsb-anim-pulse .wl-fsb-progress-fill {
    animation: wl-fsb-pulse 1.6s ease-in-out infinite;
}

/* ── Glow ────────────────────────────────────────────────────────────────── */
@keyframes wl-fsb-glow {

    0%,
    100% {
        box-shadow: 0 0 4px 1px rgba(74, 222, 128, 0.5);
    }

    50% {
        box-shadow: 0 0 12px 3px rgba(74, 222, 128, 0.9);
    }
}

#wl-free-shipping-bar.wl-fsb-anim-glow .wl-fsb-progress-fill {
    animation: wl-fsb-glow 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════════════════════
   COUNTDOWN TIMER
   ══════════════════════════════════════════════════════════════════════════ */

.wl-fsb-countdown {
    margin: 2px 0 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.wl-fsb-countdown .wl-fsb-timer {
    font-family: monospace;
}

/* Countdown inside announcement skin */
#wl-free-shipping-bar.wl-fsb-skin-announcement .wl-fsb-countdown {
    color: rgba(133, 100, 4, 0.85);
}

/* Countdown inside minimal skin */
#wl-free-shipping-bar.wl-fsb-skin-minimal .wl-fsb-countdown {
    color: rgba(0, 0, 0, 0.6);
}

/* ══════════════════════════════════════════════════════════════════════════
   CART DRAWER / MINI-CART BAR
   ══════════════════════════════════════════════════════════════════════════ */

.wl-fsb-drawer-wrap {
    padding: 10px 12px 8px;
    background: transparent;
}

.wl-fsb-drawer-message {
    margin: 0 0 5px;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    text-align: center;
}

.wl-fsb-drawer-track {
    max-width: 100% !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .wl-fsb-countdown {
        font-size: 11px;
    }
}