/* Yeekit Left For Free Shipping Notice Styles */

.yeekit-lffs-notice {
    background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
    border: 2px solid #2271b1;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    transition: opacity 0.3s ease;
}

.yeekit-lffs-text {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 12px;
    text-align: center;
}

.yeekit-lffs-text strong,
.yeekit-lffs-text .woocommerce-Price-amount {
    color: #2271b1;
    font-weight: 700;
}

/* Progress Bar Wrapper */
.yeekit-lffs-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yeekit-lffs-progress-bar {
    flex: 1;
    height: 24px;
    background-color: #e8eef5;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.yeekit-lffs-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1 0%, #4a9dd6 100%);
    border-radius: 12px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(34, 113, 177, 0.3);
}

/* Shimmer effect when progressing */
.yeekit-lffs-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Success state (100% complete) */
.yeekit-lffs-progress-fill[style*="width: 100%"] {
    background: linear-gradient(90deg, #46b450 0%, #5ec75f 100%);
}

.yeekit-lffs-progress-text {
    font-size: 14px;
    font-weight: 700;
    color: #2271b1;
    min-width: 42px;
    text-align: right;
}

/* Success notice variant (when qualified) */
.yeekit-lffs-notice.is-qualified {
    border-color: #46b450;
    background: linear-gradient(135deg, #f0f9f1 0%, #ffffff 100%);
}

.yeekit-lffs-notice.is-qualified .yeekit-lffs-text {
    color: #2d7a3e;
}

.yeekit-lffs-notice.is-qualified .yeekit-lffs-progress-text {
    color: #46b450;
}

/* Mini Cart Variant (compact) */
.widget_shopping_cart .yeekit-lffs-notice {
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.widget_shopping_cart .yeekit-lffs-text {
    font-size: 13px;
    margin-bottom: 10px;
}

.widget_shopping_cart .yeekit-lffs-progress-bar {
    height: 18px;
}

.widget_shopping_cart .yeekit-lffs-progress-text {
    font-size: 12px;
    min-width: 36px;
}

/* Product Page Variant */
.single-product .yeekit-lffs-notice {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yeekit-lffs-notice {
        padding: 14px 16px;
    }

    .yeekit-lffs-text {
        font-size: 14px;
    }

    .yeekit-lffs-progress-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    .yeekit-lffs-progress-text {
        align-self: flex-end;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .yeekit-lffs-text {
        font-size: 13px;
    }

    .yeekit-lffs-progress-bar {
        height: 20px;
    }
}