.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    vertical-align: middle;
  }
  
  .language-switcher__current {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
  }
  
  .language-switcher__current:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .language-switcher__icon {
    margin-right: 6px;
    width: 20px;
    height: 20px;
  }
  
  .language-switcher__arrow {
    margin-left: 6px;
    width: 10px;
    height: 10px;
    transition: transform 0.3s;
  }
  
  .language-switcher__dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 150px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s, opacity 0.3s;
    z-index: 100;
  }
  
  .language-switcher__dropdown.active {
    max-height: 250px;
    opacity: 1;
  }
  
  .language-switcher__option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  
  .language-switcher__option:hover {
    background-color: #f5f5f5;
  }
  
  .language-switcher__option-icon {
    margin-right: 8px;
    width: 20px;
    height: 20px;
  }

  /* Стили для языкового селектора в подвале */
.footer__bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-language-switcher {
    margin: 0;
}

.footer-language-switcher .language-switcher__current {
    padding: 5px 10px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.footer-language-switcher .language-switcher__dropdown {
    bottom: 100%;
    margin-bottom: 10px;
    right: 0;
    left: auto;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .footer__bottom-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-language-switcher {
        margin: 10px 0;
    }
    
    .footer-language-switcher .language-switcher__dropdown {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
}