.popup.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 250ms;
  visibility: hidden;
  opacity: 0;
  z-index: 9999999999;
}

.popup.search {
  visibility: hidden;
  z-index: 1;
  opacity: 0;
  transition: all 100ms ease-in-out;
}

.popup.search.show {
  visibility: visible;
  opacity: 1;
}

.popup.search .wrapper {
  position: absolute;
  top: 50px;
  right: 0;
  width: 17%;
  border-radius: 0px;
  overflow: visible;
  padding: var(--gap-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup.search .wrapper form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.popup.search .wrapper label {
  display: none;
}

.popup.search .wrapper input {
  border: none;
  border-bottom: 2px solid var(--color-black);
  padding: 3px var(--gap);
  font-size: 1.4rem;
  flex: 1;
  transition: all 300ms ease-in-out;
  width: 20%;
}

.popup.search .wrapper input:focus {
  outline: none;
  border-bottom-color: var(--color-blue);
}

.popup.search .wrapper input::placeholder {
  color: #AAA;
}

.popup.search .wrapper button.clear {
  background-color: transparent;
  border: none;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  line-height: 0;
}

.popup.search .wrapper button.clear.action:hover {
  color: var(--color-blue);
}

@media (max-width: 1024px) {
  .popup.search .wrapper {
    position: absolute;
    top: var(--height-header);
    background-color: var(--color-white);
    right: 0;
    width: 400px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .popup.search .wrapper {
    position: absolute;
    top: 80px;
    width: 350px;
  }
}