/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ── Polylang Switcher ── */
.pll-switcher {
    position: relative;
    display: inline-block;
    font-family: inherit;
    font-size: 14px;
}

.pll-switcher__toggle,
.pll-switcher__toggle:visited,
.pll-switcher button.pll-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    height: 40px;
    background: #fff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 0;
    cursor: pointer;
    color: #344054 !important;
    font-size: inherit;
    line-height: 40px;
    transition: border-color .2s, box-shadow .2s;
}

.pll-switcher__toggle:hover,
.pll-switcher__toggle:focus,
.pll-switcher__toggle:active,
.pll-switcher button.pll-switcher__toggle:hover,
.pll-switcher button.pll-switcher__toggle:focus,
.pll-switcher button.pll-switcher__toggle:active {
    background: #f9fafb !important;
    border-color: #98a2b3 !important;
    color: #344054 !important;
}

.pll-switcher__toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .35);
    border-color: #3b82f6 !important;
}

.pll-switcher.is-open .pll-switcher__toggle {
    border-color: #98a2b3 !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}

.pll-switcher__flag img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    vertical-align: middle;
}

.pll-switcher__name {
    font-weight: 500;
}

.pll-switcher__arrow {
    transition: transform .2s;
    flex-shrink: 0;
}

.pll-switcher.is-open .pll-switcher__arrow {
    transform: rotate(180deg);
}

.pll-switcher__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-top: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .1);
    z-index: 9999;
}

.pll-switcher__item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    height: 40px;
    color: #344054;
    text-decoration: none;
    transition: background .15s;
}

.pll-switcher__item a:hover {
    background: #f9fafb;
}

/* ── Currency Switcher (style_01) ── */
#wcc-switcher-style-01.wcc-switcher-style-01 {
    width: auto !important;
    min-width: 130px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    position: relative !important;
}

#wcc-switcher-style-01 .wcc-crnt-currency {
    background: #fff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 0 !important;
    width: 130px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 14px;
    font-weight: 500;
    color: #344054 !important;
    gap: 8px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    white-space: nowrap;
    box-sizing: border-box !important;
    overflow: hidden;
}

#wcc-switcher-style-01 .wcc-crnt-currency:hover {
    background: #f9fafb !important;
    border-color: #98a2b3 !important;
}

#wcc-switcher-style-01 .wcc-list-opened {
    border-radius: 0 !important;
    border-color: #98a2b3 !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}

#wcc-switcher-style-01 .wcc-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 130px !important;
    min-width: 130px !important;
    border: 1px solid #e4e7ec !important;
    border-top: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .1) !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#wcc-switcher-style-01 .wcc-list li {
    background: #fff !important;
    border: none !important;
    border-top: 1px solid #e4e7ec !important;
    width: 130px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 14px;
    font-weight: 500;
    color: #344054 !important;
    gap: 8px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    list-style: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#wcc-switcher-style-01 .wcc-list li:hover,
#wcc-switcher-style-01 .wcc-list li.crnt {
    background: #f9fafb !important;
    color: #344054 !important;
}

#wcc-switcher-style-01 .wcc-list li:last-child {
    border-radius: 0 !important;
}

#wcc-switcher-style-01 .wcc-flag {
    margin-left: auto;
}

#wcc-switcher-style-01 .wcc-name {
    white-space: nowrap;
}

#wcc-switcher-style-01 .flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}
