.search-input {
  width: 0;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 0;
  pointer-events: none;
}

.search-input.show {
  width: 200px;
  opacity: 1;
  padding: 0.25rem 0.5rem;
  pointer-events: auto;
}
@media (min-width: 992px) {
  .search-form {
    position: relative;
  }
  .search-input {
    position: absolute;
    right: 40px; /* espaço antes do botão da lupa */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
  }

  .search-input.show {
    width: 200px;
    opacity: 1;
    visibility: visible;
    padding-right: 10px;
  }
}