/* =====================================
   CURRENCY DROPDOWN – FINAL PREMIUM UI
   ===================================== */

.currency-dropdown {
  position: relative;
  display: inline-block;
  z-index: 100000;
  font-family: inherit;
}

/* ---------- Button ---------- */
.currency-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #c49a3a, #b68a2e);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.25s ease;
}

.currency-btn:hover {
  background: linear-gradient(135deg, #d4aa4a, #c49a3a);
  transform: translateY(-1px);
}

/* ---------- Dropdown Menu ---------- */
.currency-menu {
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);

  /* animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transition: all 0.25s ease;
}

/* OPEN STATE (JS toggles display) */
.currency-menu[style*="block"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ---------- Menu Items ---------- */
.currency-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-menu li:hover {
  background: linear-gradient(90deg, #f6f2e8, #ffffff);
  color: #c49a3a;
  padding-left: 22px;
}

/* ACTIVE / SELECTED */
.currency-menu li.active {
  background: #f6f2e8;
  color: #c49a3a;
  font-weight: 600;
}

/* ---------- Flags ---------- */
.flag {
  width: 22px;
  height: 16px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.flag-us { background-image: url("https://flagcdn.com/w20/us.png"); }
.flag-eu { background-image: url("https://flagcdn.com/w20/eu.png"); }
.flag-sa { background-image: url("https://flagcdn.com/w20/sa.png"); }
.flag-ae { background-image: url("https://flagcdn.com/w20/ae.png"); }
.flag-zm { background-image: url("https://flagcdn.com/w20/zm.png"); }
.flag-gb { background-image: url("https://flagcdn.com/w20/gb.png"); }

/* ---------- Divider ---------- */
.currency-menu li:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}

/* ---------- HEADER FIX ---------- */
.top-header,
.header,
.navbar {
  overflow: visible !important;
}
