/* ── Floral Language Switcher ── */
.floral-lang-switcher {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floral-lang-tab {
    background: #414f36;
    color: #fff;
    padding: 0.6rem 0.5rem;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: padding-right 0.3s ease;
    user-select: none;
}

.floral-lang-switcher:hover .floral-lang-tab {
    padding-right: 0.75rem;
}

.floral-lang-flags {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #414f36;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floral-lang-switcher:hover .floral-lang-flags {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.floral-lang-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Levenim MT', Georgia, serif;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floral-lang-flag:last-child {
    border-bottom: none;
}

.floral-lang-flag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.floral-lang-flag.active {
    background: rgba(128, 142, 111, 0.4);
    color: #fff;
}

.floral-lang-flag span.flag-emoji {
    font-size: 1.2rem;
    line-height: 1;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .floral-lang-tab {
        padding: 0.4rem 0.35rem;
        font-size: 1rem;
    }

    .floral-lang-flag {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}
