/* ── KB PayPal Button Block – Frontend Styles ── */

.kb-paypal-wrap {
    margin: 1.5rem 0;
    display: block;
}

/* Ausrichtung */
.kb-paypal--left   { text-align: left; }
.kb-paypal--center { text-align: center; }
.kb-paypal--right  { text-align: right; }

/* Float-Modus: schwimmend rechts neben dem Text */
.kb-paypal--sticky {
    float: right;
    clear: right;
    margin: 0 0 1.5rem 2rem;
    max-width: 240px;
    text-align: center;
}

/* Nach Float-Elementen Clearfix */
.kb-paypal--sticky + * { clear: right; }

/* ── Button ── */
.kb-paypal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--btn-bg, #0070ba);
    color: var(--btn-color, #ffffff) !important;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 3px 14px rgba(0, 112, 186, 0.35);
    transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.kb-paypal-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 112, 186, 0.45);
}

.kb-paypal-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.kb-paypal-btn__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.kb-paypal-btn__text {
    letter-spacing: 0.01em;
}

/* Untertext */
.kb-paypal-subtext {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Sicherheits-Badge */
.kb-paypal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Responsive: float aufheben auf kleinen Bildschirmen */
@media (max-width: 600px) {
    .kb-paypal--sticky {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
}
