.torobpay-installment-card {
    --torobpay-green: #abf27b;
    --torobpay-dark: #003d01;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 14px 0 2px;
    padding: 13px 15px;
    color: var(--torobpay-dark);
    background: linear-gradient(
        135deg,
        rgba(171, 242, 123, 0.24),
        rgba(255, 255, 255, 0.96) 62%
    );
    border: 1px solid rgba(0, 61, 1, 0.13);
    border-radius: 13px;
    box-shadow: 0 9px 24px rgba(0, 61, 1, 0.06);
}

.torobpay-installment-card__logo {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
}

.torobpay-installment-card__content {
    min-width: 0;
}

.torobpay-installment-card__eyebrow {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 700;
    color: #39713a;
}

.torobpay-installment-card__title {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.torobpay-installment-card__description {
    margin: 0;
    color: #365337;
    font-size: 12px;
    line-height: 1.8;
}

.torobpay-installment-card__amount {
    color: var(--torobpay-dark);
    font-size: 15px;
    font-weight: 900;
}

.torobpay-product-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    max-width: 100%;
    margin-top: 9px;
    padding: 5px 8px;
    color: #214c22;
    background: rgba(171, 242, 123, 0.24);
    border: 1px solid rgba(0, 61, 1, 0.09);
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.6;
    white-space: nowrap;
}

.torobpay-product-badge img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
}

.torobpay-product-badge b {
    color: #003d01;
    font-size: 11px;
    font-weight: 900;
}

.gateway_item {
    position: relative;
}

.gateway_item__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.gateway_item__check {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-left: 12px;
    border: 2px solid #c8c8c8;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.gateway_item.active .gateway_item__check,
.gateway_item:has(.gateway_item__radio:checked) .gateway_item__check {
    background: #895d3d;
    border-color: #895d3d;
}

.gateway_item:focus-within {
    outline: 3px solid rgba(64, 168, 196, 0.24);
    outline-offset: 2px;
}

.gateway_item__copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.gateway_item__copy strong,
.gateway_item__copy span {
    margin: 0;
}

.gateway_item--torobpay {
    overflow: hidden;
    background: linear-gradient(110deg, rgba(171, 242, 123, 0.18), #fff 65%);
    border-color: rgba(0, 61, 1, 0.16);
}

.gateway_item--torobpay.active,
.gateway_item--torobpay:has(.gateway_item__radio:checked) {
    background: linear-gradient(110deg, rgba(171, 242, 123, 0.3), #fff 72%);
    border-color: #39713a;
}

.gateway_item--torobpay .gateway_item__check {
    border-color: #75ae54;
}

.gateway_item--torobpay.active .gateway_item__check,
.gateway_item--torobpay:has(.gateway_item__radio:checked) .gateway_item__check {
    background: var(--torobpay-dark, #003d01);
    border-color: var(--torobpay-dark, #003d01);
}

.gateway_item__logo--torobpay {
    width: 48px !important;
    height: 48px;
    object-fit: contain;
}

.gateway_item__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 5px !important;
    padding: 3px 8px;
    color: #003d01;
    background: #abf27b;
    border-radius: 999px;
    font-size: 11px !important;
    font-weight: 800;
}

.payment-choice-summary {
    margin: 2px 0 0;
    padding: 10px 13px;
    color: #555;
    background: #fafafa;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 575.98px) {
    .torobpay-installment-card {
        align-items: flex-start;
        padding: 12px;
    }

    .torobpay-installment-card__logo {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .gateway_item {
        align-items: flex-start;
        padding: 14px;
    }

    .gateway_item__logo--torobpay {
        width: 42px !important;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gateway_item__check {
        transition: none;
    }
}
