/* New Progress Bar Design - Based on Reference Image */

.wpsc-shipping-progress-new {
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--wpsc-border-color);
}

.wpsc-progress-message-new {
    text-align: center;
    font-size: 14px;
    color: var(--wpsc-text-color);
    margin-bottom: 16px;
    line-height: 1.5;
}

.wpsc-progress-message-new strong {
    color: var(--wpsc-primary-color);
    font-weight: 700;
}

/* Progress Track Container */
.wpsc-progress-track {
    position: relative;
    padding: 30px 0 40px;
}

/* Progress Bar */
.wpsc-progress-bar-new {
    position: relative;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: visible;
}

.wpsc-progress-fill-new {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #000000 0%, #333333 100%);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Milestones */
.wpsc-progress-milestones {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.wpsc-milestone {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wpsc-milestone-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.wpsc-milestone-icon svg {
    width: 16px;
    height: 16px;
    stroke: #9ca3af;
}

.wpsc-milestone.reached .wpsc-milestone-icon {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wpsc-milestone.reached .wpsc-milestone-icon svg {
    stroke: #ffffff;
}

.wpsc-milestone-label {
    position: absolute;
    top: 40px;
    white-space: nowrap;
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

.wpsc-milestone.reached .wpsc-milestone-label {
    color: #000000;
    font-weight: 600;
}

/* Benefit Badges */
.wpsc-benefit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

.wpsc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    animation: wpsc-badgeIn 0.3s ease;
}

@keyframes wpsc-badgeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wpsc-badge-discount {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.wpsc-badge-gift {
    background: #fce7f3;
    color: #9f1239;
    border: 1px solid #fbcfe8;
}

.wpsc-badge-gift svg {
    stroke: #9f1239;
}

.wpsc-badge-shipping {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Social Proof Notification */
.wpsc-social-proof {
    padding: 12px 16px;
    margin: 16px 24px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 13px;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: wpsc-slideDown 0.4s ease;
}

.wpsc-social-proof::before {
    content: "🔥";
    font-size: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .wpsc-shipping-progress-new {
        padding: 16px 20px;
    }
    
    .wpsc-progress-message-new {
        font-size: 13px;
    }
    
    .wpsc-milestone-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .wpsc-milestone-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .wpsc-milestone-label {
        font-size: 10px;
        top: 36px;
    }
    
    .wpsc-benefit-badges {
        gap: 6px;
    }
    
    .wpsc-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Hide old progress bar */
.wpsc-shipping-progress {
    display: none;
}
