/* ---------------------------------
   Header desktop
--------------------------------- */

#theme-header-one.theme_header__main {
  background: #fff !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

#theme-header-one .theme-logo-area,
#theme-header-one .theme-navigation-area {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 0 !important;
}

#theme-header-one .theme-logo-area {
  padding: 12px 0 8px !important;
}

#theme-header-one .theme-navigation-area {
  padding: 8px 0 14px !important;
}

#theme-header-one .col-lg-4.col-md-12:nth-child(2) {
  display: flex !important;
  justify-content: flex-start !important;
}

#theme-header-one .logo.theme-logo {
  text-align: left !important;
  margin: 0 !important;
  padding-top: 8px;
}

#theme-header-one .custom-logo-link img.custom-logo {
  width: 90px !important;
  height: auto !important;
  display: block !important;
}

#theme-header-one .header_search_wrap .search-icon.theme-search-custom-iconn {
  display: none !important;
}

#theme-header-one .theme-logo-area .col-lg-4.col-md-12:nth-child(1) {
  order: 2 !important;
}

#theme-header-one .theme-logo-area .col-lg-4.col-md-12:nth-child(2) {
  order: 1 !important;
  display: flex !important;
  justify-content: flex-start !important;
  padding-left: 0 !important;
}

#theme-header-one .theme-logo-area .col-lg-4:nth-child(3) {
  order: 3 !important;
}

#theme-header-one .container,
#theme-header-one .theme-logo-area .row {
  justify-content: space-between !important;
}

#theme-header-one .theme-logo-area .row {
  display: flex !important;
  align-items: center !important;
}

#theme-header-one .theme-navigation-area,
#theme-header-one .mainmenu,
#theme-header-one .mainmenu ul.theme-main-menu,
#theme-header-one .mainmenu ul.theme-main-menu > li {
  overflow: visible !important;
}

#theme-header-one .mainmenu ul.theme-main-menu {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  align-items: center !important;
  padding-top: 4px !important;
  padding-bottom: 6px !important;
}

#theme-header-one .mainmenu ul.theme-main-menu > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: unset !important;
  height: auto !important;
  padding: 8px 18px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 999px !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #111 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

#theme-header-one .mainmenu ul.theme-main-menu > li.menu-item-has-children > a::after {
  content: "" !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  margin-left: 2px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) translateY(-3px) !important;
  transform-origin: center !important;
  position: relative !important;
  top: -1px !important;
}

#theme-header-one .mainmenu ul.theme-main-menu > li.menu-item-has-children > a:hover,
#theme-header-one .mainmenu ul.theme-main-menu > li.current-menu-parent > a,
#theme-header-one .mainmenu ul.theme-main-menu > li.current-menu-item > a,
#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a {
  background: #f1efeb !important;
  color: #111 !important;
  border-color: #f1efeb !important;
}

#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a,
#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a span,
#theme-header-one .mainmenu ul.theme-main-menu > li > a:hover,
#theme-header-one .mainmenu ul.theme-main-menu > li > a:hover span {
  text-decoration: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a::before,
#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a::after,
#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a span::before,
#theme-header-one .mainmenu ul.theme-main-menu > li:hover > a span::after {
  background: transparent !important;
  opacity: 0 !important;
  box-shadow: none !important;
}

/* ---------------------------------
   Align header and pills with wider body
--------------------------------- */

/* Remove Bootstrap's old negative row offset */
#theme-header-one .container > .row,
#theme-header-one .theme-logo-area .row,
#theme-header-one .theme-navigation-area .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Match the horizontal content inset used by the body */
#theme-header-one .container,
#theme-header-one .theme-logo-area,
#theme-header-one .theme-navigation-area {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Keep header content inside the same full-width boundary */
#theme-header-one .container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Align the horizontal menu/pills */
#theme-header-one .mainmenu ul.theme-main-menu {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Main desktop navigation: WordPress menu pills + social icons */
.mainmenu-with-social {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.mainmenu-with-social .nav-main-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

/* Keep the desktop pills on one row */
@media (min-width: 992px) {
    .mainmenu-with-social .theme-main-menu {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }
}

/* Social-icon group */
.header-social-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.header-social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-social-pill--instagram:hover,
.header-social-pill--instagram:focus-visible {
    background: #c13584;
    border-color: #c13584;
    color: #ffffff;
}

.header-social-pill--pinterest:hover,
.header-social-pill--pinterest:focus-visible {
    background: #e60023;
    border-color: #e60023;
    color: #ffffff;
}

.header-social-pill--facebook:hover,
.header-social-pill--facebook:focus-visible {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.header-social-pill:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

/*
 * Important: do not override the theme's mobile navigation layout.
 * Its responsive-menu JavaScript controls the mobile pills and scrolling.
 */
@media (max-width: 991px) {
   div.col-12 {
      display: block;
      margin-left: -10px  !important;
    }

    /* Hide this desktop social group in the theme's real mobile menu. */
    #theme-header-one > div.theme-navigation-area > div > div > div > div > div > div.mainmenu.mainmenu-with-social > nav{
      display: none !important;
    }
}

@media (max-width: 767px) {
  /* Header/menu button */
  #theme-header-one .slicknav_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 24px !important;
    margin: -10px !important;
    padding: 0 !important;
    padding-left: 50px !important;
    line-height: 1 !important;
  }

  #theme-header-one .slicknav_btn .slicknav_icon {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 12px !important;
    margin: 0 !important;
    transform: translateY(-2px) !important;
  }

  #theme-header-one .slicknav_btn .slicknav_icon-bar {
    display: block !important;
    width: 18px !important;
    height: 1px !important;
    margin: 0 0 4px 0 !important;
    background-color: #333 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  #theme-header-one .slicknav_btn .slicknav_icon-bar:last-child {
    margin-bottom: 0 !important;
  }

  /* Align header + body gutters */
  #theme-header-one .container,
  #theme-header-one .theme-logo-area,
  #theme-header-one .theme-navigation-area {
    padding-left: 5px !important;
    padding-right: 12px !important;
  }
}