/* Pour les langues: drapeaux !? */
/* ===== Header top bar + langue ===== */
.lg-top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
}

.lg-top-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 1 auto;
    white-space: nowrap;
}

.lg-top-menu li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.lg-top-lang {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 2px;
}

.lg-lang-dropdown {
    position: relative;
    display: inline-block;
}

.lg-lang-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 26px;
    padding: 0;
    background: #fff;
    border: 1px solid #d8cdb3;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.lg-lang-current img {
    display: block;
    width: 22px;
    height: auto;
}

.lg-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e0d4b8;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 6px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 300;
}

.lg-lang-dropdown:hover .lg-lang-menu,
.lg-lang-dropdown:focus-within .lg-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lg-lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #4b3b1a;
    font-size: 14px;
    white-space: nowrap;
}

.lg-lang-menu a img {
    width: 18px;
    height: auto;
    flex: 0 0 auto;
}

.lg-lang-menu a:hover {
    background: #f6f1e6;
}

@media (max-width: 760px) {
    .lg-top-bar {
        gap: 8px;
    }

    .lg-top-menu {
        font-size: 13px;
    }
}