/* ── Floating CTA ────────────────────────────────────────────────────────── */
.floating-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
    /* Force LTR direction so [Char] is left and [Text] is right */
    flex-direction: row;
    direction: ltr;
}

/* Character Image Container */
.floating-character {
    width: 70px;
    /* Slightly smaller for mobile fitting */
    animation: floating 3s ease-in-out infinite;
    /* Restoring the bobbing animation */
}

.floating-character-img {
    width: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.floating-wrapper:hover .floating-character-img {
    transform: scale(1.1) rotate(5deg);
}

/* Text Bubble */
.floating-text {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 800;
    color: var(--primary);
    font-family: 'Almarai', sans-serif;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    border: 1px solid var(--border-light);
    animation: fadeIn 0.5s ease-out 1s backwards;
}

/* Arrow pointing Left (to the character) */
.floating-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    /* Stick to left side */
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 10px 8px 0;
    /* Right pointing triangle shape actually, pointing to text? No we need left pointing */
    border-color: transparent white transparent transparent;
}

/* Border for arrow */
.floating-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 10px 8px 0;
    border-color: transparent var(--border-light) transparent transparent;
}