.delivery-payment-tabs {
    width: 100%;
}

.delivery-payment-tabs__btns {
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: stretch;
    column-gap: 1.5rem;
    row-gap: 1rem;
}

.delivery-payment-tabs__btn {
    flex: 0 1 25%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2.5rem;
    background-color: var(--color__fill-4);
    border-radius: 0.75rem;
    border: none;
    outline: none;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: var(--color__fill-2);
    cursor: pointer;
    transition: background 0.24s ease 0s;
}

.delivery-payment-tabs__btn::after {
    content:'';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 95%);
    width: 0;
    height: 0;
    border-left: 0.625rem solid transparent;
    border-right: 0.625rem solid transparent;
    border-top: 0.625rem solid var(--color__fill-2);
    opacity: 0;
}

.delivery-payment-tabs__btn:hover {
    background-color: var(--color__fill-4-h)
}

.delivery-payment-tabs__btn svg {
    width: 3rem;
    height: 3rem;
    color: inherit;
}

.delivery-payment-tabs__btn.is-active {
    text-shadow: 0 0 var(--color__white);
    color: var(--color__white);
    background-color: var(--color__fill-2);
    pointer-events: none;
}

.delivery-payment-tabs__btn.is-active::after {
    opacity: 1;
}

.delivery-payment-tabs__block {
    margin-top: 3.125rem !important;
}

.delivery-payment-tabs__desc {
    max-width: 52rem;
    margin: 0 !important;
    color: rgba(20, 20, 43, 0.7);
}

.delivery-payment-tabs__list {
    max-width: 41.875rem !important;
    margin: 2rem 0 0 !important;
    
}

.delivery-payment-tabs__item {
    color: #5F676B !important;
}

.delivery-payment-tabs__item::after {
    background-color: var(--color__fill-2) !important;
}

.delivery-payment-tabs__item:not(:last-child) {
    margin-bottom: 1rem;
}

@media (max-width: 991px) {

    .delivery-payment-tabs__btns {
        column-gap: 1rem;
    }

    .delivery-payment-tabs__btn {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {

    .delivery-payment-tabs__btns {
        column-gap: 0.5rem;
    }

    .delivery-payment-tabs__btn {
        padding: 1rem;
    }
}

@media (max-width: 640px) {

    .delivery-payment-tabs__btns {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        padding: 0 1rem 1rem;

        overflow-x: scroll;
        scrollbar-width: none;
    }

    .delivery-payment-tabs__btns::-webkit-scrollbar {
        display: none;
    }

    .delivery-payment-tabs__btn {
        flex: 0 0 11rem;
    }
}