.nnclub-checkout {
    padding: 40px 0;
    color: #282828;
}

.nnclub-checkout__title {
    margin: 0 0 24px;
    color: #282828;
    font-size: 28px;
    font-weight: bold;
}

.nnclub-checkout__grid-wrap {
    background: #eef0f3;
    border-radius: 12px;
    padding: 24px 28px;
    border: none;
}

.nnclub-checkout__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.nnclub-checkout__product {
    background: #fff;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    color: #282828;
}

.nnclub-checkout__product-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.nnclub-checkout__product-title {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #3a3a3a;
}

.nnclub-checkout__product-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.nnclub-checkout__tokens-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nnclub-checkout__coin {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nnclub-checkout__tokens-x {
    font-size: 18px;
    font-weight: bold;
    color: #ef1313;
}

.nnclub-checkout__product-desc {
    margin: 14px 0 0;
    font-size: 15px;
    color: #666;
    line-height: 1.45;
}

.nnclub-checkout__product-rule {
    margin: 18px 0;
    border: none;
    border-top: 1px solid #c8c8c8;
}

.nnclub-checkout__product-total {
    font-size: 16px;
    color: #282828;
}

.nnclub-checkout__product-total strong {
    font-weight: bold;
}

.nnclub-checkout__agreement {
    margin-top: 22px;
}

.nnclub-checkout__agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.45;
    color: #282828;
}

.nnclub-checkout__agreement-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #2563eb;
}

.nnclub-checkout__agreement-label a {
    color: #ef1313;
    text-decoration: underline;
}

.nnclub-checkout__agreement-label a:hover {
    color: #c41010;
}

.nnclub-checkout__counter--product {
    border-radius: 999px;
    border: 1px solid #252525;
    overflow: hidden;
    margin: 0;
    background: #fff;
}

.nnclub-checkout__counter--product button {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #ef1313;
    font-size: 20px;
    font-weight: bold;
}

.nnclub-checkout__counter--product button:hover {
    background: #fafafa;
}

.nnclub-checkout__counter--product input {
    width: 56px;
    height: 40px;
    border-left: 1px solid #252525;
    border-right: 1px solid #252525;
    font-weight: 600;
}

.nnclub-checkout__card,
.nnclub-checkout__form {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #282828;
}

.nnclub-checkout__grid-wrap > .nnclub-checkout__card {
    background: #fff;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    max-width: 800px;
}

.nnclub-checkout__card h1 {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: bold;
    color: #282828;
}

.nnclub-checkout__card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1c1c1c;
}

.nnclub-checkout__card p {
    margin: 8px 0;
}

.nnclub-checkout__counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin: 12px 0;
    background: #fff;
}

.nnclub-checkout__counter button {
    width: 44px;
    height: 44px;
    border: 0;
    background: #f5f5f5;
    color: #282828;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.nnclub-checkout__counter button:hover {
    background: #eaeaea;
}

.nnclub-checkout__counter input {
    width: 70px;
    height: 44px;
    border: 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    background: #fff;
    color: #282828;
}

.nnclub-checkout__form--panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.nnclub-checkout__field {
    margin-bottom: 18px;
}

.nnclub-checkout__field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #282828;
    margin-bottom: 8px;
}

.nnclub-checkout__pill {
    display: flex;
    align-items: stretch;
    min-height: 48px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    overflow: hidden;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.nnclub-checkout__pill:focus-within {
    border-color: #ef1313;
    box-shadow: 0 0 0 1px rgba(239, 19, 19, 0.25);
}

.nnclub-checkout__input-icon {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8a8a;
    border-right: 1px solid #e5e5e5;
    background: #fff;
}

.nnclub-checkout__input-icon svg {
    display: block;
}

.nnclub-checkout__pill input {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #282828;
    padding: 10px 16px 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.nnclub-checkout__pill input::placeholder {
    color: #b0b0b0;
}

.nnclub-checkout__pill input:focus {
    outline: none;
}

.nnclub-checkout__submit.red-button {
    width: 100%;
    max-width: none;
    margin-top: 16px;
    height: 42px;
    line-height: 40px;
}

.nnclub-checkout__payform {
    margin-top: 18px;
}

.nnclub-checkout__payform input[type="image"] {
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .nnclub-checkout__grid {
        grid-template-columns: 1fr;
    }

    .nnclub-checkout__grid-wrap {
        padding: 20px 16px;
    }

    .nnclub-checkout__product-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .nnclub-checkout__product-actions {
        width: 100%;
        justify-content: space-between;
    }
}
