/* Free Delivery Pro — front styles (PS 1.7+) */

/* Native product flag badge on product images */
.product-flags li.product-flag.free-delivery {
    background: #28a745;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

/* Custom hook label (legacy) */
span.free_delivery_list {
    background-color: #28a745;
    bottom: 0;
    color: #fff;
    display: block;
    font: 700 12px/16px Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    max-width: 100%;
    opacity: 0.9;
    padding: 4px 8px;
    position: absolute;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

/* Progress bar */
.pd-fdp-progressbar-wrapper {
    padding: 10px 0;
    margin: 10px 0;
}
.pd-fdp-notification {
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
}
.pd-fdp-notification.pd-fdp-success {
    color: #28a745;
    font-weight: 700;
}
.pd-fdp-notification.pd-fdp-pending {
    color: #495057;
}
.pd-fdp-icon {
    margin-right: 5px;
}
.pd-fdp-bar {
    position: relative;
}
.pd-fdp-bar-bg {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}
.pd-fdp-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    min-width: 0;
}
.pd-fdp-bar-label {
    font-size: 11px;
    color: #6c757d;
    text-align: center;
    margin-top: 4px;
}

/* Cart notification */
.pd-fdp-cart-notification {
    margin-bottom: 10px;
}
.pd-fdp-alert {
    display: flex;
    align-items: center;
    font-size: 14px;
}
.pd-fdp-alert .pd-fdp-icon {
    font-size: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Banner position */
.pd-fdp-banner .pd-fdp-progressbar-wrapper {
    max-width: 600px;
    margin: 5px auto;
    padding: 5px 15px;
}
