.cfc-country-container {
    text-align: right;
}
.custom-button-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 100%;
    left: 0;
	min-width: 110px;
}

.custom-button-dropdown {
    position: relative;
}

/* :hover rule removed — JS handles dropdown toggle to avoid CSS/JS conflict */

.dropdown-content a {
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    /* Hover color set by Elementor control */
}

.custom-button-dropdown .button-icon-text {
    display: inline-flex;
    align-items: center;
}

.custom-button-dropdown .button-icon-text .elementor-icon {
    margin-right: 5px;
}

/* ============================================================
   Language Switcher Widget — base styles
   All sizing/spacing driven by Elementor controls via selectors
   ============================================================ */

.cfc-language-switcher {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cfc-ls-horizontal {
    flex-direction: row;
}

.cfc-ls-item {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.cfc-ls-flag {
    display: block;
    /* width and border-radius driven by Elementor slider controls */
}

.cfc-ls-code {
    margin-left: 4px;
    font-size: 0.85em;
    line-height: 1;
}

/* Dropdown mode */
.cfc-ls-dropdown {
    position: relative;
    display: inline-block;
}

.cfc-ls-trigger {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
}

.cfc-ls-arrow {
    font-size: 0.7em;
    margin-left: 2px;
}

.cfc-ls-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    /* background-color, padding, gap driven by Elementor controls */
}
