/* =========================
   BUSCADOR
========================= */

/* Contenedor general */
#searchContainer {
  display: flex;
  justify-content: center;
}

/* Caja del input */
#searchContainer .search-box {
  width: 100%;
  max-width: 400px;
  height: 40px;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 0 15px;

  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  overflow: hidden;
}

/* Input */
#search {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
}

/* Quitar focus feo */
#search:focus {
  outline: none;
  box-shadow: none;
}

/* Botón cerrar */
#closeSearch {
  flex-shrink: 0;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

/* Botón lupa */
#searchBtn {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto;

  border-radius: 50%;
}

/* Íconos */
#searchBtn i,
#closeSearch i {
  font-size: 20px;
}