.free-shipping-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid #dce5ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
    color: #172033;
    direction: rtl;
}

.free-shipping-card::before {
    position: absolute;
    inset: 0 0 0 auto;
    width: 4px;
    background: #12a779;
    content: "";
}

.free-shipping-card--qualified {
    border-color: #bde3d5;
    background:
        radial-gradient(circle at 8% 15%, rgba(14, 165, 233, .07), transparent 34%),
        linear-gradient(135deg, #f7fdfb 0%, #fff 58%, #f8fbff 100%);
}

.free-shipping-card--progress {
    border-color: rgba(18, 167, 121, .24);
    background: linear-gradient(135deg, rgba(18, 167, 121, .055), #fff 62%);
}

.free-shipping-card__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 17px 18px 17px 20px;
}

.free-shipping-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(18, 167, 121, .18);
    border-radius: 13px;
    background: #eaf8f3;
    color: #087b5a;
    box-shadow: 0 5px 13px rgba(8, 123, 90, .08);
}

.free-shipping-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.free-shipping-card__content {
    min-width: 0;
}

.free-shipping-card__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.free-shipping-card__title {
    margin: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.free-shipping-card__title strong {
    color: #087b5a;
    font-weight: 900;
}

.free-shipping-card__badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    min-height: 27px;
    border: 1px solid #b8e5d4;
    border-radius: 999px;
    background: #fff;
    padding: 3px 10px;
    color: #087b5a;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.free-shipping-card__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #12a779;
    box-shadow: 0 0 0 3px rgba(18, 167, 121, .12);
}

.free-shipping-card__description {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.9;
}

.free-shipping-card__progress {
    position: relative;
    overflow: hidden;
    height: 20px;
    margin-top: 10px;
    border: 1px solid #d8e5e0;
    border-radius: 999px;
    background: #eef3f1;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06);
}

.free-shipping-card__progress-fill {
    position: absolute;
    inset: 0 0 0 auto;
    min-width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f8f69, #16b681);
    transition: width .35s ease;
}

.free-shipping-card__progress-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

@media (max-width: 520px) {
    .free-shipping-card__layout {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        padding: 14px 14px 14px 16px;
    }

    .free-shipping-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .free-shipping-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .free-shipping-card__heading {
        align-items: flex-start;
    }

    .free-shipping-card__title {
        font-size: 13px;
    }

    .free-shipping-card__badge {
        min-height: 24px;
        padding: 2px 8px;
        font-size: 10px;
    }

    .free-shipping-card__description {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1.8;
    }
}
