.av-checkout {
    width: 100%;
    max-width: 520px;
    margin: 32px auto;
    font-family: inherit;
}

.av-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.av-step {
    display: none;
}

.av-step.is-active {
    display: block;
}

.av-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.av-muted {
    margin: 0 0 22px;
    color: #666;
    font-size: 15px;
}

.av-field {
    margin-bottom: 16px;
}

.av-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.av-field input,
.av-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.av-field input:focus,
.av-field textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.av-field textarea {
    min-height: 120px;
    resize: vertical;
    font-family: monospace;
    font-size: 13px;
}

.av-button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    margin-top: 8px;
}

.av-button:hover {
    transform: translateY(-1px);
}

.av-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.av-button-primary {
    background: #111;
    color: #fff;
}

.av-button-secondary {
    background: #f1f1f1;
    color: #111;
}

.av-error {
    margin: 14px 0 0;
    color: #b00020;
    font-weight: 600;
    font-size: 14px;
}

.av-success {
    margin: 14px 0 0;
    color: #0a7a2f;
    font-weight: 600;
    font-size: 14px;
}

.av-qrcode-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}

.av-qrcode {
    width: 260px;
    max-width: 100%;
    height: auto;
}

.av-expiration {
    margin: 12px 0 0;
    color: #666;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 600px) {
    .av-checkout {
        margin: 20px auto;
    }

    .av-card {
        padding: 22px;
        border-radius: 14px;
    }

    .av-card h2 {
        font-size: 21px;
    }
}
