/* Header component styles */
.header-component {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent;
  color: #fff;
  font-size: 18px;
  border-bottom: 1px solid rgba(253, 253, 253, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  max-height: 90px;
  height: auto;
}

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

.header-phone {
  padding-left: 15px;
}

.header-nav .header-menu {
  display: inline-flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .header-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  line-height: 30px;
}

.header-phone a {
  color: #fff;
  text-decoration: none;
}

.vertical-line {
  background-color: rgba(255, 255, 255, 0.2);
  width: 1px;
  height: 87px;
}

.btn-link {
  color: #fff;
  font-size: 18px;
}

#menu-header-menu {
    position: relative;
}

#menu-header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #47414F; 
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 310px;
    z-index: 999;
}

#menu-header-menu .sub-menu.depth-2 {
    position: absolute;
    top: 0;
    left: 100%;
}

#menu-header-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
}

#menu-header-menu:hover > .sub-menu {
    display: block;
}

#menu-header-menu .sub-menu li a:hover {
    background: #C2B697;
    color: #2A2E31;
}


#menu-header-menu .sub-menu .current-menu-item > a,
#menu-header-menu .sub-menu .current_page_item > a {
    background: #C2B697; 
    color: #ffffff;    
}

.header-menu li.menu-item-has-children {
    position: relative;
}

.header-menu li.menu-item-has-children > a::after {
    content: "▾";
    margin-left: 8px;
    font-size: 0.8em;
    color: #fff; 
}


#menu-header-menu .menu-item-has-children:hover>.sub-menu{
	display:block;
}

@media (max-width: 991px) {

  .header-phone {
    display: none;
  }
  .navbar button svg path {
    fill: #fff;
  }

  #navbarToggleExternalContent {
    background-color: #fff !important;
    width: 100%;
  }

  #navbarToggleExternalContent .p-4 {
    padding: 0 !important;
  }

  .header-menu-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .header-menu-mobile li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .header-menu-mobile li:last-child {
    border-bottom: none;
  }

  .header-menu-mobile li a {
    display: block;
    width: 100%;
    color: #2a2e31 !important;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    transition: background-color 0.3s ease;
  }
}
