/* ===== HEADER SYSTEM ===== */
.iyeg-header-stack {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .iyeg-utility-bar {
    background: var(--iyeg-util-bg);
    height: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    font-size: var(--iyeg-font-size-xs);
    border-bottom: 1px solid #222;
  }
  
  .iyeg-utility-info {
    display: flex;
    gap: 1.25rem;
    align-items: center;
  }
  
  .iyeg-utility-info span {
    color: #bbb;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .iyeg-utility-info i { color: var(--iyeg-active-green); }
  
  /* Country Switcher Dropdown */
  .iyeg-country-switcher {
    position: relative;
    cursor: pointer;
  }
  
  .iyeg-country-switcher__dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: var(--iyeg-font-size-xs);
  }
  
  .iyeg-country-switcher__dropdown img {
    width: 1.5rem;
    height: 0.9375rem;
    border-radius: 2px;
    object-fit: cover;
  }
  
  .iyeg-country-switcher__menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--iyeg-util-bg);
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 180px;
    display: none;
    z-index: 1001;
    margin-top: 8px;
  }
  
  .iyeg-country-switcher.active .iyeg-country-switcher__menu { display: block; }
  
  .iyeg-country-switcher__menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--iyeg-util-bg);
    z-index: 1002;
  }
  
  .iyeg-country-switcher__menu::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 19px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #333;
    z-index: 1001;
  }
  
  .iyeg-country-switcher__dropdown .fa-angle-down {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
  }
  
  .iyeg-country-switcher.active .fa-angle-down { transform: rotate(180deg); }
  
  .iyeg-country-switcher__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background var(--iyeg-transition-fast);
  }
  
  .iyeg-country-switcher__option:hover { background: #222; }
  
  .iyeg-country-switcher__option img {
    width: 1.5rem;
    height: 0.9375rem;
    border-radius: 2px;
  }
  
  .iyeg-country-switcher__option--current {
    background: #222;
    font-weight: 600;
  }
  
  /* Main Header */
  .iyeg-main-header {
    background: var(--iyeg-header-bg);
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
  }
  
  .iyeg-logo img { height: 2.2rem; width: auto; }
  
  /* Navigation */
  .iyeg-nav-links {
    display: flex;
    align-items: center;
    gap: 2.1875rem;
  }
  
  .iyeg-nav-links a {
    text-decoration: none;
    color: white;
    /*font-weight: 600;*/
    font-weight: 500;
    font-size: var(--iyeg-font-size-sm);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--iyeg-transition-base);
  }
  
  .iyeg-nav-links a:not(.iyeg-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    /*height: 2px;*/
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--iyeg-active-green);
    transition: width var(--iyeg-transition-base) cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .iyeg-nav-links a:hover { color: var(--iyeg-active-green); }
  
  .iyeg-nav-links a:hover::after {
    opacity: 1;
    animation: iyeg-expandUnderline 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  .iyeg-nav-links a.active {
    color: var(--iyeg-active-green);
  }
  
  .iyeg-nav-links a.active::after {
    width: 100%;
    background-color: var(--iyeg-active-green);
    opacity: 1;
    animation: none;
  }
  
  .iyeg-menu-trigger {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
  }
  
  /* Mobile Side Menu */
  .iyeg-side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 100%;
    max-width: 320px;
    height: 100%;
    max-height: 100vh;
    background: #000;
    z-index: 2000;
    padding: 5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .iyeg-side-menu.active { right: 0; }
  
  .iyeg-side-menu__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  
  .iyeg-side-menu__logo { margin-right: auto; }
  
  .iyeg-side-menu__logo img { height: 2rem; }
  
  .iyeg-side-menu__close {
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: all var(--iyeg-transition-fast);
    border-radius: 4px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .iyeg-side-menu__close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--iyeg-active-green);
    transform: scale(1.1);
  }
  
  .iyeg-side-menu__contact {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
  }
  
  .iyeg-side-menu__contact p {
    color: #bbb;
    font-size: var(--iyeg-font-size-sm);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .iyeg-side-menu__contact i {
    color: var(--iyeg-active-green);
    width: 1rem;
  }
  
  .iyeg-side-menu .iyeg-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: var(--iyeg-font-size-sm);
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    transition: color var(--iyeg-transition-base);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
  }
  
  .iyeg-side-menu .iyeg-menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 4px;
    left: 0;
    background-color: var(--iyeg-active-green);
    opacity: 0;
  }
  
  .iyeg-side-menu .iyeg-menu-link:hover { color: var(--iyeg-active-green); }
  
  .iyeg-side-menu .iyeg-menu-link:hover::after {
    opacity: 1;
    animation: iyeg-expandUnderline 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  .iyeg-side-menu .iyeg-menu-link.active {
    color: var(--iyeg-active-green);
  }
  
  .iyeg-side-menu .iyeg-menu-link.active::after {
    width: 100%;
    opacity: 1;
    animation: none;
  }
  
  .iyeg-side-menu .iyeg-btn--primary:hover {
    background-color: var(--iyeg-hover-green);
    transform: translateY(-1px);
    color: var(--iyeg-dark-text) !important;
  }
  
  @media (hover: none) and (pointer: coarse) {
    .iyeg-side-menu a:active::after { width: 100%; }
  }




/* ===== PRODUCTS DROPDOWN - CLICK BASED ===== */
.iyeg-dropdown {
  position: relative;
  display: inline-block;
}

.iyeg-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: white;
  background: none;
  border: none;
  font-weight: 500;
  font-size: var(--iyeg-font-size-sm);
  letter-spacing: 1px;
  padding: 0.25rem 0;
  cursor: pointer;
  transition: color var(--iyeg-transition-base);
  font-family: inherit;
  position: relative;
}

