.paddle-checkout-block {
    max-width: 580px;
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pc-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
}

.pc-button-wrap {
    margin: 0 0 16px;
    text-align: center;
}

.pc-open-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #1a1a2e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.pc-open-button:hover {
    background: #2d2d44;
}

.pc-open-button:focus {
    outline: 2px solid #6200ea;
    outline-offset: 2px;
}

.pc-inline-frame {
    width: 100%;
    min-height: 450px;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 0;
    overflow: visible;
}

.pc-inline-frame.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: pc-shimmer 1.5s infinite;
    border-radius: 12px;
    min-height: 480px;
}

@keyframes pc-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.pc-inline-frame iframe,
.pc-inline-frame > iframe {
    width: 100% !important;
    min-width: 312px !important;
    background: transparent !important;
    border: none !important;
    display: block;
}

.pc-error {
    min-height: 18px;
    font-size: 13px;
    color: #c62828;
    margin-bottom: 10px;
    text-align: center;
}

.paddle-checkout-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.paddle-checkout-msg--error {
    background: #ffebee;
    color: #b71c1c;
}

.pc-badge {
    font-size: 12px;
    color: #999;
    margin: 12px 0 0;
    text-align: center;
}
