.fd{
    width: 640px;
    margin: 0 auto;
    padding-bottom: 20px;
}
.fd-wrap {
    max-width: 640px;
    margin:0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fd-card {
    background: #F7F7F7;
    border-radius: 20px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    padding: 18px 20px 16px;
    color: #111111;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fd-card.fd-qualified {
    background: #2B4688;
    color: #ffffff;
}

.fd-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fd-message {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: normal;
}

.fd-message strong {
    font-weight: 700;
}

.fd-link {
    color: #243D77;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.fd-link:hover,
.fd-link:focus {
    color: #1f3a74;
}

.fd-card.fd-qualified .fd-link {
    display: none;
}

.fd-meter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fd-meter {
    position: relative;
    flex: 1;
    height: 20px;
    border: 4px solid #243D77;
    border-radius: 999px;
    background: rgba(45, 75, 141, 0.22);
    box-sizing: border-box;
    overflow: hidden;
}

.fd-meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: #243D77;
    transition: width 820ms cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: width;
}

.fd-card.fd-qualified .fd-meter {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.32);
}

.fd-card.fd-qualified .fd-meter-fill {
    background: #ffffff;
}

.fd-truck {
    color: #101010;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fd-truck i {
    display: block;
    width: 42px;
    font-size: 30px;
    height: auto;
}

.fd-card.fd-qualified .fd-truck {
    color: #ffffff;
    position: relative;
}

.fd-card.fd-qualified .fd-truck::after {
    background-image: url(../free-delivery/stars.png);
    background-size: 30px 43px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 30px;
    height: 40px;
    content: "";
    margin: -13px 0 0 -11px;
}

.fd-card.fd-qualified .fd-truck::before {
    right: 30px;
    top: -10px;
}

.fd-card.fd-qualified .fd-truck::after {
    right: 2px;
    top: 8px;
}


@media (max-width: 1500px) {
    .fd-message {
        font-size: 20px;
    }

    .fd-link {
        font-size: 20px;
    }
}

@media (max-width: 1100px) {
    .fd-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .fd-message {
        font-size: 18px;
    }

    .fd-link {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .fd-wrap {
        margin: 0;
        padding: 0;
    }

    .fd-card {
        border-radius: 16px;
        padding: 14px 14px 14px;
    }

    .fd-message {
        font-size: 17px;
        line-height: 1.2;
    }

    .fd-link {
        font-size: 17px;
    }

    .fd-meter {
        height: 14px;
        border-width: 3px;
    }

    .fd-meter-row {
        gap: 10px;
    }

    .fd-truck i {
        width: 34px;
        font-size: 24px;
    }

}


/* SECOND BAR */


.fd2-wrap {
    max-width: 640px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fd2-card {
    background: #F7F7F7;
    border-radius: 34px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    padding: 18px 20px 16px;
    color: #0f0f0f;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fd2-card.fd2-qualified {
    background: #2B4688;
    color: #ffffff;
}

.fd2-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.fd2-truck {
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fd2-truck i {
    font-size: 30px;
    line-height: 1;
}

.fd2-card.fd2-qualified .fd2-truck {
    color: #ffffff;
}

.fd2-message {
    margin: 0;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 400;
}

.fd2-message strong {
    font-weight: 700;
}

.fd2-meter {
    position: relative;
    width: 100%;
    height: 20px;
    border: 4px solid #2B4688;
    border-radius: 999px;
    background: rgba(43, 70, 136, 0.25);
    box-sizing: border-box;
    overflow: hidden;
}

.fd2-meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: #2B4688;
    transition: width 820ms cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: width;
}

.fd2-card.fd2-qualified .fd2-meter {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.32);
}

.fd2-card.fd2-qualified .fd2-meter-fill {
    background: #ffffff;
}

@media (max-width: 1500px) {
    .fd2-card {
        border-radius: 26px;
        padding: 18px 20px 16px;
    }

    .fd2-truck i {
        font-size: 30px;
    }

    .fd2-message {
        font-size: 20px;
    }

    .fd2-meter {
        height: 20px;
        border-width: 4px;
    }
}

@media (max-width: 768px) {
    .fd2-wrap {
        margin-top: 16px;
    }

    .fd2-card {
        border-radius: 18px;
        padding: 18px 20px 16px;
    }

    .fd2-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .fd2-truck i {
        font-size: 28px;
    }

    .fd2-message {
        font-size: 18px;
        line-height: 1.2;
    }

    .fd2-meter {
        height: 18px;
        border-width: 3px;
    }
}
