.header__search {
  cursor: pointer;
}
.header__search_form label{
  grid-column: 1/3;
  grid-row: 1;
}
.header__search_dropdown{
	display: flex;
}

.header__search_wrapper {
  display: none;
  height: 100vh;
  background-color: #fff;
  position: absolute;
  top: 53px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: end;
  padding: 10px 10px 0 10px;
  z-index: 10;
}

.header__search_input {
  width: 100%;
}

.header__search_wrapper.active {
  display: block;
}

.header__search_form {
  display: grid;
  grid-template-columns: 200px 60px;
  /* display: flex; */
  margin-top: 60px;
  justify-content: center;
}

.header__search_input {
  box-sizing: content-box;
  height: 1.5rem;
  min-height: 1.5rem;
  width: calc(100% - 5.625rem);
  min-width: 0px;
  border-width: 1px;
  background-color: #fff;
  padding: 5px;
  font-family: "Montserrat", "Arial", sans-serif;
  max-width: 200px;
width: 100%;
  border-color: #7c2277;
  margin: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.header__search_btn {
  border-radius: 0 5px 5px 0;
  background-color: #7c2277;
  color: #fff;
  font-weight: 600;
}
#panel + .title-search-result {
  top: 300px;
}

.title-search-result {
  position: fixed;
  top: 160px;
  left: 10px;
  max-height: 230px;
  width: 100%;
  overflow: auto;
  background: #f7f7f7;
  border-radius: 10px;
  z-index: 3000;
  max-width: 300px;
  margin: 0 auto;

}
.title-search-result__item{
  padding: 10px 5px;
}
@media (min-width: 320px) {
  .header__search_input{
    max-width: 265px;
  }
  .header__search_form{
    grid-template-columns: 270px 60px;
  }
}

@media (min-width: 768px) {
  .header__search_form {
    max-width: 600px;
    width: 100%;
    margin: 100px auto;
    grid-template-columns: 500px 60px;
  }
  .header__search_input{
    max-width: 490px;
  }
  .title-search-result{
    top: 230px;
    left: 0;
    right: 0;
    max-width: 560px;
  }
}

@media (min-width: 1280px) {
  .header__search_wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1920px) {

  .header__search_wrapper {
    padding-left: 9rem;
    padding-right: 9rem;
  }
  .header__search_wrapper.active .close_dropdown{
    right: 2rem;
  }
}