.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;
}

/* Container — no background, no border, fully transparent */
.pc-inline-frame {
    width: 100%;
    min-height: 450px;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 0;
    overflow: visible;
}

/* Only show shimmer BEFORE Paddle loads (loading class present) */
.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;
}

/* Once Paddle removes .loading, the shimmer stops and iframe shows cleanly */
@keyframes pc-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Paddle's iframe — fully transparent background, no border */
.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;
}

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