:root {
    --accentmed-shipping-brand: #96bd28;
    --accentmed-shipping-brand-light: #b8d75a;
    --accentmed-shipping-brand-dark: #315c3a;
    --accentmed-shipping-brand-deep: #24472d;
    --accentmed-shipping-ink: #1d2633;
    --accentmed-shipping-muted: #667268;
    --accentmed-shipping-track: #e4ead8;
}

.accentmed-free-shipping-goal-slot {
    width: 100%;
}

.accentmed-free-shipping-goal-slot:empty {
    display: none;
}

.accentmed-free-shipping-goal {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    margin: 0 0 18px;
    padding: 15px 16px;
    overflow: hidden;
    border: 1px solid rgba(49, 92, 58, .18);
    border-radius: 14px;
    color: var(--accentmed-shipping-ink);
    background:
        radial-gradient(circle at 100% 0, rgba(150, 189, 40, .14), transparent 43%),
        linear-gradient(135deg, #f8fbf2 0%, #fff 68%, #f5f9ed 100%);
    box-shadow: 0 9px 25px rgba(36, 71, 45, .08);
    box-sizing: border-box;
    font-family: inherit;
    isolation: isolate;
    text-align: left;
}

.accentmed-free-shipping-goal__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--accentmed-shipping-brand-dark), var(--accentmed-shipping-brand-deep));
    box-shadow: 0 8px 18px rgba(36, 71, 45, .2);
}

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

.accentmed-free-shipping-goal__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.accentmed-free-shipping-goal__content > small {
    margin-bottom: 3px;
    color: var(--accentmed-shipping-brand-dark);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.accentmed-free-shipping-goal__content > strong {
    color: var(--accentmed-shipping-ink);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
}

.accentmed-free-shipping-goal__content > span:not(.accentmed-free-shipping-goal__progress) {
    margin-top: 3px;
    color: var(--accentmed-shipping-muted);
    font-size: 12px;
    line-height: 1.4;
}

.accentmed-free-shipping-goal__progress {
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--accentmed-shipping-track);
}

.accentmed-free-shipping-goal__progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accentmed-shipping-brand-dark), var(--accentmed-shipping-brand));
    transition: width .25s ease;
}

.accentmed-free-shipping-goal--success {
    border-color: rgba(150, 189, 40, .34);
    background:
        radial-gradient(circle at 100% 0, rgba(184, 215, 90, .18), transparent 43%),
        linear-gradient(135deg, #f5faeb 0%, #fff 68%, #f2f8e6 100%);
    box-shadow: 0 9px 25px rgba(49, 92, 58, .09);
}

.accentmed-free-shipping-goal--success .accentmed-free-shipping-goal__icon {
    color: var(--accentmed-shipping-brand-deep);
    background: linear-gradient(145deg, var(--accentmed-shipping-brand-light), var(--accentmed-shipping-brand));
    box-shadow: 0 8px 18px rgba(105, 145, 25, .2);
}

.accentmed-free-shipping-goal--success .accentmed-free-shipping-goal__content > small {
    color: var(--accentmed-shipping-brand-dark);
}

.accentmed-free-shipping-goal--success .accentmed-free-shipping-goal__progress {
    background: #e4edd0;
}

.accentmed-free-shipping-goal--success .accentmed-free-shipping-goal__progress > span {
    background: linear-gradient(90deg, var(--accentmed-shipping-brand-dark), var(--accentmed-shipping-brand-light));
}

@media (max-width: 768px) {
    .accentmed-free-shipping-goal {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
        padding: 13px;
        border-radius: 13px;
    }

    .accentmed-free-shipping-goal__icon {
        width: 41px;
        height: 41px;
        border-radius: 11px;
    }

    .accentmed-free-shipping-goal__content > strong {
        font-size: 15px;
    }

    .accentmed-free-shipping-goal__content > span:not(.accentmed-free-shipping-goal__progress) {
        font-size: 11px;
    }
}
