/* Responsive header layout. */

.header_fixed {
  will-change: transform;
}

.header_title {
  position: relative;
}

.header_home-link {
  inset: 0;
  position: absolute;
  z-index: 3;
}

.header_home-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.header_fixed.header-responsive-hidden {
  transform: translateY(-110%);
}

.header_title > .image-container .edy-padding-resizer-wrapper {
  opacity: 0;
}

.header_title > .image-container {
  background: center / contain no-repeat url("../images/4sisters-icon-header-v2.png") !important;
}

@media screen and (min-width: 1220px) {
  .header_fixed {
    min-height: 76px;
    padding: 10px 24px;
  }

  .header_fixed .semimodal-bg_color {
    margin: -10px -24px;
  }

  .menu-top .header_fixed-content {
    align-items: center;
    flex-wrap: nowrap;
    min-height: 56px;
  }

  .menu-top .header_fixed-content .header_title {
    align-items: center;
    display: flex;
    flex: 0 0 206px;
    gap: 14px;
    height: 56px;
    min-height: 0;
    overflow: visible;
    width: 206px;
  }

  .menu-top .header_fixed-content .header_title > .image-container {
    display: block !important;
    flex: 0 0 42px;
    float: none !important;
    height: 42px;
    margin: 0;
    width: 42px !important;
  }

  .menu-top .header_fixed-content .header_title > .edys-gallery-area {
    align-items: center;
    background: center / contain no-repeat url("../images/4sisters-catering-wordmark-v2.png") !important;
    display: flex !important;
    flex: 0 0 150px;
    height: 32px;
    margin: 0 !important;
    overflow: hidden;
    position: relative;
    width: 150px;
  }

  .header_title .edys-gallery-wall-inner {
    opacity: 0 !important;
  }

  .header_title .edys-gallery-wall-loader {
    display: none !important;
  }

  .header_title .edys-gallery-wall-inner,
  .header_title .edys-gallery-wall-item {
    display: block !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .header_title .edys-gallery-wall-image {
    display: block !important;
    height: 54px !important;
    object-fit: contain;
    width: 100% !important;
  }

  .menu-top .header_fixed-content .menu-main-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .menu-main-wrapper .menu_top .menu.menu_top-list {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .menu-main-wrapper .menu_top .menu .menu-item {
    flex: 0 0 auto;
    margin-right: 11px;
    white-space: nowrap;
  }

  .menu-main-wrapper .menu_top .menu .menu-item a {
    font-size: clamp(14px, 1.08vw, 16px);
    max-width: none;
    white-space: nowrap;
    word-break: normal;
  }

  .menu-top .header_fixed-content .header_components {
    flex: 0 0 44px;
    height: 44px;
    width: 44px;
  }

  .header_components-menu--top,
  .search-open-btn {
    align-items: center;
    display: flex;
    height: 44px;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1219px) {
  .front-page .header_fixed,
  .header_fixed.relative {
    background-color: #e6e6e6;
    min-height: 64px;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    transition: transform 220ms cubic-bezier(0.2, 0.75, 0.3, 1), box-shadow 180ms ease;
  }

  .header_fixed .semimodal-bg_color {
    margin: -10px -20px;
  }

  .menu-top .header_fixed-content {
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 44px;
    position: relative;
  }

  .menu-top .header_fixed-content .menu-btn.hidden-desktop {
    align-items: center;
    display: flex !important;
    flex: 0 0 44px;
    height: 44px;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    width: 44px;
  }

  .menu-top .header_fixed-content .header_title {
    box-sizing: border-box;
    display: block;
    height: 42px;
    left: 50%;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    max-width: 42px !important;
    min-width: 42px !important;
    top: 1px;
    width: 42px !important;
  }

  .menu-top .header_fixed-content .header_title > .image-container {
    display: block !important;
    float: none !important;
    height: 42px;
    margin: 0;
    width: 42px !important;
  }

  .menu-top .header_fixed-content .header_title > .edys-gallery-area {
    display: none !important;
  }

  .menu-top .header_fixed-content .menu-main-wrapper {
    display: none !important;
  }

  .menu-top .header_fixed-content .menu-btn label {
    display: none !important;
  }

  .menu-top .header_fixed-content .header_components {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    width: auto;
  }

  .header_components-menu--top,
  .search-open-btn {
    align-items: center;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
  }

  html .semimodal.hidden-desktop {
    display: block !important;
  }
}

@media screen and (max-width: 767px) {
  .front-page .header_fixed,
  .header_fixed.relative {
    min-height: 56px;
    padding: 8px 16px;
  }

  .header_fixed .semimodal-bg_color {
    margin: -8px -16px;
  }

  .menu-top .header_fixed-content {
    min-height: 40px;
  }

  .menu-top .header_fixed-content .header_title {
    height: 38px;
    max-width: 38px !important;
    min-width: 38px !important;
    top: 1px;
    width: 38px !important;
  }

  .menu-top .header_fixed-content .header_title > .image-container {
    height: 38px;
    width: 38px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header_fixed {
    transition: none !important;
  }
}

/* Keep the configured Voog logo media visible and editable in edit mode. */
html.editmode .header_fixed {
  will-change: auto;
}

html.editmode .header_title > .image-container {
  background: none !important;
}

html.editmode .header_title > .image-container .edy-padding-resizer-wrapper,
html.editmode .header_title .edys-gallery-wall-inner {
  opacity: 1 !important;
}
