.payment-section {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.75fr);
    align-items: center;
    gap: 42px;
    padding-bottom: 38px;
    margin-bottom: 44px;
    border-bottom: 1px solid var(--line);
}

.payment-heading .eyebrow {
    margin-bottom: 8px;
}

.payment-heading h3 {
    color: var(--green);
    font-size: 29px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.payment-method {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #dedfd9;
    border-radius: 4px;
    color: var(--green);
    background: #fff;
    box-shadow: 0 7px 20px rgba(8, 24, 48, .045);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.payment-method:hover {
    transform: translateY(-3px);
    border-color: rgba(177, 138, 67, .58);
    box-shadow: 0 15px 30px rgba(8, 24, 48, .1);
}

.payment-method > svg {
    color: var(--gold);
}

.payment-method > span:not(.mastercard-mark) {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.payment-method strong {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.payment-method small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .45px;
    white-space: nowrap;
}

.payment-visa {
    flex-direction: column;
    gap: 0;
}

.payment-visa strong {
    color: #172b85;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -1.7px;
    line-height: 1;
}

.payment-visa strong::first-letter {
    text-decoration: underline;
    text-decoration-color: #d5a13a;
    text-decoration-thickness: 3px;
}

.mastercard-mark {
    width: 42px;
    height: 27px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mastercard-mark i {
    width: 27px;
    height: 27px;
    display: block;
    border-radius: 50%;
    background: #eb001b;
}

.mastercard-mark i + i {
    margin-left: -12px;
    background: rgba(247, 158, 27, .9);
}

@media (max-width: 1050px) {
    .payment-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 740px) {
    .payment-section {
        padding-bottom: 30px;
        margin-bottom: 34px;
    }

    .payment-methods {
        grid-template-columns: 1fr 1fr;
    }

    .payment-heading h3 {
        font-size: 27px;
    }
}

@media (max-width: 390px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}
