body {
  margin: 0;
  font-family: "lato", sans-serif;
}

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* --- TOP BAR --- */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 10px;
}

.logo {
  font-weight: 600;
  font-size: 22px;
  color: #007bff;
}

.logo > a{
  text-decoration: none;
  color:#007bff;
  display: block;
}

/* --- SEARCH BOX --- */
.search-box {
  flex: 1;
  max-width: 990px;
  position: relative;
  display: flex;
}

.search-box input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 1px solid #ccc;
  border-right: none;
  font-size: 15px;
  outline: none;
  height: 45px;
}

.search-box input:focus {
  border-color: #007bff;
}

.search-box button {
  width: 45px;
  border: none;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #005ecb;
}

/* --- ACCOUNT MENU --- */
.account-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.account-menu a,
.get-start-btn {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

.account-menu a:hover,
.get-start-btn:hover {
  color: #007bff;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 36px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 180px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

/* --- BOTTOM MENU --- */
.bottom-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;
  border-top: 1px solid #eee;
  background: #fff;
}

.bottom-bar a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.bottom-bar a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s;
}

.bottom-bar a:hover::after {
  width: 100%;
}

/* --- HAMBURGER --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* --- MOBILE SEARCH --- */
.mobile-search {
  display: none;
}

.mobile-auth {
  display: none;
}

/* ✅ Country + Currency Selector */
.hdr-select-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.hdr-dropdown {
  position: relative;
}

.hdr-dropbtn {
  background: transparent;
  border: none;
  outline: none;
  padding: 5px 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hdr-dropbtn img {
 width: 20px;
  height: 14px;
  border-radius: 3px;
  display: block;
}

.hdr-dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  background: white;
  border: 1px solid #ddd;
  width: 242px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  z-index: 9999;
}

.hdr-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-decoration: none;
  color: black;
  font-size: 13px;
  text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
    overflow: hidden;
}

.hdr-dropdown-menu a:hover {
  background: #f3f3f3;
}

.hdr-search-input {
  width: 90%;
  margin: 8px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.hdr-dropdown.active .hdr-dropdown-menu {
  display: block;
}
.hdr-dropbtn:hover {
  background: transparent;
  color: #007bff;
  border: none;
}
/* ✅ Responsive */

.user-circle {
    width: 35px;
    height: 35px;
    background: #007bff;
    color: #fff;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 0 0 0 3px #ddd;
    cursor: pointer;
}
.user-circle1 {
    width: 40px;
    height: 40px;
    margin-top: 5px;
    background: #007bff;
    color: #fff;
    border-radius: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 0 0 0 3px #ddd;
    cursor: pointer;
}
.dropdown {
    position: relative;
}

.dropdown-menu1 {
    position: absolute;
    top: 50px;
    right: 0px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #d3d3d3b0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* keep this */
    min-width: 180px;
    display: none;
}

/* ARROW INSIDE THE DROPDOWN */
.dropdown_icon {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 1px solid #d3d3d3b0;
    transform: rotate(45deg);
    position: absolute;
    top: 43px;     /* IMPORTANT → this brings arrow outside */
    right: 20px;   /* adjust left-right */
    z-index: 9999;
}

/*.dropdown-menu1 {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #d3d3d3b0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 180px;
  display: none; 
  position: absolute;
  top: 50px;
  right: 0px;
  overflow: visible !important;
}*/
.user_profile_box {
  border-bottom: 1px solid #dbe2e8;
  padding: 15px;
  background: #fff;
}
.user_details{
  padding-left: 12px;
}
.user_details > span{
  color: #6c6b6b;
  font-size: 13px;
}
.dropdown-menu1 > a{
  padding: 15px;
  padding-left: 26px;
  border-bottom: 1px solid #eee;
  width: 100%;
  display: block;
  color: #6c6b6b;
  font-weight: 400;
}
.dropdown-menu1 > a > i{
  font-size: 20px;
  vertical-align: middle;
  color: #6c6b6b;
  margin-right: 10px;
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  /* Hide top account menu completely */
  .account-menu {
    display: none !important;
  }

  .search-box {
    display: none;
     
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* Hide menus initially */
  .bottom-bar,
  .mobile-search,
  .mobile-auth {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    gap: 10px;
  }

  /* When menu active */
  .mobile-active .mobile-search,
  .mobile-active .bottom-bar,
  .mobile-active .mobile-auth {
    display: flex;
  }

  .mobile-search input {
    width: 100%;
    padding: 10px 45px 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
  }

  .mobile-search button {
    position: absolute;
    right: 30px;
    top: 13px;
    background: none;
    border: none;
    color: #007bff;
    font-size: 16px;
    cursor: pointer;
  }

  .mobile-auth a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }

  .mobile-auth a:hover {
    color: #007bff;
  }
  .dropdown-menu{
    right:-92;
    font-size: 13px;
  }

   .hdr-select-group {
    display: none;
  }
  .mobile-active .hdr-select-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}
