/* Simple Services dropdown — overrides theme megamenu styles */
.header {
  padding-top: 18px !important;
}

.header .main .brand img,
.header .main .brand svg {
  height: 215% !important;
  width: auto !important;
}

.header .main .brand {
  overflow: visible;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .header .main .brand img,
  .header .main .brand svg {
    height: 247% !important;
    width: auto !important;
    max-width: calc(100vw - 110px);
    object-fit: contain;
  }

  .header .main .columns > .item:first-child {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 52px);
  }
}

.header .main,
.header .main .columns,
.header .main .columns > .item {
  overflow: visible !important;
}

.header .main .menu-header > .menu-item > a,
.header .main .menu li > a,
.header .main .menu ul li > a {
  font-size: 15px !important;
}

.header .main .menu-header > .menu-item-has-children,
.header .main .menu-header > .has-dropdown {
  position: relative !important;
}

.header .main .menu-header > .menu-item-has-children > .sub-menu,
.header .main .menu-header > .has-dropdown > .dropdown-menu,
.header .main .menu ul li .sub-menu.dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 280px !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  list-style: none !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  z-index: 2000 !important;
  height: auto !important;
  gap: 0 !important;
}

.header .main .menu-header > .menu-item-has-children:hover > .sub-menu,
.header .main .menu-header > .menu-item-has-children:focus-within > .sub-menu,
.header .main .menu-header > .has-dropdown:hover > .dropdown-menu,
.header .main .menu-header > .has-dropdown:focus-within > .dropdown-menu,
.header .main .menu ul li.menu-item-has-children:hover > .sub-menu,
.header .main .menu ul li.has-dropdown:hover > .sub-menu {
  display: flex !important;
}

.header .main .menu-header > .menu-item-has-children > .sub-menu > li,
.header .main .menu-header .dropdown-menu > li {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.header .main .menu-header > .menu-item-has-children > .sub-menu > li > a,
.header .main .menu-header .dropdown-menu > li > a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  padding: 12px 18px !important;
  white-space: nowrap !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
}

.header .main .menu-header > .menu-item-has-children > .sub-menu > li > a:hover,
.header .main .menu-header .dropdown-menu > li > a:hover {
  background: #f5f5f5 !important;
  opacity: 1 !important;
}

/* Mobile: accordion handled in mobile-nav.css */
