.search-description {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin-top: 0;

  text-align: center;
  color: #4b5563;
}

.search-input-wrapper {
  display: flex;
  position: relative;
  width: 95%;
  max-width: 600px;
}

.search-input {
  width: 100%;
  padding: 0.6rem 3.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1f2937;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ccc;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.08);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='gray' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='16' y1='16' x2='22' y2='22'/></svg>");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 22px 22px;
  transition: all 0.3s ease;
  margin: 15px 0;
}

.search-input::placeholder {
  color: rgba(31, 41, 55, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.clear-search {
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: #6b7280;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: none;
  outline: none;
  box-shadow: none;
  transition: none;
}

.clear-search:hover,
.clear-search:focus {
  color: #6b7280;
  background: transparent;
  outline: none;
  box-shadow: none;
  transform: translateY(-50%); /* Не меняем transform */
}

/* Адаптация */
@media screen and (max-width: 768px) {
  .search-wrapper {
    padding: 0;
  }

  .search-title {
    font-size: 2rem;
  }

  .search-description {
    font-size: 1rem;
  }

  .search-input {
    font-size: 1.1rem;
    padding: 1rem 2.75rem;
    background-position: left 0.75rem center;
  }
}

@media screen and (max-width: 480px) {
  .search-title {
    font-size: 1.6rem;
  }

  .search-description {
    font-size: 0.95rem;
  }

  .search-input {
    font-size: 0.95rem;
  }

  .clear-search {
    font-size: 1.5rem;
    right: 1rem;
  }
}
