:root {
  --color-text: #333;
  --color-icon-hover: #555;
  --color-border: #ddd;
}

/* ============================= */
/* HEADER                        */
/* ============================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 55px;
  object-fit: contain;
}

.header-center {
  flex: 1;
  text-align: center;
}

.menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

/* ============================= */
/* HEADER RIGHT ICONS            */
/* ============================= */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

.icon-btn svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: #111;
  fill: none;
  stroke-width: 2;
}

.icon-btn:hover svg {
  stroke: #666;
}

/* ============================= */
/* LANGUAGE DROPDOWN             */
/* ============================= */
.lang-wrapper {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.2s;
}

.lang-dropdown.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--color-text);
}

.lang-dropdown a:hover {
  background: #f0f0f0;
}

/* ============================= */
/* SHARED PANEL (MENU + SEARCH)  */
/* ============================= */
.mobile-menu,
.search-overlay {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);

  z-index: 3000;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 40px 20px;

  overflow-y: auto;

  /* hidden by default */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* ============================= */
/* OPEN STATE                    */
/* ============================= */
.mobile-menu.open,
.search-overlay.open {
  visibility: visible;
  opacity: 1;
}

/* ============================= */
/* MENU NAV                      */
/* ============================= */
.mobile-menu nav {
  width: 100%;
  max-width: 420px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 18px;
  margin-top: 40px;
}

.mobile-menu nav a {
  display: block;
  width: 100%;

  text-align: center;

  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;

  color: var(--color-text);
  text-decoration: none;

  padding: 10px 0;

  transition: all 0.25s ease;
}

.mobile-menu nav a:hover {
  opacity: 0.6;
  transform: translateY(-1px);
}

/* subtle separators */
.mobile-menu nav a:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ============================= */
/* CLOSE BUTTON                  */
/* ============================= */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3200;
}

/* ============================= */
/* SEARCH INPUT                  */
/* ============================= */
.search-overlay input {
  margin-top: 120px;
  width: 80%;
  max-width: 400px;
  padding: 12px;
  font-size: 20px;
  border: 1px solid #ccc;
}

/* ============================= */
/* RESPONSIVE TWEAKS             */
/* ============================= */
@media (min-width: 1024px) {
  .mobile-menu nav {
    max-width: 500px;
    gap: 22px;
  }

  .mobile-menu nav a {
    font-size: 24px;
  }
}



/* ── Desktop / default ─────────────────────────────────────────── */
.iltm-login {
  display:         inline-flex;
  align-items:     center;
  gap:             5px;
  padding:         6px 13px;
  border:          1.5px solid #C9A84C;
  color:           #0D0D0D;
  text-decoration: none;
  font-size:       9.5px;
  font-weight:     700;
  letter-spacing:  .14em;
  text-transform:  uppercase;
  font-family:     'Inter', Arial, sans-serif;
  white-space:     nowrap;
  line-height:     1;
  transition:      background .18s ease, color .18s ease, border-color .18s ease;
}

.iltm-login svg {
  flex-shrink: 0;
  stroke:      currentColor;
  transition:  stroke .18s ease;
}

/* ── Hover state — solid gold, white icons ─────────────────────── */
.iltm-login:hover {
  background:   #C9A84C;
  border-color: #C9A84C;
  color:        #fff;
}

/* ── Mobile — collapse label, keep icons ──────────────────────── */
@media (max-width: 480px) {
  .iltm-login-label {
    display: none;
  }
  .iltm-login {
    padding: 6px 9px;
    gap:     4px;
  }
}

/* ── Mobile menu link ─────────────────────────────────────────── */
.iltm-mobile-link {
  color:       #C9A84C !important;
  font-weight: 700;
}
