/* ---- LOGO ---- */
#_desktop_logo img,
#_mobile_logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

/* ---- HEADER NAV ---- */
.header-nav {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
  padding: 0;
  max-height: none !important;
  height: auto;
  overflow: visible; /* Ensure dropdowns etc. are visible */
}

.header-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* no wrapping */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  min-height: 60px;
}

/* Header sections */
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

/* Left logo */
.header-left {
  flex: 0 0 auto;
  margin-right: 20px;
}

/* Center menu */
.header-center {
  flex: 1 1 auto;
  justify-content: center;
  overflow: hidden;
}

/* Right menu */
.header-right {
  flex: 0 0 auto;
  margin-left: 20px;
}

/* Desktop menu items spacing */
.header-center #_desktop_top_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
  white-space: nowrap;
}

@media (min-width: 992px) {
  #_desktop_logo { display: block !important; }
  #_mobile_logo  { display: none !important; }
}

/* ---- MOBILE ---- */
@media (max-width: 991px) {
  .header-center {
    display: none;
  }

  .mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  #_mobile_logo img {
    max-height: 50px;
  }

  #_desktop_logo { display: none !important; }
  #_mobile_logo  { display: block !important; }
}

/* ---- HEADER TOP ---- */
.header-top {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0;
  height: auto !important;
  min-height: 60px;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the menu horizontally */
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.header-top .row {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;
  margin: 0; /* remove bootstrap negative margins */
}

.header-top [class*="col-"] {
  flex: 1 1 auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- RED BANNER ---- */
#custom-text {
  padding: 5px;
  margin-bottom: 0;
  text-align: center;
  background: red;
  color: white;
  border-radius: 2px;
}

.header-top .top-menu{
  display: flex;
  gap: 40px;
}