/*
 * Super Dealer free freight notice.
 * Plain CSS so the notice doesn't depend on the theme's Tailwind build.
 * Adjust the custom properties below to match brand colors.
 */
.tl-ff {
    --tl-ff-accent: #b5121b;
    --tl-ff-success: #15803d;
    --tl-ff-text: #111827;
    --tl-ff-muted: #4b5563;
    --tl-ff-track: #e5e7eb;
    --tl-ff-border: #e5e7eb;
    --tl-ff-flash: #fdecec;

    background-color: #fff;
    border-bottom: 1px solid var(--tl-ff-border);
    color: var(--tl-ff-text);
    transition: background-color 0.7s ease;
}

.tl-ff[x-cloak] {
    display: none !important;
}

.tl-ff--flash {
    background-color: var(--tl-ff-flash);
}

.tl-ff__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.tl-ff__message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tl-ff__badge {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: var(--tl-ff-accent);
    color: #fff;
}

.tl-ff--qualified .tl-ff__badge {
    background-color: var(--tl-ff-success);
}

.tl-ff__icon {
    display: flex;
}

.tl-ff__icon svg {
    display: block;
}

.tl-ff__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.375;
}

.tl-ff__strong {
    font-weight: 700;
}

.tl-ff__amount {
    font-weight: 700;
    color: var(--tl-ff-accent);
}

.tl-ff__done {
    font-weight: 600;
}

.tl-ff__progress {
    width: 100%;
}

.tl-ff__track {
    width: 100%;
    height: 0.75rem;
    overflow: hidden;
    border-radius: 9999px;
    background-color: var(--tl-ff-track);
}

.tl-ff__fill {
    height: 100%;
    width: 0;
    border-radius: 9999px;
    background-color: var(--tl-ff-accent);
    transition: width 0.5s ease;
}

.tl-ff--qualified .tl-ff__fill {
    background-color: var(--tl-ff-success);
}

.tl-ff__detail {
    margin: 0.25rem 0 0;
    text-align: right;
    font-size: 0.75rem;
    color: var(--tl-ff-muted);
}

@media (min-width: 768px) {
    .tl-ff__inner {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .tl-ff__text {
        font-size: 1.125rem;
    }

    .tl-ff__progress {
        width: 24rem;
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tl-ff,
    .tl-ff__fill {
        transition: none;
    }
}
