// Delivery chooser.
.cdnGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.cdnTile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1.5px solid #e7e9ef;
    border-radius: 14px;
    background: $white_color;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    strong {
        font-size: 13.5px;
        color: $primary_color;
        padding-right: 20px;
    }
    &:hover {
        border-color: rgba($secondary_color, 0.5);
    }
    &:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba($secondary_color, 0.25);
    }
    &.active {
        border-color: $secondary_color;
        background: #f5f8ff;
        box-shadow: 0 0 0 3px rgba($secondary_color, 0.08);
    }
}
.cdnTick {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: $secondary_color;
    color: $white_color;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdnLogo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #eceef2;
    background: $white_color;
    display: flex;
    align-items: center;
    justify-content: center;
    img {
        max-width: 24px;
        max-height: 24px;
        object-fit: contain;
    }
}
.cdnPills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cdnPill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #50575e;
    font-size: 11.5px;
    font-weight: 600;
    &.fast {
        background: #e7f6ec;
        color: #1a7f37;
    }
    &.private {
        background: #eef3ff;
        color: $secondary_color;
    }
}
.cdnField {
    max-width: 460px;
    margin-top: 18px;
}
