/* Front-end language selector */
.cl-language-switcher {
    position: relative;
    display: inline-block;
    font-size: 14px;
    z-index: 2147483000;
}
.cl-language-switcher summary { list-style: none; }
.cl-language-switcher summary::-webkit-details-marker { display: none; }
.cl-language-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 7px 11px;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: .15s ease;
}
.cl-language-current {
    transition: color .2s ease;
}

.cl-language-current:hover {
    color: #ff4103;
}
.cl-language-flag { font-size: 19px; line-height: 1; }
.cl-language-current-name { font-weight: 600; white-space: nowrap; }
.cl-language-chevron { font-size: 16px; line-height: 1; margin-left: 2px; transition: transform .15s ease; }
.cl-language-switcher[open] .cl-language-chevron { transform: rotate(180deg); }
.cl-language-menu {
    position: fixed !important;
    display: none;
    min-width: 190px;
    max-width: calc(100vw - 20px);
    padding: 6px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
    z-index: 2147483647 !important;
    box-sizing: border-box;
}
.cl-language-switcher[open] .cl-language-menu { display: block; }
.cl-language-option {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none !important;
    white-space: nowrap;
}
/* .cl-language-option:hover { background: #f5f5f5; } */
.cl-language-option.active { font-weight: 600; background: #f7f7f7; }
.cl-language-check { margin-left: auto; }
@media (max-width: 600px) {
    .cl-language-current { min-height: 38px; padding: 6px 9px; }
    .cl-language-menu { min-width: 175px; }
}
