/* RESET */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    width:100%;
    height:100%;
}

body{
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;

    background:#0f141d;
    color:#fff;

    font-family:Arial, Helvetica, sans-serif;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul,
ol{
    list-style:none;
}




















/* ===== Language switcher (hover-stable) ===== */
.header-lang{
  position:relative;
  display:inline-flex;
  align-items:center;
  z-index:999999;
}

.header-lang__current{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  text-decoration:none;
}

/* Dropdown */
.header-lang__list{
  display:none;
  position:absolute;
  right:0;
  top:100%;
  margin-top:0;              /* gap არ იყოს */
  min-width:170px;

  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);

  z-index:999999;
  overflow:hidden;
}

/* მთავარი ფიქსი: გახსნილი დარჩეს როცა hover არის current-ზე ან list-ზე */
.header-lang:hover .header-lang__list,
.header-lang__list:hover{
  display:block;
}

/* უხილავი ხიდი current->dropdown შორის */
.header-lang__list::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-16px;
  height:16px;
}

/* Items */
.header-lang__list .lang-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  text-decoration:none;
  white-space:nowrap;
  line-height:1.2;
}

.header-lang__list .lang-item:hover{background:#f6f6f6}
.header-lang__list .is-current{display:none}

/* Flag size */
.header-lang__list .flag{
  width:18px;
  height:13px;
  display:block;
  border-radius:2px;
  flex:0 0 auto;
}