/* === GTRANSLATE DROPDOWN STYLE === */
#gt_float_wrapper {
    position: static !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: inline-flex !important;
    align-items: center !important;
}

.gt_float_switcher {
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-family: inherit !important;
    border-radius: 8px !important;
    line-height: unset !important;
    padding: 0px;
}

.gt_float_switcher .gt-selected {
    background-color: transparent !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    color: #fff !important;
    padding: 8px 12px !important;
    font-weight: 500 !important;
}

/* Arrow default rotate 0 */
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23ffffff'/></svg>") !important;
    transform: rotate(0deg) !important;
    transition: transform 0.3s ease !important;
}

/* Arrow rotate 180 saat dropdown open */
.gt_float_switcher:has(.gt_options.gt-open) .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    transform: rotate(180deg) !important;
}

/* Sticky header arrow */
.header-2.sticky-header .gt-lang-code {
    color: var(--header) !important;
}

.header-2.sticky-header .gt_float_switcher .gt-selected .gt-current-lang {
    color: var(--header) !important;
}

.header-2.sticky-header .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23151515'/></svg>") !important;
}

.gtranslate_wrapper {
    position: relative !important;
    display: inline-block !important;
}

/* Dropdown options */
.gt_float_switcher .gt_options {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-70%) !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    min-width: 200px !important;
    padding: 10px 0 !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
}

.gt_float_switcher .gt_options.gt-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.gt_float_switcher .gt_options a {
    display: block !important;
    padding: 10px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
    white-space: nowrap !important;
}

.gt_float_switcher .gt_options a:hover {
    color: #e8341c !important;
    background: #fff5f4 !important;
    border-left: 3px solid #e8341c !important;
}

.gt_float_switcher .gt_options a.gt-current {
    display: none !important;
}

.gt_float_switcher img {
    width: 22px !important;
    height: auto !important;
    margin-right: 8px !important;
    border-radius: 2px !important;
    vertical-align: middle !important;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    .header__hamburger .gtranslate_wrapper {
        position: relative !important;
    }

    #gt_float_wrapper {
        position: relative !important;
    }

    .header__hamburger .gt_float_switcher .gt_options,
    #gt_float_wrapper .gt_float_switcher .gt_options {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        min-width: 180px !important;
        text-align: left !important;
    }
}