/* ===============================
   BUTTON BASIS (Neon Pink)
================================ */
.si-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 70px;          /* Minimal größer für den neuen Text */
    height: 70px;
    border-radius: 50%;
    background: #000;
    color: #ff0090;       /* Neue Hauptfarbe */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2147483647 !important;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-align: center;
    transition: color 0.3s ease;
    overflow: hidden;
}

/* ===============================
   TEXT "Bis zu 10% sparen"
================================ */
.si-btn .si-small {
    font-size: calc(0.16 * 70px);
    line-height: 1;
    width: 100%;
}

.si-btn .si-big {
    font-size: calc(0.3 * 70px);
    font-weight: bold;
    line-height: 1;
    width: 100%;
}

/* ===============================
   NEON RING (#ff0090 / rgb: 255, 0, 144)
================================ */
.si-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;

    background: conic-gradient(
        rgba(255, 0, 144, 0) 0deg,
        rgba(255, 0, 144, 1) 60deg,
        rgba(255, 0, 144, 1) 300deg,
        rgba(255, 0, 144, 0) 360deg
    );

    -webkit-mask:
        radial-gradient(farthest-side, #fff 95%, #000 100%) content-box,
        radial-gradient(farthest-side, #fff 95%, #000 100%);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;

    opacity: 0;
    animation: neon-idle 10s linear infinite;
}

/* ===============================
   HOVER = PERMANENT SPIN
================================ */
.si-btn:hover::before {
    opacity: 1;
    animation: neon-spin 3.5s linear infinite;
    filter:
        drop-shadow(0 0 8px rgba(255, 0, 144, 0.9))
        drop-shadow(0 0 14px rgba(255, 0, 144, 0.8))
        drop-shadow(0 0 22px rgba(255, 0, 144, 0.7));
}

.si-btn:hover {
    color: #ff66c2; /* Etwas helleres Pink beim Hover für den Text */
}

/* ===============================
   KEYFRAMES
================================ */
@keyframes neon-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes neon-idle {
    0% { opacity: 0; transform: rotate(0deg); }
    8% { opacity: 1; }
    25% { opacity: 0; transform: rotate(360deg); }
    100% { opacity: 0; transform: rotate(360deg); }
}

/* ======================== */
/* POP-UP MODERNISIERT       */
/* ======================== */
.si-popup {
    position: fixed !important;
    bottom: 120px !important; /* Minimal höher wegen dem größeren Button */
    right: 20px !important;
    width: 320px;
    max-width: 90vw;
    background: #000;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.5);
    color: #ff0090; /* Pink */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999999 !important;
}

/* Dreieck / Pfeil der Sprechblase */
.si-popup::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 50px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 15px solid #000;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.si-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Überschriften & Textinhalte im Pop-up */
.si-popup h1,
.si-popup h2,
.si-popup h3,
.si-popup h4,
.si-popup h5,
.si-popup h6,
.si-popup p {
    margin: 0 0 12px 0;
    color: #ff0090; /* Pink */
}

/* Falls du Buttons im HTML Feld verwenden willst, ziehe dir diese Klasse rein: class="btn" */
.si-popup .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff0090, #ff66c2);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.si-popup .btn:hover {
    background: linear-gradient(135deg, #ff66c2, #ff0090);
    transform: scale(1.05);
}

/* =========================================
   BONUSPROGRAMM - KOMPAKT (FÜR POPUP)
========================================= */

.cp-bonus-compact {
    background-color: #fff0f5; /* Zartes Pastell-Pink */
    border: 2px solid #ff0090;
    border-radius: 12px;
    padding: 15px; /* Stark reduziert für Popups */
    font-family: sans-serif;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.cp-bonus-compact .cp-bonus-header {
    display: flex !important;
    flex-direction: row !important; /* Erzwingt die Ausrichtung nebeneinander */
    flex-wrap: nowrap !important; /* Verhindert den Zeilenumbruch */
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ff0090;
    margin-bottom: 8px;
}

/* Verhindert, dass das Theme dem Icon oder der Überschrift eine volle Breite gibt */
.cp-bonus-compact .cp-bonus-header i,
.cp-bonus-compact .cp-bonus-header h3 {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800;
    line-height: 1; /* Verhindert unsichtbare Abstände nach oben/unten */
}

.cp-bonus-compact .cp-bonus-intro {
    font-size: 12px !important;
    color: #333 !important;
    line-height: 1.3 !important;
    margin: 0 0 12px 0 !important;
}

/* --- Level Liste Kompakt --- */
.cp-bonus-compact .cp-bonus-tiers {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.cp-bonus-compact .tier-item {
    display: flex;
    justify-content: space-between; /* Links Name, Rechts Rabatt */
    align-items: center;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.cp-bonus-compact .tier-name {
    font-size: 13px;
    font-weight: bold;
    color: #222;
}

.cp-bonus-compact .tier-name small {
    color: #777;
    font-weight: normal;
    font-size: 11px;
}

.cp-bonus-compact .tier-desc {
    color: #666;
    font-size: 12px;
}

/* --- Highlights für Rabatte --- */
.cp-bonus-compact .discount-badge {
    background: #ff0090;
    color: #ffffff !important;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* --- Call to Action Button Kompakt --- */
.cp-bonus-compact .cp-gradient-btn {
    display: block;
    background: linear-gradient(135deg, #ff0090, #ff4db8);
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s ease;
    box-shadow: 0 3px 10px rgba(255, 0, 144, 0.3);
}

.cp-bonus-compact .cp-gradient-btn:hover {
    transform: scale(1.03);
}