.iyeg-dropdown__trigger::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--iyeg-active-green);
  transition: width var(--iyeg-transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.iyeg-dropdown__trigger:hover {
  color: var(--iyeg-active-green);
}

.iyeg-dropdown__trigger.active {
  color: var(--iyeg-active-green);
}

.iyeg-dropdown__trigger.active::after {
  width: 100%;
  background-color: var(--iyeg-active-green);
  opacity: 1;
  animation: none;
}

.iyeg-dropdown__arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.iyeg-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  min-width: 280px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  z-index: 100;
  margin-top: 0;
}

.iyeg-dropdown__menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown arrow (triangle) */
.iyeg-dropdown__menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #0d0d0d;
}

.iyeg-dropdown__item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
  position: relative;
}

.iyeg-dropdown__item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.iyeg-dropdown__item:hover {
  background: rgba(0, 255, 136, 0.06);
  transform: translateX(4px);
}

.iyeg-dropdown__item.active {
  background: rgba(0, 255, 136, 0.08);
}

.iyeg-dropdown__item.active .iyeg-dropdown__item-desc {
  color: var(--iyeg-active-green);
}

.iyeg-dropdown__item-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-top: 0.15rem;
  letter-spacing: 0.3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .iyeg-nav-links .iyeg-dropdown {
      display: none; /* Hide desktop dropdown on mobile */
  }
}

@media (min-width: 1025px) {
  .iyeg-side-dropdown {
      display: none; /* Hide mobile dropdown on desktop */
  }
}


/* ===== MOBILE SIDE DROPDOWN ===== */
.iyeg-side-dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.iyeg-side-dropdown__trigger {
  background: none;
  border: none;
  color: #fff;
  font-size: var(--iyeg-font-size-sm);
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--iyeg-transition-base);
  width: fit-content;
}

.iyeg-side-dropdown__trigger:hover {
  color: var(--iyeg-active-green);
}

.iyeg-side-dropdown__arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.iyeg-side-dropdown__menu {
  display: none;
  flex-direction: column;
  /* padding-left: 1.5rem; */
  padding: 0.5rem 0.5rem;
  margin-top: 0.25rem;
  gap: 0.25rem;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.iyeg-side-dropdown__menu.open {
  display: flex;
}

.iyeg-side-dropdown__menu .iyeg-menu-link {
  font-size: var(--iyeg-font-size-xs);
  text-transform: none;
  /* padding: 0.3rem 0; */

  padding: 0.5rem 1rem;
    border-radius: 4px;
    /* border: 1px solid transparent; */
    transition: all var(--iyeg-transition-base);
    margin: 2px 0;
}

.iyeg-side-dropdown__menu .iyeg-menu-link::after {
  display: none;
}

/* .iyeg-side-dropdown__menu .iyeg-menu-link.active {
  color: var(--iyeg-active-green);
} */

.iyeg-side-dropdown__menu .iyeg-menu-link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  /* border-color: rgba(255, 255, 255, 0.08); */
  color: var(--iyeg-active-green);
}

.iyeg-side-dropdown__menu .iyeg-menu-link.active {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.15);
  color: var(--iyeg-active-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .iyeg-nav-links .iyeg-dropdown {
      display: none;
  }
  
  .iyeg-side-dropdown {
      display: flex;  /* Show mobile dropdown on mobile */
  }
}

@media (min-width: 1025px) {
  .iyeg-side-dropdown {
      display: none;  /* Hide mobile dropdown on desktop */
  }
}