.payment {
    padding-top: 64px;
}

.payment__wrapper {
    max-width: 1310px;
    padding: 0 15px;
    margin: 0 auto;
}

.payment__announcement {
    text-align: center;
}

.payment__title {
    margin-bottom: 48px;
    text-transform: capitalize;
    font-weight: bold;
}

.payment__banner {
    max-width: 1280px;
    width: 100%;
    background-color: #fce500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
}

.payment__banner-img img {
    display: block;
    width: 100%;
}
.payment__description {
    display: flex;
    flex-direction: column;
    max-width: 690px;
    width: 100%;
    margin-right: 64px;
    text-align: left;
}

.payment__description-title {
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 22px;
}

.payment__description p {
    margin: 0;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 22px;
}

.payment__description p:last-child {
    margin: 0;
}

.payment__type-title {
    text-align: center;
    padding: 80px 0;
}

.payment__list {
    padding-bottom: 160px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.payment__item {
    width: 100%;
    border: 1px solid #ccc;
}

.payment__img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    height: 200px;
    padding: 16px;
}

.payment__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    height: 332px;
}

.payment__stores {
    display: flex;
    align-items: center;
}

.payment__stores img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.payment__stores > a:first-child {
    margin-right: 4px;
}

.payment__item-title {
    height: max-content;
    margin: 0;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: -0.015em;
}

.payment__item-description {
    height: max-content;
    margin: 0;
    font-size: 14px;
    line-height: 157%;
    letter-spacing: -0.015em;
    color: var(--gray-light);
}

.payment__button {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 160px;
    width: 100%;
    height: 48px;
    border-radius: 57px;
    background: transparent;
    color: var(--main-dark);
    border: 1px solid var(--accent);
    font-weight: 700;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.payment__button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 12px;
    width: 16px;
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("../icons/arrow_right.svg");
    background-repeat: no-repeat;
}

.payment__button--popup {
    max-width: 250px;
}

.payment__button:hover {
    background-color: var(--accent);
    color: var(--main-dark);
}

@media screen and (max-width: 1310px) {
    .payment__wrapper {
        max-width: 1130px;
    }
}
@media screen and (max-width: 993px) {
    .payment__banner {
        flex-direction: column-reverse;
        padding: 16px;
    }
    .payment__description {
        margin: 0;
    }
    .payment__banner-img {
        margin-bottom: 24px;
        width: 240px;
    }
    .payment__description-title {
        text-align: center;
    }
    .payment__list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 360px));

    }
}
@media screen and (max-width: 767px) {
    .payment__item-description {
        height: max-content;
    }
}
@media screen and (max-width: 550px) {
    .payment {
        padding-top: 64px;
    }
    .payment__title {
        padding-top: 32px;
    }

    .payment__description p {
        margin-bottom: 4px;
    }

    .payment__list {
        padding-bottom: 40px;
    }

    .payment__type-title {
        padding: 32px 0;
    }

    .payment__item-description {
        margin-bottom: 16px;
    }

    .payment__content {
        height: max-content;
        padding: 12px 16px 18px;
    }
    .payment__button {
        margin-top: 24px;
    }
}

iframe.lazyload,
iframe.lazyloading {
    display: block;
    background-color: rgba(0, 0, 0, 0);
}
