/* ── Bella Households – Floating Widgets (currency + WhatsApp) ── */

/* ── WhatsApp floating button ── */
.bella-wa {
    position: fixed;
    bottom: 105px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 13px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(37,211,102,0.40);
    transition: box-shadow .2s, transform .2s, padding .2s;
    white-space: nowrap;
    overflow: hidden;
    max-width: 160px;
}

.bella-wa:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
    transform: translateY(-3px);
}

.bella-wa__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bella-wa__label {
    font-size: 1.3rem;
    letter-spacing: .01em;
}

@media (max-width: 480px) {
    .bella-wa {
        padding: 11px;
        max-width: 50px;
        border-radius: 50%;
    }
    .bella-wa__label { display: none; }
}

/* ── Bella Households – Floating Currency Widget ── */

.bella-cw {
    position: fixed;
    bottom: 28px;
    left: 20px;
    z-index: 9999;
    font-family: inherit;
}

/* Trigger button */
.bella-cw__trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px 9px 11px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 700;
    color: #121a25;
    letter-spacing: .02em;
    transition: box-shadow .2s, transform .2s;
    white-space: nowrap;
}

.bella-cw__trigger:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

.bella-cw__trigger-flag {
    font-size: 1.8rem;
    line-height: 1;
}

.bella-cw__chevron {
    opacity: .5;
    transition: transform .2s;
}

.bella-cw__dropdown--open ~ .bella-cw__trigger .bella-cw__chevron,
.bella-cw__dropdown.bella-cw__dropdown--open + .bella-cw__trigger .bella-cw__chevron {
    transform: rotate(180deg);
}

/* Dropdown panel – appears above the button */
.bella-cw__dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    overflow: hidden;
}

.bella-cw__dropdown.bella-cw__dropdown--open {
    display: block;
    animation: cwFadeUp .18s ease;
}

@keyframes cwFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Individual option */
.bella-cw__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 15px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background .15s;
}

.bella-cw__option:not(:last-child) {
    border-bottom: 1px solid #f2f2f2;
}

.bella-cw__option:hover {
    background: rgba(133,206,186,.1);
}

.bella-cw__option.bella-cw__active {
    background: rgba(133,206,186,.12);
}

.bella-cw__option.bella-cw__active .bella-cw__code {
    color: #7cccbf;
}

.bella-cw__flag {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.bella-cw__code {
    font-size: 1.35rem;
    font-weight: 700;
    color: #121a25;
    width: 36px;
    flex-shrink: 0;
}

.bella-cw__name {
    font-size: 1.25rem;
    color: #888;
}

/* Close dropdown on outside click – handled by JS */

/* ── Desktop: raise WhatsApp above the scroll-to-top button (bottom:50px + 43px tall) ── */
@media only screen and (min-width: 992px) {
    .bella-wa {
        bottom: 105px;
        right: 20px;
    }
}

/* ── Mobile: lift both widgets above the sticky bottom toolbar ── */
@media only screen and (max-width: 991px) {
    .bella-cw {
        bottom: 160px;
        left: 16px;
    }
    .bella-wa {
        bottom: 160px;
        right: 16px;
    }
}
