/* Free Shipping Progress Bar Styles */

:root {
    --fsb-icon-bg: #0d3d82;
    --fsb-bar-color: #4CAF50;
    --fsb-bar-bg: #e0e0e0;
    --fsb-text-light: #555;
    --fsb-text-dark: #1e1e1e;
    --fsb-success-color: #4CAF50;
}

.fsb-minicart-bar-wrapper {
    padding: 15px 0 5px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.fsb-shortcode-instance {
    margin-top: 15px;
}

.fsb-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.fsb-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: var(--fsb-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fsb-icon svg {
    width: 24px;
    height: 24px;
}

.fsb-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fsb-progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--fsb-bar-bg);
    border-radius: 10px;
    overflow: hidden;
}

.fsb-progress-bar-inner {
    height: 100%;
    background-color: var(--fsb-bar-color);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fsb-text {
    line-height: 1.3;
    display: flex;
    flex-direction: column;
}

.fsb-text-line1 {
    font-size: 14px;
    color: var(--fsb-text-light);
}

.fsb-text-line2 {
    font-size: 16px;
    font-weight: bold;
    color: var(--fsb-text-dark);
}

.fsb-container.fsb-success .fsb-icon {
    background-color: var(--fsb-success-color);
}

.fsb-container.fsb-success .fsb-text-line1,
.fsb-container.fsb-success .fsb-text-line2 {
    color: var(--fsb-success-color);
}

.fsb-toast-wrapper {
    position: fixed;
    bottom: 20px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 99999;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    width: 320px;
    transform: translateY(calc(100% + 200px));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fsb-toast-wrapper.is-visible {
    transform: translateY(0);
}

.fsb-text-line1 .woocommerce-Price-amount {
    font-weight: bold;
    color: #0d3d82;
}

.fsb-container.fsb-in-progress .fsb-progress-bar-inner {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    animation: fsb-progress-bar-stripes 2s linear infinite;
}

@keyframes fsb-progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

@media (max-width: 768px) {
    .fsb-toast-wrapper {
        display: none;
    }
}

.ux-mini-cart-footer {
    padding-bottom: 0 !important;
}

.mfp-content .cart-popup-inner {
    padding-bottom: 20px !important;
} 