.middle-site-header {
  background: #ffffff;
  box-shadow: 0 4px 20px -4px rgba(165, 59, 41, 0.1);
  display: block;
  height: 76px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}

.middle-site-header__inner {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 16px;
  width: 100%;
}

.middle-site-header__brand {
  color: #ff7e67;
  font-family: 'Quicksand', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.middle-header-nav {
  align-items: center;
  display: flex;
  gap: 10px;
}

.middle-header-nav.hidden {
  display: none;
}

.middle-header-nav__link {
  align-items: center;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 15px;
  box-shadow: none;
  color: #a53b29;
  display: flex;
  height: 46px;
  justify-content: center;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  width: 46px;
}

.middle-header-nav__link:hover {
  background: #f06f59;
}

.middle-header-nav__link:active {
  background: #dc604b;
}

.middle-header-nav__link[aria-current="page"] {
  background: #ca5033;
  border-color: transparent;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.95);
  outline: none;
}

.middle-header-nav__link:focus-visible {
  outline: 3px solid rgba(165, 59, 41, 0.28);
  outline-offset: 2px;
}

.middle-header-nav__link .material-symbols-outlined {
  font-size: 23px;
}

.middle-header-nav__link--search {
  background: #ff7e67;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
  padding: 0 12px;
  width: auto;
}

.middle-header-nav__link--saved {
  background: #ff7e67;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
  padding: 0 12px;
  width: auto;
}

.middle-header-nav__link--saved[aria-current="page"] .material-symbols-outlined {
  color: #ffffff;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.middle-header-nav__link--account {
  background: #ff7e67;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  padding: 0 12px;
  text-align: center;
  width: auto;
}

.middle-header-nav__link--search,
.middle-header-nav__link--saved {
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.middle-fitted-page {
  min-width: 0;
  width: 100%;
}

.middle-tiktok-link {
  align-items: center;
  background: #ca5033;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px -10px rgba(165, 59, 41, 0.8);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  height: 3rem;
  justify-content: center;
  line-height: 1.25rem;
  padding: 0 1rem;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.middle-tiktok-link:hover {
  background: #b9472e;
  transform: translateY(-2px);
}

.middle-tiktok-link:active {
  transform: scale(0.95);
}

.middle-tiktok-link:focus-visible {
  outline: 3px solid rgba(202, 80, 51, 0.3);
  outline-offset: 2px;
}

.middle-website-link {
  background: #557a68;
  color: #ffffff;
}

.middle-website-link:hover {
  background: #456655;
}

.middle-website-link:focus-visible {
  outline: 3px solid rgba(85, 122, 104, 0.3);
  outline-offset: 2px;
}

.middle-share-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #6f7475;
  display: flex;
  height: 2.5rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  transition: color 160ms ease, transform 160ms ease;
  width: 2.5rem;
  z-index: 20;
}

.middle-share-button:hover {
  color: #454a4b;
}

.middle-share-button:active {
  transform: scale(0.92);
}

.middle-share-button:focus-visible {
  outline: 2px solid #6f7475;
  outline-offset: 2px;
}

.middle-address-suggestion-list {
  border-radius: 4px;
  left: 52px;
  max-height: 240px;
  right: 64px;
  top: calc(100% - 1px);
}

.middle-fitted-page :where(section, article, form, div) {
  min-width: 0;
}

@media (max-width: 767px) {
  .middle-site-header__inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .middle-header-nav {
    gap: 6px;
  }

  .middle-header-nav__link--search,
  .middle-header-nav__link--saved {
    font-size: 0.7rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  .middle-header-nav__link--search .material-symbols-outlined,
  .middle-header-nav__link--saved .material-symbols-outlined {
    display: none;
  }

  .middle-header-nav__link--saved {
    max-width: 112px;
  }

  .middle-header-nav__link--account {
    padding: 0;
    width: 46px;
  }

  .middle-header-nav__link--account .middle-header-nav__label {
    display: none;
  }

  .middle-fitted-page {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 1024px) {
  .middle-site-header__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
