.search__results-close {
  display: none;
}
@media (min-width: 985px) {
  .navigation__actions > .navigation__search {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    margin: -12px -13.5px;
  }
  body.search-open .navigation {
    border-bottom-color: #f5f5f5;
    background: #fff;
    color: #000;
  }
  body.search-open .navigation__actions,
  body.search-open .navigation__actions a,
  body.search-open .navigation__actions button {
    color: #000;
  }
  body.search-open .navigation__actions > .js-search-trigger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .search {
    top: var(--search-trigger-top, 67px);
    right: var(--search-trigger-right, clamp(150px, 17vw, 260px));
    left: auto;
    z-index: 102;
    width: 360px;
    height: 52px;
    padding: 0;
    overflow: visible;
    background: transparent;
    pointer-events: none;
    opacity: 1;
    transition: visibility 0s linear 280ms;
  }
  .search--active {
    transition-delay: 0s;
  }
  .search--active .search__input {
    opacity: 1;
    clip-path: inset(-30px);
    transform: translateX(0);
    transition-delay: 0s;
  }
  .search > .container {
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .search__content,
  .search__input,
  .search__results-dropdown,
  .search__content > div:not(.search__mobile-menu) {
    pointer-events: auto;
  }
  .search__close {
    display: none;
  }
  .search__backdrop {
    display: block;
    position: fixed;
    z-index: 0;
    top: var(--search-results-top, 150px);
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
  }
  .search__content {
    position: relative;
    height: 100%;
  }
  .search__input {
    max-width: none;
    height: 52px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e5e5e1;
    border-radius: 999px;
    background: #fff;
    opacity: 0;
    box-shadow: -20px 0 20px 10px #fff;
    clip-path: inset(-30px -30px -30px calc(100% - 52px));
    transform: none;
    transform-origin: right center;
    transition: clip-path 280ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 140ms ease 140ms;
  }
  .search__input input {
    min-width: 0;
    border: 0;
    border-radius: 999px 0 0 999px;
    background: #fff;
  }
  .search__input button {
    flex: 0 0 50px;
    padding: 13px;
    border-radius: 0 999px 999px 0;
    background: transparent;
  }
  .search__results-dropdown,
  .search__content > div:not(.search__mobile-menu) {
    position: fixed;
    z-index: 1;
    top: var(--search-results-top, 150px);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--search-results-top, 150px));
    padding: 64px 30px 36px;
    overflow: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #f5f5f5;
    background: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  }
  .search__results-dropdown {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .search--active .search__results-dropdown {
    opacity: 1;
    transform: translateY(0);
  }
  .search--active .search__results-enter,
  .search--active .search__results-leave-to {
    opacity: 0;
    transform: translateY(-12px);
  }
  .search:not(.search--active) * {
    pointer-events: none;
  }
  .search__results-close {
    display: flex;
    position: absolute;
    top: 10px;
    right: 20px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    cursor: pointer;
  }
  .search__results-close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  .search__results-close:hover {
    background: #f5f5f5;
  }
  .search__results-close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
  .search__no-results {
    margin: 12px 0;
  }
  .search__product-type-results h2 {
    margin-top: 0;
  }
  .search__product-results {
    margin-top: 24px;
  }
}
@media (min-width: 985px) and (prefers-reduced-motion: reduce) {
  .search,
  .search .search__input,
  .search .search__results-dropdown {
    transition: none;
  }
}
@media (min-width: 985px) {
  body.search-open {
    overflow: visible;
    overscroll-behavior: auto;
  }
  body.search-open .navigation__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
