.beyer-search-mount {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  flex: 0 0 auto;
}

.beyer-search-trigger {
  display: grid;
  width: 44px;
  height: 54px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
}

.beyer-search-trigger:hover,
.beyer-search-trigger:focus-visible,
.beyer-search-trigger[aria-expanded="true"] {
  color: #009900;
}

.beyer-search-trigger:focus-visible {
  outline: 2px solid #009900;
  outline-offset: -2px;
}

.beyer-search-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  border: 3px solid currentcolor;
  border-radius: 50%;
}

.beyer-search-icon::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: currentcolor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.beyer-search-panel {
  position: fixed;
  z-index: 10000;
  top: var(--beyer-search-top, 150px);
  right: var(--beyer-search-right, 24px);
  width: min(598px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--beyer-search-top, 150px) - 16px);
  padding: 32px;
  overflow: visible;
  border: 1px solid #dddddd;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgb(0 0 0 / 20%);
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.beyer-search-panel[hidden] {
  display: none;
}

.beyer-search-panel::before {
  position: absolute;
  top: -9px;
  right: 17px;
  width: 16px;
  height: 16px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  background: #ffffff;
  content: "";
  transform: rotate(45deg);
}

.beyer-search-form {
  display: flex;
  width: 100%;
  margin: 0;
}

.beyer-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.beyer-search-input {
  width: 100%;
  min-width: 0;
  height: 62px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #eeeeee;
  color: #444444;
  font: 400 25px/1 Arial, Helvetica, sans-serif;
  box-shadow: none;
}

.beyer-search-input::placeholder {
  color: #999999;
  opacity: 1;
}

.beyer-search-input:focus {
  box-shadow: inset 0 0 0 2px #009900;
}

.beyer-search-submit {
  display: grid;
  width: 80px;
  height: 62px;
  flex: 0 0 80px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #009900;
  color: #ffffff;
  cursor: pointer;
}

.beyer-search-submit:hover,
.beyer-search-submit:focus-visible {
  background: #007600;
}

.beyer-search-submit .beyer-search-icon {
  width: 18px;
  height: 18px;
}

.beyer-search-results {
  margin-top: 18px;
  border-top: 1px solid #e3e3e3;
}

.beyer-search-results[hidden] {
  display: none;
}

.beyer-search-summary {
  margin: 0;
  padding: 15px 2px 10px;
  color: #777777;
  font-size: 13px;
  line-height: 1.45;
}

.beyer-search-list {
  max-height: calc(100dvh - var(--beyer-search-top, 150px) - 190px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.beyer-search-list li {
  margin: 0;
  padding: 0;
  border-top: 1px solid #eeeeee;
}

.beyer-search-list li:first-child {
  border-top: 0;
}

.beyer-search-result {
  display: block;
  padding: 12px 3px 13px;
  color: #555555;
  text-decoration: none;
}

.beyer-search-result:hover,
.beyer-search-result:focus-visible {
  color: #009900;
}

.beyer-search-result-category {
  display: block;
  margin-bottom: 2px;
  color: #009900;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.beyer-search-result-title {
  display: block;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.beyer-search-result:hover .beyer-search-result-title,
.beyer-search-result:focus-visible .beyer-search-result-title {
  color: #009900;
}

.beyer-search-result-description {
  display: block;
  margin-top: 3px;
  color: #777777;
  font-size: 12px;
  line-height: 1.5;
}

#top .beyer-search-item {
  position: relative;
  display: block;
  height: 100%;
}

#top .beyer-search-item .beyer-search-trigger {
  min-width: 44px;
  height: 100%;
  min-height: 44px;
  padding: 0 13px !important;
  line-height: 1 !important;
}

@media (max-width: 1180px) {
  .beyer-search--astro {
    margin-left: auto;
  }
}

@media only screen and (max-width: 989px) {
  .responsive #top .av-main-nav > .beyer-search-item {
    display: block !important;
  }

  .responsive #top .beyer-search-item .beyer-search-trigger {
    height: 76px;
  }
}

@media (max-width: 620px) {
  .beyer-search-panel {
    right: 12px !important;
    width: calc(100vw - 24px);
    padding: 18px;
  }

  .beyer-search-panel::before {
    right: 19px;
  }

  .beyer-search-input {
    height: 54px;
    padding-inline: 13px;
    font-size: 20px;
  }

  .beyer-search-submit {
    width: 62px;
    height: 54px;
    flex-basis: 62px;
  }

  .beyer-search-result-title {
    font-size: 15px;
  }

  .beyer-search-result-description {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beyer-search-panel {
    scroll-behavior: auto;
  }
}
